Package: src:jxrlib
Version: 1.2~git20170615.f752187-5.2
Severity: important
Tags: sid trixie
User: debian-...@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/jxrlib_1.2~git20170615.f752187-5.2_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

[...]
dh_auto_configure -- -DJXRLIB_INSTALL_LIB_DIR="lib/x86_64-linux-gnu"
        cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb cmake 
-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None 
-DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var 
-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF 
-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON 
-DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run 
-DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" 
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu 
-DJXRLIB_INSTALL_LIB_DIR=lib/x86_64-linux-gnu ..
-- The C compiler identification is GNU 14.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for strlcpy
-- Looking for strlcpy - found
-- Configuring done (0.5s)
-- 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_FIND_USE_PACKAGE_REGISTRY
    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_LOCALSTATEDIR
    CMAKE_INSTALL_RUNSTATEDIR
    CMAKE_INSTALL_SYSCONFDIR
    FETCHCONTENT_FULLY_DISCONNECTED


-- Build files have been written to: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build -O--buildsystem=cmake
        cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install 
--strip-program=true" VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
/usr/bin/cmake -S"/<<PKGBUILDDIR>>" -B"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu" 
--check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start 
"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles" 
"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu//CMakeFiles/progress.marks"
make  -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make  -f CMakeFiles/jpegxr.dir/build.make CMakeFiles/jpegxr.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends 
"Unix Makefiles" "/<<PKGBUILDDIR>>" "/<<PKGBUILDDIR>>" 
"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu" "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu" 
"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/jpegxr.dir/DependInfo.cmake" 
"--color="
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make  -f CMakeFiles/jpegxr.dir/build.make CMakeFiles/jpegxr.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 11%] Building C object CMakeFiles/jpegxr.dir/image/decode/decode.c.o
[ 11%] Building C object CMakeFiles/jpegxr.dir/image/encode/segenc.c.o
[ 11%] Building C object CMakeFiles/jpegxr.dir/image/encode/encode.c.o
[ 11%] Building C object CMakeFiles/jpegxr.dir/image/encode/strPredQuantEnc.c.o
/usr/bin/cc -DDISABLE_PERF_MEASUREMENT -D__ANSI__ -Djpegxr_EXPORTS 
-I"/<<PKGBUILDDIR>>/common/include" -I"/<<PKGBUILDDIR>>/image/sys" 
-I"/<<PKGBUILDDIR>>/jxrgluelib" -I"/<<PKGBUILDDIR>>/jxrtestlib" -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall -Wextra -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIC -w -MD -MT 
CMakeFiles/jpegxr.dir/image/encode/encode.c.o -MF 
CMakeFiles/jpegxr.dir/image/encode/encode.c.o.d -o 
CMakeFiles/jpegxr.dir/image/encode/encode.c.o -c 
"/<<PKGBUILDDIR>>/image/encode/encode.c"
/usr/bin/cc -DDISABLE_PERF_MEASUREMENT -D__ANSI__ -Djpegxr_EXPORTS 
-I"/<<PKGBUILDDIR>>/common/include" -I"/<<PKGBUILDDIR>>/image/sys" 
-I"/<<PKGBUILDDIR>>/jxrgluelib" -I"/<<PKGBUILDDIR>>/jxrtestlib" -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall -Wextra -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIC -w -MD -MT 
CMakeFiles/jpegxr.dir/image/encode/segenc.c.o -MF 
CMakeFiles/jpegxr.dir/image/encode/segenc.c.o.d -o 
CMakeFiles/jpegxr.dir/image/encode/segenc.c.o -c 
"/<<PKGBUILDDIR>>/image/encode/segenc.c"
/usr/bin/cc -DDISABLE_PERF_MEASUREMENT -D__ANSI__ -Djpegxr_EXPORTS 
-I"/<<PKGBUILDDIR>>/common/include" -I"/<<PKGBUILDDIR>>/image/sys" 
-I"/<<PKGBUILDDIR>>/jxrgluelib" -I"/<<PKGBUILDDIR>>/jxrtestlib" -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall -Wextra -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIC -w -MD -MT 
CMakeFiles/jpegxr.dir/image/encode/strPredQuantEnc.c.o -MF 
CMakeFiles/jpegxr.dir/image/encode/strPredQuantEnc.c.o.d -o 
CMakeFiles/jpegxr.dir/image/encode/strPredQuantEnc.c.o -c 
"/<<PKGBUILDDIR>>/image/encode/strPredQuantEnc.c"
/usr/bin/cc -DDISABLE_PERF_MEASUREMENT -D__ANSI__ -Djpegxr_EXPORTS 
-I"/<<PKGBUILDDIR>>/common/include" -I"/<<PKGBUILDDIR>>/image/sys" 
-I"/<<PKGBUILDDIR>>/jxrgluelib" -I"/<<PKGBUILDDIR>>/jxrtestlib" -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall -Wextra -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIC -w -MD -MT 
CMakeFiles/jpegxr.dir/image/decode/decode.c.o -MF 
CMakeFiles/jpegxr.dir/image/decode/decode.c.o.d -o 
CMakeFiles/jpegxr.dir/image/decode/decode.c.o -c 
"/<<PKGBUILDDIR>>/image/decode/decode.c"
[ 17%] Building C object CMakeFiles/jpegxr.dir/image/decode/postprocess.c.o
[ 17%] Building C object CMakeFiles/jpegxr.dir/image/decode/segdec.c.o
/usr/bin/cc -DDISABLE_PERF_MEASUREMENT -D__ANSI__ -Djpegxr_EXPORTS 
-I"/<<PKGBUILDDIR>>/common/include" -I"/<<PKGBUILDDIR>>/image/sys" 
-I"/<<PKGBUILDDIR>>/jxrgluelib" -I"/<<PKGBUILDDIR>>/jxrtestlib" -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall -Wextra -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIC -w -MD -MT 
CMakeFiles/jpegxr.dir/image/decode/postprocess.c.o -MF 
CMakeFiles/jpegxr.dir/image/decode/postprocess.c.o.d -o 
CMakeFiles/jpegxr.dir/image/decode/postprocess.c.o -c 
"/<<PKGBUILDDIR>>/image/decode/postprocess.c"
/usr/bin/cc -DDISABLE_PERF_MEASUREMENT -D__ANSI__ -Djpegxr_EXPORTS 
-I"/<<PKGBUILDDIR>>/common/include" -I"/<<PKGBUILDDIR>>/image/sys" 
-I"/<<PKGBUILDDIR>>/jxrgluelib" -I"/<<PKGBUILDDIR>>/jxrtestlib" -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall -Wextra -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIC -w -MD -MT 
CMakeFiles/jpegxr.dir/image/decode/segdec.c.o -MF 
CMakeFiles/jpegxr.dir/image/decode/segdec.c.o.d -o 
CMakeFiles/jpegxr.dir/image/decode/segdec.c.o -c 
"/<<PKGBUILDDIR>>/image/decode/segdec.c"
[ 23%] Building C object CMakeFiles/jpegxr.dir/image/encode/strFwdTransform.c.o
[ 23%] Building C object CMakeFiles/jpegxr.dir/image/encode/strenc.c.o
/usr/bin/cc -DDISABLE_PERF_MEASUREMENT -D__ANSI__ -Djpegxr_EXPORTS 
-I"/<<PKGBUILDDIR>>/common/include" -I"/<<PKGBUILDDIR>>/image/sys" 
-I"/<<PKGBUILDDIR>>/jxrgluelib" -I"/<<PKGBUILDDIR>>/jxrtestlib" -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall -Wextra -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIC -w -MD -MT 
CMakeFiles/jpegxr.dir/image/encode/strFwdTransform.c.o -MF 
CMakeFiles/jpegxr.dir/image/encode/strFwdTransform.c.o.d -o 
CMakeFiles/jpegxr.dir/image/encode/strFwdTransform.c.o -c 
"/<<PKGBUILDDIR>>/image/encode/strFwdTransform.c"
/usr/bin/cc -DDISABLE_PERF_MEASUREMENT -D__ANSI__ -Djpegxr_EXPORTS 
-I"/<<PKGBUILDDIR>>/common/include" -I"/<<PKGBUILDDIR>>/image/sys" 
-I"/<<PKGBUILDDIR>>/jxrgluelib" -I"/<<PKGBUILDDIR>>/jxrtestlib" -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall -Wextra -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIC -w -MD -MT 
CMakeFiles/jpegxr.dir/image/encode/strenc.c.o -MF 
CMakeFiles/jpegxr.dir/image/encode/strenc.c.o.d -o 
CMakeFiles/jpegxr.dir/image/encode/strenc.c.o -c 
"/<<PKGBUILDDIR>>/image/encode/strenc.c"
/<<PKGBUILDDIR>>/image/decode/segdec.c: In function ‘_load4’:
/<<PKGBUILDDIR>>/image/decode/segdec.c:68:12: error: implicit declaration of 
function ‘_byteswap_ulong’ [-Wimplicit-function-declaration]
   68 |     return _byteswap_ulong(v);
      |            ^~~~~~~~~~~~~~~
make[3]: *** [CMakeFiles/jpegxr.dir/build.make:177: 
CMakeFiles/jpegxr.dir/image/decode/segdec.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:92: CMakeFiles/jpegxr.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install 
--strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to