[Python-Dev] Python 3.4 RPM on AIX

Blaxton blaxxton at yahoo.com
Mon Feb 16 16:20:29 CET 2015


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 ?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150216/c920d7a0/attachment.html>


More information about the Python-Dev mailing list