Subject: graphite2 1.3.14-9 autopkgtest failures
Package: libgraphite2-3
Source: libgraphite2
X-Debbugs-Cc: [email protected]
Version: 1.3.14-9
Severity: normal

1115220 dealt with build issues for gcc15, and then the subsequent missing
build dep on g++-14. Subsequent uploads fixed the dependency issue and CXX
flags.

in Ubuntu, we compile with LTO by default, and this requires setting CC
flags to gcc-14 as well.  adding export CC := gcc-14 fixes LTO builds

However, this bug is for the autopkgtests. There are also missing flags in
the debian/tests/test file, leading to using gcc15 in test builds. In
Ubuntu, I'm trying:


export CTEST_OUTPUT_ON_FAILURE=True
case $(uname -m) in
    aarch64 | ppc64le | loongarch64)
export CXX=g++-14
export CC=gcc-14
;;
*)
;;
esac

This fixes the issue on arm64. However, ppcel64 still fails with the same
issue

685s 85/90 Test #85: jsontestOutput ...................   Passed    0.01 sec
685s       Start 86: nametabletest
685s 86/90 Test #86: nametabletest ....................***Failed    0.00 sec
685s ksw-MM lang id: 1033 expected: 32768
685s mnw-MM lang id: 1033 expected: 32769
685s name=ABC expected=abcd
685s

I see it compiling properly with gcc-14 :

673s cd /tmp/autopkgtest.1H4ovW/build.w6r/src/build && /usr/bin/cmake -E
cmake_depends "Unix Makefiles" /tmp/autopkgtest.1H4ovW/build.w6r/src
/tmp/autopkgtest.1H4ovW/build.w6r/src/tests/nametabletest
/tmp/autopkgtest.1H4ovW/build.w6r/src/build
/tmp/autopkgtest.1H4ovW/build.w6r/src/build/tests/nametabletest
/tmp/autopkgtest.1H4ovW/build.w6r/src/build/tests/nametabletest/CMakeFiles/nametabletest.dir/DependInfo.cmake
"--color="
673s make[2]: Leaving directory
'/tmp/autopkgtest.1H4ovW/build.w6r/src/build'
673s make  -f tests/nametabletest/CMakeFiles/nametabletest.dir/build.make
tests/nametabletest/CMakeFiles/nametabletest.dir/build
673s make[2]: Entering directory
'/tmp/autopkgtest.1H4ovW/build.w6r/src/build'
673s [ 86%] Building CXX object
tests/nametabletest/CMakeFiles/nametabletest.dir/nametabletest.cpp.o
673s cd /tmp/autopkgtest.1H4ovW/build.w6r/src/build/tests/nametabletest &&
/usr/bin/g++-14  -I/tmp/autopkgtest.1H4ovW/build.w6r/src/include
-I/tmp/autopkgtest.1H4ovW/build.w6r/src/src -g -O3
-ffile-prefix-map=/tmp/autopkgtest.1H4ovW/build.w6r/src=. -flto=auto
-ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security
-fno-stack-clash-protection
-fdebug-prefix-map=/tmp/autopkgtest.1H4ovW/build.w6r/src=/usr/src/graphite2-1.3.14-9ubuntu1~ppa4
-Wdate-time -D_FORTIFY_SOURCE=3 -std=gnu++11 -MD -MT
tests/nametabletest/CMakeFiles/nametabletest.dir/nametabletest.cpp.o -MF
CMakeFiles/nametabletest.dir/nametabletest.cpp.o.d -o
CMakeFiles/nametabletest.dir/nametabletest.cpp.o -c
/tmp/autopkgtest.1H4ovW/build.w6r/src/tests/nametabletest/nametabletest.cpp
673s [ 87%] Linking CXX executable nametabletest
673s cd /tmp/autopkgtest.1H4ovW/build.w6r/src/build/tests/nametabletest &&
/usr/bin/cmake -E cmake_link_script CMakeFiles/nametabletest.dir/link.txt
--verbose=1
673s /usr/bin/g++-14 -g -O3
-ffile-prefix-map=/tmp/autopkgtest.1H4ovW/build.w6r/src=. -flto=auto
-ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security
-fno-stack-clash-protection
-fdebug-prefix-map=/tmp/autopkgtest.1H4ovW/build.w6r/src=/usr/src/graphite2-1.3.14-9ubuntu1~ppa4
-Wdate-time -D_FORTIFY_SOURCE=3 -Wl,-Bsymbolic-functions -flto=auto
-ffat-lto-objects -Wl,-z,relro
-Wl,--dependency-file=CMakeFiles/nametabletest.dir/link.d
CMakeFiles/nametabletest.dir/nametabletest.cpp.o -o nametabletest
 ../libgraphite2-base.a
673s make[2]: Leaving directory
'/tmp/autopkgtest.1H4ovW/build.w6r/src/build'
673s [ 87%] Built target nametabletest

ref:
https://autopkgtest.ubuntu.com/results/autopkgtest-questing-jchittum-graphite2-lp2124952/questing/ppc64el/g/graphite2/20250926_112302_5a2ef@/log.gz

Ubuntu Bug: https://bugs.launchpad.net/ubuntu/+source/graphite2/+bug/2120856

-- 
-----------------------
Dr. John Chittum
Engineering Manager, Canonical, Debcrafters

Reply via email to