Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buildbot failure for buildbot/AMD64 FreeBSD Non-Debug / Shared 3.x #90426

Closed
sobolevn opened this issue Jan 5, 2022 · 3 comments
Closed

Buildbot failure for buildbot/AMD64 FreeBSD Non-Debug / Shared 3.x #90426

sobolevn opened this issue Jan 5, 2022 · 3 comments
Labels
3.11 only security fixes build The build process and cross-build

Comments

@sobolevn
Copy link
Member

sobolevn commented Jan 5, 2022

BPO 46268
Nosy @erlend-aasland, @sobolevn
Superseder
  • bpo-46263: FreeBSD buildbots cannot compile Python
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2022-01-05.13:27:31.431>
    created_at = <Date 2022-01-05.12:27:29.714>
    labels = ['build', '3.11']
    title = 'Buildbot failure for buildbot/AMD64 FreeBSD Non-Debug / Shared 3.x'
    updated_at = <Date 2022-01-05.13:27:31.428>
    user = 'https://github.com/sobolevn'

    bugs.python.org fields:

    activity = <Date 2022-01-05.13:27:31.428>
    actor = 'erlendaasland'
    assignee = 'none'
    closed = True
    closed_date = <Date 2022-01-05.13:27:31.431>
    closer = 'erlendaasland'
    components = ['Build']
    creation = <Date 2022-01-05.12:27:29.714>
    creator = 'sobolevn'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46268
    keywords = []
    message_count = 3.0
    messages = ['409760', '409761', '409766']
    nosy_count = 2.0
    nosy_names = ['erlendaasland', 'sobolevn']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '46263'
    type = 'compile error'
    url = 'https://bugs.python.org/issue46268'
    versions = ['Python 3.11']

    @sobolevn
    Copy link
    Member Author

    sobolevn commented Jan 5, 2022

    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

    @sobolevn sobolevn added 3.11 only security fixes build The build process and cross-build labels Jan 5, 2022
    @sobolevn
    Copy link
    Member Author

    sobolevn commented Jan 5, 2022

    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.
    

    @erlend-aasland
    Copy link
    Contributor

    Duplicate of bpo-46263.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.11 only security fixes build The build process and cross-build
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants