-
Notifications
You must be signed in to change notification settings - Fork 416
Closed as not planned
Labels
StalebugSomething isn't workingSomething isn't workingftbfs:gccFail to build from source with a version of GCCFail to build from source with a version of GCCftbfs:gcc-15Fail to build from source with GCC 15Fail to build from source with GCC 15
Description
The package woff2 with version 1.0.2-r4 fails to build from source with GCC 15 on amd64 with the following error:
2025/05/31 00:58:28 INFO | 1 file changed, 4 insertions(+), 6 deletions(-)
2025/05/31 00:58:28 INFO |
2025/05/31 00:58:28 INFO |diff --git a/CMakeLists.txt b/CMakeLists.txt
2025/05/31 00:58:28 INFO |index ecfbb83..29c45b9 100644
2025/05/31 00:58:28 INFO |--- a/CMakeLists.txt
2025/05/31 00:58:28 INFO |+++ b/CMakeLists.txt
2025/05/31 00:58:28 INFO --------------------------
2025/05/31 00:58:28 INFO patching file CMakeLists.txt
2025/05/31 00:58:28 INFO patch unexpectedly ends in middle of line
2025/05/31 00:58:28 INFO Hunk #1 succeeded at 260 with fuzz 1.
2025/05/31 00:58:28 INFO done
2025/05/31 00:58:28 INFO running step "patch"
2025/05/31 00:58:28 INFO Hmm... Looks like a unified diff to me...
2025/05/31 00:58:28 INFO The text leading up to this was:
2025/05/31 00:58:28 INFO --------------------------
2025/05/31 00:58:28 INFO |From: Jeremy Bicha <jeremy@bicha.net>
2025/05/31 00:58:28 INFO |Date: Thu, 7 Dec 2017 13:40:57 -0500
2025/05/31 00:58:28 INFO |Subject: [PATCH] Don't set rpath
2025/05/31 00:58:28 INFO |
2025/05/31 00:58:28 INFO |https://github.com/google/woff2/pull/106
2025/05/31 00:58:28 INFO |---
2025/05/31 00:58:28 INFO | CMakeLists.txt | 10 ----------
2025/05/31 00:58:28 INFO | 1 file changed, 10 deletions(-)
2025/05/31 00:58:28 INFO |
2025/05/31 00:58:28 INFO |diff --git a/CMakeLists.txt b/CMakeLists.txt
2025/05/31 00:58:28 INFO |index ecfbb83..da8ecf1 100644
2025/05/31 00:58:28 INFO |--- a/CMakeLists.txt
2025/05/31 00:58:28 INFO |+++ b/CMakeLists.txt
2025/05/31 00:58:28 INFO --------------------------
2025/05/31 00:58:28 INFO patching file CMakeLists.txt
2025/05/31 00:58:28 INFO patch unexpectedly ends in middle of line
2025/05/31 00:58:28 INFO Hunk #1 succeeded at 21 with fuzz 1.
2025/05/31 00:58:28 INFO done
2025/05/31 00:58:28 INFO running step "Build"
2025/05/31 00:58:28 WARN CMake Deprecation Warning at CMakeLists.txt:10 (cmake_minimum_required):
2025/05/31 00:58:28 WARN Compatibility with CMake < 3.10 will be removed from a future version of
2025/05/31 00:58:28 WARN CMake.
2025/05/31 00:58:28 WARN
2025/05/31 00:58:28 WARN Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
2025/05/31 00:58:28 WARN to tell CMake that the project requires at least <min> but has been updated
2025/05/31 00:58:28 WARN to work with policies introduced by <max> or earlier.
2025/05/31 00:58:28 WARN
2025/05/31 00:58:28 WARN
2025/05/31 00:58:28 INFO -- The C compiler identification is GNU 15.1.0
2025/05/31 00:58:28 INFO -- The CXX compiler identification is GNU 15.1.0
2025/05/31 00:58:28 INFO -- Detecting C compiler ABI info
2025/05/31 00:58:29 INFO -- Detecting C compiler ABI info - done
2025/05/31 00:58:29 INFO -- Check for working C compiler: /usr/local/bin/cc - skipped
2025/05/31 00:58:29 INFO -- Detecting C compile features
2025/05/31 00:58:29 INFO -- Detecting C compile features - done
2025/05/31 00:58:29 INFO -- Detecting CXX compiler ABI info
2025/05/31 00:58:29 INFO -- Detecting CXX compiler ABI info - done
2025/05/31 00:58:29 INFO -- Check for working CXX compiler: /usr/local/bin/c++ - skipped
2025/05/31 00:58:29 INFO -- Detecting CXX compile features
2025/05/31 00:58:29 INFO -- Detecting CXX compile features - done
2025/05/31 00:58:29 INFO -- Found PkgConfig: /usr/bin/pkg-config (found version "2.4.3")
2025/05/31 00:58:29 INFO -- Checking for module 'libbrotlidec'
2025/05/31 00:58:29 INFO -- Found libbrotlidec, version 1.1.0
2025/05/31 00:58:29 INFO -- Found BrotliDec: /usr/include (found version "1.1.0")
2025/05/31 00:58:29 INFO -- Checking for module 'libbrotlienc'
2025/05/31 00:58:29 INFO -- Found libbrotlienc, version 1.1.0
2025/05/31 00:58:29 INFO -- Found BrotliEnc: /usr/include (found version "1.1.0")
2025/05/31 00:58:29 INFO -- Configuring done (0.6s)
2025/05/31 00:58:29 INFO -- Generating done (0.0s)
2025/05/31 00:58:29 INFO -- Build files have been written to: /home/build/out
2025/05/31 00:58:29 INFO [ 4%] Building CXX object CMakeFiles/woff2common.dir/src/table_tags.cc.o
2025/05/31 00:58:29 INFO [ 8%] Building CXX object CMakeFiles/woff2common.dir/src/variable_length.cc.o
2025/05/31 00:58:29 INFO [ 13%] Building CXX object CMakeFiles/woff2common.dir/src/woff2_common.cc.o
2025/05/31 00:58:29 INFO [ 17%] Linking CXX shared library libwoff2common.so
2025/05/31 00:58:30 INFO [ 17%] Built target woff2common
2025/05/31 00:58:30 INFO [ 21%] Building CXX object CMakeFiles/woff2dec.dir/src/woff2_dec.cc.o
2025/05/31 00:58:33 INFO [ 26%] Building CXX object CMakeFiles/woff2dec.dir/src/woff2_out.cc.o
2025/05/31 00:58:33 WARN In file included from /home/build/src/woff2_out.cc:9:
2025/05/31 00:58:33 WARN /home/build/include/woff2/output.h:73:25: error: expected ')' before '*' token
2025/05/31 00:58:33 WARN 73 | WOFF2MemoryOut(uint8_t* buf, size_t buf_size);
2025/05/31 00:58:33 WARN | ~ ^
2025/05/31 00:58:33 WARN | )
2025/05/31 00:58:33 WARN /home/build/include/woff2/output.h:79:3: error: 'uint8_t' does not name a type
2025/05/31 00:58:33 WARN 79 | uint8_t* buf_;
2025/05/31 00:58:33 WARN | ^~~~~~~
2025/05/31 00:58:33 WARN /home/build/include/woff2/output.h:16:1: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
2025/05/31 00:58:33 WARN 15 | #include <string>
2025/05/31 00:58:33 WARN +++ |+#include <cstdint>
2025/05/31 00:58:33 WARN 16 |
2025/05/31 00:58:33 WARN /home/build/src/woff2_out.cc:48:31: error: expected constructor, destructor, or type conversion before '(' token
2025/05/31 00:58:33 WARN 48 | WOFF2MemoryOut::WOFF2MemoryOut(uint8_t* buf, size_t buf_size)
2025/05/31 00:58:33 WARN | ^
2025/05/31 00:58:33 WARN /home/build/src/woff2_out.cc: In member function 'virtual bool woff2::WOFF2MemoryOut::Write(const void*, size_t, size_t)':
2025/05/31 00:58:33 WARN /home/build/src/woff2_out.cc:61:15: error: 'buf_' was not declared in this scope; did you mean 'buf'?
2025/05/31 00:58:33 WARN 61 | std::memcpy(buf_ + offset, buf, n);
2025/05/31 00:58:33 WARN | ^~~~
2025/05/31 00:58:33 WARN | buf
2025/05/31 00:58:33 WARN make[2]: *** [CMakeFiles/woff2dec.dir/build.make:93: CMakeFiles/woff2dec.dir/src/woff2_out.cc.o] Error 1
2025/05/31 00:58:33 WARN make[1]: *** [CMakeFiles/Makefile2:140: CMakeFiles/woff2dec.dir/all] Error 2
2025/05/31 00:58:33 WARN make: *** [Makefile:136: all] Error 2
2025/05/31 00:58:34 ERRO failed to build package: unable to run package woff2 pipeline: unable to run pipeline: exit status 2
make[1]: *** [Makefile:157: packages/x86_64/woff2-1.0.2-r4.apk] Error 1
make[1]: Leaving directory '/home/sergio_durigan_chainguard_dev/os'
make: *** [Makefile:151: package/woff2] Error 2
Metadata
Metadata
Assignees
Labels
StalebugSomething isn't workingSomething isn't workingftbfs:gccFail to build from source with a version of GCCFail to build from source with a version of GCCftbfs:gcc-15Fail to build from source with GCC 15Fail to build from source with GCC 15