GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GH-89886: Bump autoconf to version 2.71 by erlend-aasland · Pull Request #104925 · python/cpython

Conversation

@erlend-aasland

@erlend-aasland erlend-aasland commented May 25, 2023 •
edited by bedevere-bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Based on gh-29756

  • Issue: Improve and simplify configure.ac checks #89886

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
tiran and others added 2 commits December 7, 2021 13:08
@tiran
Build Python with autoconf 2.71
8ddb5ca
@erlend-aasland
Pull in main
820636b
@erlend-aasland
erlend-aasland requested review from corona10, ezio-melotti and hugovk as code owners May 25, 2023 10:59
@bedevere-bot bedevere-bot added the awaiting core review label May 25, 2023
@erlend-aasland
Pull in main (again)
b3cda03
@erlend-aasland

erlend-aasland commented May 25, 2023

Copy link
Copy Markdown
Contributor Author

Changes must be communicated; we need a NEWS entry and a bullet in What's New.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@erlend-aasland
erlend-aasland requested a review from gpshead May 25, 2023 11:05
@erlend-aasland erlend-aasland changed the title Build Python with autoconf 2.71 Bump autoconf to version 2.71 May 25, 2023
@arhadthedev

arhadthedev commented May 25, 2023

Copy link
Copy Markdown
Member

image
😕

hugovk reacted with rocket emoji
All reactions
  • 🚀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@erlend-aasland

erlend-aasland commented May 25, 2023

Copy link
Copy Markdown
Contributor Author

image
😕

Yes. It is not surprising that the generated output changes considerably when you switch from one generator to another.

gpshead reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@erlend-aasland
Fix makefile
3b60537
@brettcannon brettcannon changed the title Bump autoconf to version 2.71 GH-89886: Bump autoconf to version 2.71 May 25, 2023
@bedevere-bot bedevere-bot mentioned this pull request May 25, 2023
Improve and simplify configure.ac checks #89886
Closed
brettcannon
brettcannon approved these changes May 25, 2023
View reviewed changes

@brettcannon brettcannon left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

It looks fine to me, but I am far from an autoconf expert.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bedevere-bot bedevere-bot added awaiting merge and removed awaiting core review labels May 25, 2023
gpshead
gpshead approved these changes May 25, 2023
View reviewed changes
@gpshead gpshead added the needs backport to 3.12 only security fixes label May 25, 2023
@erlend-aasland

erlend-aasland commented May 26, 2023

Copy link
Copy Markdown
Contributor Author

Thanks for the reviews! I'll have another look myself, before landing. Also, I'll add NEWS/What's New items.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

erlend-aasland added 3 commits May 26, 2023 15:42
@erlend-aasland
Pull in main
0b2155a
@erlend-aasland
Communicate the new requirements to the world
c29d98e
@erlend-aasland
Merge branch 'main' into autoconf271
fa79bd8
@erlend-aasland

erlend-aasland commented May 29, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

IIUC, Autoconf macros are now pickier wrt. quoting than before; let's keep that in mind if we might get syntax errors for some untested configure options. Also with that in mind, it may make sense to do a macro audit and simply add proper quoting to all arguments.

EDIT: Fixed in gh-105062

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@erlend-aasland

erlend-aasland commented May 29, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

Running autoupdate (2.71) on configure.ac asks us to fix sys/time.h dependency:

$ autoupdate configure.ac
configure.ac:5246: warning: Update your code to rely only on HAVE_SYS_TIME_H,
then remove this warning and the obsolete code below it.
All current systems provide time.h; it need not be checked for.
Not all systems provide sys/time.h, but those that do, all allow
you to include it and time.h simultaneously.

It's an easy fix, and I suggest we apply it in a follow-up PR.

EDIT: Fixed in gh-105058

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@erlend-aasland
Pull in main
3a3f94d
@erlend-aasland

erlend-aasland commented Jun 1, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

FTR, I'm landing this later today. (The Hypothesis failure is a known issue.)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@erlend-aasland
erlend-aasland merged commit 8a8ebf2 into python:main Jun 1, 2023
@miss-islington

miss-islington commented Jun 1, 2023

Copy link
Copy Markdown
Contributor

Thanks @erlend-aasland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot bedevere-bot removed the awaiting merge label Jun 1, 2023
@erlend-aasland
erlend-aasland deleted the autoconf271 branch June 1, 2023 21:44
@miss-islington

miss-islington commented Jun 1, 2023

Copy link
Copy Markdown
Contributor

Sorry, @erlend-aasland, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 8a8ebf2e3ddb880806237c7a5983f9744f7c215f 3.12

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@miss-islington miss-islington assigned erlend-aasland Jun 1, 2023
erlend-aasland added a commit to erlend-aasland/cpython that referenced this pull request Jun 1, 2023
@erlend-aasland @tiran
[3.12] pythonGH-89886: Bump to GNU Autoconf v2.71 (python#104925)
ce22b91
Co-authored-by: Christian Heimes <[email protected]>
@bedevere-bot

bedevere-bot commented Jun 1, 2023

Copy link
Copy Markdown

GH-105207 is a backport of this pull request to the 3.12 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot bedevere-bot removed the needs backport to 3.12 only security fixes label Jun 1, 2023
@bedevere-bot

bedevere-bot commented Jun 1, 2023

Copy link
Copy Markdown

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

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

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

Failed tests:

  • test_cppext

Failed subtests:

  • test_build_cpp03 - test.test_cppext.TestCPPExt.test_build_cpp03
  • test_build_cpp11 - test.test_cppext.TestCPPExt.test_build_cpp11

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

== Tests result: FAILURE then FAILURE ==

424 tests OK.

10 slowest tests:

  • test_tools: 2 min 43 sec
  • test_concurrent_futures: 2 min 24 sec
  • test_multiprocessing_spawn: 2 min 3 sec
  • test_math: 2 min
  • test_multiprocessing_forkserver: 1 min 19 sec
  • test_multiprocessing_fork: 1 min 18 sec
  • test_capi: 1 min 14 sec
  • test_hashlib: 1 min 10 sec
  • test_subprocess: 53.3 sec
  • test_signal: 48.5 sec

1 test failed:
test_cppext

22 tests skipped:
test.test_asyncio.test_windows_events
test.test_asyncio.test_windows_utils test_devpoll test_gdb
test_idle test_ioctl test_kqueue test_launcher test_perf_profiler
test_smtpnet test_ssl test_startfile test_tcl test_tkinter
test_ttk test_ttk_textonly test_turtle test_winconsoleio
test_winreg test_winsound test_wmi test_zipfile64

1 re-run test:
test_cppext

Total duration: 7 min 26 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_cppext.py", line 22, in test_build_cpp11
    self.check_build(False, '_testcpp11ext')
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_cppext.py", line 40, in check_build
    self._check_build(std_cpp03, extension_name, python_exe)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_cppext.py", line 69, in _check_build
    run_cmd('Install', cmd)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_cppext.py", line 53, in run_cmd
    subprocess.run(cmd, check=True, env=env)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_57110æ/tempcwd/env/bin/python', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_57110æ/tempcwd/pkg']' returned non-zero exit status 1.


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_cppext.py", line 25, in test_build_cpp03
    self.check_build(True, '_testcpp03ext')
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_cppext.py", line 40, in check_build
    self._check_build(std_cpp03, extension_name, python_exe)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_cppext.py", line 69, in _check_build
    run_cmd('Install', cmd)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_cppext.py", line 53, in run_cmd
    subprocess.run(cmd, check=True, env=env)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_57110æ/tempcwd/env/bin/python', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_57110æ/tempcwd/pkg']' returned non-zero exit status 1.


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_cppext.py", line 25, in test_build_cpp03
    self.check_build(True, '_testcpp03ext')
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_cppext.py", line 40, in check_build
    self._check_build(std_cpp03, extension_name, python_exe)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_cppext.py", line 69, in _check_build
    run_cmd('Install', cmd)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_cppext.py", line 53, in run_cmd
    subprocess.run(cmd, check=True, env=env)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_57110æ/test_python_worker_64741æ/tempcwd/env/bin/python', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_57110æ/test_python_worker_64741æ/tempcwd/pkg']' returned non-zero exit status 1.


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_cppext.py", line 22, in test_build_cpp11
    self.check_build(False, '_testcpp11ext')
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_cppext.py", line 40, in check_build
    self._check_build(std_cpp03, extension_name, python_exe)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_cppext.py", line 69, in _check_build
    run_cmd('Install', cmd)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_cppext.py", line 53, in run_cmd
    subprocess.run(cmd, check=True, env=env)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_57110æ/test_python_worker_64741æ/tempcwd/env/bin/python', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_57110æ/test_python_worker_64741æ/tempcwd/pkg']' returned non-zero exit status 1.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

erlend-aasland added a commit that referenced this pull request Jun 1, 2023
@erlend-aasland @tiran
[3.12] GH-89886: Bump to GNU Autoconf v2.71 (#104925) (#105207)
83c7386
Co-authored-by: Christian Heimes <[email protected]>
@bedevere-bot

bedevere-bot commented Jun 1, 2023

Copy link
Copy Markdown

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

Hi! The buildbot s390x RHEL7 LTO 3.12 has failed when building commit 83c7386.

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

Failed tests:

  • test_cppext

Failed subtests:

  • test_build_cpp03 - test.test_cppext.TestCPPExt.test_build_cpp03
  • test_build_cpp11 - test.test_cppext.TestCPPExt.test_build_cpp11

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

== Tests result: FAILURE then FAILURE ==

441 tests OK.

10 slowest tests:

  • test_tools: 4 min 51 sec
  • test_hashlib: 2 min 30 sec
  • test_concurrent_futures: 2 min 22 sec
  • test_multiprocessing_spawn: 2 min 8 sec
  • test_math: 1 min 43 sec
  • test_multiprocessing_forkserver: 1 min 29 sec
  • test_multiprocessing_fork: 1 min 16 sec
  • test_signal: 1 min 10 sec
  • test_subprocess: 50.7 sec
  • test_socket: 47.7 sec

1 test failed:
test_cppext

25 tests skipped:
test.test_asyncio.test_windows_events
test.test_asyncio.test_windows_utils test_devpoll test_gdb
test_idle test_ioctl test_kqueue test_launcher test_msilib
test_peg_generator test_perf_profiler test_smtpnet test_ssl
test_startfile test_tcl test_tix test_tkinter test_ttk
test_ttk_textonly test_turtle test_winconsoleio test_winreg
test_winsound test_wmi test_zipfile64

1 re-run test:
test_cppext

Total duration: 7 min 31 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.12.edelsohn-rhel-z.lto/build/Lib/test/test_cppext.py", line 25, in test_build_cpp03
    self.check_build(True, '_testcpp03ext')
  File "/home/dje/cpython-buildarea/3.12.edelsohn-rhel-z.lto/build/Lib/test/test_cppext.py", line 40, in check_build
    self._check_build(std_cpp03, extension_name)
  File "/home/dje/cpython-buildarea/3.12.edelsohn-rhel-z.lto/build/Lib/test/test_cppext.py", line 94, in _check_build
    run_cmd('Install', cmd)
  File "/home/dje/cpython-buildarea/3.12.edelsohn-rhel-z.lto/build/Lib/test/test_cppext.py", line 72, in run_cmd
    subprocess.run(cmd, check=True, env=env)
  File "/home/dje/cpython-buildarea/3.12.edelsohn-rhel-z.lto/build/Lib/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['env/bin/python', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/home/dje/cpython-buildarea/3.12.edelsohn-rhel-z.lto/build/build/test_python_34304æ/tempcwd/pkg']' returned non-zero exit status 1.


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.12.edelsohn-rhel-z.lto/build/Lib/test/test_cppext.py", line 25, in test_build_cpp03
    self.check_build(True, '_testcpp03ext')
  File "/home/dje/cpython-buildarea/3.12.edelsohn-rhel-z.lto/build/Lib/test/test_cppext.py", line 40, in check_build
    self._check_build(std_cpp03, extension_name)
  File "/home/dje/cpython-buildarea/3.12.edelsohn-rhel-z.lto/build/Lib/test/test_cppext.py", line 94, in _check_build
    run_cmd('Install', cmd)
  File "/home/dje/cpython-buildarea/3.12.edelsohn-rhel-z.lto/build/Lib/test/test_cppext.py", line 72, in run_cmd
    subprocess.run(cmd, check=True, env=env)
  File "/home/dje/cpython-buildarea/3.12.edelsohn-rhel-z.lto/build/Lib/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['env/bin/python', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/home/dje/cpython-buildarea/3.12.edelsohn-rhel-z.lto/build/build/test_python_34304æ/test_python_worker_41932æ/tempcwd/pkg']' returned non-zero exit status 1.


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.12.edelsohn-rhel-z.lto/build/Lib/test/test_cppext.py", line 22, in test_build_cpp11
    self.check_build(False, '_testcpp11ext')
  File "/home/dje/cpython-buildarea/3.12.edelsohn-rhel-z.lto/build/Lib/test/test_cppext.py", line 40, in check_build
    self._check_build(std_cpp03, extension_name)
  File "/home/dje/cpython-buildarea/3.12.edelsohn-rhel-z.lto/build/Lib/test/test_cppext.py", line 94, in _check_build
    run_cmd('Install', cmd)
  File "/home/dje/cpython-buildarea/3.12.edelsohn-rhel-z.lto/build/Lib/test/test_cppext.py", line 72, in run_cmd
    subprocess.run(cmd, check=True, env=env)
  File "/home/dje/cpython-buildarea/3.12.edelsohn-rhel-z.lto/build/Lib/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['env/bin/python', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/home/dje/cpython-buildarea/3.12.edelsohn-rhel-z.lto/build/build/test_python_34304æ/tempcwd/pkg']' returned non-zero exit status 1.


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.12.edelsohn-rhel-z.lto/build/Lib/test/test_cppext.py", line 22, in test_build_cpp11
    self.check_build(False, '_testcpp11ext')
  File "/home/dje/cpython-buildarea/3.12.edelsohn-rhel-z.lto/build/Lib/test/test_cppext.py", line 40, in check_build
    self._check_build(std_cpp03, extension_name)
  File "/home/dje/cpython-buildarea/3.12.edelsohn-rhel-z.lto/build/Lib/test/test_cppext.py", line 94, in _check_build
    run_cmd('Install', cmd)
  File "/home/dje/cpython-buildarea/3.12.edelsohn-rhel-z.lto/build/Lib/test/test_cppext.py", line 72, in run_cmd
    subprocess.run(cmd, check=True, env=env)
  File "/home/dje/cpython-buildarea/3.12.edelsohn-rhel-z.lto/build/Lib/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['env/bin/python', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/home/dje/cpython-buildarea/3.12.edelsohn-rhel-z.lto/build/build/test_python_34304æ/test_python_worker_41932æ/tempcwd/pkg']' returned non-zero exit status 1.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot

bedevere-bot commented Jun 1, 2023

Copy link
Copy Markdown

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

Hi! The buildbot PPC64 Fedora 3.12 has failed when building commit 83c7386.

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

Failed tests:

  • test_cppext

Failed subtests:

  • test_build_cpp03 - test.test_cppext.TestCPPExt.test_build_cpp03
  • test_build_cpp11 - test.test_cppext.TestCPPExt.test_build_cpp11

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

== Tests result: FAILURE then FAILURE ==

441 tests OK.

10 slowest tests:

  • test_math: 14 min 3 sec
  • test_hashlib: 8 min 54 sec
  • test_multiprocessing_spawn: 6 min 45 sec
  • test_lib2to3: 5 min 39 sec
  • test_tokenize: 5 min 20 sec
  • test_unparse: 5 min 3 sec
  • test_capi: 4 min 40 sec
  • test_unicodedata: 4 min 35 sec
  • test_concurrent_futures: 3 min 52 sec
  • test_tarfile: 3 min 6 sec

1 test failed:
test_cppext

25 tests skipped:
test.test_asyncio.test_windows_events
test.test_asyncio.test_windows_utils test_devpoll test_gdb
test_idle test_ioctl test_kqueue test_launcher test_msilib
test_peg_generator test_perf_profiler test_smtpnet test_ssl
test_startfile test_tcl test_tix test_tkinter test_ttk
test_ttk_textonly test_turtle test_winconsoleio test_winreg
test_winsound test_wmi test_zipfile64

1 re-run test:
test_cppext

Total duration: 1 hour 15 min

Click to see traceback logs
Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.12.edelsohn-fedora-ppc64/build/Lib/test/test_cppext.py", line 25, in test_build_cpp03
    self.check_build(True, '_testcpp03ext')
  File "/home/shager/cpython-buildarea/3.12.edelsohn-fedora-ppc64/build/Lib/test/test_cppext.py", line 40, in check_build
    self._check_build(std_cpp03, extension_name)
  File "/home/shager/cpython-buildarea/3.12.edelsohn-fedora-ppc64/build/Lib/test/test_cppext.py", line 94, in _check_build
    run_cmd('Install', cmd)
  File "/home/shager/cpython-buildarea/3.12.edelsohn-fedora-ppc64/build/Lib/test/test_cppext.py", line 72, in run_cmd
    subprocess.run(cmd, check=True, env=env)
  File "/home/shager/cpython-buildarea/3.12.edelsohn-fedora-ppc64/build/Lib/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['env/bin/python', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/home/shager/cpython-buildarea/3.12.edelsohn-fedora-ppc64/build/build_oot/build/test_python_63283æ/tempcwd/pkg']' returned non-zero exit status 1.


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.12.edelsohn-fedora-ppc64/build/Lib/test/test_cppext.py", line 22, in test_build_cpp11
    self.check_build(False, '_testcpp11ext')
  File "/home/shager/cpython-buildarea/3.12.edelsohn-fedora-ppc64/build/Lib/test/test_cppext.py", line 40, in check_build
    self._check_build(std_cpp03, extension_name)
  File "/home/shager/cpython-buildarea/3.12.edelsohn-fedora-ppc64/build/Lib/test/test_cppext.py", line 94, in _check_build
    run_cmd('Install', cmd)
  File "/home/shager/cpython-buildarea/3.12.edelsohn-fedora-ppc64/build/Lib/test/test_cppext.py", line 72, in run_cmd
    subprocess.run(cmd, check=True, env=env)
  File "/home/shager/cpython-buildarea/3.12.edelsohn-fedora-ppc64/build/Lib/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['env/bin/python', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/home/shager/cpython-buildarea/3.12.edelsohn-fedora-ppc64/build/build_oot/build/test_python_63283æ/tempcwd/pkg']' returned non-zero exit status 1.


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.12.edelsohn-fedora-ppc64/build/Lib/test/test_cppext.py", line 22, in test_build_cpp11
    self.check_build(False, '_testcpp11ext')
  File "/home/shager/cpython-buildarea/3.12.edelsohn-fedora-ppc64/build/Lib/test/test_cppext.py", line 40, in check_build
    self._check_build(std_cpp03, extension_name)
  File "/home/shager/cpython-buildarea/3.12.edelsohn-fedora-ppc64/build/Lib/test/test_cppext.py", line 94, in _check_build
    run_cmd('Install', cmd)
  File "/home/shager/cpython-buildarea/3.12.edelsohn-fedora-ppc64/build/Lib/test/test_cppext.py", line 72, in run_cmd
    subprocess.run(cmd, check=True, env=env)
  File "/home/shager/cpython-buildarea/3.12.edelsohn-fedora-ppc64/build/Lib/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['env/bin/python', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/home/shager/cpython-buildarea/3.12.edelsohn-fedora-ppc64/build/build_oot/build/test_python_63283æ/test_python_worker_2510æ/tempcwd/pkg']' returned non-zero exit status 1.


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.12.edelsohn-fedora-ppc64/build/Lib/test/test_cppext.py", line 25, in test_build_cpp03
    self.check_build(True, '_testcpp03ext')
  File "/home/shager/cpython-buildarea/3.12.edelsohn-fedora-ppc64/build/Lib/test/test_cppext.py", line 40, in check_build
    self._check_build(std_cpp03, extension_name)
  File "/home/shager/cpython-buildarea/3.12.edelsohn-fedora-ppc64/build/Lib/test/test_cppext.py", line 94, in _check_build
    run_cmd('Install', cmd)
  File "/home/shager/cpython-buildarea/3.12.edelsohn-fedora-ppc64/build/Lib/test/test_cppext.py", line 72, in run_cmd
    subprocess.run(cmd, check=True, env=env)
  File "/home/shager/cpython-buildarea/3.12.edelsohn-fedora-ppc64/build/Lib/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['env/bin/python', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/home/shager/cpython-buildarea/3.12.edelsohn-fedora-ppc64/build/build_oot/build/test_python_63283æ/test_python_worker_2510æ/tempcwd/pkg']' returned non-zero exit status 1.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@erlend-aasland

erlend-aasland commented Jun 2, 2023

Copy link
Copy Markdown
Contributor Author

FTR, I'm investigating the buildbot errors.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Jun 6, 2023
3.12 backport gh 105236 #105358
Closed
[3.11] gh-105455: Bump to GNU Autoconf v2.71 (#104925) #105469
Closed
erlend-aasland added a commit to erlend-aasland/cpython that referenced this pull request Jun 7, 2023
@erlend-aasland @tiran
[3.11] pythongh-105455: Bump to GNU Autoconf v2.71 (python#104925)
2d54f33
Similar to pythongh-104925, but without a hard v2.71 requirement.
The hard check remains at Autoconf 2.69.

Co-authored-by: Christian Heimes <[email protected]>
@bedevere-bot

bedevere-bot commented Jun 7, 2023

Copy link
Copy Markdown

GH-105469 is a backport of this pull request to the 3.11 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dtrodrigues dtrodrigues mentioned this pull request Jul 23, 2023
test_cppext fails on s390x RHEL7 Refleaks 3.x: option ‘-std=gnu11’ is valid for C/ObjC but not for C++ (GCC 4.8.5) #107084
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@brettcannon brettcannon brettcannon approved these changes
@gpshead gpshead gpshead approved these changes
@corona10 corona10 Awaiting requested review from corona10 corona10 is a code owner
@ezio-melotti ezio-melotti Awaiting requested review from ezio-melotti ezio-melotti is a code owner
@hugovk hugovk Awaiting requested review from hugovk hugovk is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@erlend-aasland erlend-aasland

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

7 participants

@erlend-aasland @arhadthedev @miss-islington @bedevere-bot @brettcannon @gpshead @tiran
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.