Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 500634 - x11-drivers/nvidia-drivers-334.16-r1 USE=multilib - 32/libnvidia-fbc.so.334.16 does not exist
Summary: x11-drivers/nvidia-drivers-334.16-r1 USE=multilib - 32/libnvidia-fbc.so.334.1...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-07 17:54 UTC by jms
Modified: 2014-02-11 13:56 UTC (History)
3 users (show)

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


Attachments
build log (x11-drivers:nvidia-drivers-334.16-r1:20140207-174240.log,137.58 KB, text/plain)
2014-02-07 17:54 UTC, jms
Details
environment (environment,165.52 KB, text/plain)
2014-02-07 17:56 UTC, jms
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jms 2014-02-07 17:54:02 UTC
>>> Install nvidia-drivers-334.16-r1 into /var/tmp/portage/x11-drivers/nvidia-drivers-334.16-r1/image/ category x11-drivers
 * Installing nvidia module
!!! dolib: /var/tmp/portage/x11-drivers/nvidia-drivers-334.16-r1/work//32/libnvidia-fbc.so.334.16 does not exist
 * ERROR: x11-drivers/nvidia-drivers-334.16-r1::gentoo failed (install phase):
 *   dolib faile

Reproducible: Always




 emerge --info
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/kde, gcc-4.8.2, glibc-2.17, 3.12.6-gentoo-jms-r7 x86_64)
=================================================================
System uname: Linux-3.12.6-gentoo-jms-r7-x86_64-Intel-R-_Core-TM-_i5-3210M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     7676236 total,    546392 free
KiB Swap:    8396796 total,   8320516 free
Timestamp of tree: Fri, 07 Feb 2014 16:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r3, 3.2.5-r3, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe "
DISTDIR="/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 ao avahi avx bash-completion berkdb bindist bluetooth branding bzip2 cairo cdaudio cdda cddb cdparanoia cdr cjk cli consolekit cracklib crypt css cups cxx dbus declarative dhcpcd dri dts dv dvb dvd dvdnav dvdr emboss encode evdev exif fam ffmpeg firefox flac fontconfig fortran gd gdbm gif gpm gtk gzip iconv icu imap ipv6 jpeg jpeg2k kde kipi laptop lcms ldap libav libkms libnotify lzma lzo mad maildir matroska memlimit mhash mikmod mime mmap mmx mng mod modules motif mp3 mp4 mpeg mtp multilib mysql ncurse ncurses nls nptl ogg openal opengl openmp oss pam pango pcmcia pcre pdf phonon plasma png policykit ppds pulseaudio qt3support qt4 quicktime raw readline resolvconf scanner sdl semantic-desktop sematic-deskyop session smp spell sse sse2 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification svg syslog taglib tcpd theora thumbnail tidy tiff truetype udev udisks unicode upower usb utf8 v4l v4l2 vaapi vcd vdpau video vim-syntax vorbis wifi win32codecs wxwidgets x x264 xcb xcomposit xcomposite xine xinerama xml xosd xpm xscreensaver xulrunner xv xvid xvmc zip zlib" ABI_X86="64 32" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en es fr en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3 php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel nvidia modesetting" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 jms 2014-02-07 17:54:53 UTC
Created attachment 369814 [details]
build log
Comment 2 jms 2014-02-07 17:56:04 UTC
Created attachment 369816 [details]
environment
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-07 18:37:58 UTC
@multilib: We could move this line:

        donvidia ${libdir}/libnvidia-fbc.so ${NV_SOVER}

before:

    if use kernel_linux && has_multilib_profile && \

into its own "if use X; then" clause, but maybe there is a better way.
Comment 4 Sven 2014-02-07 19:14:21 UTC
(In reply to Jeroen Roovers from comment #3)
> @multilib: We could move this line:
> 
>         donvidia ${libdir}/libnvidia-fbc.so ${NV_SOVER}
> 
> before:
> 
>     if use kernel_linux && has_multilib_profile && \
> 
> into its own "if use X; then" clause, but maybe there is a better way.

How about changing
        if use kernel_linux && has_multilib_profile && \
                        [[ ${ABI} == "x86" ]] ; then
                libdir=${NV_OBJ}/32
        fi
into
        if use kernel_linux && has_multilib_profile && \
                        [[ ${ABI} == "x86" ]] ; then
                libdir=${NV_OBJ}/32
        elif use X; then
                donvidia ${libdir}/libnvidia-fbc.so ${NV_SOVER}
        fi
?
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-07 19:25:11 UTC
(In reply to Sven from comment #4)
> How about changing
>         if use kernel_linux && has_multilib_profile && \
>                         [[ ${ABI} == "x86" ]] ; then
>                 libdir=${NV_OBJ}/32
>         fi
> into
>         if use kernel_linux && has_multilib_profile && \
>                         [[ ${ABI} == "x86" ]] ; then
>                 libdir=${NV_OBJ}/32
>         elif use X; then
>                 donvidia ${libdir}/libnvidia-fbc.so ${NV_SOVER}
>         fi

Well, I was looking for a better way, by which I mean a cleaner way. But maybe it gets only messier.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-07 20:01:06 UTC
Quoting [1]:

     o The NvFBC library (/usr/lib/libnvidia-fbc.so.x.y.z); The NVIDIA
       Framebuffer Capture library provides an interface to capture and
       optionally encode the framebuffer of an X server screen. NvFBC is a
       private API that is only available to approved partners for use in
       remote graphics scenarios. Please contact NVIDIA at
       GRIDteam@nvidia.com for more information.

I have opted to not install it for now. After all, this is still a beta, and you need special permission to even use it.


[1] /usr/share/doc/nvidia-drivers-334.16-r1/html/installedcomponents.html
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-07 20:12:37 UTC
--- nvidia-drivers-334.16-r1.ebuild     7 Feb 2014 20:00:40 -0000       1.2
+++ nvidia-drivers-334.16-r1.ebuild     7 Feb 2014 20:12:10 -0000
@@ -263,6 +263,9 @@
        # NVIDIA kernel <-> userspace driver config lib
        donvidia ${NV_OBJ}/libnvidia-cfg.so ${NV_SOVER}
 
+       # NVIDIA framebuffer capture library
+       donvidia ${NV_OBJ}/libnvidia-fbc.so ${NV_SOVER}
+
        # NVIDIA video encode/decode <-> CUDA
        if use kernel_linux; then
                donvidia ${NV_OBJ}/libnvcuvid.so ${NV_SOVER}


It should work with this change. Please test.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-07 20:15:15 UTC
Or try with -r2.
Comment 9 Mariusz Ceier 2014-02-07 22:23:59 UTC
With -r2:
 * QA Notice: Missing soname symlink(s):
 * 
 *      usr/lib64/opengl/nvidia/lib/libGLESv2.so.2 -> libGLESv2.so.334.16
 *      usr/lib32/opengl/nvidia/lib/libGLESv2.so.2 -> libGLESv2.so.334.16
 *

I think it's the reason why weston with x11-backend fails with: 
Failed to load module: libGLESv2.so.2: cannot open shared object file: No such file or directory
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-07 22:36:56 UTC
(In reply to Mariusz Ceier from comment #9)
> With -r2:
>  * QA Notice: Missing soname symlink(s):
>  * 
>  *      usr/lib64/opengl/nvidia/lib/libGLESv2.so.2 -> libGLESv2.so.334.16
>  *      usr/lib32/opengl/nvidia/lib/libGLESv2.so.2 -> libGLESv2.so.334.16
>  *
> 
> I think it's the reason why weston with x11-backend fails with: 
> Failed to load module: libGLESv2.so.2: cannot open shared object file: No
> such file or directory

That's a different bug. Please file a new bug report.
Comment 11 Mariusz Ceier 2014-02-08 20:33:09 UTC
(In reply to Jeroen Roovers from comment #10)
> (In reply to Mariusz Ceier from comment #9)
> > With -r2:
> >  * QA Notice: Missing soname symlink(s):
> >  * 
> >  *      usr/lib64/opengl/nvidia/lib/libGLESv2.so.2 -> libGLESv2.so.334.16
> >  *      usr/lib32/opengl/nvidia/lib/libGLESv2.so.2 -> libGLESv2.so.334.16
> >  *
> > 
> > I think it's the reason why weston with x11-backend fails with: 
> > Failed to load module: libGLESv2.so.2: cannot open shared object file: No
> > such file or directory
> 
> That's a different bug. Please file a new bug report.

Reported 2 new bug reports: https://bugs.gentoo.org/show_bug.cgi?id=500708
and https://bugs.gentoo.org/show_bug.cgi?id=500710