<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12px"><div id="yui_3_16_0_1_1424096343486_14721">hi</div><div id="yui_3_16_0_1_1424096343486_14720"><br></div><div id="yui_3_16_0_1_1424096343486_14694" dir="ltr">I am having problem building Python RPM on AIX and I think there are several bugs in Python .spec files.</div><div id="yui_3_16_0_1_1424096343486_14693" dir="ltr"><br></div><div id="yui_3_16_0_1_1424096343486_14629" dir="ltr">README file says download the bz2 version, but only gziped and xz version available from Python website<br style="" class="">so had to convert the .tgz file to bz2 and copy it over to SOURCES directory.<br style="" class=""><br style="" class="">%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.<br style="" class="">had to change it to to pass the error.<br style="" class="">%define config_binsuffix none<br style="" class=""><br style="" class="">Misc/cheatsheet seems to be decommissioned in new version of Python but still in spec file<br style="" class="">so commented it.<br style="" class=""><br style="" class="">The last error that I am receiving and can't figure the resolution is below</div><div id="yui_3_16_0_1_1424096343486_14741" dir="ltr">why it won't create the required direcotory ?</div><div id="yui_3_16_0_1_1424096343486_14742" dir="ltr">Processing files: python-devel-3.4.2-AIX71<br style="" class="">File not found by glob: /var/opt/freeware/tmp/python-3.4.2-root/usr/include/python3.4/*.h<br style="" class="">File not found: /var/opt/freeware/tmp/python-3.4.2-root/usr/lib/python3.4/config<br style="" class="">PreReq: rpmlib(VersionedDependencies) <= 3.0.3-1 python = 3.4.2<br style="" class="">Processing files: python-tools-3.4.2-AIX71<br style="" class="">File not found: /var/opt/freeware/tmp/python-3.4.2-root/usr/bin/pydoc<br style="" class="">File not found: /var/opt/freeware/tmp/python-3.4.2-root/usr/bin/smtpd.py<br style="" class="">PreReq: rpmlib(VersionedDependencies) <= 3.0.3-1 python = 3.4.2-AIX71<br style="" class=""><br style="" class=""><br style="" class="">running rpm -bl option to see missing files are below:<br style="" class=""><br style="" class="">rpm -bl /opt/freeware/src/packages/SPECS/python-3.4.spec<br style="" class="">Processing files: python-3.4.2-AIX71<br style="" class="">File not found by glob: /var/opt/freeware/tmp/python-3.4.2-root/opt/freeware/man/man1/python.1*<br style="" class="">File not found: /var/opt/freeware/tmp/python-3.4.2-root/usr/include/python3.4<br style="" class="">Processing files: python-devel-3.4.2-AIX71<br style="" class="">File not found by glob: /var/opt/freeware/tmp/python-3.4.2-root/usr/include/python3.4/*.h<br style="" class="">File not found: /var/opt/freeware/tmp/python-3.4.2-root/usr/lib/python3.4/config<br style="" class="">PreReq: rpmlib(VersionedDependencies) <= 3.0.3-1 python = 3.4.2<br style="" class="">Processing files: python-tools-3.4.2-AIX71<br style="" class="">File not found: /var/opt/freeware/tmp/python-3.4.2-root/usr/bin/pydoc<br style="" class="">File not found: /var/opt/freeware/tmp/python-3.4.2-root/usr/bin/smtpd.py<br style="" class="">PreReq: rpmlib(VersionedDependencies) <= 3.0.3-1 python = 3.4.2-AIX71<br style="" class=""><br style="" class="">Any idea as how I can fix this ?<br style="" class=""><br style="" class=""><br></div><div id="yui_3_16_0_1_1424096343486_14752"><br></div></div></body></html>