[Python-Dev] Python 3.4 RPM on AIX

2015-02-16 Thread Blaxton
hi
I am having problem building Python RPM on AIX and I think there are several 
bugs in Python .spec files.
README file says download the bz2 version, but only gziped and xz version 
available from Python website
so had to convert the .tgz file to bz2 and copy it over to SOURCES directory.

%define config_binsuffix  was set to 2.6 and not sure why it should be 2.6 when 
I am working on 3.4 version.
had to change it to to pass the error.
%define config_binsuffix none

Misc/cheatsheet seems to be decommissioned in new version of Python but still 
in spec file
so commented it.

The last error that I am receiving and can't figure the resolution is belowwhy 
it won't create the required direcotory ?Processing files: 
python-devel-3.4.2-AIX71
File not found by glob: 
/var/opt/freeware/tmp/python-3.4.2-root/usr/include/python3.4/*.h
File not found: /var/opt/freeware/tmp/python-3.4.2-root/usr/lib/python3.4/config
PreReq: rpmlib(VersionedDependencies) <= 3.0.3-1 python = 3.4.2
Processing files: python-tools-3.4.2-AIX71
File not found: /var/opt/freeware/tmp/python-3.4.2-root/usr/bin/pydoc
File not found: /var/opt/freeware/tmp/python-3.4.2-root/usr/bin/smtpd.py
PreReq: rpmlib(VersionedDependencies) <= 3.0.3-1 python = 3.4.2-AIX71


running rpm -bl option to see missing files are below:

rpm -bl /opt/freeware/src/packages/SPECS/python-3.4.spec
Processing files: python-3.4.2-AIX71
File not found by glob: 
/var/opt/freeware/tmp/python-3.4.2-root/opt/freeware/man/man1/python.1*
File not found: /var/opt/freeware/tmp/python-3.4.2-root/usr/include/python3.4
Processing files: python-devel-3.4.2-AIX71
File not found by glob: 
/var/opt/freeware/tmp/python-3.4.2-root/usr/include/python3.4/*.h
File not found: /var/opt/freeware/tmp/python-3.4.2-root/usr/lib/python3.4/config
PreReq: rpmlib(VersionedDependencies) <= 3.0.3-1 python = 3.4.2
Processing files: python-tools-3.4.2-AIX71
File not found: /var/opt/freeware/tmp/python-3.4.2-root/usr/bin/pydoc
File not found: /var/opt/freeware/tmp/python-3.4.2-root/usr/bin/smtpd.py
PreReq: rpmlib(VersionedDependencies) <= 3.0.3-1 python = 3.4.2-AIX71

Any idea as how I can fix this ?



___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Python 3.4 RPM on AIX

2015-02-16 Thread Blaxton
I am using the spec file that comes with Python source code which downloaded 
from python.org website
source file is set on spec file to file with bz2 format while there is only .xz 
and zipped are available to download.

I thought somehow some one from development team has wrote that .spec fileand 
maybe supporting it. 

This is like no support.






  From: Stephen J. Turnbull 
 To: Blaxton  
Cc: "python-dev@python.org"  
 Sent: Monday, February 16, 2015 10:02 PM
 Subject: [Python-Dev] Python 3.4 RPM on AIX
   
Blaxton writes:



 > I am having problem building Python RPM on AIX and I think there
 > are several bugs in Python .spec files.

This list is for development *of* Python, not development *with*
Python.  In this case, you would probably be better off with an AIX
list devoted to packaging, an RPM-specific list, or failing those two,
a Red Hat/Fedora list on packaging.  All of the issues you list are
related to generic distro packaging issues, and not to Python itself.


  ___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Python 3.4 RPM on AIX

2015-02-17 Thread Blaxton
Hi Zach,
I think it is best to remove the .spec file if it is not supported by Python 
developers.It is misleading to ship unsupported file within source tree.
Thanks for reply.



  From: Zachary Ware 
 To: "python-dev@python.org"  
Cc: Blaxton  
 Sent: Monday, February 16, 2015 11:54 PM
 Subject: Re: [Python-Dev] Python 3.4 RPM on AIX
   
On Mon, Feb 16, 2015 at 10:50 PM, Blaxton
 wrote:
> I am using the spec file that comes with Python source code which downloaded
> from python.org website
> source file is set on spec file to file with bz2 format while there is only
> .xz and zipped are available to download.
>
>
> I thought somehow some one from development team has wrote that .spec file
> and maybe supporting it.
>
> This is like no support.

The spec file in Misc/RPM has not been maintained in quite some time;
the last change to that file that wasn't just a version bump was one
[1] whose commit message was "#5776: fix mistakes in python specfile.
(Nobody probably uses it anyway.)" and was committed four and a half
years ago.  It's not unlikely that you're the first person to use the
file since then :).

We should probably just remove the file, but if you manage to get it
working and would like to provide a patch on bugs.python.org, it would
probably be accepted.



[1] https://hg.python.org/cpython/rev/ef75ecd0e1a7

-- 
Zach


  ___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com