pypy failed to build from source in Fedora rawhide/f36 https://koji.fedoraproject.org/koji/taskinfo?taskID=81985342 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Please fix pypy at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, pypy will be orphaned. Before branching of Fedora 37, pypy will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
Created attachment 1856197 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 1856198 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 1856199 [details] state.log
+ pypy2 pypy/tool/release/package.py --archive-name pypy-7.3 --builddir /builddir/build/BUILDROOT/pypy-7.3.6-3.fc36.i386//usr/lib --no-embedded-dependencies 'import site' failed debug: OperationError: debug: operror-type: SyntaxError debug: operror-value: ("invalid syntax (expected ')')", ('/builddir/build/BUILD/pypy2.7-v7.3.6-src/lib-python/2.7/encodings/__init__.py', 38, 73, "_norm_encoding_map = (' . '\n", 0)) Traceback (most recent call last): File "pypy/tool/release/package.py", line 404, in <module> retval, _ = package(*sys.argv[1:]) File "pypy/tool/release/package.py", line 383, in package return create_package(basedir, options, **kwds) File "pypy/tool/release/package.py", line 99, in create_package raise OSError("Running %r failed!" % (str(pypy_c),)) OSError: Running '/builddir/build/BUILD/pypy2.7-v7.3.6-src/pypy/goal/pypy-c' failed! I honestly have no idea what changed.
New scratchbuild using python2 as the bootstrap interpreter: https://koji.fedoraproject.org/koji/taskinfo?taskID=82005795 New scratchbuild using pypy2 as the bootstrap interpreter: https://koji.fedoraproject.org/koji/taskinfo?taskID=82005823
This only happens on 32bit arches. Using pypy/python 2 for build makes no difference (except that using python2 on armv7hl dies with MemoryError).
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36.
Extract of build.log: + pypy2 pypy/tool/release/package.py --archive-name pypy-7.3 --builddir /builddir/build/BUILDROOT/pypy-7.3.6-3.fc36.i386//usr/lib --no-embedded-dependencies 'import site' failed debug: OperationError: debug: operror-type: SyntaxError debug: operror-value: ("invalid syntax (expected ')')", ('/builddir/build/BUILD/pypy2.7-v7.3.6-src/lib-python/2.7/encodings/__init__.py', 38, 73, "_norm_encoding_map = (' . '\n", 0)) Traceback (most recent call last): File "pypy/tool/release/package.py", line 404, in <module> retval, _ = package(*sys.argv[1:]) File "pypy/tool/release/package.py", line 383, in package return create_package(basedir, options, **kwds) File "pypy/tool/release/package.py", line 99, in create_package raise OSError("Running %r failed!" % (str(pypy_c),)) OSError: Running '/builddir/build/BUILD/pypy2.7-v7.3.6-src/pypy/goal/pypy-c' failed!
I reported the issue upstream: https://foss.heptapod.net/pypy/pypy/-/issues/3702 So far, nobody was available to investigate the issue.
https://src.fedoraproject.org/rpms/pypy/pull-request/26 drop ix86, the last 32bit architecture on Fedora 37. On Fedora 36, we unfortunately still have 32bit ARM :(
32bit architectures are excluded in Fedora 37+, this now only affects Fedora 36 and hence is a low priority for Python Maint.
The following builds were made after this report was opened: pypy-7.3.9-1.fc37
FEDORA-2022-ce55d01569 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-ce55d01569
FEDORA-2022-ce55d01569 has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-ce55d01569` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-ce55d01569 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-ce55d01569 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.