AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  Python3 compiled in AIX7

    Posted Thu February 13, 2020 06:09 AM

    Originally posted by: Robert John


    Most of the RPMs are built on AIX 6.1 to be binary compatible.

    But this prevents the usage of some features, which are built in in
    newer operation systems, such as f.i. the POSIX-2008 standard in AIX7.

     

    If I would install the RPM package 'python3-3.7.4-2.aix6.1.ppc.rpm' from the toolbox on
    a AIX 7 server, I _can_ run into following problem, If I try to uses these featurees:
    # python3 -c 'import os; print(os.supports_dir_fd)'
    set()

     

    After that I started the investigation,

    I downloaded the source RPM 'python3-3.7.4-2.src.rpm' created an new binary package
    using 'rpmbuild' from that source on an AIX 7 server.

    After installation of that 'aix7.2' RPM my previous test results in:
    # python3 -c 'import os; print(os.supports_dir_fd)'
    {<built-in function open>, <built-in function mkdir>, <built-in function mkfifo>, <built-in function mknod>, <built-in function link>, <built-in function readlink>, <built-in function stat>, <built-in function rename>, <built-in function chmod>, <built-in function access>, <built-in function rmdir>, <built-in function symlink>, <built-in function utime>, <built-in function chown>, <built-in function unlink>}

     

    Could you please provide such a package (python3 compiled in AIX7) in the IBM toolbox?

     

    Thanks + Regards,
    Robert John


  • 2.  Re: Python3 compiled in AIX7

    Posted Wed February 19, 2020 09:38 AM

    Originally posted by: AyappanP


    There is a future plan to switch to AIX 7.1 as the base platform for building AIX Toolbox packages as AIX 6.1 is almost out of support. 

    But right now, the only option for users (who wants exploit the new features of OS) is to build the package by themselves (which you have done it successfully).



  • 3.  Re: Python3 compiled in AIX7

    Posted Mon February 24, 2020 03:33 AM

    Originally posted by: Robert John


    Do you know a timeframe / date , when the switch of the IBM TB to AIX71 will happen? If not, who from IBM does it know?



  • 4.  Re: Python3 compiled in AIX7

    Posted Wed February 26, 2020 12:31 AM

    Originally posted by: sanket


    Probably end of this year. It depends on how many users still want packages on AIX 61. 

    It is difficult to build and maintain packages for different releases separately. Hence we use AIX binary compatibility and make packages on lower AIX release those will work on higher releases.

    As AIX 6.1 is out of support and we hope by end of this year most of the users would have moved from AIX 6.1



  • 5.  RE: Re: Python3 compiled in AIX7

    Posted Wed September 09, 2020 09:31 AM

    Do you know a timeframe / date , when the switch of the IBM TB to AIX71 will happen? If not, who from IBM does it know?
    We still would like to have a python3 compiled in AIX 7 from the _IBM Toolobox_!

    Thanks, Robert



    ------------------------------
    Robert John
    ------------------------------



  • 6.  RE: Re: Python3 compiled in AIX7

    Posted Wed September 09, 2020 09:55 AM
    Edited by C- -T Wed September 09, 2020 09:56 AM
    yeah, so what exactly detains you from rebuilding the package to your own needs?  there are quite some packages which are not available from the aixtoolbox, and we are simply building them on our own. so what...

    ------------------------------
    I regret starting this entire conversation
    ------------------------------



  • 7.  RE: Re: Python3 compiled in AIX7

    Posted Wed September 09, 2020 10:03 AM
    We have not decided on timeframe yet. we are still seeing activities on AIX 6.1
    If we will move to AIX 7.1 then the packages will not be able to run on AIX 6.1 and that will impact many users.
    In this case the best solution is you build your python rpm using srpm from AIX toolbox.

    ------------------------------
    SANKET RATHI
    ------------------------------