Source: xen Version: 4.11.4+24-gddaaccbbab-1 Severity: serious Hello, looks like xen is FTBFS because of some bd-uninstallable python package and a gcc-10 related build failure. gcc -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -O2 -fomit-frame-pointer -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__ -MMD -MF .tdb.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -fdebug-prefix-map=/build/xen-4.11.4+24-gddaaccbbab=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Werror -I. -include /build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/config.h -I./include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libs/evtchn/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libxc/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libs/toollog/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libs/foreignmemory/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libs/devicemodel/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -D__XEN_TOOLS__ -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libs/toolcore/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -DXEN_LIB_STORED="\"/var/lib/xenstored\"" -DXEN_RUN_STORED="\"/var/run/xenstored\"" -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libs/gnttab/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -c -o tdb.o tdb.c gcc -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -O2 -fomit-frame-pointer -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__ -MMD -MF .talloc.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -fdebug-prefix-map=/build/xen-4.11.4+24-gddaaccbbab=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Werror -I. -include /build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/config.h -I./include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libs/evtchn/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libxc/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libs/toollog/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libs/foreignmemory/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libs/devicemodel/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -D__XEN_TOOLS__ -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libs/toolcore/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -DXEN_LIB_STORED="\"/var/lib/xenstored\"" -DXEN_RUN_STORED="\"/var/run/xenstored\"" -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libs/gnttab/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -c -o talloc.o talloc.c gcc xs_tdb_dump.o utils.o tdb.o talloc.o -Wl,-z,relro -Wl,-z,now -o xs_tdb_dump /usr/bin/ld: utils.o:./tools/xenstore/utils.h:27: multiple definition of `xprintf'; xs_tdb_dump.o:./tools/xenstore/utils.h:27: first defined here collect2: error: ld returned 1 exit status make[6]: *** [Makefile:97: xs_tdb_dump] Error 1 make[6]: Leaving directory '/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore' make[5]: *** [/build/xen-4.11.4+24-gddaaccbbab/tools/../tools/Rules.mk:253: subdir-install-xenstore] Error 2 make[5]: Leaving directory '/build/xen-4.11.4+24-gddaaccbbab/tools' make[4]: *** [/build/xen-4.11.4+24-gddaaccbbab/tools/../tools/Rules.mk:248: subdirs-install] Error 2 make[4]: Leaving directory '/build/xen-4.11.4+24-gddaaccbbab/tools' make[3]: *** [Makefile:74: install] Error 2 make[3]: Leaving directory '/build/xen-4.11.4+24-gddaaccbbab/tools' make[2]: *** [Makefile:127: install-tools] Error 2 make[2]: Leaving directory '/build/xen-4.11.4+24-gddaaccbbab' make[1]: *** [debian/rules:202: override_dh_auto_build] Error 2 make[1]: Leaving directory '/build/xen-4.11.4+24-gddaaccbbab' make: *** [debian/rules:150: build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 I: copying local configuration thanks Gianfranco
Hans van Kranenburg
2020-Sep-04 11:55 UTC
[Pkg-xen-devel] Bug#968965: Bug#968965: xen: FTBFS in sid
Hi Gianfranco, On 8/24/20 7:03 PM, Gianfranco Costamagna wrote:> Source: xen > Version: 4.11.4+24-gddaaccbbab-1 > Severity: serious > > Hello, looks like xen is FTBFS because of some bd-uninstallable python package and a gcc-10 related build failure.Yes. Thanks for the report. Currently (actually, also today!) Ian Jackson and I are working on this. We want to have Xen 4.14 in Debian unstable, and the two big things that are needed are GCC 10 fixes and getting rid of python 2 usage. So, just to let you know it's known and being worked on.> gcc -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -O2 -fomit-frame-pointer -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__ -MMD -MF .tdb.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -fdebug-prefix-map=/build/xen-4.11.4+24-gddaaccbbab=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Werror -I. -include /build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/config.h -I./include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libs/evtchn/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libxc/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libs/toollog/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libs/foreignmemory/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libs/devicemodel/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -D__XEN_TOOLS__ -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libs/toolcore/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -DXEN_LIB_STORED="\"/var/lib/xenstored\"" -DXEN_RUN_STORED="\"/var/run/xenstored\"" -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libs/gnttab/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -c -o tdb.o tdb.c > gcc -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -O2 -fomit-frame-pointer -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__ -MMD -MF .talloc.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -fdebug-prefix-map=/build/xen-4.11.4+24-gddaaccbbab=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Werror -I. -include /build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/config.h -I./include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libs/evtchn/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libxc/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libs/toollog/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libs/foreignmemory/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libs/devicemodel/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -D__XEN_TOOLS__ -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libs/toolcore/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -DXEN_LIB_STORED="\"/var/lib/xenstored\"" -DXEN_RUN_STORED="\"/var/run/xenstored\"" -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/libs/gnttab/include -I/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore/../../tools/include -c -o talloc.o talloc.c > gcc xs_tdb_dump.o utils.o tdb.o talloc.o -Wl,-z,relro -Wl,-z,now -o xs_tdb_dump > /usr/bin/ld: utils.o:./tools/xenstore/utils.h:27: multiple definition of `xprintf'; xs_tdb_dump.o:./tools/xenstore/utils.h:27: first defined here > collect2: error: ld returned 1 exit status > make[6]: *** [Makefile:97: xs_tdb_dump] Error 1 > make[6]: Leaving directory '/build/xen-4.11.4+24-gddaaccbbab/tools/xenstore' > make[5]: *** [/build/xen-4.11.4+24-gddaaccbbab/tools/../tools/Rules.mk:253: subdir-install-xenstore] Error 2 > make[5]: Leaving directory '/build/xen-4.11.4+24-gddaaccbbab/tools' > make[4]: *** [/build/xen-4.11.4+24-gddaaccbbab/tools/../tools/Rules.mk:248: subdirs-install] Error 2 > make[4]: Leaving directory '/build/xen-4.11.4+24-gddaaccbbab/tools' > make[3]: *** [Makefile:74: install] Error 2 > make[3]: Leaving directory '/build/xen-4.11.4+24-gddaaccbbab/tools' > make[2]: *** [Makefile:127: install-tools] Error 2 > make[2]: Leaving directory '/build/xen-4.11.4+24-gddaaccbbab' > make[1]: *** [debian/rules:202: override_dh_auto_build] Error 2 > make[1]: Leaving directory '/build/xen-4.11.4+24-gddaaccbbab' > make: *** [debian/rules:150: build] Error 2 > dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 > I: copying local configurationHans
Debian Bug Tracking System
2020-Sep-21 10:03 UTC
[Pkg-xen-devel] Bug#968965: marked as done (xen: FTBFS in sid)
Your message dated Mon, 21 Sep 2020 10:00:33 +0000 with message-id <E1kKIcb-000Ix2-BX at fasolo.debian.org> and subject line Bug#968965: fixed in xen 4.14.0-1~exp1 has caused the Debian Bug report #968965, regarding xen: FTBFS in sid 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.) -- 968965: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968965 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Gianfranco Costamagna <locutusofborg at debian.org> Subject: xen: FTBFS in sid Date: Mon, 24 Aug 2020 19:03:47 +0200 Size: 14194 URL: <http://alioth-lists.debian.net/pipermail/pkg-xen-devel/attachments/20200921/4b1171e2/attachment-0002.mht> -------------- next part -------------- An embedded message was scrubbed... From: Debian FTP Masters <ftpmaster at ftp-master.debian.org> Subject: Bug#968965: fixed in xen 4.14.0-1~exp1 Date: Mon, 21 Sep 2020 10:00:33 +0000 Size: 19825 URL: <http://alioth-lists.debian.net/pipermail/pkg-xen-devel/attachments/20200921/4b1171e2/attachment-0003.mht>
Hans van Kranenburg
2020-Sep-21 14:16 UTC
[Pkg-xen-devel] Bug#968965: Bug#968965: Bug#968965: xen: FTBFS in sid
notfixed -1 xen/4.14.0-1~exp1 reopen found -1 xen/4.14.0-1~exp1 thanks Hi, On 9/4/20 1:55 PM, Hans van Kranenburg wrote:> > On 8/24/20 7:03 PM, Gianfranco Costamagna wrote: >> Source: xen >> Version: 4.11.4+24-gddaaccbbab-1 >> Severity: serious >> >> Hello, looks like xen is FTBFS because of some bd-uninstallable python package and a gcc-10 related build failure. > > [...]Well, it seems we have more FTBFS, let's reuse this bug number to track it again? https://buildd.debian.org/status/package.php?p=xen&suite=experimental --->8--- arm64 --->8--- gcc -MMD -MP -MF ./.mem_access.o.d -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -O2 -fomit-frame-pointer -nostdinc -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -Wvla -pipe -D__XEN__ -include /<<PKGBUILDDIR>>/xen/include/xen/config.h -Wa,--strip-local-absolute -mcpu=generic -mgeneral-regs-only -I/<<PKGBUILDDIR>>/xen/include -fno-stack-protector -fno-exceptions -fno-asynchronous-unwind-tables -fcf-protection=none -Wnested-externs '-D__OBJECT_FILE__="mem_access.o"' -c mem_access.c -o mem_access.o mem_access.c: In function ‘p2m_mem_access_check’: mem_access.c:227:6: note: parameter passing for argument of type ‘const struct npfec’ changed in GCC 9.1 227 | bool p2m_mem_access_check(paddr_t gpa, vaddr_t gla, const struct npfec npfec) | ^~~~~~~~~~~~~~~~~~~~ --->8--- armhf --->8--- gcc -marm -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -O2 -fomit-frame-pointer -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__ -MMD -MP -MF .xenpmd.o.d -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Werror -I/<<PKGBUILDDIR>>/tools/xenpmd/../../tools/xenstore/include -I/<<PKGBUILDDIR>>/tools/xenpmd/../../tools/include -c -o xenpmd.o xenpmd.c xenpmd.c: In function ‘get_next_battery_file’: xenpmd.c:92:37: error: ‘%s’ directive output may be truncated writing between 4 and 2147483645 bytes into a region of size 271 [-Werror=format-truncation=] 92 | #define BATTERY_STATE_FILE_PATH "/tmp/battery/%s/state" | ^~~~~~~~~~~~~~~~~~~~~~~ xenpmd.c:117:52: note: in expansion of macro ‘BATTERY_STATE_FILE_PATH’ 117 | snprintf(file_name, sizeof(file_name), BATTERY_STATE_FILE_PATH, | ^~~~~~~~~~~~~~~~~~~~~~~ xenpmd.c:92:51: note: format string is defined here 92 | #define BATTERY_STATE_FILE_PATH "/tmp/battery/%s/state" | ^~ In file included from /usr/include/stdio.h:867, from xenpmd.c:35: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 24 and 2147483665 bytes into a destination of size 284 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xenpmd.c:91:36: error: ‘%s’ directive output may be truncated writing between 4 and 2147483645 bytes into a region of size 271 [-Werror=format-truncation=] 91 | #define BATTERY_INFO_FILE_PATH "/tmp/battery/%s/info" | ^~~~~~~~~~~~~~~~~~~~~~ xenpmd.c:114:52: note: in expansion of macro ‘BATTERY_INFO_FILE_PATH’ 114 | snprintf(file_name, sizeof(file_name), BATTERY_INFO_FILE_PATH, | ^~~~~~~~~~~~~~~~~~~~~~ xenpmd.c:91:50: note: format string is defined here 91 | #define BATTERY_INFO_FILE_PATH "/tmp/battery/%s/info" | ^~ In file included from /usr/include/stdio.h:867, from xenpmd.c:35: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 23 and 2147483664 bytes into a destination of size 284 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --->8--- i386 --->8--- gcc -Wl,-z,relro -Wl,-z,now -pthread -Wl,-soname -Wl,libxentoolcore.so.1 -shared -Wl,--version-script=libxentoolcore.map -o libxentoolcore.so.1.0 handlereg.opic /usr/bin/ld: i386:x86-64 architecture of input file `handlereg.opic' is incompatible with i386 output /usr/bin/ld: handlereg.opic: file class ELFCLASS64 incompatible with ELFCLASS32 /usr/bin/ld: final link failed: file in wrong format collect2: error: ld returned 1 exit status Hans
Hans van Kranenburg
2020-Nov-20 19:02 UTC
[Pkg-xen-devel] Bug#968965: xen: FTBFS woes in sid
So, On 9/21/20 4:16 PM, Hans van Kranenburg wrote:> [...] > > gcc -Wl,-z,relro -Wl,-z,now -pthread -Wl,-soname > -Wl,libxentoolcore.so.1 -shared -Wl,--version-script=libxentoolcore.map > -o libxentoolcore.so.1.0 handlereg.opic > /usr/bin/ld: i386:x86-64 architecture of input file `handlereg.opic' is > incompatible with i386 output > /usr/bin/ld: handlereg.opic: file class ELFCLASS64 incompatible with > ELFCLASS32 > /usr/bin/ld: final link failed: file in wrong format > collect2: error: ld returned 1 exit statusThis one is caused by "debian/rules: Combine shared Make args". I reverted that change for now. When retrying the i386 build, I run into yet another failure, sigh: ---- >8 ---- dh_install: warning: Cannot find (any matches for) "usr/lib/debug/usr/lib/xen-*/boot/*" (tried in ., debian/tmp) dh_install: warning: xen-utils-4.14 missing files: usr/lib/debug/usr/lib/xen-*/boot/* dh_install: error: missing files, aborting ---- >8 ---- I can only find CONFIG_PV_SHIM=n in the build log. What is going on here? Attached is the build log. My WIP branch is here (including the make-patches commit, it's ready to build). I also forwarded the thing to latest stable-4.14. https://salsa.debian.org/xen-team/debian-xen/-/commits/knorrie/4.14/ Hans -------------- next part -------------- A non-text attachment was scrubbed... Name: screenlog.0.gz Type: application/gzip Size: 128729 bytes Desc: not available URL: <http://alioth-lists.debian.net/pipermail/pkg-xen-devel/attachments/20201120/702e5157/attachment-0001.gz>