Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

bpo-39524: Fixed doc-string in ast._pad_whitespace #18340

Merged
merged 1 commit into from Feb 13, 2020
Merged

bpo-39524: Fixed doc-string in ast._pad_whitespace #18340

merged 1 commit into from Feb 13, 2020

Conversation

mpheath
Copy link
Contributor

@mpheath mpheath commented Feb 4, 2020

Escape sequences in doc string of ast._pad_whitespace

[bpo-39524](https://bugs.python.org/issue39524): Replaced \f with \\f and \t with \\t so when doc string is read by inspect.getdoc, literal '\f\t' is returned.

https://bugs.python.org/issue39524

@the-knights-who-say-ni
Copy link

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA).

CLA Missing

Our records indicate the following people have not signed the CLA:

@mpheath

For legal reasons we need all the people listed to sign the CLA before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

If you have recently signed the CLA, please wait at least one business day
before our records are updated.

You can check yourself to see if the CLA has been received.

Thanks again for the contribution, we look forward to reviewing it!

@codecov
Copy link

codecov bot commented Feb 4, 2020

Codecov Report

Merging #18340 into master will decrease coverage by 0.08%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #18340      +/-   ##
==========================================
- Coverage   82.20%   82.11%   -0.09%     
==========================================
  Files        1957     1954       -3     
  Lines      588894   583559    -5335     
  Branches    44382    44429      +47     
==========================================
- Hits       484072   479209    -4863     
+ Misses      95175    94703     -472     
  Partials     9647     9647              
Impacted Files Coverage Δ
Lib/distutils/tests/test_bdist_rpm.py 30.00% <0.00%> (-65.00%) ⬇️
Lib/distutils/command/bdist_rpm.py 7.63% <0.00%> (-56.88%) ⬇️
Lib/test/test_urllib2net.py 76.92% <0.00%> (-13.85%) ⬇️
Lib/test/test_smtpnet.py 78.57% <0.00%> (-12.86%) ⬇️
Lib/ftplib.py 63.85% <0.00%> (-6.06%) ⬇️
Lib/test/test_distutils.py 66.66% <0.00%> (-4.77%) ⬇️
Lib/test/test_ftplib.py 87.11% <0.00%> (-4.72%) ⬇️
Lib/dbm/__init__.py 66.66% <0.00%> (-4.45%) ⬇️
Tools/scripts/db2pickle.py 17.82% <0.00%> (-3.97%) ⬇️
Lib/test/test_socket.py 71.94% <0.00%> (-3.87%) ⬇️
... and 373 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9017e0b...967936d. Read the comment docs.

Lib/ast.py Outdated
@@ -302,7 +302,7 @@ def _splitlines_no_ff(source):


def _pad_whitespace(source):
"""Replace all chars except '\f\t' in a line with spaces."""
"""Replace all chars except '\\f\\t' in a line with spaces."""
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but I prefer to use a raw string literal.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no absolute preference. You can change it if you consider raw string as more suitable.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mpheath, thank you for your contribution to CPython and for your interest in improving the language and the documentation. Serhiy's suggestion was asking if you could change it to a raw string in your PR and then he'll merge the change.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed to raw string literal.

@serhiy-storchaka
Copy link
Member

Signing the CLA is not required for such trivial change.

Copy link
Member

@tirkarthi tirkarthi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks.

@serhiy-storchaka serhiy-storchaka merged commit fbeba8f into python:master Feb 13, 2020
@miss-islington
Copy link
Contributor

Thanks @mpheath for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Sorry @mpheath and @serhiy-storchaka, I had trouble checking out the 3.8 backport branch.
Please backport using cherry_picker on command line.
cherry_picker fbeba8f2481411d608a616366394e07cdc52e0bb 3.8

@bedevere-bot
Copy link

GH-22857 is a backport of this pull request to the 3.8 branch.

miss-islington pushed a commit that referenced this pull request Oct 21, 2020
@bedevere-bot
Copy link

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

Hi! The buildbot AMD64 Fedora Stable LTO + PGO 3.8 has failed when building commit f3982d6.

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/563/builds/396) and take a look at the build logs.
  4. Check if the failure is related to this commit (f3982d6) 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/563/builds/396

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

Click to see traceback logs
remote: Enumerating objects: 1        
remote: Enumerating objects: 4, done.        
remote: Counting objects:  25% (1/4)        
remote: Counting objects:  50% (2/4)        
remote: Counting objects:  75% (3/4)        
remote: Counting objects: 100% (4/4)        
remote: Counting objects: 100% (4/4), done.        
remote: Total 4 (delta 3), reused 3 (delta 3), pack-reused 0        
From https://github.com/python/cpython
 * branch                  3.8        -> FETCH_HEAD
Reset branch '3.8'

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:1778: clean] Error 1 (ignored)
Objects/longobject.c: In function ‘_PyLong_Frexp’:
Objects/longobject.c:2989:33: warning: ‘x_digits[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 2989 |                     x_digits[0] |= 1;
      |                                 ^~
In function ‘assemble_lnotab’,
    inlined from ‘assemble_emit’ at Python/compile.c:5692:25,
    inlined from ‘assemble’ at Python/compile.c:6031:18:
Python/compile.c:5646:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5646 |         *lnotab++ = k;
      |         ~~~~~~~~~~^~~
In function ‘assemble_lnotab’,
    inlined from ‘assemble_emit’ at Python/compile.c:5692:25,
    inlined from ‘assemble’ at Python/compile.c:6031:18:
Python/compile.c:5646:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5646 |         *lnotab++ = k;
      |                   ^
In function ‘assemble_lnotab’,
    inlined from ‘assemble_emit’ at Python/compile.c:5692:25,
    inlined from ‘assemble’ at Python/compile.c:6031:18:
Python/compile.c:5646:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5646 |         *lnotab++ = k;
      |                   ^
In function ‘assemble_lnotab’,
    inlined from ‘assemble_emit’ at Python/compile.c:5692:25,
    inlined from ‘assemble’ at Python/compile.c:6031:18:
Python/compile.c:5646:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5646 |         *lnotab++ = k;
      |                   ^
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto-pgo/build/Modules/_testcapimodule.c: In function ‘PyInit__testcapi’:
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto-pgo/build/Modules/_testcapimodule.c:6328:5: warning: ‘tp_print’ is deprecated [-Wdeprecated-declarations]
 6328 |     MyList_Type.tp_print = 0;
      |     ^~~~~~~~~~~
In file included from ./Include/object.h:746,
                 from ./Include/pytime.h:6,
                 from ./Include/Python.h:85,
                 from /home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto-pgo/build/Modules/_testcapimodule.c:15:
./Include/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto-pgo/build/Modules/_testcapimodule.c: In function ‘test_buildvalue_issue38913’:
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto-pgo/build/Modules/_testcapimodule.c:6463:15: warning: variable ‘res’ set but not used [-Wunused-but-set-variable]
 6463 |     PyObject *res;
      |               ^~~
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto-pgo/build/Modules/socketmodule.c: In function ‘getsockaddrarg’:
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto-pgo/build/Modules/socketmodule.c:2316:9: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
 2316 |         strncpy((char *)sa->salg_name, name, sizeof(sa->salg_name));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Parser/listnode.c: In function ‘list1node’:
Parser/listnode.c:66:1: warning: ‘/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto-pgo/build/Parser/listnode.gcda’ profile count data file not found [-Wmissing-profile]
   66 | }
      | ^
Python/frozenmain.c: In function ‘Py_FrozenMain’:
Python/frozenmain.c:129:1: warning: ‘/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto-pgo/build/Python/frozenmain.gcda’ profile count data file not found [-Wmissing-profile]
  129 | }
      | ^
Python/pyfpe.c: In function ‘PyFPE_dummy’:
Python/pyfpe.c:15:1: warning: ‘/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto-pgo/build/Python/pyfpe.gcda’ profile count data file not found [-Wmissing-profile]
   15 | }
      | ^
/usr/bin/ld: python.lto.o: in function `run_mod':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto-pgo/build/Python/pythonrun.c:1138: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o: in function `Py_CompileStringObject':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto-pgo/build/Python/pythonrun.c:1214: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o: in function `symtable_lookup':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto-pgo/build/Python/symtable.c:1009: undefined reference to `_Py_Mangle'
/usr/bin/ld: python.lto.o: in function `symtable_record_directive':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto-pgo/build/Python/symtable.c:1163: undefined reference to `_Py_Mangle'
/usr/bin/ld: python.lto.o: in function `builtin_compile.cold':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto-pgo/build/Python/bltinmodule.c:807: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o: in function `type_new':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto-pgo/build/Objects/typeobject.c:2504: undefined reference to `_Py_Mangle'
/usr/bin/ld: python.lto.o: in function `symtable_add_def_helper':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto-pgo/build/Python/symtable.c:1023: undefined reference to `_Py_Mangle'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:578: python] Error 1
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: _testembed.lto.o: in function `run_mod':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto-pgo/build/Python/pythonrun.c:1138: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o: in function `Py_CompileStringObject':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto-pgo/build/Python/pythonrun.c:1214: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o: in function `symtable_lookup':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto-pgo/build/Python/symtable.c:1009: undefined reference to `_Py_Mangle'
/usr/bin/ld: _testembed.lto.o: in function `symtable_record_directive':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto-pgo/build/Python/symtable.c:1163: undefined reference to `_Py_Mangle'
/usr/bin/ld: _testembed.lto.o: in function `builtin_compile.cold':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto-pgo/build/Python/bltinmodule.c:807: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o: in function `type_new':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto-pgo/build/Objects/typeobject.c:2504: undefined reference to `_Py_Mangle'
/usr/bin/ld: _testembed.lto.o: in function `symtable_add_def_helper':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto-pgo/build/Python/symtable.c:1023: undefined reference to `_Py_Mangle'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:709: Programs/_testembed] Error 1
make: *** [Makefile:521: profile-opt] Error 2

@bedevere-bot
Copy link

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

Hi! The buildbot AMD64 Fedora Stable LTO 3.8 has failed when building commit f3982d6.

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/391/builds/417) and take a look at the build logs.
  4. Check if the failure is related to this commit (f3982d6) 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/391/builds/417

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

Click to see traceback logs
remote: Enumerating objects: 1        
remote: Enumerating objects: 4, done.        
remote: Counting objects:  25% (1/4)        
remote: Counting objects:  50% (2/4)        
remote: Counting objects:  75% (3/4)        
remote: Counting objects: 100% (4/4)        
remote: Counting objects: 100% (4/4), done.        
remote: Total 4 (delta 3), reused 3 (delta 3), pack-reused 0        
From https://github.com/python/cpython
 * branch                  3.8        -> FETCH_HEAD
Reset branch '3.8'

Objects/longobject.c: In function ‘_PyLong_Frexp’:
Objects/longobject.c:2989:33: warning: ‘x_digits[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 2989 |                     x_digits[0] |= 1;
      |                                 ^~
In function ‘assemble_lnotab’,
    inlined from ‘assemble_emit’ at Python/compile.c:5692:25,
    inlined from ‘assemble’ at Python/compile.c:6031:18:
Python/compile.c:5646:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5646 |         *lnotab++ = k;
      |         ~~~~~~~~~~^~~
In function ‘assemble_lnotab’,
    inlined from ‘assemble_emit’ at Python/compile.c:5692:25,
    inlined from ‘assemble’ at Python/compile.c:6031:18:
Python/compile.c:5646:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5646 |         *lnotab++ = k;
      |                   ^
/usr/bin/ld: /usr/bin/ld: _testembed.lto.o: in function `symtable_record_directive':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Python/symtable.c:1163: undefined reference to `_Py_Mangle'
/usr/bin/ld: _testembed.lto.o: in function `run_mod':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Python/pythonrun.c:1138: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o: in function `symtable_add_def_helper':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Python/symtable.c:1023: undefined reference to `_Py_Mangle'
/usr/bin/ld: _testembed.lto.o: in function `symtable_visit_arguments':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Python/symtable.c:1023: undefined reference to `_Py_Mangle'
/usr/bin/ld: _testembed.lto.o: in function `symtable_visit_stmt':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Python/symtable.c:1009: undefined reference to `_Py_Mangle'
/usr/bin/ld: /home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Python/symtable.c:1009: undefined reference to `_Py_Mangle'
/usr/bin/ld: /home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Python/symtable.c:1009: undefined reference to `_Py_Mangle'
/usr/bin/ld: _testembed.lto.o:/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Objects/typeobject.c:2504: more undefined references to `_Py_Mangle' follow
/usr/bin/ld: _testembed.lto.o: in function `Py_CompileStringObject':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Python/pythonrun.c:1214: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o: in function `builtin_compile':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Python/bltinmodule.c:807: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o: in function `Py_CompileString':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Python/pythonrun.c:1370: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o: in function `PyCompileString':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Python/pythonrun.c:1214: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o: in function `Py_CompileStringExFlags':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Python/pythonrun.c:1214: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o:/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Python/pythonrun.c:1214: more undefined references to `PyAST_CompileObject' follow
python.lto.o: in function `symtable_record_directive':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Python/symtable.c:1163: undefined reference to `_Py_Mangle'
/usr/bin/ld: python.lto.o: in function `run_mod':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Python/pythonrun.c:1138: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o: in function `type_new':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Objects/typeobject.c:2504: undefined reference to `_Py_Mangle'
/usr/bin/ld: python.lto.o: in function `symtable_add_def_helper':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Python/symtable.c:1023: undefined reference to `_Py_Mangle'
/usr/bin/ld: python.lto.o: in function `symtable_visit_arguments':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Python/symtable.c:1023: undefined reference to `_Py_Mangle'
/usr/bin/ld: python.lto.o: in function `symtable_visit_stmt':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Python/symtable.c:1009: undefined reference to `_Py_Mangle'
/usr/bin/ld: /home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Python/symtable.c:1009: undefined reference to `_Py_Mangle'
/usr/bin/ld: python.lto.o:/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Python/symtable.c:1009: more undefined references to `_Py_Mangle' follow
/usr/bin/ld: python.lto.o: in function `Py_CompileStringObject':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Python/pythonrun.c:1214: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o: in function `builtin_compile':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Python/bltinmodule.c:807: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o: in function `Py_CompileString':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Python/pythonrun.c:1370: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o: in function `PyCompileString':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Python/pythonrun.c:1214: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o: in function `Py_CompileStringFlags':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Python/pythonrun.c:1214: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o:/home/buildbot/buildarea/3.8.cstratak-fedora-stable-x86_64.lto/build/Python/pythonrun.c:1214: more undefined references to `PyAST_CompileObject' follow
collect2: error: ld returned 1 exit status
make: *** [Makefile:709: Programs/_testembed] Error 1
make: *** Waiting for unfinished jobs....
collect2: error: ld returned 1 exit status
make: *** [Makefile:578: python] Error 1

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: [Makefile:1778: clean] Error 1 (ignored)

@bedevere-bot
Copy link

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

Hi! The buildbot PPC64LE Fedora Stable LTO + PGO 3.8 has failed when building commit f3982d6.

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/294/builds/981) and take a look at the build logs.
  4. Check if the failure is related to this commit (f3982d6) 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/294/builds/981

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

Click to see traceback logs
remote: Enumerating objects: 1        
remote: Enumerating objects: 4, done.        
remote: Counting objects:  25% (1/4)        
remote: Counting objects:  50% (2/4)        
remote: Counting objects:  75% (3/4)        
remote: Counting objects: 100% (4/4)        
remote: Counting objects: 100% (4/4), done.        
remote: Total 4 (delta 3), reused 3 (delta 3), pack-reused 0        
From https://github.com/python/cpython
 * branch                  3.8        -> FETCH_HEAD
Reset branch '3.8'

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:1778: clean] Error 1 (ignored)
Parser/node.c: In function ‘_PyNode_FinalizeEndPos’:
Parser/node.c:90:27: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
   90 |     n->n_end_lineno = last->n_end_lineno;
      |                       ~~~~^~~~~~~~~~~~~~
Objects/longobject.c: In function ‘_PyLong_Frexp’:
Objects/longobject.c:2989:33: warning: ‘x_digits[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 2989 |                     x_digits[0] |= 1;
      |                                 ^~
In function ‘assemble_lnotab’,
    inlined from ‘assemble_emit’ at Python/compile.c:5692:25,
    inlined from ‘assemble’ at Python/compile.c:6031:18:
Python/compile.c:5646:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5646 |         *lnotab++ = k;
      |         ~~~~~~~~~~^~~
Python/initconfig.c: In function ‘_PyConfig_InitCompatConfig’:
Python/initconfig.c:605:1: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
  605 | _PyConfig_InitCompatConfig(PyConfig *config)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
Python/compile.c: In function ‘compiler_visit_stmt’:
Python/compile.c:3322:1: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
 3322 | compiler_visit_stmt(struct compiler *c, stmt_ty s)
      | ^~~~~~~~~~~~~~~~~~~
Python/preconfig.c: In function ‘_PyPreCmdline_SetConfig’:
Python/preconfig.c:163:27: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
  163 |     config->ATTR = cmdline->ATTR
      |                    ~~~~~~~^~~~~~
  164 | 
      |                            
  165 |     PyStatus status = _PyWideStringList_Extend(&config->xoptions, &cmdline->xoptions);
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  166 |     if (_PyStatus_EXCEPTION(status)) {
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  167 |         return status;
      |         ~~~~~~~~~~~~~~     
  168 |     }
      |     ~                      
  169 | 
      |                            
  170 |     COPY_ATTR(isolated);
      |     ~~~~~~~~~~~~~~~~~~     
Parser/node.c: In function ‘_PyNode_FinalizeEndPos’:
Parser/node.c:90:27: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
   90 |     n->n_end_lineno = last->n_end_lineno;
      |                           ^
Python/compile.c: In function ‘compiler_visit_stmt’:
Python/compile.c:3322:1: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
 3322 | compiler_visit_stmt(struct compiler *c, stmt_ty s)
      | ^
In function ‘assemble_lnotab’,
    inlined from ‘assemble_emit’ at Python/compile.c:5692:25,
    inlined from ‘assemble’ at Python/compile.c:6031:18:
Python/compile.c:5646:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5646 |         *lnotab++ = k;
      |                   ^
Python/initconfig.c: In function ‘_PyConfig_InitCompatConfig’:
Python/initconfig.c:605:1: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
  605 | _PyConfig_InitCompatConfig(PyConfig *config)
      | ^
Python/preconfig.c: In function ‘_PyPreCmdline_SetConfig’:
Python/preconfig.c:170:5: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
  170 |     COPY_ATTR(isolated);
      |     ^
Python/initconfig.c: In function ‘_PyConfig_InitCompatConfig’:
Python/initconfig.c:605:1: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
  605 | _PyConfig_InitCompatConfig(PyConfig *config)
      | ^
Python/initconfig.c: In function ‘_PyConfig_InitCompatConfig’:
Python/initconfig.c:605:1: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
  605 | _PyConfig_InitCompatConfig(PyConfig *config)
      | ^
In function ‘assemble_lnotab’,
    inlined from ‘assemble_emit’ at Python/compile.c:5692:25,
    inlined from ‘assemble’ at Python/compile.c:6031:18:
Python/compile.c:5646:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5646 |         *lnotab++ = k;
      |                   ^
In function ‘assemble_lnotab’,
    inlined from ‘assemble_emit’ at Python/compile.c:5692:25,
    inlined from ‘assemble’ at Python/compile.c:6031:18:
Python/compile.c:5646:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5646 |         *lnotab++ = k;
      |                   ^
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/_testcapimodule.c: In function ‘PyInit__testcapi’:
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/_testcapimodule.c:6328:5: warning: ‘tp_print’ is deprecated [-Wdeprecated-declarations]
 6328 |     MyList_Type.tp_print = 0;
      |     ^~~~~~~~~~~
In file included from ./Include/object.h:746,
                 from ./Include/pytime.h:6,
                 from ./Include/Python.h:85,
                 from /home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/_testcapimodule.c:15:
./Include/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/_testcapimodule.c: In function ‘test_buildvalue_issue38913’:
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/_testcapimodule.c:6463:15: warning: variable ‘res’ set but not used [-Wunused-but-set-variable]
 6463 |     PyObject *res;
      |               ^~~
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/sha256module.c: In function ‘SHA256Type_copy’:
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/sha256module.c:78:22: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
   78 |     dest->local = src->local;
      |                   ~~~^~~~~~~
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/sha512module.c: In function ‘SHA512Type_copy’:
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/sha512module.c:87:22: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
   87 |     dest->local = src->local;
      |                   ~~~^~~~~~~
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/sha256module.c: In function ‘SHA256Type_copy’:
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/sha256module.c:78:22: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
   78 |     dest->local = src->local;
      |                      ^
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/sha512module.c: In function ‘SHA512Type_copy’:
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/sha512module.c:87:22: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
   87 |     dest->local = src->local;
      |                      ^
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/socketmodule.c: In function ‘getsockaddrarg’:
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/socketmodule.c:2316:9: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
 2316 |         strncpy((char *)sa->salg_name, name, sizeof(sa->salg_name));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/socketmodule.c: In function ‘sock_sendmsg’:
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/socketmodule.c:4380:1: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
 4380 | sock_sendmsg(PySocketSockObject *s, PyObject *args)
      | ^~~~~~~~~~~~
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/socketmodule.c: In function ‘sock_sendmsg’:
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/socketmodule.c:4380:1: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
 4380 | sock_sendmsg(PySocketSockObject *s, PyObject *args)
      | ^
In file included from /home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/pyexpat.c:72:
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/clinic/pyexpat.c.h: In function ‘pyexpat_ParserCreate’:
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/clinic/pyexpat.c.h:297:1: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
  297 | pyexpat_ParserCreate(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
      | ^~~~~~~~~~~~~~~~~~~~
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/_ctypes/_ctypes.c: In function ‘PyCSimpleType_new’:
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/_ctypes/_ctypes.c:2133:21: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
 2133 |     stgdict->length = 0;
      |     ~~~~~~~~~~~~~~~~^~~
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/expat/xmlparse.c: In function ‘build_node’:
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/expat/xmlparse.c:6803:39: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
 6803 |   dest->type = dtd->scaffold[src_node].type;
      |                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/_ctypes/_ctypes.c: In function ‘PyCSimpleType_new’:
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/_ctypes/_ctypes.c:2133:21: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
 2133 |     stgdict->length = 0;
      |                     ^
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/expat/xmlparse.c: In function ‘build_node’:
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Modules/expat/xmlparse.c:6803:39: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
 6803 |   dest->type = dtd->scaffold[src_node].type;
      |                                       ^
Parser/node.c: In function ‘PyNode_AddChild’:
Parser/node.c:90:27: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
   90 |     n->n_end_lineno = last->n_end_lineno;
      |                       ~~~~^~~~~~~~~~~~~~
Parser/listnode.c: In function ‘list1node’:
Parser/listnode.c:66:1: warning: ‘/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Parser/listnode.gcda’ profile count data file not found [-Wmissing-profile]
   66 | }
      | ^
Python/compile.c: In function ‘compiler_visit_stmt’:
Python/compile.c:2931:24: note: the layout of aggregates containing vectors with 4-byte alignment has changed in GCC 5
 2931 |     c->u->u_lineno_set = 0;
      |     ~~~~~~~~~~~~~~~~~~~^~~
Python/frozenmain.c: In function ‘Py_FrozenMain’:
Python/frozenmain.c:129:1: warning: ‘/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Python/frozenmain.gcda’ profile count data file not found [-Wmissing-profile]
  129 | }
      | ^
Python/initconfig.c: In function ‘PyConfig_InitPythonConfig’:
Python/initconfig.c:667:1: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
  667 | PyConfig_InitPythonConfig(PyConfig *config)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
Python/preconfig.c: In function ‘_PyPreCmdline_SetConfig’:
Python/preconfig.c:163:27: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
  163 |     config->ATTR = cmdline->ATTR
      |                    ~~~~~~~^~~~~~
  164 | 
      |                            
  165 |     PyStatus status = _PyWideStringList_Extend(&config->xoptions, &cmdline->xoptions);
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  166 |     if (_PyStatus_EXCEPTION(status)) {
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  167 |         return status;
      |         ~~~~~~~~~~~~~~     
  168 |     }
      |     ~                      
  169 | 
      |                            
  170 |     COPY_ATTR(isolated);
      |     ~~~~~~~~~~~~~~~~~~     
Python/pyfpe.c: In function ‘PyFPE_dummy’:
Python/pyfpe.c:15:1: warning: ‘/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Python/pyfpe.gcda’ profile count data file not found [-Wmissing-profile]
   15 | }
      | ^
./Modules/_io/textio.c: In function ‘textiowrapper_build_cookie’:
./Modules/_io/textio.c:2331:1: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
 2331 | textiowrapper_build_cookie(cookie_type *cookie)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
Parser/node.c: In function ‘PyNode_AddChild’:
Parser/node.c:90:27: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
   90 |     n->n_end_lineno = last->n_end_lineno;
      |                           ^
Python/compile.c: In function ‘compiler_visit_stmt’:
Python/compile.c:2931:24: note: the layout of aggregates containing vectors with 4-byte alignment has changed in GCC 5
 2931 |     c->u->u_lineno_set = 0;
      |                        ^
Python/compile.c: In function ‘compiler_try_except’:
Python/compile.c:3019:28: note: the layout of aggregates containing vectors with 4-byte alignment has changed in GCC 5
 3019 |         c->u->u_lineno_set = 0;
      |                            ^
Python/initconfig.c: In function ‘_PyConfig_InitCompatConfig’:
Python/initconfig.c:605:1: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
  605 | _PyConfig_InitCompatConfig(PyConfig *config)
      | ^
Python/preconfig.c: In function ‘_PyPreCmdline_SetConfig’:
Python/preconfig.c:170:5: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
  170 |     COPY_ATTR(isolated);
      |     ^
./Modules/_io/textio.c: In function ‘textiowrapper_build_cookie’:
./Modules/_io/textio.c:2331:1: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
 2331 | textiowrapper_build_cookie(cookie_type *cookie)
      | ^
Python/initconfig.c: In function ‘PyConfig_InitPythonConfig’:
Python/initconfig.c:667:1: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
  667 | PyConfig_InitPythonConfig(PyConfig *config)
      | ^
Python/initconfig.c: In function ‘PyConfig_InitPythonConfig’:
Python/initconfig.c:667:1: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
  667 | PyConfig_InitPythonConfig(PyConfig *config)
      | ^
/usr/bin/ld: python.lto.o: in function `run_mod':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Python/pythonrun.c:1138: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o: in function `builtin_compile':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Python/bltinmodule.c:807: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o: in function `Py_CompileStringObject':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Python/pythonrun.c:1214: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o: in function `symtable_lookup':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Python/symtable.c:1009: undefined reference to `_Py_Mangle'
/usr/bin/ld: python.lto.o: in function `symtable_record_directive':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Python/symtable.c:1163: undefined reference to `_Py_Mangle'
/usr/bin/ld: python.lto.o: in function `type_new':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Objects/typeobject.c:2504: undefined reference to `_Py_Mangle'
/usr/bin/ld: python.lto.o: in function `symtable_add_def_helper':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Python/symtable.c:1023: undefined reference to `_Py_Mangle'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:578: python] Error 1
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: _testembed.lto.o: in function `run_mod':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Python/pythonrun.c:1138: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o: in function `builtin_compile':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Python/bltinmodule.c:807: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o: in function `Py_CompileStringObject':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Python/pythonrun.c:1214: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o: in function `symtable_lookup':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Python/symtable.c:1009: undefined reference to `_Py_Mangle'
/usr/bin/ld: _testembed.lto.o: in function `symtable_record_directive':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Python/symtable.c:1163: undefined reference to `_Py_Mangle'
/usr/bin/ld: _testembed.lto.o: in function `type_new':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Objects/typeobject.c:2504: undefined reference to `_Py_Mangle'
/usr/bin/ld: _testembed.lto.o: in function `symtable_add_def_helper':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto-pgo/build/Python/symtable.c:1023: undefined reference to `_Py_Mangle'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:709: Programs/_testembed] Error 1
make: *** [Makefile:521: profile-opt] Error 2

@bedevere-bot
Copy link

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

Hi! The buildbot PPC64LE Fedora Stable LTO 3.8 has failed when building commit f3982d6.

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/161/builds/1126) and take a look at the build logs.
  4. Check if the failure is related to this commit (f3982d6) 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/161/builds/1126

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

Click to see traceback logs
remote: Enumerating objects: 1        
remote: Enumerating objects: 4, done.        
remote: Counting objects:  25% (1/4)        
remote: Counting objects:  50% (2/4)        
remote: Counting objects:  75% (3/4)        
remote: Counting objects: 100% (4/4)        
remote: Counting objects: 100% (4/4), done.        
remote: Total 4 (delta 3), reused 3 (delta 3), pack-reused 0        
From https://github.com/python/cpython
 * branch                  3.8        -> FETCH_HEAD
Reset branch '3.8'

Objects/longobject.c: In function ‘_PyLong_Frexp’:
Objects/longobject.c:2989:33: warning: ‘x_digits[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 2989 |                     x_digits[0] |= 1;
      |                                 ^~
In function ‘assemble_lnotab’,
    inlined from ‘assemble_emit’ at Python/compile.c:5692:25,
    inlined from ‘assemble’ at Python/compile.c:6031:18:
Python/compile.c:5646:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5646 |         *lnotab++ = k;
      |         ~~~~~~~~~~^~~
Python/initconfig.c: In function ‘_PyConfig_InitCompatConfig’:
Python/initconfig.c:605:1: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
  605 | _PyConfig_InitCompatConfig(PyConfig *config)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
Python/compile.c: In function ‘compiler_visit_stmt’:
Python/compile.c:2931:24: note: the layout of aggregates containing vectors with 4-byte alignment has changed in GCC 5
 2931 |     c->u->u_lineno_set = 0;
      |     ~~~~~~~~~~~~~~~~~~~^~~
Python/compile.c: In function ‘compiler_visit_stmt’:
Python/compile.c:2931:24: note: the layout of aggregates containing vectors with 4-byte alignment has changed in GCC 5
 2931 |     c->u->u_lineno_set = 0;
      |                        ^
In function ‘assemble_lnotab’,
    inlined from ‘assemble_emit’ at Python/compile.c:5692:25,
    inlined from ‘assemble’ at Python/compile.c:6031:18:
Python/compile.c:5646:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5646 |         *lnotab++ = k;
      |                   ^
Python/initconfig.c: In function ‘_PyConfig_InitCompatConfig’:
Python/initconfig.c:605:1: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
  605 | _PyConfig_InitCompatConfig(PyConfig *config)
      | ^
Python/initconfig.c: In function ‘_PyConfig_InitCompatConfig’:
Python/initconfig.c:605:1: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
  605 | _PyConfig_InitCompatConfig(PyConfig *config)
      | ^
Python/initconfig.c: In function ‘_PyConfig_InitCompatConfig’:
Python/initconfig.c:605:1: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
  605 | _PyConfig_InitCompatConfig(PyConfig *config)
      | ^
/usr/bin/ld: python.lto.o: in function `symtable_record_directive':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/symtable.c:1163: undefined reference to `_Py_Mangle'
/usr/bin/ld: python.lto.o: in function `run_mod':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/pythonrun.c:1138: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o: in function `symtable_add_def_helper':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/symtable.c:1023: undefined reference to `_Py_Mangle'
/usr/bin/ld: python.lto.o: in function `symtable_visit_arguments':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/symtable.c:1023: undefined reference to `_Py_Mangle'
/usr/bin/ld: python.lto.o: in function `symtable_visit_stmt':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/symtable.c:1009: undefined reference to `_Py_Mangle'
/usr/bin/ld: /home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/symtable.c:1009: undefined reference to `_Py_Mangle'
/usr/bin/ld: /home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/symtable.c:1009: undefined reference to `_Py_Mangle'
/usr/bin/ld: python.lto.o:/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Objects/typeobject.c:2504: more undefined references to `_Py_Mangle' follow
/usr/bin/ld: python.lto.o: in function `Py_CompileStringObject':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/pythonrun.c:1214: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o: in function `builtin_compile':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/bltinmodule.c:807: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o: in function `PyCompileString':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/pythonrun.c:1214: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o: in function `Py_CompileString':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/pythonrun.c:1207: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o: in function `Py_CompileStringFlags':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/pythonrun.c:1214: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o:/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/pythonrun.c:1214: more undefined references to `PyAST_CompileObject' follow
collect2: error: ld returned 1 exit status
make: *** [Makefile:578: python] Error 1
make: *** Waiting for unfinished jobs....
/usr/bin/ld: _testembed.lto.o: in function `symtable_record_directive':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/symtable.c:1163: undefined reference to `_Py_Mangle'
/usr/bin/ld: _testembed.lto.o: in function `symtable_add_def_helper':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/symtable.c:1023: undefined reference to `_Py_Mangle'
/usr/bin/ld: _testembed.lto.o: in function `symtable_visit_arguments':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/symtable.c:1023: undefined reference to `_Py_Mangle'
/usr/bin/ld: _testembed.lto.o: in function `type_new':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Objects/typeobject.c:2504: undefined reference to `_Py_Mangle'
/usr/bin/ld: _testembed.lto.o: in function `run_mod':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/pythonrun.c:1138: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o: in function `symtable_visit_stmt':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/symtable.c:1009: undefined reference to `_Py_Mangle'
/usr/bin/ld: /home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/symtable.c:1009: undefined reference to `_Py_Mangle'
/usr/bin/ld: /home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/symtable.c:1009: undefined reference to `_Py_Mangle'
/usr/bin/ld: _testembed.lto.o: in function `Py_CompileStringObject':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/pythonrun.c:1214: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o: in function `builtin_compile':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/bltinmodule.c:807: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o: in function `Py_CompileString':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/pythonrun.c:1370: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o: in function `PyCompileString':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/pythonrun.c:1214: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o: in function `Py_CompileStringFlags':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/pythonrun.c:1214: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o:/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/pythonrun.c:1214: more undefined references to `PyAST_CompileObject' follow
collect2: error: ld returned 1 exit status
make: *** [Makefile:709: Programs/_testembed] Error 1

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: [Makefile:1778: clean] Error 1 (ignored)

@bedevere-bot
Copy link

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

Hi! The buildbot PPC64LE Fedora Stable LTO 3.8 has failed when building commit f3982d6.

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/161/builds/1127) and take a look at the build logs.
  4. Check if the failure is related to this commit (f3982d6) 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/161/builds/1127

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

Click to see traceback logs
Reset branch '3.8'

Objects/longobject.c: In function ‘_PyLong_Frexp’:
Objects/longobject.c:2989:33: warning: ‘x_digits[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 2989 |                     x_digits[0] |= 1;
      |                                 ^~
In function ‘assemble_lnotab’,
    inlined from ‘assemble_emit’ at Python/compile.c:5692:25,
    inlined from ‘assemble’ at Python/compile.c:6031:18:
Python/compile.c:5646:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5646 |         *lnotab++ = k;
      |         ~~~~~~~~~~^~~
Python/compile.c: In function ‘compiler_visit_stmt’:
Python/compile.c:2931:24: note: the layout of aggregates containing vectors with 4-byte alignment has changed in GCC 5
 2931 |     c->u->u_lineno_set = 0;
      |     ~~~~~~~~~~~~~~~~~~~^~~
Python/initconfig.c: In function ‘_PyConfig_InitCompatConfig’:
Python/initconfig.c:605:1: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
  605 | _PyConfig_InitCompatConfig(PyConfig *config)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
Python/compile.c: In function ‘compiler_visit_stmt’:
Python/compile.c:2931:24: note: the layout of aggregates containing vectors with 4-byte alignment has changed in GCC 5
 2931 |     c->u->u_lineno_set = 0;
      |                        ^
In function ‘assemble_lnotab’,
    inlined from ‘assemble_emit’ at Python/compile.c:5692:25,
    inlined from ‘assemble’ at Python/compile.c:6031:18:
Python/compile.c:5646:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5646 |         *lnotab++ = k;
      |                   ^
Python/initconfig.c: In function ‘_PyConfig_InitCompatConfig’:
Python/initconfig.c:605:1: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
  605 | _PyConfig_InitCompatConfig(PyConfig *config)
      | ^
Python/initconfig.c: In function ‘_PyConfig_InitCompatConfig’:
Python/initconfig.c:605:1: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
  605 | _PyConfig_InitCompatConfig(PyConfig *config)
      | ^
Python/initconfig.c: In function ‘_PyConfig_InitCompatConfig’:
Python/initconfig.c:605:1: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
  605 | _PyConfig_InitCompatConfig(PyConfig *config)
      | ^
/usr/bin/ld: /usr/bin/ld: python.lto.o: in function `symtable_record_directive':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/symtable.c:1163: undefined reference to `_Py_Mangle'
/usr/bin/ld: python.lto.o: in function `run_mod':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/pythonrun.c:1138: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o: in function `symtable_add_def_helper':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/symtable.c:1023: undefined reference to `_Py_Mangle'
/usr/bin/ld: python.lto.o: in function `symtable_visit_arguments':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/symtable.c:1023: undefined reference to `_Py_Mangle'
/usr/bin/ld: python.lto.o: in function `symtable_visit_stmt':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/symtable.c:1009: undefined reference to `_Py_Mangle'
/usr/bin/ld: /home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/symtable.c:1009: undefined reference to `_Py_Mangle'
/usr/bin/ld: /home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/symtable.c:1009: undefined reference to `_Py_Mangle'
/usr/bin/ld: python.lto.o:/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Objects/typeobject.c:2504: more undefined references to `_Py_Mangle' follow
/usr/bin/ld: python.lto.o: in function `Py_CompileStringObject':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/pythonrun.c:1214: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o: in function `builtin_compile':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/bltinmodule.c:807: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o: in function `PyCompileString':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/pythonrun.c:1214: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o: in function `Py_CompileString':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/pythonrun.c:1207: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o: in function `Py_CompileStringFlags':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/pythonrun.c:1214: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o:/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/pythonrun.c:1214: more undefined references to `PyAST_CompileObject' follow
_testembed.lto.o: in function `symtable_record_directive':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/symtable.c:1163: undefined reference to `_Py_Mangle'
/usr/bin/ld: _testembed.lto.o: in function `symtable_add_def_helper':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/symtable.c:1023: undefined reference to `_Py_Mangle'
/usr/bin/ld: _testembed.lto.o: in function `symtable_visit_arguments':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/symtable.c:1023: undefined reference to `_Py_Mangle'
/usr/bin/ld: _testembed.lto.o: in function `type_new':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Objects/typeobject.c:2504: undefined reference to `_Py_Mangle'
/usr/bin/ld: _testembed.lto.o: in function `run_mod':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/pythonrun.c:1138: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o: in function `symtable_visit_stmt':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/symtable.c:1009: undefined reference to `_Py_Mangle'
/usr/bin/ld: /home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/symtable.c:1009: undefined reference to `_Py_Mangle'
/usr/bin/ld: /home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/symtable.c:1009: undefined reference to `_Py_Mangle'
/usr/bin/ld: _testembed.lto.o: in function `Py_CompileStringObject':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/pythonrun.c:1214: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o: in function `builtin_compile':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/bltinmodule.c:807: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o: in function `Py_CompileString':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/pythonrun.c:1370: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o: in function `PyCompileString':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/pythonrun.c:1214: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o: in function `Py_CompileStringFlags':
/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/pythonrun.c:1214: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o:/home/buildbot/buildarea/3.8.cstratak-fedora-stable-ppc64le.lto/build/Python/pythonrun.c:1214: more undefined references to `PyAST_CompileObject' follow
collect2: error: ld returned 1 exit status
make: *** [Makefile:578: python] Error 1
make: *** Waiting for unfinished jobs....
collect2: error: ld returned 1 exit status
make: *** [Makefile:709: Programs/_testembed] Error 1

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: [Makefile:1778: clean] Error 1 (ignored)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants