Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
Bug 703888 - net-dns/getdns-1.6.0_beta1 : * multilib-strict check failed!
Summary: net-dns/getdns-1.6.0_beta1 : * multilib-strict check failed!
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-26 21:18 UTC by Toralf Förster
Modified: 2020-08-21 09:02 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.93 KB, text/plain)
2019-12-26 21:18 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,39.99 KB, text/plain)
2019-12-26 21:18 UTC, Toralf Förster
Details
environment (environment,99.38 KB, text/plain)
2019-12-26 21:19 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.17 KB, application/x-bzip)
2019-12-26 21:19 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.47 KB, application/x-bzip)
2019-12-26 21:19 UTC, Toralf Förster
Details
net-dns:getdns-1.6.0_beta1:20191224-035201.log (net-dns:getdns-1.6.0_beta1:20191224-035201.log,95.39 KB, text/plain)
2019-12-26 21:19 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 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 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...