Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2014 11:11:18 -0800
From:      Manfred Antar <null@pozo.com>
To:        Dave <freebsd01@dgmm.net>, freebsd-ports@freebsd.org
Subject:   Re: CURRENT breaks build of x11/nvidia-driver: pkg-static: nvidia-driver-343.22 conflicts with libEGL-10.3.2
Message-ID:  <201411111911.sABJBIv9084227@pozo.com>
In-Reply-To: <1926882.E2s6IqvEkO@amd.asgard.uk>
References:  <20141107212639.2e3e71e5@hermann.walstatt.dynvpn.de> <201411100005.sAA05Xt2014099@pozo.com> <CAGK=9AFNkiKugoALpjvpxOR4Z1oZmEuKYQWtqwawHvK4YjRdaA@mail.gmail.com> <1926882.E2s6IqvEkO@amd.asgard.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
At 05:20 AM 11/11/2014, Dave wrote:
>On Monday 10 November 2014 06:04:29 Mikhail Tsatsenko wrote:
>> 2014-11-10 3:05 GMT+03:00 Manfred Antar <null@pozo.com>:
>> > At 02:13 PM 11/9/2014, Henry Hu wrote:
>> >>On Sun, Nov 9, 2014 at 5:09 PM, Jerry <jerry@seibercom.net> wrote:
>> >>> On Mon, 10 Nov 2014 00:23:14 +0400, Mikhail Tsatsenko stated:
>> >>> >2014-11-07 23:26 GMT+03:00 O. Hartmann <ohartman@web.de>:
>> >>> >> Out of the blue the build of port x11/nvidia-driver fails -
>> >>> >> portmaster
>> >>> 
>> >>> is
>> >>> 
>> >>> >> that sloppy that it can not check BEFORE it kills the existent driver
>> >>> 
>> >>> and
>> >>> 
>> >>> >> fails to install after the deletion!
>> >>> >> 
>> >>> >> The src tree is at Revision: 274250 and with Revision r274177 the
>> >>> >> build
>> >>> >> works. The failure is:
>> >>> >> 
>> >>> >> ===>   Registering installation for nvidia-driver-343.22
>> >>> >> pkg-static: nvidia-driver-343.22 conflicts with libEGL-10.3.2
>> >>> >> (installs
>> >>> >> files into the same place).  Problematic file:
>> >>> >> /usr/local/lib/libEGL.so
>> >>> 
>> >>> To
>> >>> 
>> >>> >> use these drivers, make sure that you have loaded the NVidia kernel
>> >>> >> module, by doing
>> >>> >> 
>> >>> >> [...]
>> >>> >> 
>> >>> >> Please can someone fix this? I have three boxes now without graphics
>> >>> >> due
>> >>> >> to this.
>> >>> >> 
>> >>> >> Regards,
>> >>> >> 
>> >>> >> Oliver
>> >>> >
>> >>> >I had exactly the same problem with latest nvidia-driver port.
>> >>> >For now I deinstalled both libglesv2 and libEGL with pkg delete -f
>> >>> >after that I was able to install nvidia-driver.
>> >>> 
>> >>> I had that problem too this morning. If no one has submitted a PR
>> >>> against
>> >>> this, I will tomorrow.
>> >>> 
>> >>> BTW, when you uninstalled libglesv2 and libEGL, did you suffer any
>> >>> adverse
>> >>> effects? I am not sure exactly what they are required for; but then
>> >>> again,
>> >>> I
>> >>> did not investigate all the thoroughly. It is a Sunday, my birthday, and
>> >>> I
>> >>> have far more important things to do than figure out why a port is
>> >>> bombing
>> >>> out.
>> >>
>> >>At least libEGL is required by x11/kde4-workspace.
>> >>I think that they need to be handled similarly as libGL, which is also
>> >>installed by both libGL and nvidia-drivers.
>> >>
>> > Same problem here. Would have to uninstall libglesv2 and libEGL. But then
>> > KDE would not work. Without KDE I don't really need the nvidia driver.
>> > just have a console terminal :)
>> I am running KDE with nvidia-driver and without libglesv2 and libEGL.
>> KDE works fine.
>> So I guess nvidia-driver comes with its own libglesv2 and libEGL
>
>I removed both libglesv2 and libEGL and upgraded nvidia-driver.  I then 
>deleted and rebuilt kde4-workspace and all is working again.
>
>As part of this I also switched from linux-base-f10 to linux-c6 which may have 
>some bearing on it.
>

I did this and had to disable  the GLES  option for  OpenGL ES 2.0 support in kwin and kinfocenter
otherwise kde4-workspace would not build:
make install:

pkg-static: lstat(/usr/ports/x11/kde4-workspace/work/stage/usr/local/bin/kwin_gles): No such file or directory
pkg-static: lstat(/usr/ports/x11/kde4-workspace/work/stage/usr/local/lib/kde4/kwin4_effect_gles_builtins.so): No such file or directory
pkg-static: lstat(/usr/ports/x11/kde4-workspace/work/stage/usr/local/lib/libkdeinit4_kwin_gles.so): No such file or directory
pkg-static: lstat(/usr/ports/x11/kde4-workspace/work/stage/usr/local/lib/libkwinglesutils.so): No such file or directory
pkg-static: lstat(/usr/ports/x11/kde4-workspace/work/stage/usr/local/lib/libkwinglesutils.so.1): No such file or directory
pkg-static: lstat(/usr/ports/x11/kde4-workspace/work/stage/usr/local/lib/libkwinglesutils.so.1.0.0): No such file or directory
*** Error code 74

Stop.
make[2]: stopped in /usr/ports/x11/kde4-workspace
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/x11/kde4-workspace
*** Error code 1

Stop.
make: stopped in /usr/ports/x11/kde4-workspace  

========================
||      null@pozo.com           ||
||                                      ||
======================== 






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