Bug#1074877: checkit-tiff: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:24:06 BST 2024
Package: src:checkit-tiff
Version: 1.4.4-1
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14
[This bug is targeted to the upcoming trixie release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/checkit-tiff_1.4.4-1_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-14/porting_to.html
[...]
Add the installation prefix of "RefIccMAX" to CMAKE_PREFIX_PATH or set
"RefIccMAX_DIR" to a directory containing one of the above files. If
"RefIccMAX" provides a separate development package or SDK, be sure it has
been installed.
-- no IccProfLib found, disabled full ICC profile checking
-- linking dynamic
-- Found Perl: /usr/bin/perl (found version "5.38.2")
-- BUILDTAG (after) : '1.4.4-1'
-- MAJOR VERSION: 1.4.4-1
-- MINOR VERSION: 1.4.4-1
-- PATCH VERSION: 1.4.4-1
-- Configuring done (3.0s)
-- Generating done (0.0s)
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY
CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_RUNSTATEDIR
CMAKE_INSTALL_SYSCONFDIR
FETCHCONTENT_FULLY_DISCONNECTED
-- Build files have been written to: /<<PKGBUILDDIR>>/build
dh_auto_build -O--sourcedirectory=src -O--builddirectory=build -O--no-parallel -O--buildsystem=cmake
cd build && make -j1 "INSTALL=install --strip-program=true" VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>/build'
/usr/bin/cmake -S/<<PKGBUILDDIR>>/src -B/<<PKGBUILDDIR>>/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/build/CMakeFiles /<<PKGBUILDDIR>>/build//CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/<<PKGBUILDDIR>>/build'
make -f lib/CMakeFiles/libcheckit_tiff.dir/build.make lib/CMakeFiles/libcheckit_tiff.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/build'
cd /<<PKGBUILDDIR>>/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>>/src /<<PKGBUILDDIR>>/src/lib /<<PKGBUILDDIR>>/build /<<PKGBUILDDIR>>/build/lib /<<PKGBUILDDIR>>/build/lib/CMakeFiles/libcheckit_tiff.dir/DependInfo.cmake "--color="
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make -f lib/CMakeFiles/libcheckit_tiff.dir/build.make lib/CMakeFiles/libcheckit_tiff.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/build'
[ 2%] Building C object lib/CMakeFiles/libcheckit_tiff.dir/helper/check_helper.c.o
cd /<<PKGBUILDDIR>>/build/lib && /usr/bin/cc -DHAVE_MMAP -DREPO_REVISION=\"\" -DUSE_LIBPCRE2 -DVERSION=\"debian_1.4.4-1\" -D_GNU_SOURCE -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<<PKGBUILDDIR>>/src/headers -I/<<PKGBUILDDIR>>/src/lib/include -I/<<PKGBUILDDIR>>/src/lib/validate_icc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -Wformat -Werror=format-security -ffunction-sections -fdata-sections -std=gnu11 -flto=auto -fno-fat-lto-objects -MD -MT lib/CMakeFiles/libcheckit_tiff.dir/helper/check_helper.c.o -MF CMakeFiles/libcheckit_tiff.dir/helper/check_helper.c.o.d -o CMakeFiles/libcheckit_tiff.dir/helper/check_helper.c.o -c /<<PKGBUILDDIR>>/src/lib/helper/check_helper.c
[ 4%] Building C object lib/CMakeFiles/libcheckit_tiff.dir/helper/check_print.c.o
cd /<<PKGBUILDDIR>>/build/lib && /usr/bin/cc -DHAVE_MMAP -DREPO_REVISION=\"\" -DUSE_LIBPCRE2 -DVERSION=\"debian_1.4.4-1\" -D_GNU_SOURCE -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<<PKGBUILDDIR>>/src/headers -I/<<PKGBUILDDIR>>/src/lib/include -I/<<PKGBUILDDIR>>/src/lib/validate_icc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -Wformat -Werror=format-security -ffunction-sections -fdata-sections -std=gnu11 -flto=auto -fno-fat-lto-objects -MD -MT lib/CMakeFiles/libcheckit_tiff.dir/helper/check_print.c.o -MF CMakeFiles/libcheckit_tiff.dir/helper/check_print.c.o.d -o CMakeFiles/libcheckit_tiff.dir/helper/check_print.c.o -c /<<PKGBUILDDIR>>/src/lib/helper/check_print.c
[ 6%] Building C object lib/CMakeFiles/libcheckit_tiff.dir/helper/check_renderer.c.o
cd /<<PKGBUILDDIR>>/build/lib && /usr/bin/cc -DHAVE_MMAP -DREPO_REVISION=\"\" -DUSE_LIBPCRE2 -DVERSION=\"debian_1.4.4-1\" -D_GNU_SOURCE -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<<PKGBUILDDIR>>/src/headers -I/<<PKGBUILDDIR>>/src/lib/include -I/<<PKGBUILDDIR>>/src/lib/validate_icc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -Wformat -Werror=format-security -ffunction-sections -fdata-sections -std=gnu11 -flto=auto -fno-fat-lto-objects -MD -MT lib/CMakeFiles/libcheckit_tiff.dir/helper/check_renderer.c.o -MF CMakeFiles/libcheckit_tiff.dir/helper/check_renderer.c.o.d -o CMakeFiles/libcheckit_tiff.dir/helper/check_renderer.c.o -c /<<PKGBUILDDIR>>/src/lib/helper/check_renderer.c
[ 8%] Building C object lib/CMakeFiles/libcheckit_tiff.dir/helper/check_tiffparse.c.o
cd /<<PKGBUILDDIR>>/build/lib && /usr/bin/cc -DHAVE_MMAP -DREPO_REVISION=\"\" -DUSE_LIBPCRE2 -DVERSION=\"debian_1.4.4-1\" -D_GNU_SOURCE -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<<PKGBUILDDIR>>/src/headers -I/<<PKGBUILDDIR>>/src/lib/include -I/<<PKGBUILDDIR>>/src/lib/validate_icc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -Wformat -Werror=format-security -ffunction-sections -fdata-sections -std=gnu11 -flto=auto -fno-fat-lto-objects -MD -MT lib/CMakeFiles/libcheckit_tiff.dir/helper/check_tiffparse.c.o -MF CMakeFiles/libcheckit_tiff.dir/helper/check_tiffparse.c.o.d -o CMakeFiles/libcheckit_tiff.dir/helper/check_tiffparse.c.o -c /<<PKGBUILDDIR>>/src/lib/helper/check_tiffparse.c
/<<PKGBUILDDIR>>/src/lib/helper/check_tiffparse.c: In function ‘read_offsetdata’:
/<<PKGBUILDDIR>>/src/lib/helper/check_tiffparse.c:485:46: error: passing argument 2 of ‘ct_read32’ from incompatible pointer type [-Wincompatible-pointer-types]
485 | OFFSET_MALLOC(ct_read32, ctif, offset_p->datafloatp, float, count)
| ~~~~~~~~^~~~~~~~~~~~
| |
| float *
/<<PKGBUILDDIR>>/src/lib/helper/check_tiffparse.c:386:36: note: in definition of macro ‘OFFSET_MALLOC’
386 | ssize_t result = ctread( ctif_p, offsetdata, count); \
| ^~~~~~~~~~
/<<PKGBUILDDIR>>/src/lib/helper/check_tiffparse.c:116:43: note: expected ‘uint32 *’ {aka ‘unsigned int *’} but argument is of type ‘float *’
116 | ssize_t ct_read32(ctiff_t * ctif, uint32 *buf, size_t quad_count) {
| ~~~~~~~~^~~
make[3]: *** [lib/CMakeFiles/libcheckit_tiff.dir/build.make:121: lib/CMakeFiles/libcheckit_tiff.dir/helper/check_tiffparse.c.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [CMakeFiles/Makefile2:213: lib/CMakeFiles/libcheckit_tiff.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[1]: *** [Makefile:169: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/build'
dh_auto_build: error: cd build && make -j1 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Pkg-phototools-devel
mailing list