Source: libgrokj2k Version: 9.7.5-1 Tags: ftbfs User: [email protected] Usertags: perl-5.36-transition
This package fails to build from source with Perl 5.36 (currently in experimental). Build log at http://perl.debian.net/rebuild-logs/perl-5.36/libgrokj2k_9.7.5-1/libgrokj2k_9.7.5-1+b1_amd64-2022-06-10T01:11:12Z.build Excerpt: [ 68%] Building CXX object src/bin/jp2/CMakeFiles/grk_decompress.dir/__/common/exif.cpp.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/bin/jp2 && /usr/bin/c++ -DSPDLOG_COMPILED_LIB -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/lib/jp2 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/bin/common -I/<<PKGBUILDDIR>>/src/lib/jp2 -I/<<PKGBUILDDIR>>/src/bin/common -I/<<PKGBUILDDIR>>/src/bin/image_format -I/<<PKGBUILDDIR>>/src/bin/jp2 -I/<<PKGBUILDDIR>>/src/include -I/usr/lib/x86_64-linux-gnu/perl/5.36/CORE -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wconversion -Wsign-conversion -Wunused-parameter -std=gnu++20 -MD -MT src/bin/jp2/CMakeFiles/grk_decompress.dir/__/common/exif.cpp.o -MF CMakeFiles/grk_decompress.dir/__/common/exif.cpp.o.d -o CMakeFiles/grk_decompress.dir/__/common/exif.cpp.o -c /<<PKGBUILDDIR>>/src/bin/common/exif.cpp In file included from /<<PKGBUILDDIR>>/src/include/spdlog/fmt/fmt.h:25, from /<<PKGBUILDDIR>>/src/include/spdlog/common.h:45, from /<<PKGBUILDDIR>>/src/include/spdlog/spdlog.h:12, from /<<PKGBUILDDIR>>/src/bin/common/exif.cpp:38: /<<PKGBUILDDIR>>/src/include/spdlog/fmt/bundled/format.h:1193:47: error: macro "utf8_to_utf16" requires 4 arguments, but only 1 given 1193 | FMT_API explicit utf8_to_utf16(string_view s); | ^ In file included from /usr/lib/x86_64-linux-gnu/perl/5.36/CORE/regexp.h:21, from /usr/lib/x86_64-linux-gnu/perl/5.36/CORE/perl.h:4156, from /<<PKGBUILDDIR>>/src/bin/common/exif.cpp:31: /usr/lib/x86_64-linux-gnu/perl/5.36/CORE/utf8.h:89: note: macro "utf8_to_utf16" defined here 89 | #define utf8_to_utf16(p, d, bytelen, newlen) \ | In file included from /<<PKGBUILDDIR>>/src/include/spdlog/fmt/fmt.h:25, from /<<PKGBUILDDIR>>/src/include/spdlog/common.h:45, from /<<PKGBUILDDIR>>/src/include/spdlog/spdlog.h:12, from /<<PKGBUILDDIR>>/src/bin/common/exif.cpp:38: /<<PKGBUILDDIR>>/src/include/spdlog/fmt/bundled/format.h:1193:20: error: declaration does not declare anything [-fpermissive] 1193 | FMT_API explicit utf8_to_utf16(string_view s); | ^~~~~~~~~~~~~ make[3]: *** [src/bin/jp2/CMakeFiles/grk_decompress.dir/build.make:247: src/bin/jp2/CMakeFiles/grk_decompress.dir/__/common/exif.cpp.o] Error 1 -- Niko Tyni [email protected]

