Bug 2046857 - pypy: FTBFS in Fedora rawhide/f36 on 32bit arches
Summary: pypy: FTBFS in Fedora rawhide/f36 on 32bit arches
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pypy
Version: 36
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
Assignee: Python Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ARMTracker F36FTBFS 2046555 2050761
TreeView+ depends on / blocked
 
Reported: 2022-01-27 09:35 UTC by Fedora Release Engineering
Modified: 2022-07-08 01:16 UTC (History)
5 users (show)

Fixed In Version: pypy-7.3.9-2.fc36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-08 01:16:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2022-01-27 09:35 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2022-01-27 09:35 UTC, Fedora Release Engineering
no flags Details
state.log (948 bytes, text/plain)
2022-01-27 09:35 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2022-01-27 09:35:39 UTC
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/

Comment 1 Fedora Release Engineering 2022-01-27 09:35:42 UTC
Created attachment 1856197 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2022-01-27 09:35:43 UTC
Created attachment 1856198 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2022-01-27 09:35:44 UTC
Created attachment 1856199 [details]
state.log

Comment 4 Miro Hrončok 2022-01-27 12:25:40 UTC
+ 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.

Comment 5 Miro Hrončok 2022-01-27 12:29:15 UTC
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

Comment 6 Miro Hrončok 2022-01-27 14:51:11 UTC
This only happens on 32bit arches. Using pypy/python 2 for build makes no difference (except that using python2 on armv7hl dies with MemoryError).

Comment 7 Ben Cotton 2022-02-08 20:15:50 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 8 Victor Stinner 2022-03-07 09:26:00 UTC
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!

Comment 9 Victor Stinner 2022-03-30 12:17:24 UTC
I reported the issue upstream: https://foss.heptapod.net/pypy/pypy/-/issues/3702

So far, nobody was available to investigate the issue.

Comment 10 Miro Hrončok 2022-03-30 17:38:42 UTC
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 :(

Comment 11 Miro Hrončok 2022-04-13 12:09:35 UTC
32bit architectures are excluded in Fedora 37+, this now only affects Fedora 36 and hence is a low priority for Python Maint.

Comment 12 Tomáš Hrnčiar 2022-04-21 15:10:41 UTC
The following builds were made after this report was opened: pypy-7.3.9-1.fc37

Comment 13 Fedora Update System 2022-06-29 18:59:06 UTC
FEDORA-2022-ce55d01569 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-ce55d01569

Comment 14 Fedora Update System 2022-06-30 01:33:47 UTC
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.

Comment 15 Fedora Update System 2022-07-08 01:16:31 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.