[Debian-iot-maintainers] Bug#1133498: hoel: ftbfs with GCC-16

Emanuele Rocca ema at debian.org
Mon Apr 13 14:04:39 BST 2026


Package: src:hoel
Version: 1.4.29-2
Severity: important
Tags: sid forky ftbfs
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-16

Hi,

hoel fails to build in a test rebuild on at least amd64 and arm64 with
gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
report will be raised before the forky release.

The full build log can be found at:
https://people.debian.org/~ema/gcc-16-rebuilds/output-1/hoel_arm64.build.xz

The last lines of the build log are at the end of this report.

To build with GCC 16, either set CC=gcc-16 CXX=g++-16 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures include unused (but set) variables, array subscripts
partly outside array bounds, and new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-16/porting_to.html

Please only close this issue after double-checking that the package can be
built correctly with GCC 16.

Please do not reassign this bug to another package. If a fix in another package
is required, then file a bug for the other package (or clone), and mark this
bug as blocked by the bug in the other package.

[...]


Generating docs for compound _h_type_blob...
Generating docs for compound _h_type_datetime...
Generating docs for compound _h_type_double...
Generating docs for compound _h_type_int...
Generating docs for compound _h_type_text...
Generating concept documentation...
Generating module documentation...
Generating namespace documentation...
Generating graph info page...
Generating directory documentation...
Generating index page...
Generating page index...
Generating topic index...
Generating module index...
Generating module member index...
Generating namespace index...
Generating namespace member index...
Generating concept index...
Generating annotated compound index...
Generating alphabetical compound index...
Generating hierarchical class index...
Generating member index...
Generating file index...
Generating file member index...
Generating example index...
finalizing index lists...
writing tag file...
Running plantuml with JAVA...
type lookup cache used 111/65536 hits=1680 misses=119
symbol lookup cache used 338/65536 hits=1543 misses=338
finished...
dh_auto_build --
	cd build && make -j128 INSTALL="install --strip-program=true" VERBOSE=1
make[2]: Entering directory '/build/reproducible-path/hoel-1.4.29/build'
/usr/bin/cmake -S/build/reproducible-path/hoel-1.4.29 -B/build/reproducible-path/hoel-1.4.29/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /build/reproducible-path/hoel-1.4.29/build/CMakeFiles /build/reproducible-path/hoel-1.4.29/build//CMakeFiles/progress.marks
make  -f CMakeFiles/Makefile2 all
make[3]: Entering directory '/build/reproducible-path/hoel-1.4.29/build'
make  -f CMakeFiles/hoel.dir/build.make CMakeFiles/hoel.dir/depend
make[4]: Entering directory '/build/reproducible-path/hoel-1.4.29/build'
cd /build/reproducible-path/hoel-1.4.29/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/hoel-1.4.29 /build/reproducible-path/hoel-1.4.29 /build/reproducible-path/hoel-1.4.29/build /build/reproducible-path/hoel-1.4.29/build /build/reproducible-path/hoel-1.4.29/build/CMakeFiles/hoel.dir/DependInfo.cmake "--color=" hoel
make[4]: Leaving directory '/build/reproducible-path/hoel-1.4.29/build'
make  -f CMakeFiles/hoel.dir/build.make CMakeFiles/hoel.dir/build
make[4]: Entering directory '/build/reproducible-path/hoel-1.4.29/build'
[ 33%] Building C object CMakeFiles/hoel.dir/src/hoel-mariadb.c.o
[ 33%] Building C object CMakeFiles/hoel.dir/src/hoel-simple-json.c.o
[ 66%] Building C object CMakeFiles/hoel.dir/src/hoel.c.o
[ 66%] Building C object CMakeFiles/hoel.dir/src/hoel-sqlite.c.o
/usr/bin/cc -D_GNU_SOURCE -Dhoel_EXPORTS -I/build/reproducible-path/hoel-1.4.29/include -I/usr/include/postgresql -I/build/reproducible-path/hoel-1.4.29/build -isystem /usr/include/mysql -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hoel-1.4.29=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -std=gnu99 -fPIC -Wextra -Wconversion -MD -MT CMakeFiles/hoel.dir/src/hoel-mariadb.c.o -MF CMakeFiles/hoel.dir/src/hoel-mariadb.c.o.d -o CMakeFiles/hoel.dir/src/hoel-mariadb.c.o -c /build/reproducible-path/hoel-1.4.29/src/hoel-mariadb.c
/usr/bin/cc -D_GNU_SOURCE -Dhoel_EXPORTS -I/build/reproducible-path/hoel-1.4.29/include -I/usr/include/postgresql -I/build/reproducible-path/hoel-1.4.29/build -isystem /usr/include/mysql -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hoel-1.4.29=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -std=gnu99 -fPIC -Wextra -Wconversion -MD -MT CMakeFiles/hoel.dir/src/hoel-simple-json.c.o -MF CMakeFiles/hoel.dir/src/hoel-simple-json.c.o.d -o CMakeFiles/hoel.dir/src/hoel-simple-json.c.o -c /build/reproducible-path/hoel-1.4.29/src/hoel-simple-json.c
[ 83%] Building C object CMakeFiles/hoel.dir/src/hoel-pgsql.c.o
/usr/bin/cc -D_GNU_SOURCE -Dhoel_EXPORTS -I/build/reproducible-path/hoel-1.4.29/include -I/usr/include/postgresql -I/build/reproducible-path/hoel-1.4.29/build -isystem /usr/include/mysql -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hoel-1.4.29=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -std=gnu99 -fPIC -Wextra -Wconversion -MD -MT CMakeFiles/hoel.dir/src/hoel-sqlite.c.o -MF CMakeFiles/hoel.dir/src/hoel-sqlite.c.o.d -o CMakeFiles/hoel.dir/src/hoel-sqlite.c.o -c /build/reproducible-path/hoel-1.4.29/src/hoel-sqlite.c
/usr/bin/cc -D_GNU_SOURCE -Dhoel_EXPORTS -I/build/reproducible-path/hoel-1.4.29/include -I/usr/include/postgresql -I/build/reproducible-path/hoel-1.4.29/build -isystem /usr/include/mysql -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hoel-1.4.29=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -std=gnu99 -fPIC -Wextra -Wconversion -MD -MT CMakeFiles/hoel.dir/src/hoel-pgsql.c.o -MF CMakeFiles/hoel.dir/src/hoel-pgsql.c.o.d -o CMakeFiles/hoel.dir/src/hoel-pgsql.c.o -c /build/reproducible-path/hoel-1.4.29/src/hoel-pgsql.c
/usr/bin/cc -D_GNU_SOURCE -Dhoel_EXPORTS -I/build/reproducible-path/hoel-1.4.29/include -I/usr/include/postgresql -I/build/reproducible-path/hoel-1.4.29/build -isystem /usr/include/mysql -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hoel-1.4.29=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -std=gnu99 -fPIC -Wextra -Wconversion -MD -MT CMakeFiles/hoel.dir/src/hoel.c.o -MF CMakeFiles/hoel.dir/src/hoel.c.o.d -o CMakeFiles/hoel.dir/src/hoel.c.o -c /build/reproducible-path/hoel-1.4.29/src/hoel.c
/build/reproducible-path/hoel-1.4.29/src/hoel-mariadb.c: In function ‘h_execute_query_json_mariadb’:
/build/reproducible-path/hoel-1.4.29/src/hoel-mariadb.c:247:25: error: variable ‘row’ set but not used [-Werror=unused-but-set-variable=]
  247 |   uint num_fields, col, row;
      |                         ^~~
cc1: all warnings being treated as errors
make[4]: *** [CMakeFiles/hoel.dir/build.make:96: CMakeFiles/hoel.dir/src/hoel-mariadb.c.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/build/reproducible-path/hoel-1.4.29/build'
make[3]: *** [CMakeFiles/Makefile2:94: CMakeFiles/hoel.dir/all] Error 2
make[3]: Leaving directory '/build/reproducible-path/hoel-1.4.29/build'
make[2]: *** [Makefile:169: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/hoel-1.4.29/build'
dh_auto_build: error: cd build && make -j128 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:33: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/hoel-1.4.29'
make: *** [debian/rules:14: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2



More information about the Debian-iot-maintainers mailing list