Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 594250 - =sys-boot/os-prober-1.65 fails multilib-strict
Summary: =sys-boot/os-prober-1.65 fails multilib-strict
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ai Locke Shinseiko (Wizzleby)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-18 17:15 UTC by Rick Farina (Zero_Chaos)
Modified: 2017-01-05 18:30 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 Rick Farina (Zero_Chaos) gentoo-dev 2016-09-18 17:15:42 UTC
* Package:    sys-boot/os-prober-1.65
 * Repository: gentoo
 * Maintainer: wizzleby@gmail.com proxy-maint@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   sandbox splitdebug userpriv usersandbox
x86_64-pc-linux-gnu-gcc -Os -mtune=nocona -pipe -ggdb -frecord-gcc-switches  -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu  newns.c   -o newns
 * Final size of build directory: 224 KiB
 * Final size of installed tree: 164 KiB
Files matching a file type that is not allowed:
   usr/lib/os-prober/newns
 * ERROR: sys-boot/os-prober-1.65::gentoo failed:
 *   multilib-strict check failed!
 * 
 * Call stack:
 *   misc-functions.sh, line 603:  Called install_qa_check
 *   misc-functions.sh, line 217:  Called source 'install_symlink_html_docs'
 *   80multilib-strict, line  47:  Called multilib_strict_check
 *   80multilib-strict, line  43:  Called die
 * The specific snippet of code:
 *              [[ ${abort} == yes ]] && die "multilib-strict check failed!"


I'm assuming that either it doesn't like a binary being installed in lib, or it thinks it should be in /usr/lib64

Either way, please test with FEATURES=multilib-strict on, I build over 1000 packages and none of them fail with it except this one.
Comment 1 Mike Gilbert gentoo-dev 2016-09-18 18:47:49 UTC
This will only trigger if you are building with PIE enabled (-pie passed to the linker). Please make sure to include emerge --info in future bug reports.

This invalid warning can be silenced in two ways:

1. Set QA_MULTILIB_PATHS="usr/lib/os-prober/.*" in the ebuild.

2. Add the path to MULTILIB_STRICT_EXEMPT in profiles/features/multilib/make.defaults.
Comment 2 Michael Palimaka (kensington) gentoo-dev 2017-01-05 17:00:29 UTC
Since this now affects stable, I've taken the liberty of silencing the warning as described in comment #1.

Leaving the bug open for now as I'm not familiar enough with this package to know whether this is the "correct" solution or not.
Comment 3 Mike Gilbert gentoo-dev 2017-01-05 18:30:19 UTC
Looks good to me.