This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Buildbot failure for buildbot/AMD64 FreeBSD Non-Debug / Shared 3.x
Type: compile error Stage: resolved
Components: Build Versions: Python 3.11
process
Status: closed Resolution: duplicate
Dependencies: Superseder: FreeBSD buildbots cannot compile Python
View: 46263
Assigned To: Nosy List: erlendaasland, sobolevn
Priority: normal Keywords:

Created on 2022-01-05 12:27 by sobolevn, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (3)
msg409760 - (view) Author: Nikita Sobolev (sobolevn) * (Python triager) Date: 2022-01-05 12:27
Log:

```
--- sharedmods ---
LD_LIBRARY_PATH=/usr/home/buildbot/python/3.x.koobs-freebsd-564d/build CC='cc -pthread' LDSHARED='cc -pthread -shared    ' OPT='-g -O0 -Wall'  _TCLTK_INCLUDES='' _TCLTK_LIBS=''  ./python -E ./setup.py  build
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-564d/build/./setup.py", line 49, in <module>
    from distutils.command.build_ext import build_ext
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-564d/build/Lib/distutils/command/build_ext.py", line 13, in <module>
    from distutils.sysconfig import customize_compiler, get_python_version
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-564d/build/Lib/distutils/sysconfig.py", line 53, in <module>
    _config_vars = get_config_vars()
                   ^^^^^^^^^^^^^^^^^
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-564d/build/Lib/sysconfig.py", line 621, in get_config_vars
    _init_posix(_CONFIG_VARS)
    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-564d/build/Lib/sysconfig.py", line 482, in _init_posix
    _temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named '_sysconfigdata_d_freebsd14_x86_64-unknown-freebsd14'
*** [sharedmods] Error code 1
make: stopped in /usr/home/buildbot/python/3.x.koobs-freebsd-564d/build
```

Link: https://buildbot.python.org/all/#/builders/483/builds/1409
msg409761 - (view) Author: Nikita Sobolev (sobolevn) * (Python triager) Date: 2022-01-05 12:32
It also generates several warnings:

```
Python/pytime.c:297:10: warning: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-int-float-conversion]
Python/pytime.c:352:14: warning: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-int-float-conversion]
Python/pytime.c:507:10: warning: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-int-float-conversion]
./Modules/expat/xmlparse.c:3095:9: warning: code will never be executed [-Wunreachable-code]
./Modules/expat/xmlparse.c:3787:9: warning: code will never be executed [-Wunreachable-code]
./Modules/_threadmodule.c:1648:26: warning: implicit conversion from '_PyTime_t' (aka 'long') to 'double' changes value from 9223372036854775 to 9223372036854776 [-Wimplicit-int-float-conversion]
1 warning generated.
/usr/include/netgraph/bluetooth/include/ng_btsocket.h:244:2: warning: "Make sure new member of socket address initialized" [-W#warnings]
#warning "Make sure new member of socket address initialized"
1 warning generated.
/usr/include/netgraph/bluetooth/include/ng_btsocket.h:244:2: warning: "Make sure new member of socket address initialized" [-W#warnings]
#warning "Make sure new member of socket address initialized"
1 warning generated.
```
msg409766 - (view) Author: Erlend E. Aasland (erlendaasland) * (Python triager) Date: 2022-01-05 13:27
Duplicate of bpo-46263.
History
Date User Action Args
2022-04-11 14:59:54adminsetgithub: 90426
2022-01-05 13:27:31erlendaaslandsetstatus: open -> closed

superseder: FreeBSD buildbots cannot compile Python

nosy: + erlendaasland
messages: + msg409766
resolution: duplicate
stage: resolved
2022-01-05 12:32:09sobolevnsetmessages: + msg409761
2022-01-05 12:27:29sobolevncreate