Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 629440 - x11-misc/slop-6.3.46: multilib-strict check failed, matching a file type that is not allowed: usr/lib/libslopy.so
Summary: x11-misc/slop-6.3.46: multilib-strict check failed, matching a file type that...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-31 10:12 UTC by Mateusz Lenik
Modified: 2017-12-30 21:06 UTC (History)
6 users (show)

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


Attachments
build.log (build.log,16.20 KB, text/x-log)
2017-09-01 07:41 UTC, Mateusz Lenik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mateusz Lenik 2017-08-31 10:12:53 UTC
Build log:
>>> Emerging (1 of 1) x11-misc/slop-6.3.46::gentoo
 * slop-6.3.46.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                                                                           [ ok ]
>>> Unpacking source...
>>> Unpacking slop-6.3.46.tar.gz to /var/tmp/portage/x11-misc/slop-6.3.46/work
>>> Source unpacked in /var/tmp/portage/x11-misc/slop-6.3.46/work
>>> Preparing source in /var/tmp/portage/x11-misc/slop-6.3.46/work/slop-6.3.46 ...
>>> Source prepared.

... 8< ...

>>> Source compiled.
>>> Test phase [not enabled]: x11-misc/slop-6.3.46

>>> Install slop-6.3.46 into /var/tmp/portage/x11-misc/slop-6.3.46/image/ category x11-misc
>>> Working in BUILD_DIR: "/var/tmp/portage/x11-misc/slop-6.3.46/work/slop-6.3.46_build"
make -j42 -l42 install 
[ 87%] Built target slopy
[100%] Built target slop
Install the project...
-- Install configuration: "Gentoo"
-- Installing: /var/tmp/portage/x11-misc/slop-6.3.46/image/usr/bin/slop
-- Set runtime path of "/var/tmp/portage/x11-misc/slop-6.3.46/image//usr/bin/slop" to ""
-- Installing: /var/tmp/portage/x11-misc/slop-6.3.46/image/usr/lib/libslopy.so
-- Installing: /var/tmp/portage/x11-misc/slop-6.3.46/image/usr/include/slop.hpp
-- Installing: /var/tmp/portage/x11-misc/slop-6.3.46/image/usr/share/man/man1/slop.1.gz
>>> Completed installing slop-6.3.46 into /var/tmp/portage/x11-misc/slop-6.3.46/image/

 * Final size of build directory: 2372 KiB
 * Final size of installed tree: 568 KiB

Files matching a file type that is not allowed:
   usr/lib/libslopy.so
 * ERROR: x11-misc/slop-6.3.46::gentoo failed:
 *   multilib-strict check failed!
 * 
 * Call stack:
 *   misc-functions.sh, line 605:  Called install_qa_check
 *   misc-functions.sh, line 217:  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!"
 * 
 * If you need support, post the output of `emerge --info '=x11-misc/slop-6.3.46::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-misc/slop-6.3.46::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-misc/slop-6.3.46/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-misc/slop-6.3.46/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-misc/slop-6.3.46/image'
 * S: '/var/tmp/portage/x11-misc/slop-6.3.46/work/slop-6.3.46'
!!! post install failed; exiting.

emerge --info:
Portage 2.3.8 (python 3.4.6-final-0, default/linux/amd64/13.0, gcc-6.4.0, glibc-2.25-r4, 4.12.9-gentoo x86_64)
=================================================================
System uname: Linux-4.12.9-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2630_v4_@_2.20GHz-with-gentoo-2.4.1
KiB Mem:   131895052 total,  69669740 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 31 Aug 2017 09:00:01 +0000
Head commit of repository gentoo: 7dd80ed7b83c1b6725e86d3be5634da0fff85c29
Head commit of repository mlen: ee8c7c9748a168e658b5645061e31d6fc990a6f6

sh bash 4.4_p12
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.2::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo
dev-util/cmake:           3.9.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r1::gentoo
sys-apps/openrc:          0.29::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.28.1::gentoo
sys-devel/gcc:            6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.11::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

mlen
    location: /var/lib/mlen-overlay
    sync-type: git
    sync-uri: https://github.com/mlen/gentoo-overlay.git
    masters: gentoo

crossdev
    location: /usr/local/portage-crossdev
    masters: gentoo
    priority: 10

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=broadwell -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=broadwell -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j42 -l42"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X aac aacplus acl alsa amd64 audit berkdb bluray bzip2 caps cli consolekit cracklib crypt cryptsetup cups cxx dbus dri dri3 dvd faac flac fortran gconf gdbm geoclue geoloc geolocation gif glamor gnome-keyring gtk gtk3 gtkstyle hidpi hotwording iconv icu idn infinality introspection iproute2 ipv6 jpeg kerberos libedit libnotify llvm lvm mmx modules mp3 mpeg multilib ncurses nls nptl numa offensive ogg opengl openmp opus oss pam pch pcre pm-utils png policykit pulseaudio python qt5 readline samba sdl sdl2 seccomp session sound sse sse2 ssl startup-notification systemtap tcpd theora tiff truetype udev udisks unicode unwind vdpau vim vim-syntax virt-network vorbis vpx vulkan webp widgets x264 xattr xft xinerama zlib zsh-completion" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 i386 arm xtensa xtensaeb" QEMU_USER_TARGETS="x86_64 i386 arm" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jonas Stein gentoo-dev 2017-08-31 19:05:41 UTC
Thank you for your report, Mateusz. It is better to attach the complete build.log

https://wiki.gentoo.org/wiki/Bugzilla/Bug_report_guide#Report_a_build-time_bug_.28emerge_failed.29
Comment 2 Mateusz Lenik 2017-09-01 07:41:41 UTC
Created attachment 491312 [details]
build.log
Comment 3 Mateusz Lenik 2017-09-01 07:46:48 UTC
Build log attached, this looks like the line that needs to be patched:
https://github.com/naelstrof/slop/blob/4482565079cdf741116e99f7e8abafd0e5c8f85e/CMakeLists.txt#L122

Something like this should be implemented to detect correct library path https://cmake.org/pipermail/cmake/2013-July/055374.html
Comment 4 Nicolas Porcel 2017-09-17 23:51:04 UTC
Thank you Mateusz Lenik, I submitted a pull request upstream with the solution from your link: https://github.com/naelstrof/slop/pull/87

You can directly download the patch here : https://patch-diff.githubusercontent.com/raw/naelstrof/slop/pull/87.patch
Comment 5 Mateusz Lenik 2017-09-18 08:32:28 UTC
Technically, this patch will trigger multilib-check on 32 bit installs, LIBSUFFIX should be 32 and not blank on 32 bit gentoo (not sure how this affects other OSes) here: https://github.com/naelstrof/slop/pull/87/files#diff-af3b638bc2a3e6c650974192a53c7291R126
Comment 6 Larry the Git Cow gentoo-dev 2017-12-30 21:06:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9397829673b8d17123689e73363c492db78e5757

commit 9397829673b8d17123689e73363c492db78e5757
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2017-12-30 21:05:49 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2017-12-30 21:05:49 +0000

    x11-misc/slop: Fix multilib-strict failure
    
    Closes: https://bugs.gentoo.org/629440
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 .../slop/files/slop-6.3.46-fix-build-system.patch  | 56 ++++++++++++++++++++++
 x11-misc/slop/slop-6.3.46.ebuild                   | 10 ++--
 2 files changed, 61 insertions(+), 5 deletions(-)