Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] nvidia-drivers and multilib-strict check failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jagdpanther
l33t
l33t


Joined: 22 Nov 2003
Posts: 729

PostPosted: Tue Jun 05, 2018 3:14 pm    Post subject: [solved] nvidia-drivers and multilib-strict check failed Reply with quote

I was going to update my kernel (gentoo-sources-4.16.13 -> 4.16.14) and the kernel compile worked. Then before I re-boot into the new kernel I tried to re-emerge nvidia-drivers-396.24 for the new kernel. The emerge failed with:
Code:
 * ERROR: x11-drivers/nvidia-drivers-396.24::gentoo failed:
 *   multilib-strict check failed


(this is all done under gentoo-sources-4.16.13, I just changed the /usr/src/linux symbolic link to point to linux-4.16.14-gentoo)
I reverted back to gentoo-sources-4.16.13 (changed back the same symbolic link) and tried to re-emerge nvidia-drivers-396.24 just to see if it would work: No, it failed also with the same error. But this worked on 31 May 2018 when I upgraded to gentoo-sources-4.16.13.

I wonder if the error has something to do with the new binutils-2.30-r2 or new glibc-2.26-r7 that emerged onto my system yesterday? After yesterday's 'emerge --depclean' the old binutils-2.29.1-r1 was removed.

Any ideas on how to fix this? (I did see a post on how to bypass the multilib-strict check but I don't know the implications of doing that.)

Details on the failed emerge:

End of emerge output:
Code:
mkdir -p /dev/shm/portage/x11-drivers/nvidia-drivers-396.24/image//usr/lib64
install -m 644 _out/Linux_x86_64/libnvidia-gtk2.so \
    /dev/shm/portage/x11-drivers/nvidia-drivers-396.24/image//usr/lib64/libnvidia-gtk2.so.396.24
install -m 644 _out/Linux_x86_64/libnvidia-gtk3.so \
    /dev/shm/portage/x11-drivers/nvidia-drivers-396.24/image//usr/lib64/libnvidia-gtk3.so.396.24
mkdir -p /dev/shm/portage/x11-drivers/nvidia-drivers-396.24/image//usr/bin
install -m 755 _out/Linux_x86_64/nvidia-settings /dev/shm/portage/x11-drivers/nvidia-drivers-396.24/image//usr/bin/nvidia-settings
make: Leaving directory '/dev/shm/portage/x11-drivers/nvidia-drivers-396.24/work/nvidia-settings-396.24/src'
>>> Completed installing nvidia-drivers-396.24 into /dev/shm/portage/x11-drivers/nvidia-drivers-396.24/image/

 * Final size of build directory: 473252 KiB (462.1 MiB)
 * Final size of installed tree:  391060 KiB (381.8 MiB)

making executable: /usr/lib64/libnvidia-gtk2.so.396.24
making executable: /usr/lib64/libnvidia-gtk3.so.396.24
Files matching a file type that is not allowed:
   usr/lib32/libnvidia-tls.so.396.24
   usr/lib32/libnvidia-ml.so.396.24
   usr/lib32/libvdpau_nvidia.so.396.24
   usr/lib32/libnvidia-ptxjitcompiler.so.396.24
   usr/lib32/libnvidia-opencl.so.396.24
   usr/lib32/libnvidia-ifr.so.396.24
   usr/lib32/libnvidia-glvkspirv.so.396.24
   usr/lib32/libnvidia-glsi.so.396.24
   usr/lib32/libnvidia-glcore.so.396.24
   usr/lib32/libnvidia-fbc.so.396.24
   usr/lib32/libnvidia-fatbinaryloader.so.396.24
   usr/lib32/libnvidia-encode.so.396.24
   usr/lib32/libnvidia-eglcore.so.396.24
   usr/lib32/libnvidia-compiler.so.396.24
   usr/lib32/libnvcuvid.so.396.24
   usr/lib32/libcuda.so.396.24
 * ERROR: x11-drivers/nvidia-drivers-396.24::gentoo failed:
 *   multilib-strict check failed!
 *
 * Call stack:
 *   misc-functions.sh, line 601:  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!"



emerge --info

Code:
 emerge --info '=x11-drivers/nvidia-drivers-396.24::gentoo'
Portage 2.3.40 (python 3.6.5-final-0, default/linux/amd64/17.0, gcc-6.4.0, glibc-2.26-r7, 4.16.13-gentoo-01 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.16.13-gentoo-01-x86_64-Intel-R-_Xeon-R-_Gold_6136_CPU_@_3.00GHz-with-gentoo-2.4.1
KiB Mem:    65743812 total,  53825104 free
KiB Swap:   32767992 total,  32767992 free
Timestamp of repository gentoo: Tue, 05 Jun 2018 13:45:01 +0000
Head commit of repository gentoo: a14207675882b0cf66dae298dd0b1aa13606c6a6
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p2) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r2::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.us.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24

vmware
    location: /var/lib/layman/vmware
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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"
CXXFLAGS="-march=native -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks 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://mirrors.rit.edu/gentoo/ http://gentoo.mirrors.pair.com/ ftp://mirrors.tera-byte.com/pub/gentoo ftp://cosmos.illinois.edu/pub/gentoo/ ftp://mirrors.rit.edu/gentoo/"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j24"
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="/tmp"
USE="X Xaw3d a52 aac acl acpi alsa amd64 apache2 audiofile bash-completion bcmath berkdb bzip2 cairo caps cdparanoia cdr clamav cli cracklib crypt ctype cups cxx dbus dga directfb dri dts dv dvd dvdr encode esd ffmpeg fftw flac foomaticdb fortran gcj gd gdbm gif glut gnutls gphoto2 gpm gtk iconv imagemagick imap imlib ipv6 jpeg libtirpc lm_sensors lzma lzo mad mikmod mjpeg mmx mng modules mp3 mpeg mplayer multilib musepack mysql mysqli nas ncurses nls nptl nvidia offensive ogg openal openexr opengl openmp orc pam pcre pdf perl plasma plotutils png policykit portaudio posix ppds python qt3support qt5 quicktime readline sasl sdl seccomp semantic-desktop slp sndfile sockets sox speex spell sse sse2 sse4_1 sse4_2 ssl ssse3 svg syslog tcpd theora threads tiff truetype unicode usb vhosts vorbis win32codecs wmf x264 xattr xml xmp xpm xulrunner xvid xvmc zlib" 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="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau" 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, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

x11-drivers/nvidia-drivers-396.24::gentoo was built with the following:
USE="X acpi driver gtk3 kms multilib tools uvm -compat -pax_kernel -static-libs -wayland" ABI_X86="32 (64) (-x32)"


Code:
 # emerge -pqv '=x11-drivers/nvidia-drivers-396.24::gentoo'
[ebuild   R   ] x11-drivers/nvidia-drivers-396.24  USE="X acpi driver gtk3 kms multilib tools uvm -compat -pax_kernel -static-libs -wayland" ABI_X86="32 (64) (-x32)"


Last edited by jagdpanther on Thu Jun 07, 2018 6:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
lovelytux
Tux's lil' helper
Tux's lil' helper


Joined: 23 Aug 2013
Posts: 108

PostPosted: Tue Jun 05, 2018 4:33 pm    Post subject: Reply with quote

Hey,
the same problem here with kernel 4.9.95.
Back to top
View user's profile Send private message
BANANMANX47
n00b
n00b


Joined: 01 May 2018
Posts: 7

PostPosted: Tue Jun 05, 2018 5:30 pm    Post subject: Reply with quote

Me too on kernel 4.9.95 and nvidia-drivers-396.24 like OP
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30885
Location: here

PostPosted: Tue Jun 05, 2018 5:34 pm    Post subject: Reply with quote

Someone as opened a new bug report?

EDIT: Done https://bugs.gentoo.org/657416
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
jagdpanther
l33t
l33t


Joined: 22 Nov 2003
Posts: 729

PostPosted: Thu Jun 07, 2018 6:56 pm    Post subject: Reply with quote

Bug:
Quote:
EDIT: Done https://bugs.gentoo.org/657416
is now marked as resolved.

nvidia-drivers-396.24-r1 fixes this issue.
Back to top
View user's profile Send private message
MadNoah
n00b
n00b


Joined: 16 May 2018
Posts: 24

PostPosted: Sat Jun 23, 2018 11:31 pm    Post subject: Reply with quote

I have encountert the same problem recently.
im running a AMD64 system (Optimus Laptop) and after upgrading the kernel from 4.16.5 to
Code:
 homunculus tinkerbell # uname -a
Linux homunculus 4.16.12-gentoo #1 SMP Wed Jun 20 21:42:48 CEST 2018 x86_64 Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz GenuineIntel GNU/Linux

and updating the nvidia driver from 390.48 to 396.24-r1 booting fails with
Code:
 BUG: unable to handle kernel request at 00007f545f35e64

when loading the nvidia driver.

Reverting the nvidia update to 390.48 brings up the same error as reported by you guys.
I dont want to revert the Kernel upgrade it self, if there any other option, as it decreased the boot time by c.a. 3s.
Any Ideas?
Back to top
View user's profile Send private message
jagdpanther
l33t
l33t


Joined: 22 Nov 2003
Posts: 729

PostPosted: Sun Jun 24, 2018 3:29 am    Post subject: Reply with quote

MadNoah:

The following kernel and nvidia-driver are working for me without issue:
Kernel: 4.17.2-gentoo from sys-kernel/gentoo-sources-4.17.2
Nvidia: nvidia-drivers-396.24-r1

compiled with gcc-7.3.0-r3

I have not seen the "unable to handle kernel request at ..." error.
Back to top
View user's profile Send private message
MadNoah
n00b
n00b


Joined: 16 May 2018
Posts: 24

PostPosted: Sun Jun 24, 2018 7:02 pm    Post subject: Reply with quote

this might be a simple minded question but how can i install sys-kernel/gentoo-sources-4.17.2 when it is still in testing?
Setting ACCEPT_KEYWORDS="~amd64" in make.conf seems to be not enough.
Back to top
View user's profile Send private message
russK
l33t
l33t


Joined: 27 Jun 2006
Posts: 665

PostPosted: Sun Jun 24, 2018 7:20 pm    Post subject: Reply with quote

MadNoah wrote:
this might be a simple minded question but how can i install sys-kernel/gentoo-sources-4.17.2 when it is still in testing?
Setting ACCEPT_KEYWORDS="~amd64" in make.conf seems to be not enough.


I normally emerge the slot, if I am going outside of stable:
Code:
# emerge --ask =sys-kernel/gentoo-sources:4.17.2

Note I would do a 'dispatch-conf' step here as well to accept the keyword change.

I use eselect to set my symlink:
Code:
# eselect kernel list
Available kernel symlink targets:
  [1]   linux-4.9.95-gentoo *
  [2]   linux-4.17.2-gentoo
#
# eselect kernel set 2


Often I will make sure my stable kernel is in the world file by slot, I don't like it to be depcleaned (even though depclean will not remove the tree):
Code:
# emerge --noreplace sys-kernel/gentoo-sources:4.9.95

Check out the wiki page: https://wiki.gentoo.org/wiki/Kernel/Configuration

HTH
Back to top
View user's profile Send private message
MadNoah
n00b
n00b


Joined: 16 May 2018
Posts: 24

PostPosted: Tue Jun 26, 2018 1:59 am    Post subject: Reply with quote

thanks the 4.12 kernel works with the 396.24-r1 nvidia-drivers.
The system is now booting without any errors.
The optimus System is still showing a non backlight black screen because there is a problem with running the xrander command but that should be eassy to fix.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum