FAILED: src/lib/CMakeFiles/librnp-obj.dir/__/librekey/key_store_g10.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -D_GNU_SOURCE -Dlibrnp_EXPORTS -I/tmp/portage/dev-util/librnp-0.17.0-r2/work/rnp-0.17.0_build/src/lib -I/tmp/portage/dev-util/librnp-0.17.0-r2/work/rnp-0.17.0/src/common -I/tmp/portage/dev-util/librnp-0.17.0-r2/work/rnp-0.17.0/include -I/tmp/portage/dev-util/librnp-0.17.0-r2/work/rnp-0.17.0/src/lib -I/tmp/portage/dev-util/librnp-0.17.0-r2/work/rnp-0.17.0/src -isystem /usr/include/json-c -isystem /usr/include/botan-2 -O3 -pipe -march=skylake -mtune=skylake -flto=16 -std=c++11 -fPIC -fvisibility=hidden -Wall -Wextra -Wunreachable-code -Wpointer-arith -Wmissing-declarations -Wno-pedantic -Wno-ignored-qualifiers -Wno-unused-parameter -Wno-missing-field-initializers -MD -MT src/lib/CMakeFiles/librnp-obj.dir/__/librekey/key_store_g10.cpp.o -MF src/lib/CMakeFiles/librnp-obj.dir/__/librekey/key_store_g10.cpp.o.d -o src/lib/CMakeFiles/librnp-obj.dir/__/librekey/key_store_g10.cpp.o -c /tmp/portage/dev-util/librnp-0.17.0-r2/work/rnp-0.17.0/src/librekey/key_store_g10.cpp In file included from /tmp/portage/dev-util/librnp-0.17.0-r2/work/rnp-0.17.0/src/librekey/key_store_g10.cpp:45: /tmp/portage/dev-util/librnp-0.17.0-r2/work/rnp-0.17.0/src/librekey/g23_sexp.hpp:30:10: fatal error: sexp/sexp.h: No such file or directory 30 | #include "sexp/sexp.h" | ^~~~~~~~~~~~~ compilation terminated.
Created attachment 890725 [details] build log
If you do a work around with a link to the include directory sexpp with a sexp to satisfy the bug the next compile attempt complains of a library -lsexp missing. Sorry, I rebuilt with a library work around so no log available.
--sync and do a world update. https://gitweb.gentoo.org/repo/gentoo.git/log/dev-libs/sexpp?showmsg=1
In this case, dev-util/librnp-0.17.0-r2 should depend on <dev-libs/sexpp-0.8.7 so Portage figures out itself that it needs to downgrade dev-libs/sexpp when installing dev-util/librnp.
(In reply to Maciej S. Szmigiero from comment #4) > In this case, dev-util/librnp-0.17.0-r2 should depend on > <dev-libs/sexpp-0.8.7 so Portage figures out itself that it needs to > downgrade dev-libs/sexpp when installing dev-util/librnp. Sounds reasonable, yeah.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89829a80ef30057203ef5956402722865257e00d commit 89829a80ef30057203ef5956402722865257e00d Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2024-04-15 05:57:38 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2024-04-15 06:03:22 +0000 dev-util/librnp: restrict sexpp dep, fix tests call Closes: https://bugs.gentoo.org/927638 Bug: https://bugs.gentoo.org/929906 Signed-off-by: Joonas Niilola <juippis@gentoo.org> .../librnp/{librnp-0.17.0-r2.ebuild => librnp-0.17.0-r3.ebuild} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)