Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265314 - nvidia-drivers should not install any lib32 support on no-multilib setup
Summary: nvidia-drivers should not install any lib32 support on no-multilib setup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-07 13:56 UTC by Jory A. Pratt
Modified: 2009-07-25 08:34 UTC (History)
1 user (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 Jory A. Pratt gentoo-dev 2009-04-07 13:56:06 UTC
/usr/lib32
/usr/lib32/libcuda.so
/usr/lib32/libcuda.so.1
/usr/lib32/libvdpau.so
/usr/lib32/libvdpau.so.1
/usr/lib32/libvdpau_nvidia.so
/usr/lib32/libvdpau_nvidia.so.1
/usr/lib32/libvdpau_trace.so
/usr/lib32/libvdpau_trace.so.1
/usr/lib32/opengl
/usr/lib32/opengl/nvidia
/usr/lib32/opengl/nvidia/lib
/usr/lib32/opengl/nvidia/lib/libGL.la
/usr/lib32/opengl/nvidia/lib/libGL.so
/usr/lib32/opengl/nvidia/lib/libGL.so.1
/usr/lib32/opengl/nvidia/lib/libGL.so.180.44
/usr/lib32/opengl/nvidia/lib/libGLcore.so
/usr/lib32/opengl/nvidia/lib/libGLcore.so.1
/usr/lib32/opengl/nvidia/lib/libGLcore.so.180.44
/usr/lib32/opengl/nvidia/lib/libnvidia-tls.so
/usr/lib32/opengl/nvidia/lib/libnvidia-tls.so.1
/usr/lib32/opengl/nvidia/lib/libnvidia-tls.so.180.44
/usr/lib32/opengl/nvidia/no-tls
/usr/lib32/opengl/nvidia/no-tls/libnvidia-tls.so
/usr/lib32/opengl/nvidia/no-tls/libnvidia-tls.so.1
/usr/lib32/opengl/nvidia/no-tls/libnvidia-tls.so.180.44
/usr/lib32/opengl/nvidia/tls
/usr/lib32/opengl/nvidia/tls/libnvidia-tls.so
/usr/lib32/opengl/nvidia/tls/libnvidia-tls.so.1
/usr/lib32/opengl/nvidia/tls/libnvidia-tls.so.180.44
/usr/lib32/xorg
/usr/lib32/xorg/modules
/usr/lib32/xorg/modules/drivers

Reproducible: Always




Portage 2.1.6.11 (default/linux/amd64/2008.0/no-multilib, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.0
Timestamp of tree: Tue, 07 Apr 2009 11:30:01 +0000
app-shells/bash:     4.0_p10-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.6.1-r1
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.8
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -msse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O2 -Wl,--as-needed -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-zcombreloc -Wl,--hash-style=both"
MAKEOPTS="-j3 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 amrnb amrwb aspell audit berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups dbus dri dvd dvdr encode faad ffmpeg gdbm glitz gnome gnome-keyring gstreamer gtk hal iconv isdnlog jpeg mad midi mjpeg mmx mp3 mpeg mudflap nautilus ncurses networkmanager nptl nptlonly opengl openmp pam pcre perl pic png pppd python readline reflection ruby session spell spl sse sse2 ssl svg sysfs tcpd threads tiff truetype twolame unicode usb vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" NETBEANS_MODULES="apisupport cnd harness ide java nb websvccommon xml" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLA
Comment 1 Jory A. Pratt gentoo-dev 2009-05-12 01:56:01 UTC
Cardoe this should work, problem with depending on amd64 as the useflag to control a multilib install is no-multilib has amd64 useflag enabled by default as well. If this is not acceptable let me know and I will look for another solution to the problem!

--- nvidia-drivers-180.51.ebuild~	2009-05-11 20:27:43.658131373 -0500
+++ nvidia-drivers-180.51.ebuild	2009-05-11 20:50:03.789126344 -0500
@@ -274,7 +274,7 @@
 		done
 		ABI=${OABI}
 		unset OABI
-	elif use amd64 ; then
+	elif use multilib ; then
 		src_install-libs lib32 $(get_multilibdir)
 		src_install-libs lib $(get_libdir)
Comment 2 Jory A. Pratt gentoo-dev 2009-05-12 02:28:45 UTC
Doug, this would also work, and I prefer this way makes the code much easier to maintain. I see no reason that a non-multilib profile should every be used to control this anyways.


--- nvidia-drivers-180.51.ebuild~	2009-05-06 11:37:05.000000000 -0500
+++ nvidia-drivers-180.51.ebuild	2009-05-11 21:27:09.961149392 -0500
@@ -274,12 +274,6 @@
 		done
 		ABI=${OABI}
 		unset OABI
-	elif use amd64 ; then
-		src_install-libs lib32 $(get_multilibdir)
-		src_install-libs lib $(get_libdir)
-
-		rm -rf "${D}"/usr/$(get_multilibdir)/opengl/nvidia/include
-		rm -rf "${D}"/usr/$(get_multilibdir)/opengl/nvidia/extensions
 	else
 		src_install-libs
 	fi
Comment 3 Jory A. Pratt gentoo-dev 2009-05-21 14:19:21 UTC
Doug any news on this would be helpful.
Comment 4 Jory A. Pratt gentoo-dev 2009-07-05 14:54:41 UTC
Doug could you comment as to weather we are gonna get this fixed or not anytime soon please.
Comment 5 Jory A. Pratt gentoo-dev 2009-07-25 08:34:52 UTC
Fixed in latest version.