woff2 failed to build from source in Fedora rawhide/f42 https://koji.fedoraproject.org/koji/taskinfo?taskID=128161483 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild Please fix woff2 at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, woff2 will be orphaned. Before branching of Fedora 43, woff2 will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
Created attachment 2073176 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 2073177 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 2073178 [details] state.log
In file included from /builddir/build/BUILD/woff2-1.0.2-build/woff2-1.0.2/src/woff2_out.cc:9: /builddir/build/BUILD/woff2-1.0.2-build/woff2-1.0.2/include/woff2/output.h:73:25: error: expected ‘)’ before ‘*’ token 73 | WOFF2MemoryOut(uint8_t* buf, size_t buf_size); | ~ ^ | ) /builddir/build/BUILD/woff2-1.0.2-build/woff2-1.0.2/include/woff2/output.h:79:3: error: ‘uint8_t’ does not name a type 79 | uint8_t* buf_; | ^~~~~~~ /builddir/build/BUILD/woff2-1.0.2-build/woff2-1.0.2/include/woff2/output.h:16:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ 15 | #include <string> +++ |+#include <cstdint> 16 | /builddir/build/BUILD/woff2-1.0.2-build/woff2-1.0.2/src/woff2_out.cc:48:31: error: expected constructor, destructor, or type conversion before ‘(’ token 48 | WOFF2MemoryOut::WOFF2MemoryOut(uint8_t* buf, size_t buf_size) | ^ /builddir/build/BUILD/woff2-1.0.2-build/woff2-1.0.2/src/woff2_out.cc: In member function ‘virtual bool woff2::WOFF2MemoryOut::Write(const void*, size_t, size_t)’: /builddir/build/BUILD/woff2-1.0.2-build/woff2-1.0.2/src/woff2_out.cc:61:15: error: ‘buf_’ was not declared in this scope; did you mean ‘buf’? 61 | std::memcpy(buf_ + offset, buf, n); | ^~~~ | buf gmake[2]: *** [CMakeFiles/woff2dec.dir/build.make:96: CMakeFiles/woff2dec.dir/src/woff2_out.cc.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... [ 56%] Building CXX object CMakeFiles/woff2enc.dir/src/woff2_enc.cc.o /usr/bin/g++ -DFONT_COMPRESSION_BIN -D__STDC_FORMAT_MACROS -Dwoff2enc_EXPORTS -I/builddir/build/BUILD/woff2-1.0.2-build/woff2-1.0.2/src -I/builddir/build/BUILD/woff2-1.0.2-build/woff2-1.0.2/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++11 -fPIC -no-canonical-prefixes -MD -MT CMakeFiles/woff2enc.dir/src/woff2_enc.cc.o -MF CMakeFiles/woff2enc.dir/src/woff2_enc.cc.o.d -o CMakeFiles/woff2enc.dir/src/woff2_enc.cc.o -c /builddir/build/BUILD/woff2-1.0.2-build/woff2-1.0.2/src/woff2_enc.cc gmake[2]: Leaving directory '/builddir/build/BUILD/woff2-1.0.2-build/woff2-1.0.2/redhat-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:143: CMakeFiles/woff2dec.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs.... [ 60%] Linking CXX shared library libwoff2enc.so /usr/bin/cmake -E cmake_link_script CMakeFiles/woff2enc.dir/link.txt --verbose=1 In function ‘copy’, inlined from ‘_S_copy’ at /usr/include/c++/15/bits/basic_string.h:440:21, inlined from ‘_S_copy’ at /usr/include/c++/15/bits/basic_string.h:435:7, inlined from ‘_S_copy_chars’ at /usr/include/c++/15/bits/basic_string.h:494:16, inlined from ‘_M_construct.constprop’ at /usr/include/c++/15/bits/basic_string.tcc:252:21: /usr/include/c++/15/bits/char_traits.h:429:56: warning: ‘__builtin_memcpy’ reading between 2 and 9223372036854775806 bytes from a region of size 1 [-Wstringop-overread] 429 | return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n)); | ^
FEDORA-2025-ac2989c045 (woff2-1.0.2-22.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-ac2989c045
FEDORA-2025-ac2989c045 (woff2-1.0.2-22.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.