Bug 2261540 - pypy3.9: FTBFS in Fedora rawhide/f40
Summary: pypy3.9: FTBFS in Fedora rawhide/f40
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pypy3.9
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Charalampos Stratakis
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: F40FTBFS
TreeView+ depends on / blocked
 
Reported: 2024-01-29 21:37 UTC by Fedora Release Engineering
Modified: 2024-03-30 01:43 UTC (History)
5 users (show)

Fixed In Version: pypy3.9-7.3.15-2.3.9.fc41 pypy3.9-7.3.15-2.3.9.fc40 pypy3.9-7.3.15-2.3.9.fc39 pypy3.9-7.3.15-2.3.9.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-03-20 23:53:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2024-01-29 21:37 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2024-01-29 21:37 UTC, Fedora Release Engineering
no flags Details
state.log (1.66 KB, text/plain)
2024-01-29 21:37 UTC, Fedora Release Engineering
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github pypy pypy issues 4926 0 None open pypy's fail to build from source with GCC 14 due to enforcing -Wincompatible-pointer-types 2024-03-19 01:45:56 UTC

Description Fedora Release Engineering 2024-01-29 21:37:32 UTC
pypy3.9 failed to build from source in Fedora rawhide/f40

https://koji.fedoraproject.org/koji/taskinfo?taskID=112376448


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
Please fix pypy3.9 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,
pypy3.9 will be orphaned. Before branching of Fedora 41,
pypy3.9 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 2024-01-29 21:37:39 UTC
Created attachment 2013111 [details]
build.log

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

Comment 2 Fedora Release Engineering 2024-01-29 21:37:44 UTC
Created attachment 2013112 [details]
root.log

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

Comment 3 Fedora Release Engineering 2024-01-29 21:37:47 UTC
Created attachment 2013113 [details]
state.log

Comment 4 Charalampos Stratakis 2024-03-18 23:39:08 UTC
The current error:

[platform:message] make: Leaving directory '/builddir/build/BUILD/pypy3.9-v7.3.13-src/pypy/goal/usession-pypy3-0/testing_1'
[platform:Error] data_rpython_jit_metainterp.c:38914:9: warning: ‘ftime’ is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations]
[platform:Error] 38914 |         ftime,  /* 1598 */
[platform:Error]       |         ^~~~~
[platform:Error] In file included from singleheader.h:143:
[platform:Error] /usr/include/sys/timeb.h:29:12: note: declared here
[platform:Error]    29 | extern int ftime (struct timeb *__timebuf)
[platform:Error]       |            ^~~~~
[platform:Error] nonfuncnodes_18.c:64922:9: warning: ‘ftime’ is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations]
[platform:Error] 64922 |         ((Signed)ftime),        /* 8 */
[platform:Error]       |         ^
[platform:Error] In file included from singleheader.h:143:
[platform:Error] /usr/include/sys/timeb.h:29:12: note: declared here
[platform:Error]    29 | extern int ftime (struct timeb *__timebuf)
[platform:Error]       |            ^~~~~
[platform:Error] implement.c: In function ‘pypy_g_dispatcher_PyObject_Vectorcall’:
[platform:Error] implement.c:10166:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
[platform:Error] 10166 |         l_v7912 = RPyBareItem(l_v7809, l_v7911);
[platform:Error]       |                 ^
[platform:Error] implement.c:11186:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
[platform:Error] 11186 |         l_v8531 = RPyBareItem(l_v7809, l_v8530);
[platform:Error]       |                 ^
[platform:Error] implement_12.c: In function ‘pypy_g_ccall_openpty__arrayPtr_arrayPtr_arrayPtr_arrayP’:
[platform:Error] implement_12.c:18765:59: error: passing argument 4 of ‘openpty’ from incompatible pointer type [-Wincompatible-pointer-types]
[platform:Error] 18765 |         l_v300745 = openpty(l_a0_396, l_a1_282, l_a2_156, l_a3_72, l_a4_38);
[platform:Error]       |                                                           ^~~~~~~
[platform:Error]       |                                                           |
[platform:Error]       |                                                           char *
[platform:Error] In file included from singleheader.h:133:
[platform:Error] /usr/include/pty.h:37:43: note: expected ‘const struct termios *’ but argument is of type ‘char *’
[platform:Error]    37 |                     const struct termios *__termp,
[platform:Error]       |                     ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
[platform:Error] implement_12.c:18765:68: error: passing argument 5 of ‘openpty’ from incompatible pointer type [-Wincompatible-pointer-types]
[platform:Error] 18765 |         l_v300745 = openpty(l_a0_396, l_a1_282, l_a2_156, l_a3_72, l_a4_38);
[platform:Error]       |                                                                    ^~~~~~~
[platform:Error]       |                                                                    |
[platform:Error]       |                                                                    char *
[platform:Error] /usr/include/pty.h:38:43: note: expected ‘const struct winsize *’ but argument is of type ‘char *’
[platform:Error]    38 |                     const struct winsize *__winp) __THROW;
[platform:Error]       |                     ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
[platform:Error] make: *** [Makefile:998: implement_12.o] Error 1
[platform:Error] make: *** Waiting for unfinished jobs....

This is due to the [-Wincompatible-pointer-types] which is now enforced.

Comment 5 Charalampos Stratakis 2024-03-19 01:45:44 UTC
With the latest version the issue is reduced to:

_tkinter/tklib_cffi.c: In function ‘_cffi_d_Tcl_Merge’:
_tkinter/tklib_cffi.c:2734:24: error: passing argument 2 of ‘Tcl_Merge’ from incompatible pointer type [-Wincompatible-pointer-types]
 2734 |   return Tcl_Merge(x0, x1);
      |                        ^~
      |                        |
      |                        char **
In file included from /usr/include/tcl.h:2421,
                 from _tkinter/tklib_cffi.c:572:
/usr/include/tclDecls.h:584:66: note: expected ‘const char * const*’ but argument is of type ‘char **’
  584 | EXTERN char *           Tcl_Merge(int argc, CONST84 char *const *argv);

Comment 7 Fedora Update System 2024-03-20 23:50:20 UTC
FEDORA-2024-e7e3845f8c (pypy3.9-7.3.15-2.3.9.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-e7e3845f8c

Comment 8 Fedora Update System 2024-03-20 23:53:20 UTC
FEDORA-2024-e7e3845f8c (pypy3.9-7.3.15-2.3.9.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2024-03-21 07:19:57 UTC
FEDORA-2024-9b8566d08e (pypy3.9-7.3.15-2.3.9.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-9b8566d08e

Comment 10 Fedora Update System 2024-03-21 07:19:58 UTC
FEDORA-2024-8f06bf3344 (pypy3.9-7.3.15-2.3.9.fc38) has been submitted as an update to Fedora 38.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-8f06bf3344

Comment 11 Fedora Update System 2024-03-22 02:08:45 UTC
FEDORA-2024-9b8566d08e has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-9b8566d08e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-9b8566d08e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2024-03-22 02:10:53 UTC
FEDORA-2024-8f06bf3344 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-8f06bf3344`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-8f06bf3344

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2024-03-22 02:34:47 UTC
FEDORA-2024-b30e8ddb9b has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-b30e8ddb9b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-b30e8ddb9b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2024-03-29 04:09:37 UTC
FEDORA-2024-9b8566d08e (pypy3.9-7.3.15-2.3.9.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2024-03-30 01:08:34 UTC
FEDORA-2024-b30e8ddb9b (pypy3.9-7.3.15-2.3.9.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2024-03-30 01:43:44 UTC
FEDORA-2024-8f06bf3344 (pypy3.9-7.3.15-2.3.9.fc38) has been pushed to the Fedora 38 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.