ports/153705: [x11/nvidia-driver] The package forgot to install libGL.so.1

Olivier Cochard-Labbé olivier at cochard.me
Wed Jan 5 14:10:11 UTC 2011


>Number:         153705
>Category:       ports
>Synopsis:       [x11/nvidia-driver] The package forgot to install libGL.so.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 05 14:10:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Cochard-Labbé
>Release:        8.2RC
>Organization:
>Environment:
FreeBSD d630.bsdrp.net 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #1: Sun Jan  2 01:32:14 CET 2011     root at d630.bsdrp.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
I know that NO_PACKAGE is present on the Makefile of this port, but I need to generate and use package for this port.
The problem is the package installation process forgot to extract the nvidia libGL.so.1 lib to usr/local/lib.

Here is a part of installing nvidia-driver package (we can see that after renaming the official-libGL.so.1 to a dummy name, the nvidia-libGL.so.1 is NOT extracted to /usr/local/lib):


extract: Package name is nvidia-driver-256.53
extract: CWD to /usr/local
extract: execute 'mv -f /usr/local/lib/xorg/modules/extensions/libglx.la /usr/local/lib/xorg/modules/extensions/XXX-libglx.la.%%.xorg-server-1.7.5,1'
extract: execute 'mv -f /usr/local/lib/xorg/modules/extensions/libglx.so /usr/local/lib/xorg/modules/extensions/XXX-libglx.so.%%.xorg-server-1.7.5,1'
extract: execute 'mv -f /usr/local/lib/libGL.so.1 /usr/local/lib/XXX-libGL.so.1.%%.libGL-7.4.4'
extract: /usr/local/lib/libnvidia-tls.so.1
extract: /usr/local/lib/libnvidia-tls.so
extract: /usr/local/lib/libnvidia-cfg.so.1
extract: /usr/local/lib/libnvidia-cfg.so
extract: /usr/local/lib/libnvidia-glcore.so.1
extract: /usr/local/lib/libnvidia-glcore.so
extract: /usr/local/lib/vdpau/libvdpau_nvidia.so.1
extract: /usr/local/lib/libvdpau_nvidia.so
extract: /usr/local/lib/libXvMCNVIDIA.so.1
extract: /usr/local/lib/libXvMCNVIDIA.so
extract: /usr/local/lib/libXvMCNVIDIA.a
extract: /usr/local/lib/libXvMCNVIDIA_dynamic.so.1
extract: /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
extract: /usr/local/lib/xorg/modules/extensions/libglx.so.1
extract: execute 'ln -sf libglx.so.1 /usr/local/lib/xorg/modules/extensions/libglx.so'
extract: CWD to /boot/modules
extract: /boot/modules/nvidia.ko
extract: execute '/sbin/ldconfig -m /usr/local/lib'
(etc...)

>How-To-Repeat:
Commenting the line NO_PACKAGE, create a package and installing it.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list