Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 657416 - x11-drivers/nvidia-drivers-396.24 - Files matching a file type that is not allowed: usr/lib32/*
Summary: x11-drivers/nvidia-drivers-396.24 - Files matching a file type that is not al...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 6 votes (vote)
Assignee: Jeroen Roovers (RETIRED)
URL: https://forums.gentoo.org/viewtopic-t...
Whiteboard:
Keywords: PATCH
: 657508 657518 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-06-05 18:05 UTC by Marco Genasci
Modified: 2018-06-07 14:08 UTC (History)
18 users (show)

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


Attachments
build.log (build.log,660.37 KB, text/plain)
2018-06-05 18:05 UTC, Marco Genasci
Details
environment (environment,196.73 KB, text/plain)
2018-06-05 18:06 UTC, Marco Genasci
Details
emerge-info.txt (emerge-info.txt,18.35 KB, text/plain)
2018-06-05 18:06 UTC, Marco Genasci
Details
ebuild patch (0001-x11-drivers-nvidia-drivers-fix-multilib-installation.patch,1.08 KB, patch)
2018-06-07 02:01 UTC, Matthias Maier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Genasci 2018-06-05 18:05:31 UTC
making executable: /usr/lib64/libnvidia-gtk2.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 -pvq x11-drivers/nvidia-drivers
[ebuild   R   ] x11-drivers/nvidia-drivers-396.24  USE="X acpi compat driver kms multilib tools -gtk3 -pax_kernel -static-libs -uvm -wayland" ABI_X86="(64) -32 (-x32)" 

Reproducible: Always
Comment 1 Marco Genasci 2018-06-05 18:05:59 UTC
Created attachment 534986 [details]
build.log
Comment 2 Marco Genasci 2018-06-05 18:06:29 UTC
Created attachment 534988 [details]
environment
Comment 3 Marco Genasci 2018-06-05 18:06:44 UTC
Created attachment 534990 [details]
emerge-info.txt
Comment 4 Jan C Peters 2018-06-05 20:28:56 UTC
Confirm. I am getting that error, too.
Comment 5 Mike Limansky 2018-06-05 22:06:51 UTC
Same here. The issue is reproducible both with ABI_X86="-32" and ABI_X86="32".
Comment 6 Karol Herbst 2018-06-06 03:02:52 UTC
this is caused by 58abaeabe3948f5c5953f2fbf6fe36cc2481add9 in an attempt to fix #657378, and this also just broke 32bit OpenGL
Comment 7 Karol Herbst 2018-06-06 03:05:23 UTC
jeroen: I put you in CC because your ebuild changes caused this. I think the "if use kernel_linux && has_multilib_profile && [[ ${ABI} == "x86" ]]; then nv_libdir="${NV_OBJ}"/32 fi" change is responsible for this, but I didn't investigated further.
Comment 8 John Sennesael 2018-06-06 21:26:38 UTC
Probably pointing out the obvious here, but : 

> file /var/tmp/portage/x11-drivers/nvidia-drivers-396.24/image/usr/lib32/libnvidia-fbc.so.396.24
/var/tmp/portage/x11-drivers/nvidia-drivers-396.24/image/usr/lib32/libnvidia-fbc.so.396.24: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped

^^ should be 32-bit if it's put in lib32.
Comment 9 Beelzebubbie 2018-06-06 21:51:52 UTC
the same:
 * ERROR: x11-drivers/nvidia-drivers-396.24::gentoo failed:
 *   multilib-strict check failed!
Comment 10 amoka 2018-06-07 00:58:42 UTC
Same error! Had to switch back to Nouveau driver for now.
Comment 11 Matthias Maier gentoo-dev 2018-06-07 02:01:11 UTC
Created attachment 535170 [details, diff]
ebuild patch

Putting the multilib parts back in place fixes the problem. Patch of commit attached, please apply.
Comment 12 Chicago 2018-06-07 05:28:02 UTC
Applying the ebuild patch worked for me.
-Thanks
Comment 13 Jeroen Roovers (RETIRED) gentoo-dev 2018-06-07 05:41:36 UTC
*** Bug 657508 has been marked as a duplicate of this bug. ***
Comment 14 Jeroen Roovers (RETIRED) gentoo-dev 2018-06-07 14:06:50 UTC
*** Bug 657518 has been marked as a duplicate of this bug. ***
Comment 15 Jeroen Roovers (RETIRED) gentoo-dev 2018-06-07 14:08:04 UTC
(In reply to Karol Herbst from comment #7)
> jeroen: I put you in CC because your ebuild changes caused this.

Don't do that.