Summary: | media-libs/libheif-1.15.2[test]: catch.hpp: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marco Sirabella <marco> |
Component: | Current packages | Assignee: | Jakov Smolić <jsmolic> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo-bugzilla.qfefds, marco |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info '=media-libs/libheif-1.15.2::gentoo [PATCH] media-libs/libheif: Restrict test dep to catch-2* bs/libheif: Restrict test dep to catch-2 [PATCH] media-libs/libheif: Restrict test dep to catch-2* Restrict test dep to catch-2* |
Created attachment 886712 [details]
emerge --info '=media-libs/libheif-1.15.2::gentoo
$ ls -lha /var/tmp/portage/media-libs/libheif-1.15.2/work/libheif-1.15.2/tests/ total 64K drwxr-xr-x 2 msirabella users 4.0K Mar 4 18:59 . drwxr-xr-x 15 msirabella users 4.0K Mar 4 18:59 .. -rw-r--r-- 1 msirabella users 1.2K Nov 15 2022 Makefile.am -rw-r--r-- 1 msirabella users 30K Mar 4 18:59 Makefile.in lrwxrwxrwx 1 msirabella users 29 Mar 4 18:58 catch.hpp -> /usr/include/catch2/catch.hpp -rw-r--r-- 1 msirabella users 5.3K Aug 31 2022 conversion.cc -rw-r--r-- 1 msirabella users 2.9K Aug 31 2022 encode.cc -rw-r--r-- 1 msirabella users 1.2K Aug 31 2022 main.cc -rw-r--r-- 1 msirabella users 2.7K Aug 31 2022 test-race.go $ ls /usr/include/catch2/ benchmark catch_config.hpp catch_tag_alias.hpp catch_test_spec.hpp catch_user_config.hpp internal catch_all.hpp catch_get_random_seed.hpp catch_tag_alias_autoregistrar.hpp catch_timer.hpp catch_version.hpp matchers catch_approx.hpp catch_message.hpp catch_template_test_macros.hpp catch_tostring.hpp catch_version_macros.hpp reporters catch_assertion_info.hpp catch_section_info.hpp catch_test_case_info.hpp catch_totals.hpp generators catch_assertion_result.hpp catch_session.hpp catch_test_macros.hpp catch_translate_exception.hpp interfaces Okay installing =dev-cpp/catch-2.13.8 manually seems to have done it, I'm not sure why this wasn't getting pulled in automatically with the libheif reinstall but it is now so!: $ equery y catch Keywords for dev-cpp/catch: | | u | | a a p s l r a | n | | m r h p p i o i s l m m | e u s | r | d a m p p c a x a o s 3 p 6 i | a s l | e | 6 r 6 p p 6 r 8 6 n c 9 h 8 p | p e o | p | 4 m 4 a c 4 c 6 4 g v 0 a k s | i d t | o -------------+-------------------------------+-------+------- [I]1.12.2-r2 | + ~ ~ ~ ~ ~ ~ + o o ~ o o o o | 8 o 1 | gentoo 1.9999 | o o o o o o o o o o o o o o o | 8 o | gentoo -------------+-------------------------------+-------+------- 2.13.8 | + + + ~ + + + + ~ ~ ~ ~ ~ o o | 8 # 0 | gentoo 3.4.0 | + + + + + + + + ~ ~ ~ ~ ~ o o | 8 o | gentoo [I]3.5.2 | + + + ~ + + + + ~ ~ ~ ~ ~ o o | 8 o | gentoo 9999 | o o o o o o o o o o o o o o o | 8 o | gentoo Wait no it's because the =dev-cpp/catch-1.12.2-r2 is satisfying libheif's <dev-cpp/catch-3 This needs to be =dev-cpp/catch-2* probably Created attachment 886713 [details, diff]
[PATCH] media-libs/libheif: Restrict test dep to catch-2*
Created attachment 886714 [details, diff]
bs/libheif: Restrict test dep to catch-2
Created attachment 886715 [details, diff]
[PATCH] media-libs/libheif: Restrict test dep to catch-2*
Created attachment 886716 [details, diff]
Restrict test dep to catch-2*
Okay yeah I couldn't get the double dependency restriction working, this one does work I just don't see the =* version specifier used in the tree too often.
I have the same bug and it was also resolved by installing dev-cpp/catch-2.13.8 instead of dev-cpp/catch-3.5.2 If needed I'll add my logs The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b02eb7441500fa4390d77353ddddb092b13fee0 commit 3b02eb7441500fa4390d77353ddddb092b13fee0 Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2024-06-18 18:22:00 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2024-06-18 18:54:54 +0000 media-libs/libheif: Explicitly require catch version 2 Closes: https://bugs.gentoo.org/926176 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> media-libs/libheif/{libheif-1.15.2.ebuild => libheif-1.15.2-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) |
Created attachment 886711 [details] build.log Making all in tests make[2]: Entering directory '/var/tmp/portage/media-libs/libheif-1.15.2/work/libheif-1.15.2-abi_x86_64.amd64/tests' x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/libheif-1.15.2/work/libheif-1.15.2/tests -I.. -I/var/tmp/portage/media-libs/libheif-1.15.2/work/libheif-1.15.2 -I../. -O2 -mtune=native -march=native -pipe -Wall -Wsign-compare -Wconversion -Wno-sign-conversion -Wno-error=conversion -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=tautological-compare -c -o heif_unit_tests-main.o `test -f 'main.cc' || echo '/var/tmp/portage/media-libs/libheif-1.15.2/work/libheif-1.15.2/tests/'`main.cc main.cc:28:10: fatal error: catch.hpp: No such file or directory 28 | #include "catch.hpp" | ^~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:502: heif_unit_tests-main.o] Error 1