[Bug 233200] New: libICE.la missing from xorg-x11-libICE
https://bugzilla.novell.com/show_bug.cgi?id=233200 Summary: libICE.la missing from xorg-x11-libICE Product: openSUSE 10.2 Version: RC 5 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: sndirsch@novell.com ReportedBy: eich@novell.com QAContact: sndirsch@novell.com the .la file was accidentally forgotten from the devel packet (yes, libtool sucks). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233200 sndirsch@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sndirsch@novell.com AssignedTo|sndirsch@novell.com |dmueller@novell.com ------- Comment #1 from sndirsch@novell.com 2007-01-10 09:30 MST ------- Dirk removed it by intention. ------------------------------------------------------------------- Tue Oct 24 17:55:34 CEST 2006 - dmueller@suse.de - strip .la file -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233200 dmueller@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Comment #2 from dmueller@novell.com 2007-01-10 09:57 MST ------- please recompile the package that needs it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233200 eich@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | ------- Comment #3 from eich@novell.com 2007-01-11 13:44 MST ------- I cannot build X sources that depend on it without it. So put it back! And DON'T close my bugs as invalid! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233200 ------- Comment #4 from eich@novell.com 2007-01-11 14:58 MST ------- This is what happens: /bin/sh ../libtool --tag=CC --mode=link cc -DXFILESEARCHPATHDEFAULT=\"/usr/etc/X11/%L/%T/%N%C%S:/usr/etc/X11/%l/%T/%N%C%S:/usr/etc/X11/%T/%N%C%S:/usr/etc/X11/%L/%T/%N%S:/usr/etc/X11/%l/%T/%N%S:/usr/etc/X11/%T/%N%S:/usr/share/X11/%L/%T/%N%C%S:/usr/share/X11/%l/%T/%N%C%S:/usr/share/X11/%T/%N%C%S:/usr/share/X11/%L/%T/%N%S:/usr/share/X11/%l/%T/%N%S:/usr/share/X11/%T/%N%S:/usr/lib/X11/%L/%T/%N%C%S:/usr/lib/X11/%l/%T/%N%C%S:/usr/lib/X11/%T/%N%C%S:/usr/lib/X11/%L/%T/%N%S:/usr/lib/X11/%l/%T/%N%S:/usr/lib/X11/%T/%N%S\" -DERRORDB=\"/usr/lib/X11/XtErrorDB\" -DMALLOC_0_RETURNS_NULL -DXTMALLOC_BC -I/work/eich/git/install//usr/include -g -L/work/eich/git/install//usr/lib -o libXt.la -rpath /usr/lib -version-number 6:0:0 -no-undefined ActionHook.lo Alloc.lo ArgList.lo Callback.lo ClickTime.lo Composite.lo Constraint.lo Convert.lo Converters.lo Core.lo Create.lo Destroy.lo Display.lo Error.lo Event.lo EventUtil.lo Functions.lo GCManager.lo Geometry.lo GetActKey.lo GetResList.lo GetValues.lo HookObj.lo Hooks.lo Initialize.lo Intrinsic.lo Keyboard.lo Manage.lo NextEvent.lo Object.lo PassivGrab.lo Pointer.lo Popup.lo PopupCB.lo RectObj.lo ResConfig.lo Resources.lo Selection.lo SetSens.lo SetValues.lo SetWMCW.lo Shell.lo TMaction.lo TMgrab.lo TMkey.lo TMparse.lo TMprint.lo TMstate.lo Threads.lo VarCreate.lo VarGet.lo Varargs.lo Vendor.lo sharedlib.lo StringDefs.lo -lSM -lICE -lX11 -lpthread -lXau -lXdmcp -lxcb-xlib grep: /usr/lib/libICE.la: No such file or directory /usr/bin/sed: can't read /usr/lib/libICE.la: No such file or directory libtool: link: `/usr/lib/libICE.la' is not a valid libtool archive make[5]: *** [libXt.la] Error 1 make[5]: Leaving directory `/work/eich/git/build/xorg/lib/libXt/src' make[4]: *** [all] Error 2 make[4]: Leaving directory `/work/eich/git/build/xorg/lib/libXt/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/work/eich/git/build/xorg/lib/libXt' make[2]: *** [all] Error 2 make[2]: Leaving directory `/work/eich/git/build/xorg/lib/libXt' make[1]: *** [xorg/lib/libXt] Error 2 make[1]: Leaving directory `/work/eich/git/build' make: *** [xorg/lib/libXt] Error 2 The reason: Xt depends on libSM. However libSM depends in libICE: $ pkg-config --libs "sm" -lSM -lICE So -lICE is added to the libtool command line. It looks somehow inconsistent to remove an .la file when we install pkgconfig files which at the same time indicate a dependency. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233200 ------- Comment #5 from dmueller@novell.com 2007-01-11 15:30 MST ------- yes, and your libSM isn't recompiled after you updated libICE. There are two ways to indicate a dependency. your libSM.la (wherever it is) contains a dependency on libICE.la. However, when it is recompiled, it will contain a dependeny on -lICE, like it should. and no: the libSM.la we ship does not contain a dependency on libICE.la. It should come from your system. We're building almost 2000 packages (including libXt) against libICE so this issue would have come up already otherwise ;) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233200 ------- Comment #6 from sndirsch@novell.com 2007-01-11 21:15 MST ------- *** Bug 233781 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233200 dmueller@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |eich@novell.com ------- Comment #7 from dmueller@novell.com 2007-01-12 01:52 MST ------- please report if you see further problems. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233200 ------- Comment #8 from eich@novell.com 2007-01-12 03:58 MST ------- So what you are trying to say is that you 'make install' libICE, and remove libICE.la before you build libSM? What was the reason for removing libICE.la? What was the ticket number for the above mentioned change? (I cannot access the rpms at the moment due to #233998). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233200 dmueller@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenther@novell.com ------- Comment #9 from dmueller@novell.com 2007-01-12 04:10 MST ------- Thats correct, thats how the packages are built. The reason for removing libICE.la was that it is an unnecessary libtool file, because libICE itself doesn't have any dependencies, hence libtool can live fine without that file. Removing the file has the advantage that no package that is built against it will hardcode the location and the existance of the libICE.la, which gives developers a greater freedom in building against new packages or developing (because they no longer have to recompile all depending sources). This has been discussed on suse internal mailinglists. I think there is no bugzilla entry in particular for it, but I'm not sure. In any case there is a brp check for it and we intend to make it fatal for 10.3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233200 ------- Comment #10 from dmueller@novell.com 2007-01-12 04:12 MST ------- in any case I don't understand your problem. Either you want to compile only libXt: then use the suse libSM package, and your problem is gone. or you want to compile all the stack on your own, in that case compile libICE yourself as well, which will fix your problem (because then the la file is back, although in a wrong location). Or, the easiest of it all: recompile your libSM and the problem is gone as well. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233200 ------- Comment #11 from eich@novell.com 2007-01-12 07:33 MST ------- I sometimes need to build the entire stack - but in a way that they rely upon the installed versions and without installing each package into the system. Therefore I use DESTDIR or similar tricks. The problem was that libtool found the version of libICE that was installed in DESTDIR and added the dependency but added the the path to the system library directory (probably because of --prefix=/usr). Yes, the hardcoded paths of libraries in the .la files seems to haunt a lot of people. At least I've heard several people complain about it and people are even thinking about getting rid of libtool again for X because it causes at least as many problems as it solves. In any case I managed to solve my problem by tweaking some configure and make variables. I was glad that I was able to find out how without having to obtain a deeper understanding of libtool. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233200 dmueller@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|eich@novell.com | Resolution| |WONTFIX ------- Comment #12 from dmueller@novell.com 2007-01-12 07:59 MST ------- ok, thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com