Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Feb 2014 19:09:24 +0000
From:      Chris Whitehouse <cwhiteh@onetel.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: x11/nvidia-driver builds; fails install (staging issue?)
Message-ID:  <52ED4664.3080708@onetel.com>
In-Reply-To: <20140201173108.GO1620@albert.catwhisker.org>
References:  <20140201151454.GN1620@albert.catwhisker.org> <20140201173108.GO1620@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/02/2014 17:31, David Wolfskill wrote:
> On Sat, Feb 01, 2014 at 07:14:54AM -0800, David Wolfskill wrote:
>> My laptop (which I've had for about 4 years now) uses an Nvidia
>> Quadro FX 770M (G96GL); after an initial (brief) test of using the nv
>> driver, I switched to x11/nvidia-driver and have been using it since.
>> ...
>> ===>  Building package for nvidia-driver-331.20
>> Creating package /common/ports/x11/nvidia-driver/work/nvidia-driver-331.20.tbz
>> Registering depends: xorg-server-1.7.7_11,1 dri-7.6.1_3,2 libXxf86misc-1.0.3 libGL-7.6.1_4 libXxf86vm-1.1.3 libXinerama-1.1.3,1 libXaw-1.0.12,2 libXp-1.0.2,1 libXmu-1.1.2,1 libXpm-3.5.11 libXext-1.3.2,1 li
>> bXdamage-1.1.4 libXfixes-5.0.1 libxkbui-1.0.2_1 libXt-1.1.4,1 hal-0.5.14_22 consolekit-0.4.3 polkit-0.105_1 gobject-introspection-1.36.0_2 policykit-0.9_6 dbus-glib-0.100.2 glib-2.36.3_1 python-2.7_1,2 xkb
>> comp-1.2.4 libxkbfile-1.0.8 dbus-1.6.18 libX11-1.6.2,1 python2-2_2 python27-2.7.6_1 gettext-0.18.3.1 libxcb-1.9.3 xkeyboard-config-2.10.1 libxml2-2.8.0_3 libiconv-1.14_1 icu-50.1.2 libffi-3.0.13_1 libdrm-2
>> .4.17_1 libpciaccess-0.13.2 libpthread-stubs-0.3_4 libvolume_id-0.81.1 pcre-8.33 pkgconf-0.9.4 perl5-5.16.3_6 gnomehier-3.0 pciids-20131225 libXfont-1.4.7,1 freetype2-2.5.2 dmidecode-2.12 gnome_subr-1.0 ex
>> pat-2.1.0 fontsproto-2.1.2 libfontenc-1.1.2 damageproto-1.2.1 dri2proto-2.8 fixesproto-5.0 kbproto-1.0.6 libSM-1.2.2,1 libICE-1.0.8,1 libXau-1.0.8 libXdmcp-1.1.1 pixman-0.32.4 printproto-1.0.5 xextproto-7.
>> 2.1 xf86miscproto-0.9.3 xf86vidmodeproto-2.3.1 xineramaproto-1.2.1 xproto-7.0.25.
>> Creating bzip'd tar ball in '/common/ports/x11/nvidia-driver/work/nvidia-driver-331.20.tbz'
>> tar: lib/libEGL.so: Cannot stat: No such file or directory
>> tar: lib/libEGL.so.1: Cannot stat: No such file or directory
>> tar: lib/libGLESv1_CM.so: Cannot stat: No such file or directory
>> tar: lib/libGLESv1_CM.so.1: Cannot stat: No such file or directory
>> tar: lib/libGLESv2.so: Cannot stat: No such file or directory
>> tar: lib/libGLESv2.so.2: Cannot stat: No such file or directory
>> tar: lib/libnvidia-eglcore.so: Cannot stat: No such file or directory
>> tar: lib/libnvidia-eglcore.so.1: Cannot stat: No such file or directory
>> tar: lib/libnvidia-glsi.so: Cannot stat: No such file or directory
>> tar: lib/libnvidia-glsi.so.1: Cannot stat: No such file or directory
>> tar: Error exit delayed from previous errors.
>> pkg_create: make_dist: tar command failed with code 256
>> *** [do-package] Error code 1
>>
>> Stop in /common/ports/x11/nvidia-driver.
>> *** [install] Error code 1
>>
>> Stop in /common/ports/x11/nvidia-driver.
>>
>> ===>>> Installation of nvidia-driver-331.20 (x11/nvidia-driver) failed
>> ===>>> Aborting update
>>
>> ===>>> Killing background jobs
>> Terminated
>>
>> ===>>> You can restart from the point of failure with this command line:
>>         portmaster <flags> x11/nvidia-driver
>>
>> ===>>> Exiting
>>
>>
>>
>>
>> So what do I need to do to make this work?
>>
>> The system is running:
>>
>> FreeBSD g1-251.catwhisker.org 9.2-STABLE FreeBSD 9.2-STABLE #656  r261314M/261318:902506: Fri Jan 31 04:46:38 PST 2014     root@g1-251.catwhisker.org:/usr/obj/usr/src/sys/CANARY  i386
>>
>> and I had just updated sources to r261347 and ports to r342118.
>> ....
>
> I just tried the same with a similar system -- but it worked.
>
> Differences:
> * It's running FreeBSD/amd64 instead of FreeBSD/i386.
> * It's using pkgng vs. pkg_*.
>
> I suspect the latter difference is the more significant.
>
> Ref.:
>
> FreeBSD g1-236.catwhisker.org 9.2-STABLE FreeBSD 9.2-STABLE #44  r261314M/261318:902506: Fri Jan 31 06:07:36 PST 2014     root@g1-236.catwhisker.org:/usr/obj/usr/src/sys/CANARY  amd64
>
> FreeBSD g1-236.catwhisker.org 9.2-STABLE FreeBSD 9.2-STABLE #45  r261347M/261348:902506: Sat Feb  1 09:20:28 PST 2014     root@g1-236.catwhisker.org:/usr/obj/usr/src/sys/CANARY  amd64
>
> Peace,
> david
>
I get the same error on 10.0R amd64 with pkgng.

Do you have WITH_NEW_XORG in make.conf on the second system? I think the 
error above means you should install graphics/libEGL but 
graphics/libEGL/Makefile says it requires WITH_NEW_XORG.

.if ! defined(WITH_NEW_XORG)
IGNORE=         Please enable WITH_NEW_XORG, libEGL needs libdrm higher 
then 2.4.24
.endif


Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52ED4664.3080708>