[Bug 1220970] New: GCC 14: python package fails
https://bugzilla.suse.com/show_bug.cgi?id=1220970 Bug ID: 1220970 Summary: GCC 14: python package fails Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Python Assignee: python-maintainers@suse.com Reporter: michal.jires@suse.com QA Contact: qa-bugs@suse.de CC: mcepl@suse.com Blocks: 1220571 Target Milestone: --- Found By: --- Blocker: --- Building python with GCC 14 fails here: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:G... Due to (exhaustive list of errors): Python-2.7.18/Modules/_tkinter.c: In function ‘AsObj’: Python-2.7.18/Modules/_tkinter.c:1178:38: error: passing argument 1 of ‘Tcl_NewUnicodeObj’ from incompatible pointer type [-Wincompatible-pointer-types] 1178 | return Tcl_NewUnicodeObj(inbuf, size); | ^~~~~ | | | Py_UNICODE * {aka int *} In file included from /usr/include/tcl.h:2418, from /home/abuild/rpmbuild/BUILD/Python-2.7.18/Modules/_tkinter.c:70: /usr/include/tclDecls.h:1102:62: note: expected ‘const Tcl_UniChar *’ {aka ‘const short unsigned int *’} but argument is of type ‘Py_UNICODE *’ {aka ‘int *’} 1102 | EXTERN Tcl_Obj * Tcl_NewUnicodeObj(const Tcl_UniChar *unicode, | ~~~~~~~~~~~~~~~~~~~^~~~~~~ See the meta bug#1220571 for more info. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1220970 https://bugzilla.suse.com/show_bug.cgi?id=1220970#c1 Daniel Garcia <daniel.garcia@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.garcia@suse.com --- Comment #1 from Daniel Garcia <daniel.garcia@suse.com> --- For python2 I think that the best solution is to use the compiler option (-std=gnu89, -std=c89, or -fpermissive), we're trying to remove the package from tumbleweed and it's not worth to patch it to make it build. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1220970 Daniel Garcia <daniel.garcia@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|python-maintainers@suse.com |daniel.garcia@suse.com Status|NEW |IN_PROGRESS -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1220970 https://bugzilla.suse.com/show_bug.cgi?id=1220970#c2 --- Comment #2 from Daniel Garcia <daniel.garcia@suse.com> --- Request for factory: https://build.opensuse.org/request/show/1155422 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1220970 https://bugzilla.suse.com/show_bug.cgi?id=1220970#c3 Daniel Garcia <daniel.garcia@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|IN_PROGRESS |RESOLVED --- Comment #3 from Daniel Garcia <daniel.garcia@suse.com> --- Package fixed on factory -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1220970 https://bugzilla.suse.com/show_bug.cgi?id=1220970#c9 --- Comment #9 from Maintenance Automation <maint-coord+maintenance-robot@suse.de> --- SUSE-SU-2024:1667-1: An update that solves three vulnerabilities and has two security fixes can now be installed. Category: security (moderate) Bug References: 1214675, 1219306, 1219559, 1220970, 1222537 CVE References: CVE-2022-48560, CVE-2023-27043, CVE-2023-52425 Maintenance Incident: [SUSE:Maintenance:33822](https://smelt.suse.de/incident/33822/) Sources used: SUSE Linux Enterprise Workstation Extension 12 12-SP5 (src): python-base-2.7.18-33.32.1 SUSE Linux Enterprise High Performance Computing 12 SP5 (src): python-2.7.18-33.32.1, python-doc-2.7.18-33.32.1, python-base-2.7.18-33.32.1 SUSE Linux Enterprise Server 12 SP5 (src): python-2.7.18-33.32.1, python-doc-2.7.18-33.32.1, python-base-2.7.18-33.32.1 SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src): python-2.7.18-33.32.1, python-doc-2.7.18-33.32.1, python-base-2.7.18-33.32.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1220970 https://bugzilla.suse.com/show_bug.cgi?id=1220970#c11 --- Comment #11 from Maintenance Automation <maint-coord+maintenance-robot@suse.de> --- SUSE-SU-2024:1862-1: An update that solves four vulnerabilities and has two security fixes can now be installed. URL: https://www.suse.com/support/update/announcement/2024/suse-su-20241862-1 Category: security (moderate) Bug References: 1214675, 1219306, 1219559, 1220970, 1221854, 1222537 CVE References: CVE-2022-48560, CVE-2023-27043, CVE-2023-52425, CVE-2024-0450 Maintenance Incident: [SUSE:Maintenance:33823](https://smelt.suse.de/incident/33823/) Sources used: openSUSE Leap 15.5 (src): python-doc-2.7.18-150000.65.1, python-2.7.18-150000.65.1, python-base-2.7.18-150000.65.1 openSUSE Leap 15.6 (src): python-doc-2.7.18-150000.65.1, python-2.7.18-150000.65.1, python-base-2.7.18-150000.65.1 SUSE Package Hub 15 15-SP5 (src): python-2.7.18-150000.65.1, python-base-2.7.18-150000.65.1 SUSE Package Hub 15 15-SP6 (src): python-2.7.18-150000.65.1, python-base-2.7.18-150000.65.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com