Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929906 - dev-util/librnp: fails to compile #include "sexp/sexp.h" no such file or directory
Summary: dev-util/librnp: fails to compile #include "sexp/sexp.h" no such file or dire...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-13 12:30 UTC by Nowa Ammerlaan
Modified: 2024-04-15 06:03 UTC (History)
2 users (show)

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


Attachments
build log (build.log,32.91 KB, text/plain)
2024-04-13 12:31 UTC, Nowa Ammerlaan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nowa Ammerlaan gentoo-dev 2024-04-13 12:30:36 UTC
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.
Comment 1 Nowa Ammerlaan gentoo-dev 2024-04-13 12:31:10 UTC
Created attachment 890725 [details]
build log
Comment 2 Kenneth Miller 2024-04-13 23:00:14 UTC
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.
Comment 3 Joonas Niilola gentoo-dev 2024-04-14 03:56:08 UTC
--sync and do a world update.

https://gitweb.gentoo.org/repo/gentoo.git/log/dev-libs/sexpp?showmsg=1
Comment 4 Maciej S. Szmigiero 2024-04-14 09:25:51 UTC
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.
Comment 5 Joonas Niilola gentoo-dev 2024-04-14 12:31:19 UTC
(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.
Comment 6 Larry the Git Cow gentoo-dev 2024-04-15 06:03:27 UTC
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(-)