
Hello, I’m attempting to get a recent version of Python3 running on my UNIX build machines, but having a problem under AIX. This seems like it might be since 3.6.5, but I’ve not actually attempted anything else other than 3.6.8 which fails similarly. I’m building with the native C compiler in 64-bit mode, using OBJECT_MODE=64 exported in the environment. I have attached config.log. Is this a known issue? TIA - Rob ../../Python-3.7.3/config.guess powerpc-ibm-aix7.1.4.0 ../../Python-3.7.3/Modules/makexp_aix Modules/python.exp . libpython3.7m.a; xlc_r -L/raid/checkouts-raid/robb/zlib-dl/Release/rs6000aix_64/lib -Wl,-blibpath:/opt/IBM/xlmass/8.1.3/lib/aix61:/opt/IBM/xlc/13.1.3/lib:/usr/lib:/lib:/opt/Python-3.7/lib -q64 -Wl,-bE:Modules/python.exp -lld -o python Programs/python.o libpython3.7m.so -lintl -ldl -lm LIBPATH=/raid/checkouts-raid/robb/nepal/build-py37 ./python -E -S -m sysconfig --generate-posix-vars ;\ if test $? -ne 0 ; then \ echo "generate-posix-vars failed" ; \ rm -f ./pybuilddir.txt ; \ exit 1 ; \ fi Fatal Python error: _Py_HashRandomization_Init: failed to get random numbers to initialize Python generate-posix-vars failed Makefile:603: recipe for target 'pybuilddir.txt' failed gmake: *** [pybuilddir.txt] Error 1 [cid:image002.png@01D3D0E3.DCFE6710] Rob Boehne Senior Software Architect | Datalogics, Inc. +1.312.853.8351<tel:(312)%20853-8351> | robb@datalogics.com<mailto:robb@datalogics.com> datalogics.com<http://www.datalogics.com/> | blogs.datalogics.com<http://blogs.datalogics.com/> Connect with us: Facebook<https://www.facebook.com/DatalogicsInc> | Twitter<https://twitter.com/DatalogicsInc> | LinkedIn<https://www.linkedin.com/company/datalogics?actionToken=p=p%3Dbiz-company-login%26c%3D3217e65a-bdc2-4b38-8f9c-13c982e8c529%26m%3Dcompany_feed%26n%3D0&t=a%3DisFolloweeOfPoster%253Dfalse%2526distanceFromActor%253D-1%2526actorType%253D%2526likedByUser%253Dfalse%2526targetId%253D%2526recentCommentUrns%253D%2526targetType%253D%2526sponsoredFlag%253DORGANIC%2526verbType%253Dlinkedin%25253Ashare%2526objectType%253Dlinkedin%25253Aarticle%2526totalShares%253D0%2526activityId%253Durn%25253Ali%25253Aactivity%25253A6263731876121362433%2526recentLikerUrns%253D%2526actorId%253Durn%25253Ali%25253Acompany%25253A14000%2526totalComments%253D0%2526relevanceScore%253D0.0%2526recentCommenterUrns%253D%2526isPublic%253Dtrue%2526time%253D-1%2526totalLikes%253D0%2526objectId%253Durn%25253Ali%25253Aarticle%25253A7793179909183391510%2526distanceFromNestedActor%253D-1%26s%3DORG> | YouTube<https://www.youtube.com/user/Datalogics>

Please report the bug at https://bugs.python.org/ ;-) I'm not sure how _PyOS_URandom() / pyurandom() is implemented on AIX. I guess that it reads from /dev/urandom. Please attach config.log to your bug report. Victor Le mar. 7 mai 2019 à 16:30, Rob Boehne <robb@datalogics.com> a écrit :
Hello,
I’m attempting to get a recent version of Python3 running on my UNIX build machines, but having a problem under AIX.
This seems like it might be since 3.6.5, but I’ve not actually attempted anything else other than 3.6.8 which fails similarly.
I’m building with the native C compiler in 64-bit mode, using OBJECT_MODE=64 exported in the environment. I have attached config.log.
Is this a known issue? TIA - Rob
../../Python-3.7.3/config.guess
powerpc-ibm-aix7.1.4.0
../../Python-3.7.3/Modules/makexp_aix Modules/python.exp . libpython3.7m.a; xlc_r -L/raid/checkouts-raid/robb/zlib-dl/Release/rs6000aix_64/lib -Wl,-blibpath:/opt/IBM/xlmass/8.1.3/lib/aix61:/opt/IBM/xlc/13.1.3/lib:/usr/lib:/lib:/opt/Python-3.7/lib -q64 -Wl,-bE:Modules/python.exp -lld -o python Programs/python.o libpython3.7m.so -lintl -ldl -lm
LIBPATH=/raid/checkouts-raid/robb/nepal/build-py37 ./python -E -S -m sysconfig --generate-posix-vars ;\
if test $? -ne 0 ; then \
echo "generate-posix-vars failed" ; \
rm -f ./pybuilddir.txt ; \
exit 1 ; \
fi
Fatal Python error: _Py_HashRandomization_Init: failed to get random numbers to initialize Python
generate-posix-vars failed
Makefile:603: recipe for target 'pybuilddir.txt' failed
gmake: *** [pybuilddir.txt] Error 1
[image: cid:image002.png@01D3D0E3.DCFE6710]
*Rob Boehne*
Senior Software Architect | Datalogics, Inc.
+1.312.853.8351 <(312)%20853-8351> | robb@datalogics.com
datalogics.com <http://www.datalogics.com/> | blogs.datalogics.com
Connect with us: Facebook <https://www.facebook.com/DatalogicsInc> | Twitter <https://twitter.com/DatalogicsInc> | LinkedIn <https://www.linkedin.com/company/datalogics?actionToken=p=p%3Dbiz-company-login%26c%3D3217e65a-bdc2-4b38-8f9c-13c982e8c529%26m%3Dcompany_feed%26n%3D0&t=a%3DisFolloweeOfPoster%253Dfalse%2526distanceFromActor%253D-1%2526actorType%253D%2526likedByUser%253Dfalse%2526targetId%253D%2526recentCommentUrns%253D%2526targetType%253D%2526sponsoredFlag%253DORGANIC%2526verbType%253Dlinkedin%25253Ashare%2526objectType%253Dlinkedin%25253Aarticle%2526totalShares%253D0%2526activityId%253Durn%25253Ali%25253Aactivity%25253A6263731876121362433%2526recentLikerUrns%253D%2526actorId%253Durn%25253Ali%25253Acompany%25253A14000%2526totalComments%253D0%2526relevanceScore%253D0.0%2526recentCommenterUrns%253D%2526isPublic%253Dtrue%2526time%253D-1%2526totalLikes%253D0%2526objectId%253Durn%25253Ali%25253Aarticle%25253A7793179909183391510%2526distanceFromNestedActor%253D-1%26s%3DORG> | YouTube <https://www.youtube.com/user/Datalogics>
_______________________________________________ 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/vstinner%40redhat.com
-- Night gathers, and now my watch begins. It shall not end until my death.

I’ve created the issue, but was unable to attach config.log – 413 Request Entity Too Large Kept coming up if I attempted to attach the log file. https://bugs.python.org/issue36843 From: Victor Stinner <vstinner@redhat.com> Date: Tuesday, May 7, 2019 at 3:42 PM To: Rob Boehne <robb@datalogics.com> Cc: "python-dev@python.org" <python-dev@python.org> Subject: Re: [Python-Dev] Can't build 3.7.3 on AIX Please report the bug at https://bugs.python.org/<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.python.org%2F&data=02%7C01%7Crobb%40datalogics.com%7C32d8d4229d5e488784c508d6d32c8815%7Cfc3d8cdfd6994f23ae232659c3da4749%7C0%7C0%7C636928585562575348&sdata=p3ikVuanjImoFGHPxnoZGeYinNHfZ43sf07K0Ttuc38%3D&reserved=0> ;-) I'm not sure how _PyOS_URandom() / pyurandom() is implemented on AIX. I guess that it reads from /dev/urandom. Please attach config.log to your bug report. Victor Le mar. 7 mai 2019 à 16:30, Rob Boehne <robb@datalogics.com<mailto:robb@datalogics.com>> a écrit : Hello, I’m attempting to get a recent version of Python3 running on my UNIX build machines, but having a problem under AIX. This seems like it might be since 3.6.5, but I’ve not actually attempted anything else other than 3.6.8 which fails similarly. I’m building with the native C compiler in 64-bit mode, using OBJECT_MODE=64 exported in the environment. I have attached config.log. Is this a known issue? TIA - Rob ../../Python-3.7.3/config.guess powerpc-ibm-aix7.1.4.0 ../../Python-3.7.3/Modules/makexp_aix Modules/python.exp . libpython3.7m.a; xlc_r -L/raid/checkouts-raid/robb/zlib-dl/Release/rs6000aix_64/lib -Wl,-blibpath:/opt/IBM/xlmass/8.1.3/lib/aix61:/opt/IBM/xlc/13.1.3/lib:/usr/lib:/lib:/opt/Python-3.7/lib -q64 -Wl,-bE:Modules/python.exp -lld -o python Programs/python.o libpython3.7m.so<https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Flibpython3.7m.so&data=02%7C01%7Crobb%40datalogics.com%7C32d8d4229d5e488784c508d6d32c8815%7Cfc3d8cdfd6994f23ae232659c3da4749%7C0%7C0%7C636928585562585670&sdata=M26jv6Tl2SkdwnMIjaZ57UVpClmHPy1efSbk8pH5ewg%3D&reserved=0> -lintl -ldl -lm LIBPATH=/raid/checkouts-raid/robb/nepal/build-py37 ./python -E -S -m sysconfig --generate-posix-vars ;\ if test $? -ne 0 ; then \ echo "generate-posix-vars failed" ; \ rm -f ./pybuilddir.txt ; \ exit 1 ; \ fi Fatal Python error: _Py_HashRandomization_Init: failed to get random numbers to initialize Python generate-posix-vars failed Makefile:603: recipe for target 'pybuilddir.txt' failed gmake: *** [pybuilddir.txt] Error 1 [cid:image002.png@01D3D0E3.DCFE6710] Rob Boehne Senior Software Architect | Datalogics, Inc. +1.312.853.8351<tel:(312)%20853-8351> | robb@datalogics.com<mailto:robb@datalogics.com> datalogics.com<https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.datalogics.com%2F&data=02%7C01%7Crobb%40datalogics.com%7C32d8d4229d5e488784c508d6d32c8815%7Cfc3d8cdfd6994f23ae232659c3da4749%7C0%7C0%7C636928585562595364&sdata=sKMZvmq69uokuGSvkYMfhYpdvkrD7ZoogBS7vtc7D%2FA%3D&reserved=0> | blogs.datalogics.com<https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fblogs.datalogics.com%2F&data=02%7C01%7Crobb%40datalogics.com%7C32d8d4229d5e488784c508d6d32c8815%7Cfc3d8cdfd6994f23ae232659c3da4749%7C0%7C0%7C636928585562605371&sdata=W3EXpIZ8b3%2BeWO8u9MgXPuvLlcpQ3lxCMRiik1M2eLc%3D&reserved=0> Connect with us: Facebook<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.facebook.com%2FDatalogicsInc&data=02%7C01%7Crobb%40datalogics.com%7C32d8d4229d5e488784c508d6d32c8815%7Cfc3d8cdfd6994f23ae232659c3da4749%7C0%7C0%7C636928585562615379&sdata=vy2mbRdcwjaFUXb9fH8qlUmLRBmSFyEFnQC2OprvdPs%3D&reserved=0> | Twitter<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2FDatalogicsInc&data=02%7C01%7Crobb%40datalogics.com%7C32d8d4229d5e488784c508d6d32c8815%7Cfc3d8cdfd6994f23ae232659c3da4749%7C0%7C0%7C636928585562615379&sdata=x7gJ3IOY1h2PAdgRGK5rVcbDeR6MN2cIvAZBGTMLqe0%3D&reserved=0> | LinkedIn<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fdatalogics%3FactionToken%3Dp%3Dp%253Dbiz-company-login%2526c%253D3217e65a-bdc2-4b38-8f9c-13c982e8c529%2526m%253Dcompany_feed%2526n%253D0%26t%3Da%253DisFolloweeOfPoster%25253Dfalse%252526distanceFromActor%25253D-1%252526actorType%25253D%252526likedByUser%25253Dfalse%252526targetId%25253D%252526recentCommentUrns%25253D%252526targetType%25253D%252526sponsoredFlag%25253DORGANIC%252526verbType%25253Dlinkedin%2525253Ashare%252526objectType%25253Dlinkedin%2525253Aarticle%252526totalShares%25253D0%252526activityId%25253Durn%2525253Ali%2525253Aactivity%2525253A6263731876121362433%252526recentLikerUrns%25253D%252526actorId%25253Durn%2525253Ali%2525253Acompany%2525253A14000%252526totalComments%25253D0%252526relevanceScore%25253D0.0%252526recentCommenterUrns%25253D%252526isPublic%25253Dtrue%252526time%25253D-1%252526totalLikes%25253D0%252526objectId%25253Durn%2525253Ali%2525253Aarticle%2525253A7793179909183391510%252526distanceFromNestedActor%25253D-1%2526s%253DORG&data=02%7C01%7Crobb%40datalogics.com%7C32d8d4229d5e488784c508d6d32c8815%7Cfc3d8cdfd6994f23ae232659c3da4749%7C0%7C0%7C636928585562625387&sdata=91ZWa1RiT6PgsHm8sTFZW%2Fxv%2F2N%2BsazepzejkSFkBSQ%3D&reserved=0> | YouTube<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fuser%2FDatalogics&data=02%7C01%7Crobb%40datalogics.com%7C32d8d4229d5e488784c508d6d32c8815%7Cfc3d8cdfd6994f23ae232659c3da4749%7C0%7C0%7C636928585562635394&sdata=Yhu7Hr%2B61IMg5uO1FOmMhSVePKt7cHBm9hz54q22EHA%3D&reserved=0> _______________________________________________ Python-Dev mailing list Python-Dev@python.org<mailto:Python-Dev@python.org> https://mail.python.org/mailman/listinfo/python-dev<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.python.org%2Fmailman%2Flistinfo%2Fpython-dev&data=02%7C01%7Crobb%40datalogics.com%7C32d8d4229d5e488784c508d6d32c8815%7Cfc3d8cdfd6994f23ae232659c3da4749%7C0%7C0%7C636928585562645396&sdata=ce5gctGreWIqecstTZghtEe%2FPBE4cZoCmqZymW%2Ff%2FAo%3D&reserved=0> Unsubscribe: https://mail.python.org/mailman/options/python-dev/vstinner%40redhat.com<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.python.org%2Fmailman%2Foptions%2Fpython-dev%2Fvstinner%2540redhat.com&data=02%7C01%7Crobb%40datalogics.com%7C32d8d4229d5e488784c508d6d32c8815%7Cfc3d8cdfd6994f23ae232659c3da4749%7C0%7C0%7C636928585562655404&sdata=yR7AlHO85H8OWwpiLk%2BIEJkBdQHHYcLfTNQWB78ZN%2BY%3D&reserved=0> -- Night gathers, and now my watch begins. It shall not end until my death.
participants (2)
-
Rob Boehne
-
Victor Stinner