Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908610 - dev-cpp/scitokens-cpp-1.0.2 - /.../jwt.h: fatal error: picojson.h: No such file or directory
Summary: dev-cpp/scitokens-cpp-1.0.2 - /.../jwt.h: fatal error: picojson.h: No such fi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Oliver Freyermuth
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-06-16 21:02 UTC by Toralf Förster
Modified: 2023-06-17 09:48 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.08 KB, text/plain)
2023-06-16 21:02 UTC, Toralf Förster
Details
dev-cpp:scitokens-cpp-1.0.2:20230616-191144.log (dev-cpp:scitokens-cpp-1.0.2:20230616-191144.log,10.17 KB, text/plain)
2023-06-16 21:02 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,55.69 KB, text/plain)
2023-06-16 21:02 UTC, Toralf Förster
Details
environment (environment,94.74 KB, text/plain)
2023-06-16 21:02 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,976 bytes, application/x-xz)
2023-06-16 21:02 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,35.06 KB, application/x-xz)
2023-06-16 21:02 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,23.39 KB, application/x-xz)
2023-06-16 21:02 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 2023-06-16 21:02:23 UTC
too long lines were shrinked:

 * Build directory  (BUILD_DIR):     "/var/tmp/portage/dev-cpp/scitokens-cpp-1.0.2/work/scitokens-cpp-1.0.2_build"
ninja -v -j5 -l0
[1/15] /usr/bin/x86_64-pc-linux-gnu-g++ -DSciTokens_EXPORTS -I/var/tmp/portage/dev-cpp/scitokens-cpp-1.0.2/work/scitokens-cpp-1.0.2/src  -O2 -pipe -march=native -fno-diagnostics-color -fPIC -fno-diagnostics-color -MD -MT CMakeFiles/SciTokens.dir/src/scitokens_internal.cpp.o -MF CMakeFiles/SciTokens.
FAILED: CMakeFiles/SciTokens.dir/src/scitokens_internal.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DSciTokens_EXPORTS -I/var/tmp/portage/dev-cpp/scitokens-cpp-1.0.2/work/scitokens-cpp-1.0.2/src  -O2 -pipe -march=native -fno-diagnostics-color -fPIC -fno-diagnostics-color -MD -MT CMakeFiles/SciTokens.dir/src/scitokens_internal.cpp.o -MF CMakeFiles/SciTokens.dir/src
In file included from /var/tmp/portage/dev-cpp/scitokens-cpp-1.0.2/work/scitokens-cpp-1.0.2/src/scitokens_internal.cpp:8:
/usr/include/jwt-cpp/jwt.h:8:10: fatal error: picojson.h: No such file or directory
    8 | #include "picojson.h"
      |          ^~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_systemd-20230616-044442

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.69.0 *
php cli (if any):
go version go1.20.5 linux/amd64

  HEAD of ::gentoo
commit 01a3e01d675510047362afbee615cfafa28bf9d2
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Jun 16 18:17:59 2023 +0000

    2023-06-16 18:17:57 UTC

emerge -qpvO dev-cpp/scitokens-cpp
[ebuild  N    ] dev-cpp/scitokens-cpp-1.0.2  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2023-06-16 21:02:24 UTC
Created attachment 863976 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-06-16 21:02:25 UTC
Created attachment 863977 [details]
dev-cpp:scitokens-cpp-1.0.2:20230616-191144.log
Comment 3 Toralf Förster gentoo-dev 2023-06-16 21:02:26 UTC
Created attachment 863978 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-06-16 21:02:27 UTC
Created attachment 863979 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-06-16 21:02:28 UTC
Created attachment 863980 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-06-16 21:02:29 UTC
Created attachment 863981 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-06-16 21:02:30 UTC
Created attachment 863982 [details]
temp.tar.xz
Comment 8 Oliver Freyermuth 2023-06-17 02:27:33 UTC
You've found the one USE-flag and installed-packages combination I did not test, many thanks for reporting! 

Effctively, dev-cpp/scitokens-cpp needs to depend on dev-cpp/jwt-cpp[picojson]. Should be fixed via:
https://github.com/gentoo/gentoo/pull/31492
Comment 9 Larry the Git Cow gentoo-dev 2023-06-17 07:04:20 UTC
The bug has been closed via the following commit(s):

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

commit c4254e17b77cfae721a93704ab83e8c0e489c9c4
Author:     Oliver Freyermuth <o.freyermuth@googlemail.com>
AuthorDate: 2023-06-17 02:22:18 +0000
Commit:     Guilherme Amadio <amadio@gentoo.org>
CommitDate: 2023-06-17 06:35:47 +0000

    dev-cpp/scitokens-cpp: depend on dev-cpp/jwt-cpp[picojson]
    
    This adds the missing explicit dependency on USE=picojson being enabled
    for dev-cpp/jwt-cpp, and also conditionalizes sys-apps/util-linux with kernel_linux.
    
    Closes: https://bugs.gentoo.org/908610
    Closes: https://github.com/gentoo/gentoo/pull/31492
    Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
    Signed-off-by: Guilherme Amadio <amadio@gentoo.org>

 dev-cpp/scitokens-cpp/scitokens-cpp-1.0.1-r1.ebuild                   | 4 ++--
 .../{scitokens-cpp-1.0.2.ebuild => scitokens-cpp-1.0.2-r1.ebuild}     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
Comment 10 Toralf Förster gentoo-dev 2023-06-17 09:48:18 UTC
(In reply to Oliver Freyermuth from comment #8)
> You've found the one USE-flag and installed-packages combination I did not
> test, many thanks for reporting! 

urw