Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829792 - x11-misc/virtualgl-3.0: file collision with x11-apps/mesa-progs-8.4.0-r1[egl] /usr/bin/eglinfo
Summary: x11-misc/virtualgl-3.0: file collision with x11-apps/mesa-progs-8.4.0-r1[egl]...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Pacho Ramos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-22 07:17 UTC by Edgar Dragon
Modified: 2021-12-22 10:30 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Edgar Dragon 2021-12-22 07:17:02 UTC
The x11-misc/virtualgl-3.0 has a file collision with x11-apps/mesa-progs-8.4.0-r1[egl]

Reproducible: Always

Steps to Reproduce:
```
$ USE=egl emerge =x11-apps/mesa-progs-8.4.0-r1
$ emerge =x11-misc/virtualgl-3.0
```
Actual Results:  
```
 * This package will overwrite one or more files that may belong to other
 * packages (see list below).
 *
 * Detected file collision(s):
 *
 *      /usr/lib/debug/usr/bin/eglinfo.debug
 *      /usr/bin/eglinfo
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * x11-apps/mesa-progs-8.4.0-r1:0::gentoo
 *      /usr/bin/eglinfo
 *      /usr/lib/debug/usr/bin/eglinfo.debug
 *
 * Package 'x11-misc/virtualgl-3.0' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.
```


Expected Results:  
Suggestions: (a) rename (e.g. veglinfo) (b) hide behind use flag (c) remove before installing.


At a quick glance, the eglinfo output and linked libraries do appear to differ.

```
$ qfile -vS /usr/bin/eglinfo; ldd /usr/bin/eglinfo
x11-apps/mesa-progs-8.4.0-r1:0: /usr/bin/eglinfo
	linux-vdso.so.1 (0x00007ffffa79e000)
	libEGL.so.1 => /usr/lib64/libEGL.so.1 (0x00007fe81b5d9000)
	libc.so.6 => /lib64/libc.so.6 (0x00007fe81b41f000)
	libGLdispatch.so.0 => /usr/lib64/libGLdispatch.so.0 (0x00007fe81b367000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007fe81b361000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fe81b62b000)

$ qfile -vS /usr/bin/eglinfo; ldd /usr/bin/eglinfo
x11-misc/virtualgl-3.0:0: /usr/bin/eglinfo
	linux-vdso.so.1 (0x00007ffea27ec000)
	libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007f311016c000)
	libEGL.so.1 => /usr/lib64/libEGL.so.1 (0x00007f3110156000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f310ff9c000)
	libGLdispatch.so.0 => /usr/lib64/libGLdispatch.so.0 (0x00007f310fee4000)
	libGLX.so.0 => /usr/lib64/libGLX.so.0 (0x00007f310feb0000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007f310feaa000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f3110238000)
	libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f310fd66000)
	libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f310fd3c000)
	libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f310fd37000)
	libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f310fd2f000)
	libbsd.so.0 => /usr/lib64/libbsd.so.0 (0x00007f310fd18000)
	libmd.so.0 => /usr/lib64/libmd.so.0 (0x00007f310fd0b000)
```

In usage, I preload libdlfaker.so:libvglfaker.so libraries or run vglrun of
virtualgl, and diagnose with glxinfo, glxgears of mesa-progs. Never yet used eglinfo.
Comment 1 Larry the Git Cow gentoo-dev 2021-12-22 10:30:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2eb93feb58f6cfed74dbcc7e5d4559039078c226

commit 2eb93feb58f6cfed74dbcc7e5d4559039078c226
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2021-12-22 10:30:07 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2021-12-22 10:30:07 +0000

    x11-misc/virtualgl: Avoid file collision with mesa-progs[egl]
    
    Thanks-to: Edgar Dragon
    Closes: https://bugs.gentoo.org/829792
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 x11-misc/virtualgl/{virtualgl-3.0.ebuild => virtualgl-3.0-r1.ebuild} | 2 ++
 1 file changed, 2 insertions(+)