Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 864163 - 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
Summary: dev-cpp/libjson-rpc-cpp-1.4.0[test] fails to compile with >=catch-3.0.1: main...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: missing-depend
  Show dependency tree
 
Reported: 2022-08-07 08:24 UTC by Agostino Sarubbo
Modified: 2023-02-06 10:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,91.32 KB, text/plain)
2022-08-07 08:24 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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>`