Graham Inggs
2024-Jan-31 07:50 UTC
[Pkg-xen-devel] Bug#1062048: xen: FTBFS with Python 3.12 as default
Source: xen Version: 4.17.2+76-ge1f9cb16e2-1 Severity: serious Tags: ftbfs patch User: debian-python at lists.debian.org Usertags: python3.12 Hi Maintainer xen FTBFS with Python 3.12 as the default version (i.e. with python3-defaults/3.12.1-1 from experimental). I've copied what I hope is the relevant part of the log below. I was able to work around this by: -PY_CFLAGS = $(CFLAGS) $(PY_NOOPT_CFLAGS) +PY_CFLAGS = $(CFLAGS) $(PY_NOOPT_CFLAGS) -Wno-error=declaration-after-statement in tools/python/Makefile and tools/pygrub/Makefile. Regards Graham /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() In file included from /usr/include/python3.12/Python.h:44, from xen/lowlevel/xc/xc.c:8: /usr/include/python3.12/object.h: In function ?Py_SIZE?: /usr/include/python3.12/object.h:233:5: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] 233 | PyVarObject *var_ob = _PyVarObject_CAST(ob); | ^~~~~~~~~~~ In file included from /usr/include/python3.12/Python.h:53: /usr/include/python3.12/cpython/longintrepr.h: In function ?_PyLong_CompactValue?: /usr/include/python3.12/cpython/longintrepr.h:121:5: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] 121 | Py_ssize_t sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK); | ^~~~~~~~~~ cc1: all warnings being treated as errors error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
Maximilian Engelhardt
2024-Jan-31 21:39 UTC
[Pkg-xen-devel] Bug#1062048: xen: FTBFS with Python 3.12 as default
Control: tags -1 +fixed-upstream Hi, this issue has been fixed upstream by https://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=40be6307ec005539635e7b8fcef67e989dc441f6 and was backported to the upstream stable-4.17 branch in https://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=4000522008711b1329a7cbb24612dfc355f3e46c We will include the fix in the next upload. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: This is a digitally signed message part. URL: <http://alioth-lists.debian.net/pipermail/pkg-xen-devel/attachments/20240131/ba2dc7d7/attachment.sig>
Debian Bug Tracking System
2024-Jan-31 21:48 UTC
[Pkg-xen-devel] Processed: Re: xen: FTBFS with Python 3.12 as default
Processing control commands:> tags -1 +fixed-upstreamBug #1062048 [src:xen] xen: FTBFS with Python 3.12 as default Added tag(s) fixed-upstream. -- 1062048: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1062048 Debian Bug Tracking System Contact owner at bugs.debian.org with problems
Debian Bug Tracking System
2024-Feb-04 14:51 UTC
[Pkg-xen-devel] Bug#1062048: marked as done (xen: FTBFS with Python 3.12 as default)
Your message dated Sun, 04 Feb 2024 14:48:51 +0000 with message-id <E1rWdnf-005G6U-R2 at fasolo.debian.org> and subject line Bug#1062048: fixed in xen 4.17.3+10-g091466ba55-1 has caused the Debian Bug report #1062048, regarding xen: FTBFS with Python 3.12 as default to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 1062048: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1062048 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Graham Inggs <ginggs at debian.org> Subject: xen: FTBFS with Python 3.12 as default Date: Wed, 31 Jan 2024 09:50:51 +0200 Size: 4928 URL: <http://alioth-lists.debian.net/pipermail/pkg-xen-devel/attachments/20240204/a276a6be/attachment.eml> -------------- next part -------------- An embedded message was scrubbed... From: Debian FTP Masters <ftpmaster at ftp-master.debian.org> Subject: Bug#1062048: fixed in xen 4.17.3+10-g091466ba55-1 Date: Sun, 04 Feb 2024 14:48:51 +0000 Size: 7070 URL: <http://alioth-lists.debian.net/pipermail/pkg-xen-devel/attachments/20240204/a276a6be/attachment-0001.eml>
Debian Bug Tracking System
2024-Feb-04 19:36 UTC
[Pkg-xen-devel] Bug#1062048: marked as done (xen: FTBFS with Python 3.12 as default)
Your message dated Sun, 04 Feb 2024 19:32:08 +0000 with message-id <E1rWiDo-0060pY-Ek at fasolo.debian.org> and subject line Bug#1062048: fixed in xen 4.17.3+10-g091466ba55-1~deb12u1 has caused the Debian Bug report #1062048, regarding xen: FTBFS with Python 3.12 as default to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 1062048: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1062048 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Graham Inggs <ginggs at debian.org> Subject: xen: FTBFS with Python 3.12 as default Date: Wed, 31 Jan 2024 09:50:51 +0200 Size: 4928 URL: <http://alioth-lists.debian.net/pipermail/pkg-xen-devel/attachments/20240204/71687b43/attachment.eml> -------------- next part -------------- An embedded message was scrubbed... From: Debian FTP Masters <ftpmaster at ftp-master.debian.org> Subject: Bug#1062048: fixed in xen 4.17.3+10-g091466ba55-1~deb12u1 Date: Sun, 04 Feb 2024 19:32:08 +0000 Size: 6998 URL: <http://alioth-lists.debian.net/pipermail/pkg-xen-devel/attachments/20240204/71687b43/attachment-0001.eml>
Possibly Parallel Threads
- AD/DNS: Cannot Create a CNAME record with a blank name...
- AD/DNS: Cannot Create a CNAME record with a blank name...
- AD/DNS: Cannot Create a CNAME record with a blank name...
- AD/DNS: Cannot Create a CNAME record with a blank name...
- AD/DNS: Cannot Create a CNAME record with a blank name...