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

GH-89886: Bump autoconf to version 2.71 #104925

Merged
merged 8 commits into from
Jun 1, 2023

Conversation

erlend-aasland
Copy link
Contributor

@erlend-aasland erlend-aasland commented May 25, 2023

@erlend-aasland
Copy link
Contributor Author

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

@erlend-aasland erlend-aasland changed the title Build Python with autoconf 2.71 Bump autoconf to version 2.71 May 25, 2023
@arhadthedev
Copy link
Member

image
😕

@erlend-aasland
Copy link
Contributor Author

image
😕

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

@brettcannon brettcannon changed the title Bump autoconf to version 2.71 GH-89886: Bump autoconf to version 2.71 May 25, 2023
Copy link
Member

@brettcannon brettcannon left a 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.

@gpshead gpshead added the needs backport to 3.12 bug and security fixes label May 25, 2023
@erlend-aasland
Copy link
Contributor Author

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

@erlend-aasland
Copy link
Contributor Author

erlend-aasland commented May 29, 2023

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

@erlend-aasland
Copy link
Contributor Author

erlend-aasland commented May 29, 2023

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

@erlend-aasland
Copy link
Contributor Author

erlend-aasland commented Jun 1, 2023

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

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

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

@erlend-aasland erlend-aasland deleted the autoconf271 branch June 1, 2023 21:44
@miss-islington
Copy link
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

erlend-aasland added a commit to erlend-aasland/cpython that referenced this pull request Jun 1, 2023
@bedevere-bot
Copy link

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

@bedevere-bot bedevere-bot removed the needs backport to 3.12 bug and security fixes label Jun 1, 2023
@bedevere-bot
Copy link

⚠️⚠️⚠️ 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.

erlend-aasland added a commit that referenced this pull request Jun 1, 2023
@bedevere-bot
Copy link

⚠️⚠️⚠️ 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.

@bedevere-bot
Copy link

⚠️⚠️⚠️ 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.

@erlend-aasland
Copy link
Contributor Author

FTR, I'm investigating the buildbot errors.

erlend-aasland added a commit to erlend-aasland/cpython that referenced this pull request Jun 7, 2023
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
Copy link

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

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

Successfully merging this pull request may close these issues.

7 participants