[Python-Dev] Can't build 3.7.3 on AIX

Victor Stinner vstinner at redhat.com
Tue May 7 16:42:20 EDT 2019


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 at 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 at 01D3D0E3.DCFE6710]
>
> *Rob Boehne*
>
> Senior Software Architect | Datalogics, Inc.
>
> +1.312.853.8351 <(312)%20853-8351> | robb at 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 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20190507/72d21850/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 124449 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20190507/72d21850/attachment-0001.png>


More information about the Python-Dev mailing list