Skip to content

bpo-1635741: Port _struct to multiphase initialization - #23398

Merged
corona10 merged 2 commits into
python:masterfrom
tiran:bpo-1635741-struct
Nov 19, 2020
Merged

bpo-1635741: Port _struct to multiphase initialization#23398
corona10 merged 2 commits into
python:masterfrom
tiran:bpo-1635741-struct

Conversation

@tiran

@tiran tiran commented Nov 19, 2020

Copy link
Copy Markdown
Member

Add state to most places. All but cache-related functions now use state from type object or from a function argument.

Signed-off-by: Christian Heimes christian@python.org

https://bugs.python.org/issue1635741

Signed-off-by: Christian Heimes <christian@python.org>
Comment thread Modules/_struct.c Outdated
Signed-off-by: Christian Heimes <christian@python.org>
@tiran
tiran requested a review from corona10 November 19, 2020 11:58
@tiran tiran changed the title bpo-1635741: Prepare _struct for multiphase initialization Nov 19, 2020
@bedevere-bot

Copy link
Copy Markdown

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot s390x Debian 3.x has failed when building commit cfeb543.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/49/builds/375) and take a look at the build logs.
  4. Check if the failure is related to this commit (cfeb543) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/49/builds/375

Summary of the results of the build (if available):

Click to see traceback logs
remote: Enumerating objects: 20, done.        
remote: Counting objects:   5% (1/20)        
remote: Counting objects:  10% (2/20)        
remote: Counting objects:  15% (3/20)        
remote: Counting objects:  20% (4/20)        
remote: Counting objects:  25% (5/20)        
remote: Counting objects:  30% (6/20)        
remote: Counting objects:  35% (7/20)        
remote: Counting objects:  40% (8/20)        
remote: Counting objects:  45% (9/20)        
remote: Counting objects:  50% (10/20)        
remote: Counting objects:  55% (11/20)        
remote: Counting objects:  60% (12/20)        
remote: Counting objects:  65% (13/20)        
remote: Counting objects:  70% (14/20)        
remote: Counting objects:  75% (15/20)        
remote: Counting objects:  80% (16/20)        
remote: Counting objects:  85% (17/20)        
remote: Counting objects:  90% (18/20)        
remote: Counting objects:  95% (19/20)        
remote: Counting objects: 100% (20/20)        
remote: Counting objects: 100% (20/20), done.        
remote: Compressing objects:  11% (1/9)        
remote: Compressing objects:  22% (2/9)        
remote: Compressing objects:  33% (3/9)        
remote: Compressing objects:  44% (4/9)        
remote: Compressing objects:  55% (5/9)        
remote: Compressing objects:  66% (6/9)        
remote: Compressing objects:  77% (7/9)        
remote: Compressing objects:  88% (8/9)        
remote: Compressing objects: 100% (9/9)        
remote: Compressing objects: 100% (9/9), done.        
remote: Total 11 (delta 9), reused 3 (delta 2), pack-reused 0        
From https://github.com/python/cpython
 * branch                  master     -> FETCH_HEAD
Reset branch 'master'

/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Modules/_struct.c: In function ‘np_halffloat’:
/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Modules/_struct.c:731:27: error: ‘statem’ undeclared (first use in this function); did you mean ‘state’?
     return pack_halffloat(statem p, v, 0);
                           ^~~~~~
                           state
/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Modules/_struct.c:731:27: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Modules/_struct.c:731:33: error: expected ‘)’ before ‘p’
     return pack_halffloat(statem p, v, 0);
                                 ^~
                                 )
/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Modules/_struct.c:731:12: error: too few arguments to function ‘pack_halffloat’
     return pack_halffloat(statem p, v, 0);
            ^~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Modules/_struct.c:310:1: note: declared here
 pack_halffloat(_structmodulestate *state,
 ^~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Modules/_struct.c:733:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'

/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Modules/_struct.c: In function ‘np_halffloat’:
/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Modules/_struct.c:731:27: error: ‘statem’ undeclared (first use in this function); did you mean ‘state’?
     return pack_halffloat(statem p, v, 0);
                           ^~~~~~
                           state
/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Modules/_struct.c:731:27: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Modules/_struct.c:731:33: error: expected ‘)’ before ‘p’
     return pack_halffloat(statem p, v, 0);
                                 ^~
                                 )
/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Modules/_struct.c:731:12: error: too few arguments to function ‘pack_halffloat’
     return pack_halffloat(statem p, v, 0);
            ^~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Modules/_struct.c:310:1: note: declared here
 pack_halffloat(_structmodulestate *state,
 ^~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Modules/_struct.c:733:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'
ERROR: collect_platform() failed
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/pythoninfo.py", line 784, in collect_info
    collect_func(info_add)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/pythoninfo.py", line 139, in collect_platform
    arch = platform.architecture()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/platform.py", line 662, in architecture
    import struct
  File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'

Collection failed: exit with error
make: *** [Makefile:1208: pythoninfo] Error 1

/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Modules/_struct.c: In function ‘np_halffloat’:
/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Modules/_struct.c:731:27: error: ‘statem’ undeclared (first use in this function); did you mean ‘state’?
     return pack_halffloat(statem p, v, 0);
                           ^~~~~~
                           state
/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Modules/_struct.c:731:27: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Modules/_struct.c:731:33: error: expected ‘)’ before ‘p’
     return pack_halffloat(statem p, v, 0);
                                 ^~
                                 )
/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Modules/_struct.c:731:12: error: too few arguments to function ‘pack_halffloat’
     return pack_halffloat(statem p, v, 0);
            ^~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Modules/_struct.c:310:1: note: declared here
 pack_halffloat(_structmodulestate *state,
 ^~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Modules/_struct.c:733:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/__main__.py", line 1, in <module>
    from test.libregrtest import main
  File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/libregrtest/__init__.py", line 2, in <module>
    from test.libregrtest.main import main
  File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/libregrtest/main.py", line 14, in <module>
    from test.libregrtest.runtest import (
  File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/libregrtest/runtest.py", line 17, in <module>
    from test.libregrtest.save_env import saved_test_environment
  File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/libregrtest/save_env.py", line 10, in <module>
    import urllib.request
  File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/urllib/request.py", line 84, in <module>
    import base64
  File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/base64.py", line 10, in <module>
    import struct
  File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'
make: *** [Makefile:1203: buildbottest] Error 1

Cannot open file '/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/test-results.xml' for upload
@bedevere-bot

Copy link
Copy Markdown

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot s390x RHEL7 3.x has failed when building commit cfeb543.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/179/builds/387) and take a look at the build logs.
  4. Check if the failure is related to this commit (cfeb543) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/179/builds/387

Summary of the results of the build (if available):

Click to see traceback logs
remote: Enumerating objects: 20, done.�[K
remote: Counting objects:   5% (1/20)�[K
remote: Counting objects:  10% (2/20)�[K
remote: Counting objects:  15% (3/20)�[K
remote: Counting objects:  20% (4/20)�[K
remote: Counting objects:  25% (5/20)�[K
remote: Counting objects:  30% (6/20)�[K
remote: Counting objects:  35% (7/20)�[K
remote: Counting objects:  40% (8/20)�[K
remote: Counting objects:  45% (9/20)�[K
remote: Counting objects:  50% (10/20)�[K
remote: Counting objects:  55% (11/20)�[K
remote: Counting objects:  60% (12/20)�[K
remote: Counting objects:  65% (13/20)�[K
remote: Counting objects:  70% (14/20)�[K
remote: Counting objects:  75% (15/20)�[K
remote: Counting objects:  80% (16/20)�[K
remote: Counting objects:  85% (17/20)�[K
remote: Counting objects:  90% (18/20)�[K
remote: Counting objects:  95% (19/20)�[K
remote: Counting objects: 100% (20/20)�[K
remote: Counting objects: 100% (20/20), done.�[K
remote: Compressing objects:  11% (1/9)�[K
remote: Compressing objects:  22% (2/9)�[K
remote: Compressing objects:  33% (3/9)�[K
remote: Compressing objects:  44% (4/9)�[K
remote: Compressing objects:  55% (5/9)�[K
remote: Compressing objects:  66% (6/9)�[K
remote: Compressing objects:  77% (7/9)�[K
remote: Compressing objects:  88% (8/9)�[K
remote: Compressing objects: 100% (9/9)�[K
remote: Compressing objects: 100% (9/9), done.�[K
remote: Total 11 (delta 9), reused 3 (delta 2), pack-reused 0�[K
From https://github.com/python/cpython
 * branch            master     -> FETCH_HEAD
Reset branch 'master'

/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Modules/_struct.c: In function ‘np_halffloat’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Modules/_struct.c:731:27: error: ‘statem’ undeclared (first use in this function)
     return pack_halffloat(statem p, v, 0);
                           ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Modules/_struct.c:731:27: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Modules/_struct.c:731:34: error: expected ‘)’ before ‘p’
     return pack_halffloat(statem p, v, 0);
                                  ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Modules/_struct.c:731:34: error: too few arguments to function ‘pack_halffloat’
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Modules/_struct.c:310:1: note: declared here
 pack_halffloat(_structmodulestate *state,
 ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Modules/_struct.c:733:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'

/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Modules/_struct.c: In function ‘np_halffloat’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Modules/_struct.c:731:27: error: ‘statem’ undeclared (first use in this function)
     return pack_halffloat(statem p, v, 0);
                           ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Modules/_struct.c:731:27: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Modules/_struct.c:731:34: error: expected ‘)’ before ‘p’
     return pack_halffloat(statem p, v, 0);
                                  ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Modules/_struct.c:731:34: error: too few arguments to function ‘pack_halffloat’
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Modules/_struct.c:310:1: note: declared here
 pack_halffloat(_structmodulestate *state,
 ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Modules/_struct.c:733:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'
ERROR: collect_platform() failed
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/pythoninfo.py", line 784, in collect_info
    collect_func(info_add)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/pythoninfo.py", line 139, in collect_platform
    arch = platform.architecture()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/platform.py", line 662, in architecture
    import struct
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'

Collection failed: exit with error
make: *** [pythoninfo] Error 1

/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Modules/_struct.c: In function ‘np_halffloat’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Modules/_struct.c:731:27: error: ‘statem’ undeclared (first use in this function)
     return pack_halffloat(statem p, v, 0);
                           ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Modules/_struct.c:731:27: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Modules/_struct.c:731:34: error: expected ‘)’ before ‘p’
     return pack_halffloat(statem p, v, 0);
                                  ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Modules/_struct.c:731:34: error: too few arguments to function ‘pack_halffloat’
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Modules/_struct.c:310:1: note: declared here
 pack_halffloat(_structmodulestate *state,
 ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Modules/_struct.c:733:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/__main__.py", line 1, in <module>
    from test.libregrtest import main
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/libregrtest/__init__.py", line 2, in <module>
    from test.libregrtest.main import main
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/libregrtest/main.py", line 14, in <module>
    from test.libregrtest.runtest import (
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/libregrtest/runtest.py", line 17, in <module>
    from test.libregrtest.save_env import saved_test_environment
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/libregrtest/save_env.py", line 10, in <module>
    import urllib.request
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/urllib/request.py", line 84, in <module>
    import base64
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/base64.py", line 10, in <module>
    import struct
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'
make: *** [buildbottest] Error 1

Cannot open file '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/test-results.xml' for upload
@bedevere-bot

Copy link
Copy Markdown

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot s390x Fedora Clang 3.x has failed when building commit cfeb543.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/3/builds/361) and take a look at the build logs.
  4. Check if the failure is related to this commit (cfeb543) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/3/builds/361

Summary of the results of the build (if available):

Click to see traceback logs
remote: Enumerating objects: 20, done.        
remote: Counting objects:   5% (1/20)        
remote: Counting objects:  10% (2/20)        
remote: Counting objects:  15% (3/20)        
remote: Counting objects:  20% (4/20)        
remote: Counting objects:  25% (5/20)        
remote: Counting objects:  30% (6/20)        
remote: Counting objects:  35% (7/20)        
remote: Counting objects:  40% (8/20)        
remote: Counting objects:  45% (9/20)        
remote: Counting objects:  50% (10/20)        
remote: Counting objects:  55% (11/20)        
remote: Counting objects:  60% (12/20)        
remote: Counting objects:  65% (13/20)        
remote: Counting objects:  70% (14/20)        
remote: Counting objects:  75% (15/20)        
remote: Counting objects:  80% (16/20)        
remote: Counting objects:  85% (17/20)        
remote: Counting objects:  90% (18/20)        
remote: Counting objects:  95% (19/20)        
remote: Counting objects: 100% (20/20)        
remote: Counting objects: 100% (20/20), done.        
remote: Compressing objects:  11% (1/9)        
remote: Compressing objects:  22% (2/9)        
remote: Compressing objects:  33% (3/9)        
remote: Compressing objects:  44% (4/9)        
remote: Compressing objects:  55% (5/9)        
remote: Compressing objects:  66% (6/9)        
remote: Compressing objects:  77% (7/9)        
remote: Compressing objects:  88% (8/9)        
remote: Compressing objects: 100% (9/9)        
remote: Compressing objects: 100% (9/9), done.        
remote: Total 11 (delta 9), reused 3 (delta 2), pack-reused 0        
From https://github.com/python/cpython
 * branch                  master     -> FETCH_HEAD
Reset branch 'master'

Python/pytime.c:160:10: warning: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-int-float-conversion]
    if (!_Py_InIntegralTypeRange(time_t, intpart)) {
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:228:82: note: expanded from macro '_Py_InIntegralTypeRange'
#define _Py_InIntegralTypeRange(type, v) (_Py_IntegralTypeMin(type) <= v && v <= _Py_IntegralTypeMax(type))
                                                                              ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:221:124: note: expanded from macro '_Py_IntegralTypeMax'
#define _Py_IntegralTypeMax(type) ((_Py_IntegralTypeSigned(type)) ? (((((type)1 << (sizeof(type)*CHAR_BIT - 2)) - 1) << 1) + 1) : ~(type)0)
                                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
Python/pytime.c:213:14: warning: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-int-float-conversion]
        if (!_Py_InIntegralTypeRange(time_t, intpart)) {
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:228:82: note: expanded from macro '_Py_InIntegralTypeRange'
#define _Py_InIntegralTypeRange(type, v) (_Py_IntegralTypeMin(type) <= v && v <= _Py_IntegralTypeMax(type))
                                                                              ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:221:124: note: expanded from macro '_Py_IntegralTypeMax'
#define _Py_IntegralTypeMax(type) ((_Py_IntegralTypeSigned(type)) ? (((((type)1 << (sizeof(type)*CHAR_BIT - 2)) - 1) << 1) + 1) : ~(type)0)
                                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
Python/pytime.c:398:10: warning: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-int-float-conversion]
    if (!_Py_InIntegralTypeRange(_PyTime_t, d)) {
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:228:82: note: expanded from macro '_Py_InIntegralTypeRange'
#define _Py_InIntegralTypeRange(type, v) (_Py_IntegralTypeMin(type) <= v && v <= _Py_IntegralTypeMax(type))
                                                                              ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:221:124: note: expanded from macro '_Py_IntegralTypeMax'
#define _Py_IntegralTypeMax(type) ((_Py_IntegralTypeSigned(type)) ? (((((type)1 << (sizeof(type)*CHAR_BIT - 2)) - 1) << 1) + 1) : ~(type)0)
                                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
3 warnings generated.
./Modules/timemodule.c:139:13: warning: code will never be executed [-Wunreachable-code]
            PyErr_SetString(PyExc_OverflowError,
            ^~~~~~~~~~~~~~~
./Modules/_threadmodule.c:1591:19: warning: implicit conversion from '_PyTime_t' (aka 'long') to 'double' changes value from 9223372036854775 to 9223372036854776 [-Wimplicit-int-float-conversion]
    timeout_max = (_PyTime_t)PY_TIMEOUT_MAX * 1e-6;
                  ^~~~~~~~~~~~~~~~~~~~~~~~~ ~
1 warning generated.
1 warning generated.
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Modules/_struct.c:731:27: error: use of undeclared identifier 'statem'; did you mean 'state'?
    return pack_halffloat(statem p, v, 0);
                          ^~~~~~
                          state
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Modules/_struct.c:726:34: note: 'state' declared here
np_halffloat(_structmodulestate *state, char *p, PyObject *v, const formatdef *f)
                                 ^
1 error generated.
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'

/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Modules/_struct.c:731:27: error: use of undeclared identifier 'statem'; did you mean 'state'?
    return pack_halffloat(statem p, v, 0);
                          ^~~~~~
                          state
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Modules/_struct.c:726:34: note: 'state' declared here
np_halffloat(_structmodulestate *state, char *p, PyObject *v, const formatdef *f)
                                 ^
1 error generated.
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'
ERROR: collect_platform() failed
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/test/pythoninfo.py", line 784, in collect_info
    collect_func(info_add)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/test/pythoninfo.py", line 139, in collect_platform
    arch = platform.architecture()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/platform.py", line 662, in architecture
    import struct
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'

Collection failed: exit with error
make: *** [Makefile:1208: pythoninfo] Error 1

/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Modules/_struct.c:731:27: error: use of undeclared identifier 'statem'; did you mean 'state'?
    return pack_halffloat(statem p, v, 0);
                          ^~~~~~
                          state
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Modules/_struct.c:726:34: note: 'state' declared here
np_halffloat(_structmodulestate *state, char *p, PyObject *v, const formatdef *f)
                                 ^
1 error generated.
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/test/__main__.py", line 1, in <module>
    from test.libregrtest import main
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/test/libregrtest/__init__.py", line 2, in <module>
    from test.libregrtest.main import main
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/test/libregrtest/main.py", line 14, in <module>
    from test.libregrtest.runtest import (
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/test/libregrtest/runtest.py", line 17, in <module>
    from test.libregrtest.save_env import saved_test_environment
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/test/libregrtest/save_env.py", line 10, in <module>
    import urllib.request
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/urllib/request.py", line 84, in <module>
    import base64
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/base64.py", line 10, in <module>
    import struct
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'
make: *** [Makefile:1203: buildbottest] Error 1

Cannot open file '/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/test-results.xml' for upload
@bedevere-bot

Copy link
Copy Markdown

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot s390x Fedora 3.x has failed when building commit cfeb543.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/223/builds/344) and take a look at the build logs.
  4. Check if the failure is related to this commit (cfeb543) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/223/builds/344

Summary of the results of the build (if available):

Click to see traceback logs
remote: Enumerating objects: 20, done.        
remote: Counting objects:   5% (1/20)        
remote: Counting objects:  10% (2/20)        
remote: Counting objects:  15% (3/20)        
remote: Counting objects:  20% (4/20)        
remote: Counting objects:  25% (5/20)        
remote: Counting objects:  30% (6/20)        
remote: Counting objects:  35% (7/20)        
remote: Counting objects:  40% (8/20)        
remote: Counting objects:  45% (9/20)        
remote: Counting objects:  50% (10/20)        
remote: Counting objects:  55% (11/20)        
remote: Counting objects:  60% (12/20)        
remote: Counting objects:  65% (13/20)        
remote: Counting objects:  70% (14/20)        
remote: Counting objects:  75% (15/20)        
remote: Counting objects:  80% (16/20)        
remote: Counting objects:  85% (17/20)        
remote: Counting objects:  90% (18/20)        
remote: Counting objects:  95% (19/20)        
remote: Counting objects: 100% (20/20)        
remote: Counting objects: 100% (20/20), done.        
remote: Compressing objects:  11% (1/9)        
remote: Compressing objects:  22% (2/9)        
remote: Compressing objects:  33% (3/9)        
remote: Compressing objects:  44% (4/9)        
remote: Compressing objects:  55% (5/9)        
remote: Compressing objects:  66% (6/9)        
remote: Compressing objects:  77% (7/9)        
remote: Compressing objects:  88% (8/9)        
remote: Compressing objects: 100% (9/9)        
remote: Compressing objects: 100% (9/9), done.        
remote: Total 11 (delta 9), reused 3 (delta 2), pack-reused 0        
From https://github.com/python/cpython
 * branch                  master     -> FETCH_HEAD
Reset branch 'master'

/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Modules/_struct.c: In function ‘np_halffloat’:
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Modules/_struct.c:731:27: error: ‘statem’ undeclared (first use in this function); did you mean ‘state’?
  731 |     return pack_halffloat(statem p, v, 0);
      |                           ^~~~~~
      |                           state
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Modules/_struct.c:731:27: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Modules/_struct.c:731:33: error: expected ‘)’ before ‘p’
  731 |     return pack_halffloat(statem p, v, 0);
      |                                 ^~
      |                                 )
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Modules/_struct.c:731:12: error: too few arguments to function ‘pack_halffloat’
  731 |     return pack_halffloat(statem p, v, 0);
      |            ^~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Modules/_struct.c:310:1: note: declared here
  310 | pack_halffloat(_structmodulestate *state,
      | ^~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Modules/_struct.c:733:1: warning: control reaches end of non-void function [-Wreturn-type]
  733 | }
      | ^
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'

/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Modules/_struct.c: In function ‘np_halffloat’:
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Modules/_struct.c:731:27: error: ‘statem’ undeclared (first use in this function); did you mean ‘state’?
  731 |     return pack_halffloat(statem p, v, 0);
      |                           ^~~~~~
      |                           state
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Modules/_struct.c:731:27: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Modules/_struct.c:731:33: error: expected ‘)’ before ‘p’
  731 |     return pack_halffloat(statem p, v, 0);
      |                                 ^~
      |                                 )
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Modules/_struct.c:731:12: error: too few arguments to function ‘pack_halffloat’
  731 |     return pack_halffloat(statem p, v, 0);
      |            ^~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Modules/_struct.c:310:1: note: declared here
  310 | pack_halffloat(_structmodulestate *state,
      | ^~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Modules/_struct.c:733:1: warning: control reaches end of non-void function [-Wreturn-type]
  733 | }
      | ^
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'
ERROR: collect_platform() failed
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Lib/test/pythoninfo.py", line 784, in collect_info
    collect_func(info_add)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Lib/test/pythoninfo.py", line 139, in collect_platform
    arch = platform.architecture()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Lib/platform.py", line 662, in architecture
    import struct
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Lib/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'

Collection failed: exit with error
make: *** [Makefile:1208: pythoninfo] Error 1

/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Modules/_struct.c: In function ‘np_halffloat’:
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Modules/_struct.c:731:27: error: ‘statem’ undeclared (first use in this function); did you mean ‘state’?
  731 |     return pack_halffloat(statem p, v, 0);
      |                           ^~~~~~
      |                           state
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Modules/_struct.c:731:27: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Modules/_struct.c:731:33: error: expected ‘)’ before ‘p’
  731 |     return pack_halffloat(statem p, v, 0);
      |                                 ^~
      |                                 )
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Modules/_struct.c:731:12: error: too few arguments to function ‘pack_halffloat’
  731 |     return pack_halffloat(statem p, v, 0);
      |            ^~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Modules/_struct.c:310:1: note: declared here
  310 | pack_halffloat(_structmodulestate *state,
      | ^~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Modules/_struct.c:733:1: warning: control reaches end of non-void function [-Wreturn-type]
  733 | }
      | ^
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Lib/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Lib/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Lib/test/__main__.py", line 1, in <module>
    from test.libregrtest import main
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Lib/test/libregrtest/__init__.py", line 2, in <module>
    from test.libregrtest.main import main
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Lib/test/libregrtest/main.py", line 14, in <module>
    from test.libregrtest.runtest import (
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Lib/test/libregrtest/runtest.py", line 17, in <module>
    from test.libregrtest.save_env import saved_test_environment
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Lib/test/libregrtest/save_env.py", line 10, in <module>
    import urllib.request
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Lib/urllib/request.py", line 84, in <module>
    import base64
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Lib/base64.py", line 10, in <module>
    import struct
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Lib/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'
make: *** [Makefile:1203: buildbottest] Error 1

Cannot open file '/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/test-results.xml' for upload
@bedevere-bot

Copy link
Copy Markdown

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot PPC64 Fedora 3.x has failed when building commit cfeb543.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/237/builds/416) and take a look at the build logs.
  4. Check if the failure is related to this commit (cfeb543) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/237/builds/416

Summary of the results of the build (if available):

Click to see traceback logs
remote: Enumerating objects: 20, done.�[K
remote: Counting objects:   5% (1/20)�[K
remote: Counting objects:  10% (2/20)�[K
remote: Counting objects:  15% (3/20)�[K
remote: Counting objects:  20% (4/20)�[K
remote: Counting objects:  25% (5/20)�[K
remote: Counting objects:  30% (6/20)�[K
remote: Counting objects:  35% (7/20)�[K
remote: Counting objects:  40% (8/20)�[K
remote: Counting objects:  45% (9/20)�[K
remote: Counting objects:  50% (10/20)�[K
remote: Counting objects:  55% (11/20)�[K
remote: Counting objects:  60% (12/20)�[K
remote: Counting objects:  65% (13/20)�[K
remote: Counting objects:  70% (14/20)�[K
remote: Counting objects:  75% (15/20)�[K
remote: Counting objects:  80% (16/20)�[K
remote: Counting objects:  85% (17/20)�[K
remote: Counting objects:  90% (18/20)�[K
remote: Counting objects:  95% (19/20)�[K
remote: Counting objects: 100% (20/20)�[K
remote: Counting objects: 100% (20/20), done.�[K
remote: Compressing objects:  11% (1/9)�[K
remote: Compressing objects:  22% (2/9)�[K
remote: Compressing objects:  33% (3/9)�[K
remote: Compressing objects:  44% (4/9)�[K
remote: Compressing objects:  55% (5/9)�[K
remote: Compressing objects:  66% (6/9)�[K
remote: Compressing objects:  77% (7/9)�[K
remote: Compressing objects:  88% (8/9)�[K
remote: Compressing objects: 100% (9/9)�[K
remote: Compressing objects: 100% (9/9), done.�[K
remote: Total 11 (delta 9), reused 3 (delta 2), pack-reused 0�[K
From https://github.com/python/cpython
 * branch            master     -> FETCH_HEAD
Reset branch 'master'

/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Modules/_struct.c: In function 'np_halffloat':
/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Modules/_struct.c:731:27: error: 'statem' undeclared (first use in this function)
     return pack_halffloat(statem p, v, 0);
                           ^
/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Modules/_struct.c:731:27: note: each undeclared identifier is reported only once for each function it appears in
/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Modules/_struct.c:731:34: error: expected ')' before 'p'
     return pack_halffloat(statem p, v, 0);
                                  ^
/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Modules/_struct.c:731:34: error: too few arguments to function 'pack_halffloat'
/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Modules/_struct.c:310:1: note: declared here
 pack_halffloat(_structmodulestate *state,
 ^
/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Modules/_struct.c:733:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'

/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Modules/_struct.c: In function 'np_halffloat':
/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Modules/_struct.c:731:27: error: 'statem' undeclared (first use in this function)
     return pack_halffloat(statem p, v, 0);
                           ^
/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Modules/_struct.c:731:27: note: each undeclared identifier is reported only once for each function it appears in
/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Modules/_struct.c:731:34: error: expected ')' before 'p'
     return pack_halffloat(statem p, v, 0);
                                  ^
/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Modules/_struct.c:731:34: error: too few arguments to function 'pack_halffloat'
/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Modules/_struct.c:310:1: note: declared here
 pack_halffloat(_structmodulestate *state,
 ^
/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Modules/_struct.c:733:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'
ERROR: collect_platform() failed
Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/test/pythoninfo.py", line 784, in collect_info
    collect_func(info_add)
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/test/pythoninfo.py", line 139, in collect_platform
    arch = platform.architecture()
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/platform.py", line 662, in architecture
    import struct
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'

Collection failed: exit with error
make: *** [pythoninfo] Error 1

/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Modules/_struct.c: In function 'np_halffloat':
/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Modules/_struct.c:731:27: error: 'statem' undeclared (first use in this function)
     return pack_halffloat(statem p, v, 0);
                           ^
/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Modules/_struct.c:731:27: note: each undeclared identifier is reported only once for each function it appears in
/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Modules/_struct.c:731:34: error: expected ')' before 'p'
     return pack_halffloat(statem p, v, 0);
                                  ^
/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Modules/_struct.c:731:34: error: too few arguments to function 'pack_halffloat'
/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Modules/_struct.c:310:1: note: declared here
 pack_halffloat(_structmodulestate *state,
 ^
/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Modules/_struct.c:733:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'
Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/test/__main__.py", line 1, in <module>
    from test.libregrtest import main
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/test/libregrtest/__init__.py", line 2, in <module>
    from test.libregrtest.main import main
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/test/libregrtest/main.py", line 14, in <module>
    from test.libregrtest.runtest import (
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/test/libregrtest/runtest.py", line 17, in <module>
    from test.libregrtest.save_env import saved_test_environment
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/test/libregrtest/save_env.py", line 10, in <module>
    import urllib.request
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/urllib/request.py", line 84, in <module>
    import base64
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/base64.py", line 10, in <module>
    import struct
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'
make: *** [buildbottest] Error 1

Cannot open file '/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/test-results.xml' for upload
@bedevere-bot

Copy link
Copy Markdown

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot s390x RHEL7 LTO + PGO 3.x has failed when building commit cfeb543.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/244/builds/375) and take a look at the build logs.
  4. Check if the failure is related to this commit (cfeb543) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/244/builds/375

Summary of the results of the build (if available):

Click to see traceback logs
remote: Enumerating objects: 20, done.�[K
remote: Counting objects:   5% (1/20)�[K
remote: Counting objects:  10% (2/20)�[K
remote: Counting objects:  15% (3/20)�[K
remote: Counting objects:  20% (4/20)�[K
remote: Counting objects:  25% (5/20)�[K
remote: Counting objects:  30% (6/20)�[K
remote: Counting objects:  35% (7/20)�[K
remote: Counting objects:  40% (8/20)�[K
remote: Counting objects:  45% (9/20)�[K
remote: Counting objects:  50% (10/20)�[K
remote: Counting objects:  55% (11/20)�[K
remote: Counting objects:  60% (12/20)�[K
remote: Counting objects:  65% (13/20)�[K
remote: Counting objects:  70% (14/20)�[K
remote: Counting objects:  75% (15/20)�[K
remote: Counting objects:  80% (16/20)�[K
remote: Counting objects:  85% (17/20)�[K
remote: Counting objects:  90% (18/20)�[K
remote: Counting objects:  95% (19/20)�[K
remote: Counting objects: 100% (20/20)�[K
remote: Counting objects: 100% (20/20), done.�[K
remote: Compressing objects:  11% (1/9)�[K
remote: Compressing objects:  22% (2/9)�[K
remote: Compressing objects:  33% (3/9)�[K
remote: Compressing objects:  44% (4/9)�[K
remote: Compressing objects:  55% (5/9)�[K
remote: Compressing objects:  66% (6/9)�[K
remote: Compressing objects:  77% (7/9)�[K
remote: Compressing objects:  88% (8/9)�[K
remote: Compressing objects: 100% (9/9)�[K
remote: Compressing objects: 100% (9/9), done.�[K
remote: Total 11 (delta 9), reused 3 (delta 2), pack-reused 0�[K
From https://github.com/python/cpython
 * branch            master     -> FETCH_HEAD
Reset branch 'master'

find: ‘build’: No such file or directory
find: ‘build’: No such file or directory
find: ‘build’: No such file or directory
find: ‘build’: No such file or directory
make[2]: [clean-retain-profile] Error 1 (ignored)
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c: In function ‘np_halffloat’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c:731:27: error: ‘statem’ undeclared (first use in this function)
     return pack_halffloat(statem p, v, 0);
                           ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c:731:27: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c:731:34: error: expected ‘)’ before ‘p’
     return pack_halffloat(statem p, v, 0);
                                  ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c:731:34: error: too few arguments to function ‘pack_halffloat’
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c:310:1: note: declared here
 pack_halffloat(_structmodulestate *state,
 ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c:733:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_sha3/sha3module.c:113:0:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c: In function ‘_PySHA3_KeccakP1600_ExtractAndAddLanes’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c:421:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
         ((UINT32*)(output+lanePosition*8))[0] = ((UINT32*)(input+lanePosition*8))[0] ^ (*(const UINT32*)(laneAsBytes+0));
         ^
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/__main__.py", line 1, in <module>
    from test.libregrtest import main
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/libregrtest/__init__.py", line 2, in <module>
    from test.libregrtest.main import main
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/libregrtest/main.py", line 14, in <module>
    from test.libregrtest.runtest import (
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/libregrtest/runtest.py", line 17, in <module>
    from test.libregrtest.save_env import saved_test_environment
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/libregrtest/save_env.py", line 10, in <module>
    import urllib.request
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/urllib/request.py", line 84, in <module>
    import base64
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/base64.py", line 10, in <module>
    import struct
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'
Python/frozenmain.c: In function ‘Py_FrozenMain’:
Python/frozenmain.c:129:1: note: file /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Python/frozenmain.gcda not found, execution counts estimated
 }
 ^
Python/pyfpe.c: In function ‘PyFPE_dummy’:
Python/pyfpe.c:15:1: note: file /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Python/pyfpe.gcda not found, execution counts estimated
 }
 ^
./Modules/_io/clinic/textio.c.h: In function ‘_io_TextIOWrapper_seek’:
./Modules/_io/textio.c:2581:48: warning: ‘MEM[(char * {ref-all})&cookie + 20B]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
         decoded = _PyObject_CallMethodIdObjArgs(self->decoder, &PyId_decode,
                                                ^
./Modules/_io/textio.c:2430:17: note: ‘MEM[(char * {ref-all})&cookie + 20B]’ was declared here
     cookie_type cookie;
                 ^
./Modules/_io/textio.c:2590:54: warning: ‘MEM[(char * {ref-all})&cookie + 16B]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
         if (PyUnicode_GetLength(self->decoded_chars) < cookie.chars_to_skip) {
                                                      ^
./Modules/_io/textio.c:2430:17: note: ‘MEM[(char * {ref-all})&cookie + 16B]’ was declared here
     cookie_type cookie;
                 ^
./Modules/_io/textio.c:2414:40: warning: ‘MEM[(char * {ref-all})&cookie + 8B]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     return _textiowrapper_encoder_reset(
                                        ^
./Modules/_io/textio.c:2430:17: note: ‘MEM[(char * {ref-all})&cookie + 8B]’ was declared here
     cookie_type cookie;
                 ^
./Modules/_io/textio.c:2414:40: warning: ‘MEM[(char * {ref-all})&cookie]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     return _textiowrapper_encoder_reset(
                                        ^
./Modules/_io/textio.c:2430:17: note: ‘MEM[(char * {ref-all})&cookie]’ was declared here
     cookie_type cookie;
                 ^
./Programs/_testembed.c: In function ‘main’:
./Programs/_testembed.c:1780:1: note: file /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Programs/_testembed.gcda not found, execution counts estimated
 }
 ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c: In function ‘np_halffloat’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c:731:27: error: ‘statem’ undeclared (first use in this function)
     return pack_halffloat(statem p, v, 0);
                           ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c:731:27: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c:731:34: error: expected ‘)’ before ‘p’
     return pack_halffloat(statem p, v, 0);
                                  ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c:731:34: error: too few arguments to function ‘pack_halffloat’
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c:310:1: note: declared here
 pack_halffloat(_structmodulestate *state,
 ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c:733:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_sha3/sha3module.c:113:0:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c: In function ‘_PySHA3_KeccakP1600_ExtractAndAddLanes’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c:421:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
         ((UINT32*)(output+lanePosition*8))[0] = ((UINT32*)(input+lanePosition*8))[0] ^ (*(const UINT32*)(laneAsBytes+0));
         ^
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'

/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c: In function ‘np_halffloat’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c:731:27: error: ‘statem’ undeclared (first use in this function)
     return pack_halffloat(statem p, v, 0);
                           ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c:731:27: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c:731:34: error: expected ‘)’ before ‘p’
     return pack_halffloat(statem p, v, 0);
                                  ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c:731:34: error: too few arguments to function ‘pack_halffloat’
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c:310:1: note: declared here
 pack_halffloat(_structmodulestate *state,
 ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c:733:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'
ERROR: collect_platform() failed
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/pythoninfo.py", line 784, in collect_info
    collect_func(info_add)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/pythoninfo.py", line 139, in collect_platform
    arch = platform.architecture()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/platform.py", line 662, in architecture
    import struct
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'

Collection failed: exit with error
make: *** [pythoninfo] Error 1

/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c: In function ‘np_halffloat’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c:731:27: error: ‘statem’ undeclared (first use in this function)
     return pack_halffloat(statem p, v, 0);
                           ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c:731:27: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c:731:34: error: expected ‘)’ before ‘p’
     return pack_halffloat(statem p, v, 0);
                                  ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c:731:34: error: too few arguments to function ‘pack_halffloat’
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c:310:1: note: declared here
 pack_halffloat(_structmodulestate *state,
 ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_struct.c:733:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/__main__.py", line 1, in <module>
    from test.libregrtest import main
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/libregrtest/__init__.py", line 2, in <module>
    from test.libregrtest.main import main
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/libregrtest/main.py", line 14, in <module>
    from test.libregrtest.runtest import (
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/libregrtest/runtest.py", line 17, in <module>
    from test.libregrtest.save_env import saved_test_environment
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/libregrtest/save_env.py", line 10, in <module>
    import urllib.request
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/urllib/request.py", line 84, in <module>
    import base64
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/base64.py", line 10, in <module>
    import struct
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'
make: *** [buildbottest] Error 1

Cannot open file '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/test-results.xml' for upload
@bedevere-bot

Copy link
Copy Markdown

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot s390x Fedora Clang Installed 3.x has failed when building commit cfeb543.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/531/builds/345) and take a look at the build logs.
  4. Check if the failure is related to this commit (cfeb543) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/531/builds/345

Summary of the results of the build (if available):

Click to see traceback logs
remote: Enumerating objects: 20, done.        
remote: Counting objects:   5% (1/20)        
remote: Counting objects:  10% (2/20)        
remote: Counting objects:  15% (3/20)        
remote: Counting objects:  20% (4/20)        
remote: Counting objects:  25% (5/20)        
remote: Counting objects:  30% (6/20)        
remote: Counting objects:  35% (7/20)        
remote: Counting objects:  40% (8/20)        
remote: Counting objects:  45% (9/20)        
remote: Counting objects:  50% (10/20)        
remote: Counting objects:  55% (11/20)        
remote: Counting objects:  60% (12/20)        
remote: Counting objects:  65% (13/20)        
remote: Counting objects:  70% (14/20)        
remote: Counting objects:  75% (15/20)        
remote: Counting objects:  80% (16/20)        
remote: Counting objects:  85% (17/20)        
remote: Counting objects:  90% (18/20)        
remote: Counting objects:  95% (19/20)        
remote: Counting objects: 100% (20/20)        
remote: Counting objects: 100% (20/20), done.        
remote: Compressing objects:  11% (1/9)        
remote: Compressing objects:  22% (2/9)        
remote: Compressing objects:  33% (3/9)        
remote: Compressing objects:  44% (4/9)        
remote: Compressing objects:  55% (5/9)        
remote: Compressing objects:  66% (6/9)        
remote: Compressing objects:  77% (7/9)        
remote: Compressing objects:  88% (8/9)        
remote: Compressing objects: 100% (9/9)        
remote: Compressing objects: 100% (9/9), done.        
remote: Total 11 (delta 9), reused 3 (delta 2), pack-reused 0
From https://github.com/python/cpython
 * branch                  master     -> FETCH_HEAD
Reset branch 'master'

Python/pytime.c:160:10: warning: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-int-float-conversion]
    if (!_Py_InIntegralTypeRange(time_t, intpart)) {
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:228:82: note: expanded from macro '_Py_InIntegralTypeRange'
#define _Py_InIntegralTypeRange(type, v) (_Py_IntegralTypeMin(type) <= v && v <= _Py_IntegralTypeMax(type))
                                                                              ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:221:124: note: expanded from macro '_Py_IntegralTypeMax'
#define _Py_IntegralTypeMax(type) ((_Py_IntegralTypeSigned(type)) ? (((((type)1 << (sizeof(type)*CHAR_BIT - 2)) - 1) << 1) + 1) : ~(type)0)
                                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
Python/pytime.c:213:14: warning: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-int-float-conversion]
        if (!_Py_InIntegralTypeRange(time_t, intpart)) {
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:228:82: note: expanded from macro '_Py_InIntegralTypeRange'
#define _Py_InIntegralTypeRange(type, v) (_Py_IntegralTypeMin(type) <= v && v <= _Py_IntegralTypeMax(type))
                                                                              ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:221:124: note: expanded from macro '_Py_IntegralTypeMax'
#define _Py_IntegralTypeMax(type) ((_Py_IntegralTypeSigned(type)) ? (((((type)1 << (sizeof(type)*CHAR_BIT - 2)) - 1) << 1) + 1) : ~(type)0)
                                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
Python/pytime.c:398:10: warning: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-int-float-conversion]
    if (!_Py_InIntegralTypeRange(_PyTime_t, d)) {
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:228:82: note: expanded from macro '_Py_InIntegralTypeRange'
#define _Py_InIntegralTypeRange(type, v) (_Py_IntegralTypeMin(type) <= v && v <= _Py_IntegralTypeMax(type))
                                                                              ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:221:124: note: expanded from macro '_Py_IntegralTypeMax'
#define _Py_IntegralTypeMax(type) ((_Py_IntegralTypeSigned(type)) ? (((((type)1 << (sizeof(type)*CHAR_BIT - 2)) - 1) << 1) + 1) : ~(type)0)
                                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
3 warnings generated.
./Modules/timemodule.c:139:13: warning: code will never be executed [-Wunreachable-code]
            PyErr_SetString(PyExc_OverflowError,
            ^~~~~~~~~~~~~~~
./Modules/_threadmodule.c:1591:19: warning: implicit conversion from '_PyTime_t' (aka 'long') to 'double' changes value from 9223372036854775 to 9223372036854776 [-Wimplicit-int-float-conversion]
    timeout_max = (_PyTime_t)PY_TIMEOUT_MAX * 1e-6;
                  ^~~~~~~~~~~~~~~~~~~~~~~~~ ~
1 warning generated.
1 warning generated.
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Modules/_struct.c:731:27: error: use of undeclared identifier 'statem'; did you mean 'state'?
    return pack_halffloat(statem p, v, 0);
                          ^~~~~~
                          state
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Modules/_struct.c:726:34: note: 'state' declared here
np_halffloat(_structmodulestate *state, char *p, PyObject *v, const formatdef *f)
                                 ^
1 error generated.
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'

/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Modules/_struct.c:731:27: error: use of undeclared identifier 'statem'; did you mean 'state'?
    return pack_halffloat(statem p, v, 0);
                          ^~~~~~
                          state
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Modules/_struct.c:726:34: note: 'state' declared here
np_halffloat(_structmodulestate *state, char *p, PyObject *v, const formatdef *f)
                                 ^
1 error generated.
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Modules/_struct.c:731:27: error: use of undeclared identifier 'statem'; did you mean 'state'?
    return pack_halffloat(statem p, v, 0);
                          ^~~~~~
                          state
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Modules/_struct.c:726:34: note: 'state' declared here
np_halffloat(_structmodulestate *state, char *p, PyObject *v, const formatdef *f)
                                 ^
1 error generated.
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Modules/_zoneinfo.c:2:10: fatal error: 'pycore_long.h' file not found
#include "pycore_long.h"          // _PyLong_GetOne()
         ^~~~~~~~~~~~~~~
1 error generated.
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/target/lib/python3.10/compileall.py", line 17, in <module>
    import struct
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/target/lib/python3.10/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'
make: [Makefile:1461: libinstall] Error 1 (ignored)
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/target/lib/python3.10/compileall.py", line 17, in <module>
    import struct
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/target/lib/python3.10/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'
make: [Makefile:1462: libinstall] Error 1 (ignored)
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/target/lib/python3.10/compileall.py", line 17, in <module>
    import struct
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/target/lib/python3.10/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'
make: [Makefile:1463: libinstall] Error 1 (ignored)
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/target/lib/python3.10/compileall.py", line 17, in <module>
    import struct
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/target/lib/python3.10/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'
make: [Makefile:1464: libinstall] Error 1 (ignored)
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/target/lib/python3.10/compileall.py", line 17, in <module>
    import struct
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/target/lib/python3.10/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'
make: [Makefile:1465: libinstall] Error 1 (ignored)
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/target/lib/python3.10/compileall.py", line 17, in <module>
    import struct
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/target/lib/python3.10/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'
make: [Makefile:1466: libinstall] Error 1 (ignored)
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/lib2to3/pgen2/driver.py", line 26, in <module>
    from . import grammar, parse, token, tokenize, pgen
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/lib2to3/pgen2/grammar.py", line 16, in <module>
    import pickle
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/pickle.py", line 33, in <module>
    from struct import pack, unpack
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'
make: [Makefile:1467: libinstall] Error 1 (ignored)
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/lib2to3/pgen2/driver.py", line 26, in <module>
    from . import grammar, parse, token, tokenize, pgen
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/lib2to3/pgen2/grammar.py", line 16, in <module>
    import pickle
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/pickle.py", line 33, in <module>
    from struct import pack, unpack
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'
make: [Makefile:1468: libinstall] Error 1 (ignored)
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/ensurepip/__main__.py", line 5, in <module>
    sys.exit(ensurepip._main())
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/ensurepip/__init__.py", line 210, in _main
    return _bootstrap(
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/ensurepip/__init__.py", line 109, in _bootstrap
    whl = resources.read_binary(
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/importlib/resources.py", line 78, in read_binary
    with open_binary(package, resource) as fp:
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/importlib/resources.py", line 41, in open_binary
    reader = _common.get_resource_reader(package)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/importlib/_common.py", line 49, in get_resource_reader
    return reader(spec.name)
  File "<frozen importlib._bootstrap_external>", line 507, in _check_name_wrapper
  File "<frozen importlib._bootstrap_external>", line 1028, in get_resource_reader
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/importlib/readers.py", line 1, in <module>
    import zipfile
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/zipfile.py", line 14, in <module>
    import struct
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'
make: *** [Makefile:1228: install] Error 1
@bedevere-bot

Copy link
Copy Markdown

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot s390x RHEL7 LTO 3.x has failed when building commit cfeb543.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/402/builds/372) and take a look at the build logs.
  4. Check if the failure is related to this commit (cfeb543) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/402/builds/372

Summary of the results of the build (if available):

Click to see traceback logs
remote: Enumerating objects: 20, done.�[K
remote: Counting objects:   5% (1/20)�[K
remote: Counting objects:  10% (2/20)�[K
remote: Counting objects:  15% (3/20)�[K
remote: Counting objects:  20% (4/20)�[K
remote: Counting objects:  25% (5/20)�[K
remote: Counting objects:  30% (6/20)�[K
remote: Counting objects:  35% (7/20)�[K
remote: Counting objects:  40% (8/20)�[K
remote: Counting objects:  45% (9/20)�[K
remote: Counting objects:  50% (10/20)�[K
remote: Counting objects:  55% (11/20)�[K
remote: Counting objects:  60% (12/20)�[K
remote: Counting objects:  65% (13/20)�[K
remote: Counting objects:  70% (14/20)�[K
remote: Counting objects:  75% (15/20)�[K
remote: Counting objects:  80% (16/20)�[K
remote: Counting objects:  85% (17/20)�[K
remote: Counting objects:  90% (18/20)�[K
remote: Counting objects:  95% (19/20)�[K
remote: Counting objects: 100% (20/20)�[K
remote: Counting objects: 100% (20/20), done.�[K
remote: Compressing objects:  11% (1/9)�[K
remote: Compressing objects:  22% (2/9)�[K
remote: Compressing objects:  33% (3/9)�[K
remote: Compressing objects:  44% (4/9)�[K
remote: Compressing objects:  55% (5/9)�[K
remote: Compressing objects:  66% (6/9)�[K
remote: Compressing objects:  77% (7/9)�[K
remote: Compressing objects:  88% (8/9)�[K
remote: Compressing objects: 100% (9/9)�[K
remote: Compressing objects: 100% (9/9), done.�[K
remote: Total 11 (delta 9), reused 3 (delta 2), pack-reused 0�[K
From https://github.com/python/cpython
 * branch            master     -> FETCH_HEAD
Reset branch 'master'

/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Modules/_struct.c: In function ‘np_halffloat’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Modules/_struct.c:731:27: error: ‘statem’ undeclared (first use in this function)
     return pack_halffloat(statem p, v, 0);
                           ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Modules/_struct.c:731:27: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Modules/_struct.c:731:34: error: expected ‘)’ before ‘p’
     return pack_halffloat(statem p, v, 0);
                                  ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Modules/_struct.c:731:34: error: too few arguments to function ‘pack_halffloat’
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Modules/_struct.c:310:1: note: declared here
 pack_halffloat(_structmodulestate *state,
 ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Modules/_struct.c:733:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Modules/_sha3/sha3module.c:113:0:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c: In function ‘_PySHA3_KeccakP1600_ExtractAndAddLanes’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c:421:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
         ((UINT32*)(output+lanePosition*8))[0] = ((UINT32*)(input+lanePosition*8))[0] ^ (*(const UINT32*)(laneAsBytes+0));
         ^
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'

/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Modules/_struct.c: In function ‘np_halffloat’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Modules/_struct.c:731:27: error: ‘statem’ undeclared (first use in this function)
     return pack_halffloat(statem p, v, 0);
                           ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Modules/_struct.c:731:27: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Modules/_struct.c:731:34: error: expected ‘)’ before ‘p’
     return pack_halffloat(statem p, v, 0);
                                  ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Modules/_struct.c:731:34: error: too few arguments to function ‘pack_halffloat’
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Modules/_struct.c:310:1: note: declared here
 pack_halffloat(_structmodulestate *state,
 ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Modules/_struct.c:733:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'
ERROR: collect_platform() failed
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/pythoninfo.py", line 784, in collect_info
    collect_func(info_add)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/pythoninfo.py", line 139, in collect_platform
    arch = platform.architecture()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/platform.py", line 662, in architecture
    import struct
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'

Collection failed: exit with error
make: *** [pythoninfo] Error 1

/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Modules/_struct.c: In function ‘np_halffloat’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Modules/_struct.c:731:27: error: ‘statem’ undeclared (first use in this function)
     return pack_halffloat(statem p, v, 0);
                           ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Modules/_struct.c:731:27: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Modules/_struct.c:731:34: error: expected ‘)’ before ‘p’
     return pack_halffloat(statem p, v, 0);
                                  ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Modules/_struct.c:731:34: error: too few arguments to function ‘pack_halffloat’
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Modules/_struct.c:310:1: note: declared here
 pack_halffloat(_structmodulestate *state,
 ^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Modules/_struct.c:733:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/__main__.py", line 1, in <module>
    from test.libregrtest import main
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/libregrtest/__init__.py", line 2, in <module>
    from test.libregrtest.main import main
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/libregrtest/main.py", line 14, in <module>
    from test.libregrtest.runtest import (
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/libregrtest/runtest.py", line 17, in <module>
    from test.libregrtest.save_env import saved_test_environment
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/libregrtest/save_env.py", line 10, in <module>
    import urllib.request
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/urllib/request.py", line 84, in <module>
    import base64
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/base64.py", line 10, in <module>
    import struct
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'
make: *** [buildbottest] Error 1

Cannot open file '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/test-results.xml' for upload
@bedevere-bot

Copy link
Copy Markdown

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot s390x Fedora LTO + PGO 3.x has failed when building commit cfeb543.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/545/builds/775) and take a look at the build logs.
  4. Check if the failure is related to this commit (cfeb543) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/545/builds/775

Summary of the results of the build (if available):

Click to see traceback logs
remote: Enumerating objects: 20, done.        
remote: Counting objects:   5% (1/20)        
remote: Counting objects:  10% (2/20)        
remote: Counting objects:  15% (3/20)        
remote: Counting objects:  20% (4/20)        
remote: Counting objects:  25% (5/20)        
remote: Counting objects:  30% (6/20)        
remote: Counting objects:  35% (7/20)        
remote: Counting objects:  40% (8/20)        
remote: Counting objects:  45% (9/20)        
remote: Counting objects:  50% (10/20)        
remote: Counting objects:  55% (11/20)        
remote: Counting objects:  60% (12/20)        
remote: Counting objects:  65% (13/20)        
remote: Counting objects:  70% (14/20)        
remote: Counting objects:  75% (15/20)        
remote: Counting objects:  80% (16/20)        
remote: Counting objects:  85% (17/20)        
remote: Counting objects:  90% (18/20)        
remote: Counting objects:  95% (19/20)        
remote: Counting objects: 100% (20/20)        
remote: Counting objects: 100% (20/20), done.        
remote: Compressing objects:  11% (1/9)        
remote: Compressing objects:  22% (2/9)        
remote: Compressing objects:  33% (3/9)        
remote: Compressing objects:  44% (4/9)        
remote: Compressing objects:  55% (5/9)        
remote: Compressing objects:  66% (6/9)        
remote: Compressing objects:  77% (7/9)        
remote: Compressing objects:  88% (8/9)        
remote: Compressing objects: 100% (9/9)        
remote: Compressing objects: 100% (9/9), done.        
remote: Total 11 (delta 9), reused 3 (delta 2), pack-reused 0        
From https://github.com/python/cpython
 * branch                  master     -> FETCH_HEAD
Reset branch 'master'

find: ‘build’: No such file or directory
find: ‘build’: No such file or directory
find: ‘build’: No such file or directory
find: ‘build’: No such file or directory
make[2]: [Makefile:1828: clean-retain-profile] Error 1 (ignored)
In function ‘emit_pair’,
    inlined from ‘emit_delta’ at Objects/codeobject.c:423:14,
    inlined from ‘code_getlnotab’ at Objects/codeobject.c:462:18:
Objects/codeobject.c:414:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  414 |     *lnotab++ = b;
      |     ~~~~~~~~~~^~~
In function ‘emit_pair’,
    inlined from ‘emit_delta’ at Objects/codeobject.c:436:14,
    inlined from ‘code_getlnotab’ at Objects/codeobject.c:462:18:
Objects/codeobject.c:414:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  414 |     *lnotab++ = b;
      |     ~~~~~~~~~~^~~
In function ‘emit_pair’,
    inlined from ‘emit_delta’ at Objects/codeobject.c:429:14,
    inlined from ‘code_getlnotab’ at Objects/codeobject.c:462:18:
Objects/codeobject.c:414:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  414 |     *lnotab++ = b;
      |     ~~~~~~~~~~^~~
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble_line_range’ at Python/compile.c:5614:18:
Python/compile.c:5586:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      |     ~~~~~~~~~~^~~~~~~~
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble_line_range’ at Python/compile.c:5608:18:
Python/compile.c:5586:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      |     ~~~~~~~~~~^~~~~~~~
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble’ at Python/compile.c:6011:10:
Python/compile.c:5586:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      |     ~~~~~~~~~~^~~~~~~~
In function ‘emit_pair’,
    inlined from ‘emit_delta’ at Objects/codeobject.c:423:14,
    inlined from ‘code_getlnotab’ at Objects/codeobject.c:462:18:
Objects/codeobject.c:414:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  414 |     *lnotab++ = b;
      |               ^
In function ‘emit_pair’,
    inlined from ‘emit_delta’ at Objects/codeobject.c:436:14,
    inlined from ‘code_getlnotab’ at Objects/codeobject.c:462:18:
Objects/codeobject.c:414:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  414 |     *lnotab++ = b;
      |               ^
In function ‘emit_pair’,
    inlined from ‘emit_delta’ at Objects/codeobject.c:429:14,
    inlined from ‘code_getlnotab’ at Objects/codeobject.c:462:18:
Objects/codeobject.c:414:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  414 |     *lnotab++ = b;
      |               ^
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble_line_range’ at Python/compile.c:5614:18:
Python/compile.c:5586:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      |               ^
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble_line_range’ at Python/compile.c:5608:18:
Python/compile.c:5586:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      |               ^
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble’ at Python/compile.c:6011:10:
Python/compile.c:5586:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      |               ^
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble_line_range’ at Python/compile.c:5614:0:
Python/compile.c:5586: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      | 
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble_line_range’ at Python/compile.c:5608:0:
Python/compile.c:5586: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      | 
In function ‘emit_pair’,
    inlined from ‘emit_delta’ at Objects/codeobject.c:423:0,
    inlined from ‘code_getlnotab’ at Objects/codeobject.c:462:0:
Objects/codeobject.c:414: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  414 |     *lnotab++ = b;
      | 
In function ‘emit_pair’,
    inlined from ‘emit_delta’ at Objects/codeobject.c:436:0,
    inlined from ‘code_getlnotab’ at Objects/codeobject.c:462:0:
Objects/codeobject.c:414: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  414 |     *lnotab++ = b;
      | 
In function ‘emit_pair’,
    inlined from ‘emit_delta’ at Objects/codeobject.c:429:0,
    inlined from ‘code_getlnotab’ at Objects/codeobject.c:462:0:
Objects/codeobject.c:414: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  414 |     *lnotab++ = b;
      | 
In function ‘emit_pair’,
    inlined from ‘emit_delta’ at Objects/codeobject.c:423:0,
    inlined from ‘code_getlnotab’ at Objects/codeobject.c:462:0:
Objects/codeobject.c:414: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  414 |     *lnotab++ = b;
      | 
In function ‘emit_pair’,
    inlined from ‘emit_delta’ at Objects/codeobject.c:436:0,
    inlined from ‘code_getlnotab’ at Objects/codeobject.c:462:0:
Objects/codeobject.c:414: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  414 |     *lnotab++ = b;
      | 
In function ‘emit_pair’,
    inlined from ‘emit_delta’ at Objects/codeobject.c:429:0,
    inlined from ‘code_getlnotab’ at Objects/codeobject.c:462:0:
Objects/codeobject.c:414: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  414 |     *lnotab++ = b;
      | 
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble_line_range’ at Python/compile.c:5614:0:
Python/compile.c:5586: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      | 
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble_line_range’ at Python/compile.c:5608:0:
Python/compile.c:5586: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      | 
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble’ at Python/compile.c:6011:0:
Python/compile.c:5586: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      | 
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble’ at Python/compile.c:6011:0:
Python/compile.c:5586: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      | 
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c: In function ‘np_halffloat’:
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c:731:27: error: ‘statem’ undeclared (first use in this function); did you mean ‘state’?
  731 |     return pack_halffloat(statem p, v, 0);
      |                           ^~~~~~
      |                           state
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c:731:27: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c:731:33: error: expected ‘)’ before ‘p’
  731 |     return pack_halffloat(statem p, v, 0);
      |                                 ^~
      |                                 )
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c:731:12: error: too few arguments to function ‘pack_halffloat’
  731 |     return pack_halffloat(statem p, v, 0);
      |            ^~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c:310:1: note: declared here
  310 | pack_halffloat(_structmodulestate *state,
      | ^~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c:733:1: warning: control reaches end of non-void function [-Wreturn-type]
  733 | }
      | ^
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_pickle.c: In function ‘load_float’:
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_pickle.c:5390:9: warning: ‘s’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 5390 |     d = PyOS_string_to_double(s, &endptr, PyExc_OverflowError);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_pickle.c: In function ‘load_string’:
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_pickle.c:5439:30: warning: ‘s’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 5439 |     if (len >= 2 && s[0] == s[len - 1] && (s[0] == '\'' || s[0] == '"')) {
      |                              ^
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_pickle.c: In function ‘load_int’:
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_pickle.c:5176:17: warning: ‘s’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 5176 |         value = PyLong_FromString(s, NULL, 0);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/socketmodule.c: In function ‘getsockaddrarg’:
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/socketmodule.c:2354:9: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
 2354 |         strncpy((char *)sa->salg_name, name, sizeof(sa->salg_name));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Lib/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Lib/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Lib/test/__main__.py", line 1, in <module>
    from test.libregrtest import main
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Lib/test/libregrtest/__init__.py", line 2, in <module>
    from test.libregrtest.main import main
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Lib/test/libregrtest/main.py", line 14, in <module>
    from test.libregrtest.runtest import (
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Lib/test/libregrtest/runtest.py", line 17, in <module>
    from test.libregrtest.save_env import saved_test_environment
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Lib/test/libregrtest/save_env.py", line 10, in <module>
    import urllib.request
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Lib/urllib/request.py", line 84, in <module>
    import base64
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Lib/base64.py", line 10, in <module>
    import struct
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Lib/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'
Python/frozenmain.c: In function ‘Py_FrozenMain’:
Python/frozenmain.c:129:1: warning: ‘/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Python/frozenmain.gcda’ profile count data file not found [-Wmissing-profile]
  129 | }
      | ^
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble’ at Python/compile.c:6011:10:
Python/compile.c:5586:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      |     ~~~~~~~~~~^~~~~~~~
Python/pyfpe.c: In function ‘PyFPE_dummy’:
Python/pyfpe.c:15:1: warning: ‘/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Python/pyfpe.gcda’ profile count data file not found [-Wmissing-profile]
   15 | }
      | ^
./Programs/_testembed.c: In function ‘main’:
./Programs/_testembed.c:1780:1: warning: ‘/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Programs/_testembed.gcda’ profile count data file not found [-Wmissing-profile]
 1780 | }
      | ^
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble’ at Python/compile.c:6011:10:
Python/compile.c:5586:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      |               ^
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble’ at Python/compile.c:6011:0:
Python/compile.c:5586: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      | 
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble’ at Python/compile.c:6011:0:
Python/compile.c:5586: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      | 
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c: In function ‘np_halffloat’:
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c:731:27: error: ‘statem’ undeclared (first use in this function); did you mean ‘state’?
  731 |     return pack_halffloat(statem p, v, 0);
      |                           ^~~~~~
      |                           state
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c:731:27: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c:731:33: error: expected ‘)’ before ‘p’
  731 |     return pack_halffloat(statem p, v, 0);
      |                                 ^~
      |                                 )
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c:731:12: error: too few arguments to function ‘pack_halffloat’
  731 |     return pack_halffloat(statem p, v, 0);
      |            ^~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c:310:1: note: declared here
  310 | pack_halffloat(_structmodulestate *state,
      | ^~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c:733:1: warning: control reaches end of non-void function [-Wreturn-type]
  733 | }
      | ^
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'

/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c: In function ‘np_halffloat’:
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c:731:27: error: ‘statem’ undeclared (first use in this function); did you mean ‘state’?
  731 |     return pack_halffloat(statem p, v, 0);
      |                           ^~~~~~
      |                           state
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c:731:27: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c:731:33: error: expected ‘)’ before ‘p’
  731 |     return pack_halffloat(statem p, v, 0);
      |                                 ^~
      |                                 )
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c:731:12: error: too few arguments to function ‘pack_halffloat’
  731 |     return pack_halffloat(statem p, v, 0);
      |            ^~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c:310:1: note: declared here
  310 | pack_halffloat(_structmodulestate *state,
      | ^~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c:733:1: warning: control reaches end of non-void function [-Wreturn-type]
  733 | }
      | ^
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'
ERROR: collect_platform() failed
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Lib/test/pythoninfo.py", line 784, in collect_info
    collect_func(info_add)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Lib/test/pythoninfo.py", line 139, in collect_platform
    arch = platform.architecture()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Lib/platform.py", line 662, in architecture
    import struct
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Lib/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'

Collection failed: exit with error
make: *** [Makefile:1208: pythoninfo] Error 1

/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c: In function ‘np_halffloat’:
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c:731:27: error: ‘statem’ undeclared (first use in this function); did you mean ‘state’?
  731 |     return pack_halffloat(statem p, v, 0);
      |                           ^~~~~~
      |                           state
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c:731:27: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c:731:33: error: expected ‘)’ before ‘p’
  731 |     return pack_halffloat(statem p, v, 0);
      |                                 ^~
      |                                 )
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c:731:12: error: too few arguments to function ‘pack_halffloat’
  731 |     return pack_halffloat(statem p, v, 0);
      |            ^~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c:310:1: note: declared here
  310 | pack_halffloat(_structmodulestate *state,
      | ^~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Modules/_struct.c:733:1: warning: control reaches end of non-void function [-Wreturn-type]
  733 | }
      | ^
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Lib/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Lib/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Lib/test/__main__.py", line 1, in <module>
    from test.libregrtest import main
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Lib/test/libregrtest/__init__.py", line 2, in <module>
    from test.libregrtest.main import main
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Lib/test/libregrtest/main.py", line 14, in <module>
    from test.libregrtest.runtest import (
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Lib/test/libregrtest/runtest.py", line 17, in <module>
    from test.libregrtest.save_env import saved_test_environment
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Lib/test/libregrtest/save_env.py", line 10, in <module>
    import urllib.request
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Lib/urllib/request.py", line 84, in <module>
    import base64
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Lib/base64.py", line 10, in <module>
    import struct
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Lib/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'
make: *** [Makefile:1203: buildbottest] Error 1

Cannot open file '/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/test-results.xml' for upload
@bedevere-bot

Copy link
Copy Markdown

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot s390x Fedora LTO 3.x has failed when building commit cfeb543.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/55/builds/364) and take a look at the build logs.
  4. Check if the failure is related to this commit (cfeb543) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/55/builds/364

Summary of the results of the build (if available):

Click to see traceback logs
remote: Enumerating objects: 20, done.        
remote: Counting objects:   5% (1/20)        
remote: Counting objects:  10% (2/20)        
remote: Counting objects:  15% (3/20)        
remote: Counting objects:  20% (4/20)        
remote: Counting objects:  25% (5/20)        
remote: Counting objects:  30% (6/20)        
remote: Counting objects:  35% (7/20)        
remote: Counting objects:  40% (8/20)        
remote: Counting objects:  45% (9/20)        
remote: Counting objects:  50% (10/20)        
remote: Counting objects:  55% (11/20)        
remote: Counting objects:  60% (12/20)        
remote: Counting objects:  65% (13/20)        
remote: Counting objects:  70% (14/20)        
remote: Counting objects:  75% (15/20)        
remote: Counting objects:  80% (16/20)        
remote: Counting objects:  85% (17/20)        
remote: Counting objects:  90% (18/20)        
remote: Counting objects:  95% (19/20)        
remote: Counting objects: 100% (20/20)        
remote: Counting objects: 100% (20/20), done.        
remote: Compressing objects:  11% (1/9)        
remote: Compressing objects:  22% (2/9)        
remote: Compressing objects:  33% (3/9)        
remote: Compressing objects:  44% (4/9)        
remote: Compressing objects:  55% (5/9)        
remote: Compressing objects:  66% (6/9)        
remote: Compressing objects:  77% (7/9)        
remote: Compressing objects:  88% (8/9)        
remote: Compressing objects: 100% (9/9)        
remote: Compressing objects: 100% (9/9), done.        
remote: Total 11 (delta 9), reused 3 (delta 2), pack-reused 0        
From https://github.com/python/cpython
 * branch                  master     -> FETCH_HEAD
Reset branch 'master'

In function ‘bytearray_removeprefix_impl’,
    inlined from ‘bytearray_removeprefix’ at Objects/clinic/bytearrayobject.c.h:139:20:
Objects/bytearrayobject.c:1204:12: warning: ‘__builtin_memcmp_eq’ specified size between 9223372036854775808 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
 1204 |         && memcmp(self_start, prefix_start, prefix_len) == 0)
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘bytearray_removesuffix_impl’,
    inlined from ‘bytearray_removesuffix’ at Objects/clinic/bytearrayobject.c.h:179:20:
Objects/bytearrayobject.c:1236:12: warning: ‘__builtin_memcmp_eq’ specified size between 9223372036854775808 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
 1236 |         && memcmp(self_start + self_len - suffix_len,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1237 |                   suffix_start, suffix_len) == 0)
      |                   ~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘emit_pair’,
    inlined from ‘emit_delta’ at Objects/codeobject.c:423:14,
    inlined from ‘code_getlnotab’ at Objects/codeobject.c:462:18:
Objects/codeobject.c:414:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  414 |     *lnotab++ = b;
      |     ~~~~~~~~~~^~~
In function ‘emit_pair’,
    inlined from ‘emit_delta’ at Objects/codeobject.c:436:14,
    inlined from ‘code_getlnotab’ at Objects/codeobject.c:462:18:
Objects/codeobject.c:414:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  414 |     *lnotab++ = b;
      |     ~~~~~~~~~~^~~
In function ‘emit_pair’,
    inlined from ‘emit_delta’ at Objects/codeobject.c:429:14,
    inlined from ‘code_getlnotab’ at Objects/codeobject.c:462:18:
Objects/codeobject.c:414:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  414 |     *lnotab++ = b;
      |     ~~~~~~~~~~^~~
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble_line_range’ at Python/compile.c:5614:18:
Python/compile.c:5586:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      |     ~~~~~~~~~~^~~~~~~~
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble_line_range’ at Python/compile.c:5608:18:
Python/compile.c:5586:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      |     ~~~~~~~~~~^~~~~~~~
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble’ at Python/compile.c:6011:10:
Python/compile.c:5586:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      |     ~~~~~~~~~~^~~~~~~~
In function ‘bytearray_removeprefix_impl’,
    inlined from ‘bytearray_removeprefix’ at Objects/clinic/bytearrayobject.c.h:139:20:
Objects/bytearrayobject.c:1204:12: warning: ‘__builtin_memcmp_eq’ specified size between 9223372036854775808 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
 1204 |         && memcmp(self_start, prefix_start, prefix_len) == 0)
      |            ^
In function ‘bytearray_removesuffix_impl’,
    inlined from ‘bytearray_removesuffix’ at Objects/clinic/bytearrayobject.c.h:179:20:
Objects/bytearrayobject.c:1236:12: warning: ‘__builtin_memcmp_eq’ specified size between 9223372036854775808 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
 1236 |         && memcmp(self_start + self_len - suffix_len,
      |            ^
In function ‘emit_pair’,
    inlined from ‘emit_delta’ at Objects/codeobject.c:423:14,
    inlined from ‘code_getlnotab’ at Objects/codeobject.c:462:18:
Objects/codeobject.c:414:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  414 |     *lnotab++ = b;
      |               ^
In function ‘emit_pair’,
    inlined from ‘emit_delta’ at Objects/codeobject.c:436:14,
    inlined from ‘code_getlnotab’ at Objects/codeobject.c:462:18:
Objects/codeobject.c:414:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  414 |     *lnotab++ = b;
      |               ^
In function ‘emit_pair’,
    inlined from ‘emit_delta’ at Objects/codeobject.c:429:14,
    inlined from ‘code_getlnotab’ at Objects/codeobject.c:462:18:
Objects/codeobject.c:414:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  414 |     *lnotab++ = b;
      |               ^
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble_line_range’ at Python/compile.c:5614:18:
Python/compile.c:5586:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      |               ^
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble_line_range’ at Python/compile.c:5608:18:
Python/compile.c:5586:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      |               ^
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble’ at Python/compile.c:6011:10:
Python/compile.c:5586:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      |               ^
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble_line_range’ at Python/compile.c:5614:0:
Python/compile.c:5586: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      | 
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble_line_range’ at Python/compile.c:5608:0:
Python/compile.c:5586: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      | 
In function ‘emit_pair’,
    inlined from ‘emit_delta’ at Objects/codeobject.c:423:0,
    inlined from ‘code_getlnotab’ at Objects/codeobject.c:462:0:
Objects/codeobject.c:414: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  414 |     *lnotab++ = b;
      | 
In function ‘emit_pair’,
    inlined from ‘emit_delta’ at Objects/codeobject.c:436:0,
    inlined from ‘code_getlnotab’ at Objects/codeobject.c:462:0:
Objects/codeobject.c:414: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  414 |     *lnotab++ = b;
      | 
In function ‘emit_pair’,
    inlined from ‘emit_delta’ at Objects/codeobject.c:429:0,
    inlined from ‘code_getlnotab’ at Objects/codeobject.c:462:0:
Objects/codeobject.c:414: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  414 |     *lnotab++ = b;
      | 
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble_line_range’ at Python/compile.c:5614:0:
Python/compile.c:5586: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      | 
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble_line_range’ at Python/compile.c:5608:0:
Python/compile.c:5586: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      | 
In function ‘emit_pair’,
    inlined from ‘emit_delta’ at Objects/codeobject.c:423:0,
    inlined from ‘code_getlnotab’ at Objects/codeobject.c:462:0:
Objects/codeobject.c:414: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  414 |     *lnotab++ = b;
      | 
In function ‘emit_pair’,
    inlined from ‘emit_delta’ at Objects/codeobject.c:436:0,
    inlined from ‘code_getlnotab’ at Objects/codeobject.c:462:0:
Objects/codeobject.c:414: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  414 |     *lnotab++ = b;
      | 
In function ‘emit_pair’,
    inlined from ‘emit_delta’ at Objects/codeobject.c:429:0,
    inlined from ‘code_getlnotab’ at Objects/codeobject.c:462:0:
Objects/codeobject.c:414: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  414 |     *lnotab++ = b;
      | 
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble’ at Python/compile.c:6011:0:
Python/compile.c:5586: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      | 
In function ‘assemble_emit_linetable_pair’,
    inlined from ‘assemble’ at Python/compile.c:6011:0:
Python/compile.c:5586: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5586 |     *lnotab++ = ldelta;
      | 
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Modules/_struct.c: In function ‘np_halffloat’:
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Modules/_struct.c:731:27: error: ‘statem’ undeclared (first use in this function); did you mean ‘state’?
  731 |     return pack_halffloat(statem p, v, 0);
      |                           ^~~~~~
      |                           state
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Modules/_struct.c:731:27: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Modules/_struct.c:731:33: error: expected ‘)’ before ‘p’
  731 |     return pack_halffloat(statem p, v, 0);
      |                                 ^~
      |                                 )
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Modules/_struct.c:731:12: error: too few arguments to function ‘pack_halffloat’
  731 |     return pack_halffloat(statem p, v, 0);
      |            ^~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Modules/_struct.c:310:1: note: declared here
  310 | pack_halffloat(_structmodulestate *state,
      | ^~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Modules/_struct.c:733:1: warning: control reaches end of non-void function [-Wreturn-type]
  733 | }
      | ^
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Modules/_ctypes/callproc.c: In function ‘_ctypes_callproc’:
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Modules/_ctypes/callproc.c:916:18: warning: ‘space’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  916 |         space[0] = errno;
      |                  ^
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Modules/_ctypes/callproc.c:822:10: note: ‘space’ was declared here
  822 |     int *space;
      |          ^~~~~
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'

/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Modules/_struct.c: In function ‘np_halffloat’:
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Modules/_struct.c:731:27: error: ‘statem’ undeclared (first use in this function); did you mean ‘state’?
  731 |     return pack_halffloat(statem p, v, 0);
      |                           ^~~~~~
      |                           state
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Modules/_struct.c:731:27: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Modules/_struct.c:731:33: error: expected ‘)’ before ‘p’
  731 |     return pack_halffloat(statem p, v, 0);
      |                                 ^~
      |                                 )
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Modules/_struct.c:731:12: error: too few arguments to function ‘pack_halffloat’
  731 |     return pack_halffloat(statem p, v, 0);
      |            ^~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Modules/_struct.c:310:1: note: declared here
  310 | pack_halffloat(_structmodulestate *state,
      | ^~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Modules/_struct.c:733:1: warning: control reaches end of non-void function [-Wreturn-type]
  733 | }
      | ^
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'
ERROR: collect_platform() failed
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Lib/test/pythoninfo.py", line 784, in collect_info
    collect_func(info_add)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Lib/test/pythoninfo.py", line 139, in collect_platform
    arch = platform.architecture()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Lib/platform.py", line 662, in architecture
    import struct
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Lib/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'

Collection failed: exit with error
make: *** [Makefile:1208: pythoninfo] Error 1

/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Modules/_struct.c: In function ‘np_halffloat’:
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Modules/_struct.c:731:27: error: ‘statem’ undeclared (first use in this function); did you mean ‘state’?
  731 |     return pack_halffloat(statem p, v, 0);
      |                           ^~~~~~
      |                           state
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Modules/_struct.c:731:27: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Modules/_struct.c:731:33: error: expected ‘)’ before ‘p’
  731 |     return pack_halffloat(statem p, v, 0);
      |                                 ^~
      |                                 )
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Modules/_struct.c:731:12: error: too few arguments to function ‘pack_halffloat’
  731 |     return pack_halffloat(statem p, v, 0);
      |            ^~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Modules/_struct.c:310:1: note: declared here
  310 | pack_halffloat(_structmodulestate *state,
      | ^~~~~~~~~~~~~~
/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Modules/_struct.c:733:1: warning: control reaches end of non-void function [-Wreturn-type]
  733 | }
      | ^
*** WARNING: renaming "_zoneinfo" since importing it failed: No module named '_struct'
*** WARNING: renaming "_testbuffer" since importing it failed: No module named '_struct'
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Lib/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Lib/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Lib/test/__main__.py", line 1, in <module>
    from test.libregrtest import main
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Lib/test/libregrtest/__init__.py", line 2, in <module>
    from test.libregrtest.main import main
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Lib/test/libregrtest/main.py", line 14, in <module>
    from test.libregrtest.runtest import (
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Lib/test/libregrtest/runtest.py", line 17, in <module>
    from test.libregrtest.save_env import saved_test_environment
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Lib/test/libregrtest/save_env.py", line 10, in <module>
    import urllib.request
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Lib/urllib/request.py", line 84, in <module>
    import base64
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Lib/base64.py", line 10, in <module>
    import struct
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/Lib/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'
make: *** [Makefile:1203: buildbottest] Error 1

Cannot open file '/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto/build/test-results.xml' for upload
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
Signed-off-by: Christian Heimes <christian@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants