Re: [arch-dev-public] [arch-commits] Commit in xorg-server/trunk (PKGBUILD xorg-server.install)
Jan, Something didn't work quite right with this, look at my install messages below (or maybe you just need an existence check first): On Sat, Oct 18, 2008 at 3:34 AM, Jan de Groot <jgc@archlinux.org> wrote:
Modified: xorg-server.install =================================================================== --- xorg-server.install 2008-10-18 08:31:15 UTC (rev 15762) +++ xorg-server.install 2008-10-18 08:34:06 UTC (rev 15763) @@ -2,10 +2,12 @@ rm -f usr/lib/xorg/modules/libwfb.so ln -sf libwfb.so.1.4 usr/lib/xorg/modules/libwfb.so
+ cmp usr/lib/xorg/modules/extensions/libdri.so usr/lib/xorg/modules/extensions/libglx.xorg >/dev/null && rm -f usr/lib/xorg/modules/extensions/libdri.so + # If the symlink is dead or non-existent, remove it and make a new one
(12/12) upgrading xorg-server [---------------------] 100% cmp: usr/lib/xorg/modules/extensions/libdri.so: No such file or directory dmcgee@dublin ~ $ ls /usr/lib/xorg/modules/extensions/libdri.* /usr/lib/xorg/modules/extensions/libdri.so /usr/lib/xorg/modules/extensions/libdri.xorg
On Sat, 2008-10-18 at 11:53 -0500, Dan McGee wrote:
Jan,
Something didn't work quite right with this, look at my install messages below (or maybe you just need an existence check first):
(12/12) upgrading xorg-server [---------------------] 100% cmp: usr/lib/xorg/modules/extensions/libdri.so: No such file or directory
dmcgee@dublin ~ $ ls /usr/lib/xorg/modules/extensions/libdri.* /usr/lib/xorg/modules/extensions/libdri.so /usr/lib/xorg/modules/extensions/libdri.xorg
This is known to me. The cmp command was added to make sure that it would work when upgrading from 1.5.2-2 to 1.5.2-3 (-2 had an invalid file symlinked to libdri.so). When upgrading from any version to 1.5.2-3, this error is printed, but it's harmless. The fix would be to add an 2>&1 there.
On Sat, Oct 18, 2008 at 12:02 PM, Jan de Groot <jan@jgc.homeip.net> wrote:
On Sat, 2008-10-18 at 11:53 -0500, Dan McGee wrote:
Jan,
Something didn't work quite right with this, look at my install messages below (or maybe you just need an existence check first):
(12/12) upgrading xorg-server [---------------------] 100% cmp: usr/lib/xorg/modules/extensions/libdri.so: No such file or directory
dmcgee@dublin ~ $ ls /usr/lib/xorg/modules/extensions/libdri.* /usr/lib/xorg/modules/extensions/libdri.so /usr/lib/xorg/modules/extensions/libdri.xorg
This is known to me. The cmp command was added to make sure that it would work when upgrading from 1.5.2-2 to 1.5.2-3 (-2 had an invalid file symlinked to libdri.so). When upgrading from any version to 1.5.2-3, this error is printed, but it's harmless. The fix would be to add an 2>&1 there.
Ahh, OK. It is just sometimes disconcerting to see messages like this pop up during an upgrade, leaving people wondering whether X is going to start the next time they attempt a restart. -Dan
participants (2)
-
Dan McGee
-
Jan de Groot