Public bug reported: Updating "algol68 to the gcc-15 branch 20251030" for gcc-15 15.2.0-10ubuntu1 seemingly broke the build for sparc64. (Both gcc-15, gcc-15-cross builds show now errors, therefore I'm filing a bug report for gcc-15-cross-ports.)
1) Build environment is Ubuntu 26.04 (including packages from the resolute-proposed pocket) 2) Package in question is gcc-15-cross-ports_11ubuntu2 3) Build is expected to succeed (worked against gcc-15 15.2.0-9ubuntu1) 4) Build error as shown below (w.r.t. algol68/sparc64) Excerpt from the log: root@vserver35<kvm>:~# schroot -c ubuntu-resolute-amd64 # lsb_release -rd Description: Ubuntu Resolute Raccoon (development branch) Release: 26.04 # cat << EOF > /etc/apt/preferences.d/proposed-updates > Package: * > Pin: release a=resolute-proposed > Pin-Priority: 500 > EOF # apt update; apt -y upgrade; apt clean […] # apt install -y devscripts equivs […] # mkdir build; cd build # dget https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/gcc-15-cross-ports/11ubuntu2/gcc-15-cross-ports_11ubuntu2.dsc # dpkg-source -x […] mk-build-deps […] # export DEB_BUILD_OPTIONS="noddebs nocheck"; dpkg-buildpackage -us -uc -ui -b […] touch stamp-dir/build-gcc.sh4 START stamp-dir/build-gcc.sparc64 + echo sparc64 + cd gcc + PATH=/root/build/gcc-15-cross-ports-11ubuntu2/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/sys-maint/bin WITH_SYSROOT=/ PKG_IGNORE_CURRENTLY_BUILDING=1 BACKPORT=false WITHOUT_LANG=hppa64 jit nvptx GNATMAKE=gnatmake-15 GNATBIND=gnatbind-15 GCC_PORTS_BUILD=-ports dpkg-buildpackage -b -uc -us -d dpkg-buildpackage: info: source package gcc-15 dpkg-buildpackage: info: source version 15.2.0-10ubuntu1 dpkg-buildpackage: info: source distribution resolute dpkg-buildpackage: info: source changed by Matthias Klose <[email protected]> dpkg-buildpackage: info: host architecture amd64 dpkg-source --before-build . ESC[0mESC[1;35m debian/rules clean ESC[0mmake[1]: Entering directory '/root/build/gcc-15-cross-ports-11ubuntu2/gcc' rm -rf stamps rm -rf gcc-15.2.0 /usr/bin/make -f debian/rules2 clean make[2]: Entering directory '/root/build/gcc-15-cross-ports-11ubuntu2/gcc' dh_testdir […] x86_64-linux-gnu-g++-15 -fno-PIE -c -DIN_GCC_FRONTEND -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-error=narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -fno-PIE -I. -Ialgol68 -I../../src/gcc -I../../src/gcc/algol68 -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I../../src/gcc/../libcody -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o algol68/a68-parser-keywords.o -MT algol68/a68-parser-keywords.o -MMD -MP -MF algol68/.deps/a68-parser-keywords.TPo ../../src/gcc/algol68/a68-parser-keywords.cc make[5]: *** [Makefile:1215: algol68/a68-exports.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ./tm_p.h:4, from ../../src/gcc/algol68/a68-imports.cc:36: ../../src/gcc/config/sparc/sparc-protos.h:46:47: error: use of enum 'memmodel' without previous declaration 46 | extern void sparc_emit_membar_for_model (enum memmodel, int, int); | ^~~~~~~~ make[5]: *** [Makefile:1215: algol68/a68-imports.o] Error 1 ** Affects: gcc-15-cross-ports (Ubuntu) Importance: Undecided Status: New ** Tags: ftbfs ** Attachment added: "Complete log of the "dpkg-buildpackage -us -uc -ui -b" run" https://bugs.launchpad.net/bugs/2133802/+attachment/5931168/+files/gcc-15-cross-ports_01.log.xz ** Tags added: ftbfs -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2133802 Title: FTBFS against gcc-15 15.2.0-10ubuntu1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-15-cross-ports/+bug/2133802/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
