Bug 2341551 - woff2: FTBFS in Fedora rawhide/f42
Summary: woff2: FTBFS in Fedora rawhide/f42
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: woff2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: -RETIRED-
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F42FTBFS
TreeView+ depends on / blocked
 
Reported: 2025-01-22 22:21 UTC by Fedora Release Engineering
Modified: 2025-01-29 12:50 UTC (History)
2 users (show)

Fixed In Version: woff2-1.0.2-22.fc42
Clone Of:
Environment:
Last Closed: 2025-01-29 12:50:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2025-01-22 22:21 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2025-01-22 22:21 UTC, Fedora Release Engineering
no flags Details
state.log (1.62 KB, text/plain)
2025-01-22 22:21 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2025-01-22 22:21:14 UTC
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/

Comment 1 Fedora Release Engineering 2025-01-22 22:21:16 UTC
Created attachment 2073176 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2025-01-22 22:21:18 UTC
Created attachment 2073177 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2025-01-22 22:21:20 UTC
Created attachment 2073178 [details]
state.log

Comment 4 Tomas Popela 2025-01-23 10:51:29 UTC
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));
      |                                                        ^

Comment 5 Fedora Update System 2025-01-29 11:19:06 UTC
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

Comment 6 Fedora Update System 2025-01-29 12:50:21 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.