Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 703888

Summary: net-dns/getdns-1.6.0_beta1 : * multilib-strict check failed!
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED FIXED    
Severity: normal CC: kbx, mail, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-dns:getdns-1.6.0_beta1:20191224-035201.log

Description Toralf Förster gentoo-dev 2019-12-26 21:18:51 UTC
   usr/lib/libgetdns.so.10.1.3
 * ERROR: net-dns/getdns-1.6.0_beta1::gentoo failed:
 *   multilib-strict check failed!
 * 
 * Call stack:
 *   misc-functions.sh, line 586:  Called install_qa_check

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-20191223-091554

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *


llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)

Available Rust versions:
  [1]   rust-1.40.0 *



repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 24 Dec 2019 01:06:07 +0000

emerge -qpvO net-dns/getdns
[ebuild  N    ] net-dns/getdns-1.6.0_beta1  USE="filecaps getdns-query getdns-server-mon idn unbound -doc -examples -gnutls -libev -libevent -libuv -static-libs -stubby"
Comment 1 Toralf Förster gentoo-dev 2019-12-26 21:18:54 UTC
Created attachment 600704 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-12-26 21:18:57 UTC
Created attachment 600706 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-12-26 21:19:00 UTC
Created attachment 600708 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-12-26 21:19:03 UTC
Created attachment 600710 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-12-26 21:19:05 UTC
Created attachment 600712 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-12-26 21:19:08 UTC
Created attachment 600714 [details]
net-dns:getdns-1.6.0_beta1:20191224-035201.log
Comment 7 Techwolf 2020-03-20 05:09:02 UTC
I am getting the same error.


>>> Completed installing net-dns/getdns-1.6.0_beta1-r2 into /var/tmp/portage/net-dns/getdns-1.6.0_beta1-r2/image

 * Final size of build directory: 14632 KiB (14.2 MiB)
 * Final size of installed tree:   3852 KiB ( 3.7 MiB)

 * The ebuild is installing to one or more unexpected paths:
 * 
 *   /usr/share/doc/getdns
 *   /usr/share/doc/stubby
 * 
 * Please fix the ebuild to use correct FHS/Gentoo policy paths.
Files matching a file type that is not allowed:
   usr/lib/libgetdns.so.10.1.3
 * ERROR: net-dns/getdns-1.6.0_beta1-r2::gentoo failed:
 *   multilib-strict check failed!
 * 
 * Call stack:
 *   misc-functions.sh, line 586:  Called install_qa_check
 *   misc-functions.sh, line 132:  Called source 'install_symlink_html_docs'
 *   80multilib-strict, line  46:  Called multilib_strict_check
 *   80multilib-strict, line  42:  Called die
 * The specific snippet of code:
 *              [[ ${abort} == yes ]] && die "multilib-strict check failed!"
Comment 8 Steve Arnold archtester gentoo-dev 2020-08-15 00:56:43 UTC
horribly inconsistent install path usage in those CMakeLists.txt files, but at least this makes it installable:

src_prepare() {
        sed -i -e "s|DESTINATION lib|DESTINATION $(get_libdir)|g" \
                -e "s|share/doc/getdns|share/doc/${PF}|" \
                "${S}"/CMakeLists.txt
        sed -i -e "s|share/doc/stubby|share/doc/${PF}/stubby|g" \
                "${S}"/stubby/CMakeLists.txt

        eapply_user
        cmake_src_prepare
}

I did start with a patch for that ^^ but it became too brittle...
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-07-31 01:57:34 UTC
*** Bug 717182 has been marked as a duplicate of this bug. ***
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-07-31 01:57:41 UTC
*** Bug 714824 has been marked as a duplicate of this bug. ***
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-07-31 02:06:43 UTC
I think this is resolved now in the 1.7.0 bump at least (https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45217c6fa29dd8414c2561772df7d76b6abedca8).