Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 864163

Summary: dev-cpp/libjson-rpc-cpp-1.4.0[test] fails to compile with >=catch-3.0.1: main.cpp:11:10: fatal error: catch.hpp: No such file or directory
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Michał Górny <mgorny>
Status: CONFIRMED ---    
Severity: normal CC: ionen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=864169
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 893356    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-08-07 08:24:07 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-cpp/libjson-rpc-cpp-1.4.0 fails to compile (MUSL).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-08-07 08:24:09 UTC
Created attachment 798448 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-08-07 08:24:10 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
/var/tmp/portage/dev-cpp/libjson-rpc-cpp-1.4.0/work/libjson-rpc-cpp-1.4.0/src/test/main.cpp:11:10: fatal error: catch2/catch.hpp: No such file or directory
FAILED: src/test/CMakeFiles/unit_testsuite.dir/main.cpp.o 
/var/tmp/portage/dev-cpp/libjson-rpc-cpp-1.4.0/work/libjson-rpc-cpp-1.4.0/src/test/main.cpp:11:10: fatal error: catch2/catch.hpp: No such file or directory
Comment 3 Ionen Wolkens gentoo-dev 2022-08-07 08:46:29 UTC
Seems catch v3 has a migration guide from v2 to v3 and shouldn't be expected to work as-is, e.g. one step is:

3. Change `#include <catch2/catch.hpp>` to `#include <catch2/catch_all.hpp>`