Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 918408 - app-misc/ddcutil-2.0.0 - configure: error: Package requirements (jansson >= 2.0) were not met:
Summary: app-misc/ddcutil-2.0.0 - configure: error: Package requirements (jansson >= 2...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-24 16:51 UTC by Toralf Förster
Modified: 2023-11-27 20:09 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.25 KB, text/plain)
2023-11-24 16:51 UTC, Toralf Förster
Details
app-misc:ddcutil-2.0.0:20231124-163947.log (app-misc:ddcutil-2.0.0:20231124-163947.log,11.13 KB, text/plain)
2023-11-24 16:51 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,19.99 KB, text/plain)
2023-11-24 16:51 UTC, Toralf Förster
Details
environment (environment,96.01 KB, text/plain)
2023-11-24 16:51 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-11-24 16:51 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,16.89 KB, application/x-xz)
2023-11-24 16:51 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,9.49 KB, application/x-xz)
2023-11-24 16:51 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,67.37 KB, text/plain)
2023-11-24 16:51 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,26.70 KB, application/x-xz)
2023-11-24 16:51 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-11-24 16:51:01 UTC
checking for unistd.h... (cached) yes
checking for wchar.h... yes
checking for dlfcn.h... (cached) yes
checking for execinfo.h... yes
checking for glib-2.0 >= 2.40... yes
checking for jansson >= 2.0... no
configure: error: Package requirements (jansson >= 2.0) were not met:

Package 'jansson', required by 'virtual:world', not found

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd_merged_usr-20231124-021021

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.5
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm

php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 9a7c70cb593c04519f214fcf1b4f62bba1bcfdbf
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 24 16:02:05 2023 +0000

    2023-11-24 16:02:05 UTC

emerge -qpvO app-misc/ddcutil
[ebuild  N    ] app-misc/ddcutil-2.0.0  USE="X -drm -usb-monitor -user-permissions" VIDEO_CARDS="-nvidia"
Comment 1 Toralf Förster gentoo-dev 2023-11-24 16:51:03 UTC
Created attachment 875532 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-11-24 16:51:04 UTC
Created attachment 875533 [details]
app-misc:ddcutil-2.0.0:20231124-163947.log
Comment 3 Toralf Förster gentoo-dev 2023-11-24 16:51:05 UTC
Created attachment 875534 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-11-24 16:51:07 UTC
Created attachment 875535 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-11-24 16:51:07 UTC
Created attachment 875536 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-11-24 16:51:08 UTC
Created attachment 875537 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-11-24 16:51:09 UTC
Created attachment 875538 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-11-24 16:51:11 UTC
Created attachment 875539 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2023-11-24 16:51:12 UTC
Created attachment 875540 [details]
temp.tar.xz
Comment 10 Gary E. Miller 2023-11-24 19:48:29 UTC
#MeToo
Comment 11 Alexander Bezrukov 2023-11-25 17:08:29 UTC
Adding dependency on dev-libs/jansson helps to pass the configure phase but compilation further fails with:

cmd_parser_goption.c: In function 'parse_command':
cmd_parser_goption.c:1516:8: error: 'ignored_vid_pid' undeclared (first use in this function)
 1516 |    if (ignored_vid_pid) {
      |        ^~~~~~~~~~~~~~~
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-27 01:07:48 UTC
(In reply to Alexander Bezrukov from comment #11)
> Adding dependency on dev-libs/jansson helps to pass the configure phase but
> compilation further fails with:
> 
> cmd_parser_goption.c: In function 'parse_command':
> cmd_parser_goption.c:1516:8: error: 'ignored_vid_pid' undeclared (first use
> in this function)
>  1516 |    if (ignored_vid_pid) {
>       |        ^~~~~~~~~~~~~~~

That's bug 918124.
Comment 13 Larry the Git Cow gentoo-dev 2023-11-27 20:09:15 UTC
The bug has been closed via the following commit(s):

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

commit 79d92dece993d8d1d1a9d45a8f4f84c5d895009a
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2023-11-27 20:07:45 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2023-11-27 20:07:45 +0000

    app-misc/ddcutil: fix build USE=-usb-monitor, add missing dep
    
    Closes: https://bugs.gentoo.org/918124
    Closes: https://bugs.gentoo.org/918408
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 ...dcutil-2.0.0.ebuild => ddcutil-2.0.0-r1.ebuild} |  2 ++
 ...2.0.0-fix-build-with-usb-monitor-disabled.patch | 22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+)