Bug 135322 - Port graphics/linux_dri has incorrect packaging list causing automatic port update to fail
Summary: Port graphics/linux_dri has incorrect packaging list causing automatic port u...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-emulation (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-07 11:20 UTC by yuri
Modified: 2009-11-01 08:29 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yuri 2009-06-07 11:20:00 UTC
I have linux_dri-7.0_1 installed.
pkg-plist has the line /compat/linux/usr/X11R6/lib/libGL.so.1 and 'pkg_info -L linux_dri-7.0_1' shows /compat/linux/usr/X11R6/lib/libGL.so.1 but there no such file in the file system.
Insteas there is:
ls -l /compat/linux/usr/lib/libGL.so.1
lrwxr-xr-x  1 root  users  15 Jun  6 13:05 /compat/linux/usr/lib/libGL.so.1 -> libGL.so.180.60

As a result automatic port upgrade of may ports depending on Linux libGL.so fails and attempts to reinstall linux_dri and fails because it's already installed.
portupdate looks for /compat/linux/usr/X11R6/lib/libGL.so.1 for some reason, it's not there and it decides to install linux_dri and fails.

> pkg_info -W /compat/linux/usr/lib/libGL.so.180.60
/compat/linux/usr/lib/libGL.so.180.60 was installed by package nvidia-driver-180.60


Please fix this,
Yuri
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2009-06-07 12:04:42 UTC
NVidia driver installed on top of linux_dri renamed the original 
/compat/linux/usr/X11R6/lib/libGLU.so.1 and installed it's own version 
into /compat/linux/usr/lib/libGLU.so.1.
This causes the problem described above.

Subject of this PR should be changed accordingly.
Comment 2 Alexander Best 2009-06-28 19:17:29 UTC
the port DOES install libGL.so.1 into /compat/linux/usr/X11R6/lib/

the reason you cannot find the file is because you probably installed the
nvidia driver after installing the linux_dri port. while the nvidia driver
installs it's libGL.so.1 into /compat/linux/usr/lib it also makes sure there's
no other libGL.so.1 version installed apart from it's own. that's why the
nvidia installer looks in /compat/linux/usr/X11R6/lib/ and
/compat/linux/usr/local/lib/ and deletes existing versions of libGL.so.1.

the best way to solve this issue would be to mark all linux dri ports and the
nvidia port to conflict with each other. try using one of the linux libGLU
ports instead. they don't conflict with the nvidia driver.

cheers.
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2009-07-06 06:52:19 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-emulation

Over to maintainer(s).
Comment 4 Boris Samorodov freebsd_committer freebsd_triage 2009-10-13 09:03:45 UTC
State Changed
From-To: open->feedback

All ports has been fixed. Can you confirm that?
Comment 5 Alexander Best 2009-11-01 00:29:45 UTC
x11/nvidia-driver now has the following ports marked as conflicting with it:

linux-dri-[0-9]* linux-f10-dri-[0-9]* linux-f8-dri-[0-9]* linux_dri-[0-9]*
linux_dri-devel-[0-9]*

so i believe this PR can be closed.

alex
Comment 6 Mark Linimon freebsd_committer freebsd_triage 2009-11-01 08:28:48 UTC
State Changed
From-To: feedback->closed

Apparently the problem has been fixed.  To submitter: if not, please 
let us know.