Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 626912 - sys-fs/multipath-tools-0.7.1 : dependency to json
Summary: sys-fs/multipath-tools-0.7.1 : dependency to json
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-02 20:23 UTC by Snail
Modified: 2017-08-08 07:22 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Snail 2017-08-02 20:23:40 UTC
The installation of sys-fs/multipath-tools-0.7.1 fails with this message :
cat libdmmp/libdmmp.h | \
    perl docs/doc-preclean.pl > /var/tmp/portage/sys-fs/multipath-tools-0.7.1/temp/tmp.QiTaLUj2BX
perl docs/kernel-doc -man /var/tmp/portage/sys-fs/multipath-tools-0.7.1/temp/tmp.QiTaLUj2BX | \
    perl docs/split-man.pl docs/man
libdmmp_pg.c:26:18: fatal error : json.h : no such file or directory
 #include <json.h>
                   ^
Installing dev-libs/json-c prior to multipath-tools solves the issue, so I think that this package may need a dependency to json-c.

In this case, the ebuild could be modified to read :
RDEPEND=">=sys-fs/lvm2-2.02.45
    >=virtual/udev-171
    dev-libs/libaio
    dev-libs/userspace-rcu
    sys-libs/readline:0=
+   dev-libs/json-c
    rbd? ( sys-cluster/ceph )
    systemd? ( sys-apps/systemd )"
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-08-08 07:22:20 UTC
commit 9d6469c1d6f9cf3556f8c4c2480397a2ca53ed88 (HEAD -> master, origin/master, origin/HEAD)
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Tue Aug 8 09:21:46 2017

    sys-fs/multipath-tools: Added dev-libs/json-c to RDEPEND (bug #626912).
    
    Package-Manager: Portage-2.3.6, Repoman-2.3.3