Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 852131 - dev-libs/cppcodec-0.2 - /.../test_cppcodec.cpp: fatal error: catch2/catch.hpp: No such file or directory
Summary: dev-libs/cppcodec-0.2 - /.../test_cppcodec.cpp: fatal error: catch2/catch.hpp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: David Seifert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-15 09:10 UTC by Toralf Förster
Modified: 2024-01-22 13:53 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.34 KB, text/plain)
2022-06-15 09:10 UTC, Toralf Förster
Details
dev-libs:cppcodec-0.2:20220615-071504.log (dev-libs:cppcodec-0.2:20220615-071504.log,10.06 KB, text/plain)
2022-06-15 09:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,63.82 KB, text/plain)
2022-06-15 09:10 UTC, Toralf Förster
Details
environment (environment,88.88 KB, text/plain)
2022-06-15 09:10 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,20.09 KB, application/x-bzip)
2022-06-15 09:10 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,3.93 KB, application/x-bzip)
2022-06-15 09:10 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.02 KB, application/x-bzip)
2022-06-15 09:10 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-06-15 09:10:21 UTC
too long lines were shrinked:

[10/22] : && /usr/bin/x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wextra -pedantic -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0    -rdynamic tool/CMakeFiles/hexenc.dir/hexenc.cpp.o -o tool/hexenc   && :
[11/22] /usr/bin/x86_64-pc-linux-gnu-g++  -I/var/tmp/portage/dev-libs/cppcodec-0.2/work/cppcodec-0.2  -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wextra -pedantic  -std=c++11 -MD -MT test/CMakeFiles/test_cppcodec.dir/test_cppcodec.cpp.o -MF test/CMakeFiles/test_cppcodec.dir/test_cppcodec.c
FAILED: test/CMakeFiles/test_cppcodec.dir/test_cppcodec.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++  -I/var/tmp/portage/dev-libs/cppcodec-0.2/work/cppcodec-0.2  -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wextra -pedantic  -std=c++11 -MD -MT test/CMakeFiles/test_cppcodec.dir/test_cppcodec.cpp.o -MF test/CMakeFiles/test_cppcodec.dir/test_cppcodec.cpp.o.d -
/var/tmp/portage/dev-libs/cppcodec-0.2/work/cppcodec-0.2/test/test_cppcodec.cpp:25:10: fatal error: catch2/catch.hpp: No such file or directory
   25 | #include <catch2/catch.hpp>
      |          ^~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-j4_test-20220614-140043

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
clang version 14.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.5
Python 3.9.13
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-1.61.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  (none found)

  HEAD of ::gentoo
commit e824381706ed666a431806e0b337e00f6c743668
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jun 15 06:03:30 2022 +0000

    2022-06-15 06:03:30 UTC

emerge -qpvO dev-libs/cppcodec
[ebuild  N    ] dev-libs/cppcodec-0.2  USE="test"
Comment 1 Toralf Förster gentoo-dev 2022-06-15 09:10:22 UTC
Created attachment 785381 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-06-15 09:10:23 UTC
Created attachment 785384 [details]
dev-libs:cppcodec-0.2:20220615-071504.log
Comment 3 Toralf Förster gentoo-dev 2022-06-15 09:10:24 UTC
Created attachment 785387 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-06-15 09:10:26 UTC
Created attachment 785390 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-06-15 09:10:27 UTC
Created attachment 785393 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-06-15 09:10:28 UTC
Created attachment 785396 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-06-15 09:10:29 UTC
Created attachment 785399 [details]
temp.tar.bz2
Comment 8 Sergey Torokhov 2023-01-19 07:29:15 UTC
I assume this issue is related that >=dev-cpp/catch-3.0 has multiple headers with  catch_all.hpp instead of catch.hpp.

Please move dev-cpp/catch-3.0 to 0/3.subslot.
Comment 9 Larry the Git Cow gentoo-dev 2024-01-22 13:53:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f7c72a134783d69d6a1caa14f981b48f3b7a256

commit 0f7c72a134783d69d6a1caa14f981b48f3b7a256
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2024-01-22 13:52:50 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2024-01-22 13:52:50 +0000

    dev-libs/cppcodec: restrict catch2 to <3.0.0
    
    Closes: https://bugs.gentoo.org/852131
    Signed-off-by: David Seifert <soap@gentoo.org>

 dev-libs/cppcodec/cppcodec-0.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)