| Summary: | xf4vnc tramples on /usr/bin/vncviewer, etc... | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | David Grant <davidgrant> |
| Component: | New packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | aliz, egore, morfic |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
David Grant
2005-05-03 10:17:41 UTC
umm, sorry I lied. It writes to /usr/X11R6/bin/ :-) Actually I lied... it does write to /usr/bin/ but it doesn't say that it does! Step 1: Uninstall all vnc's, vnc, tightvnc, xf4vnc Step 2: bash-2.05b$ vncviewer 192.168.0.204:2 bash: /usr/bin/vncviewer: No such file or directory bash-2.05b$ which vncviewer which: no vncviewer in (blah blah) Step 3: bash-2.05b# emerge xf4vnc Step 4: bash-2.05b$ find /usr | grep vncviewer /usr/bin/vncviewer bash-2.05b$ find /usr/X11R6/ | grep vncviewer /usr/X11R6/bin/vncviewer bash-2.05b$ ls -l /usr/bin/vncviewer -rwxr-xr-x 1 root root 73236 May 3 10:26 /usr/bin/vncviewer bash-2.05b$ ls -l /usr/X11R6/bin/vncviewer -rwxr-xr-x 1 root root 73236 May 3 10:26 /usr/X11R6/bin/vncviewer bash-2.05b$ which vncviewer /usr/bin/vncviewer Step 5: Let's look at the emerge output: >>> Merging net-misc/xf4vnc-4.3.0.104 to / --- /usr/ --- /usr/X11R6/ --- /usr/X11R6/bin/ >>> /usr/X11R6/bin/Xvnc >>> /usr/X11R6/bin/vncviewer >>> /usr/X11R6/bin/vncevent --- /usr/X11R6/lib/ >>> /usr/X11R6/lib/hextile.so >>> /usr/X11R6/lib/zlib.so >>> /usr/X11R6/lib/libVncExt.so.2.0 --- /usr/X11R6/lib/modules/ >>> /usr/X11R6/lib/modules/vnc.so >>> /usr/X11R6/lib/libVncExt.so -> /usr/X11R6/lib/libVncExt.so.2.0 >>> /usr/X11R6/lib/corre.so >>> /usr/X11R6/lib/copyrect.so >>> /usr/X11R6/lib/rre.so >>> /usr/X11R6/lib/vnc.so >>> /usr/X11R6/lib/tight.so --- /usr/X11R6/include/ --- /usr/X11R6/include/X11/ --- /usr/X11R6/include/X11/extensions/ >>> /usr/X11R6/include/X11/extensions/vnc.h >>> /usr/X11R6/include/X11/extensions/vncstr.h >>> /usr/X11R6/lib/libVncExt.so.2 -> /usr/X11R6/lib/libVncExt.so.2.0 >>> Regenerating /etc/ld.so.cache... Step 6: Conclude that something is wrong with the ebuild. It does clobber /usr/bin/vncviewer Hmm, I looked at the ebuild and I can't see how this is happening. The solution is: /usr/X11R6 is a symlink to /usr So the installation of tightvnc (providing /usr/bin/Xvnc and /usr/bin/vncviewer) and xf4vnc (providing /usr/X11R6/bin/Xvnc and /usr/X11R6/bin/vncviewer) overwrite each other. 2 possible solutions: - add block between tightvnc and xf4vnc - rename these 2 binaries in one of the packages (or better in both, like vncviewer_tvnc and vncviewer_xf or something like that) Re-assign. |