[issue41981] Errors building python 3.9.0 from source on Centos 7 with GCC 10

2020-10-11 Thread STINNER Victor
STINNER Victor added the comment: > In "config.log" you can see that "/bin/ld" did not found "-lpanelw". Yep, that's what I wrote in my previous message :-) I understand that you solved your issue, so I close this issue. -- resolution: -> not a bug stage: -> resolved status: open -

[issue41981] Errors building python 3.9.0 from source on Centos 7 with GCC 10

2020-10-09 Thread Federico Tesser
Federico Tesser added the comment: I am sorry to have bothered you. I found the problem: In "config.log" you can see that "/bin/ld" did not found "-lpanelw". The problem was that in ncurses-6.2 it was "-lpaneltw". Pyhon has been succesfully installed, using gcc 4.8.5 toolchain, as suggested.

[issue41981] Errors building python 3.9.0 from source on Centos 7 with GCC 10

2020-10-09 Thread STINNER Victor
STINNER Victor added the comment: config.log: configure:11697: checking for readlink configure:11697: gcc -pthread -(...) -lpanelw -lbz2 -lpthread -ldl >&5 /bin/ld: cannot find -lpanelw It seems like many tests are failing because of -lpanelw and the missing library. According to config.lo

[issue41981] Errors building python 3.9.0 from source on Centos 7 with GCC 10

2020-10-09 Thread Federico Tesser
Federico Tesser added the comment: Here the "config.log" -- Added file: https://bugs.python.org/file49502/config.log.tar.gz ___ Python tracker ___

[issue41981] Errors building python 3.9.0 from source on Centos 7 with GCC 10

2020-10-09 Thread Federico Tesser
Federico Tesser added the comment: Same problems using gcc 4.8.5. Attached you will find the corresponding "pyconfig.h" and "config.log" It seems quite odd to me too -- ___ Python tracker __

[issue41981] Errors building python 3.9.0 from source on Centos 7 with GCC 10

2020-10-09 Thread Federico Tesser
Change by Federico Tesser : Added file: https://bugs.python.org/file49501/pyconfig.h ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue41981] Errors building python 3.9.0 from source on Centos 7 with GCC 10

2020-10-09 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: The RHEL7 buildbots test on the default system compiler (GCC 4.8). The combination of RHEL7 + GCC10 + Python 3.9 could do very weird stuff, and I don't think it would easy to support. Generally the build environment of an OS is tied to the default com

[issue41981] Errors building python 3.9.0 from source on Centos 7 with GCC 10

2020-10-09 Thread STINNER Victor
STINNER Victor added the comment: > Operating System Centos 7. Oh. That's surprising: there are multiple RHEL7 buildbots and there is no build or test issue on this OS. I would expect Centos 7 to be support, except that you installed GCC 10. We also tested Python 3.9 on GCC 10. Again, I woul

[issue41981] Errors building python 3.9.0 from source

2020-10-09 Thread Federico Tesser
Federico Tesser added the comment: Operating System Centos 7. Here attached the pyconfig.h. Oddly, it seems that HAVE_READLINK is not configured. Any suggestions? -- Added file: https://bugs.python.org/file49500/pyconfig.h ___ Python tracker

[issue41981] Errors building python 3.9.0 from source

2020-10-09 Thread STINNER Victor
STINNER Victor added the comment: > ./Modules/getpath.c:1198:14: error: incompatible types when assigning to type > ‘PyStatus’ from type ‘int’ Do you have HAVE_READLINK defined? calculate_argv0_path() calls resolve_symlinks() without checking if HAVE_READLINK is defined. --

[issue41981] Errors building python 3.9.0 from source

2020-10-09 Thread STINNER Victor
STINNER Victor added the comment: Python/strdup.c has been removed from the master branch in bpo-41340: commit 5798f787779006a94a55ec74a86da4627de90146 Author: wasiher Date: Mon Jul 27 12:28:45 2020 +0900 bpo-41340: Removed fallback implementation for strdup (GH-21634) Your C library

[issue41981] Errors building python 3.9.0 from source

2020-10-09 Thread STINNER Victor
STINNER Victor added the comment: What is your operating system? Can you please attach your pyconfig.h file? -- nosy: +vstinner ___ Python tracker ___

[issue41981] Errors building python 3.9.0 from source

2020-10-09 Thread Federico Tesser
New submission from Federico Tesser : Good afternoon. I have some problems building python 3.9.0 from source. Here's my configuration: CC=/usr/local/gcc-10.2.0/bin/gcc CXX=/usr/local/gcc-10.2.0/bin/g++ CFLAGS="-I/usr/local/libuuid-1.0.3/include/ -I/usr/local/libuuid-1.0.3/include/uuid/ -I/us