Skip to content

Conversation

@kdudka
Copy link
Member

@kdudka kdudka commented Nov 10, 2025

@kdudka kdudka self-assigned this Nov 10, 2025
@kdudka kdudka force-pushed the csdiff-static branch 2 times, most recently from c6b2f95 to 244c0d8 Compare November 10, 2025 15:42
@kdudka kdudka changed the title packaging: build csdiff-static on RHEL-9 and newer packaging: build csdiff-static on RHEL-8 and newer Nov 10, 2025
@kdudka
Copy link
Member Author

kdudka commented Nov 10, 2025

The epel-8-x86_64 build fails with:

[100%] Linking CXX executable csgrep-static
cd /builddir/build/BUILD/csdiff-3.5.5.20251110.164303.gb5cd773.pr_235/x86_64-redhat-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/csgrep-static.dir/link.txt --verbose=1
/usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -static "CMakeFiles/csgrep-static.dir/csgrep.cc.o" -o csgrep-static  lib/libcs.a /usr/lib64/libboost_filesystem.a /usr/lib64/libboost_program_options.a /usr/lib64/libboost_regex.a 
lib/libcs.a(parser-gcc.cc.o):/usr/include/boost1.78/boost/filesystem/path.hpp:810: undefined reference to `boost::filesystem::path::filename_v3() const'
lib/libcs.a(parser-gcc.cc.o):/usr/include/boost1.78/boost/filesystem/path.hpp:810: undefined reference to `boost::filesystem::path::filename_v3() const'
lib/libcs.a(parser-gcc.cc.o):/usr/include/boost1.78/boost/filesystem/path.hpp:782: undefined reference to `boost::filesystem::path::compare_v3(boost::filesystem::path const&) const'
lib/libcs.a(parser-json-sarif.cc.o):/usr/include/boost1.78/boost/filesystem/path.hpp:840: undefined reference to `boost::filesystem::path::lexically_normal_v3() const'
collect2: error: ld returned 1 exit status
gmake[2]: *** [src/CMakeFiles/csgrep-static.dir/build.make:104: src/csgrep-static] Error 1
gmake[2]: Leaving directory '/builddir/build/BUILD/csdiff-3.5.5.20251110.164303.gb5cd773.pr_235/x86_64-redhat-linux-gnu'
gmake[1]: Leaving directory '/builddir/build/BUILD/csdiff-3.5.5.20251110.164303.gb5cd773.pr_235/x86_64-redhat-linux-gnu'
gmake[1]: *** [CMakeFiles/Makefile2:476: src/CMakeFiles/csgrep-static.dir/all] Error 2
gmake: *** [Makefile:149: all] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant