[Bug 498287] New: Xorg 7.4 devel packages from Build Service lack essential files

http://bugzilla.novell.com/show_bug.cgi?id=498287 Summary: Xorg 7.4 devel packages from Build Service lack essential files Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: maacruz@gmail.com QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- User-Agent: Mozilla/5.0 (compatible; Konqueror/3.5) KHTML/3.5.10 (like Gecko) SUSE Xorg devel packages on OBS repository lack .la library description files (and a static library files), and that makes building of packages fail (tested with kdepim3) Reproducible: Always Steps to Reproduce: 1.Install xorg from repository 2.Try to rebuild kdepim3 src rpm 3. Actual Results: Build failure because .la files are not found Console output from kdepim3 rebuild: creating ./libkdepim/addresseelineedit.kidl /bin/sh ./libtool --silent --mode=link --tag=CXX g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1 -Wl,-Bsymbolic-functions -L/opt/kde3/lib -L/usr/lib/qt3/lib -Wl,--as-needed -Wl,--enable-new-dtags -no-undefined -version-info 4:0:2 -o /libkmime/libkmime.la -rpath /opt/kde3/lib -Wl,--no-undefined -Wl,--allow-shlib-undefined -lkdecore ./libkmime/kmime_charfreq.lo /libkmime/kmime_util.lo ./libkmime/kmime_mdn.lo ./libkmime/kmime_codecs.lo /libkmime/kmime_codec_base64.lo ./libkmime/kmime_codec_uuencode.lo /libkmime/kmime_codec_qp.lo ./libkmime/kmime_codec_identity.lo /libkmime/kmime_parsers.lo ./libkmime/kmime_header_parsing.lo /libkmime/kmime_content.lo ./libkmime/kmime_headers.lo /libkmime/kmime_message.lo ./libkmime/kmime_newsarticle.lo /libkmime/boolflags.lo ./libkmime/kqcstringsplitter.lo grep: /usr/lib/libXi.la: No such file or directory /usr/bin/sed: can't read /usr/lib/libXi.la: No such file or directory libtool: link: `/usr/lib/libXi.la' is not a valid libtool archive Error creating ./libkmime/libkmime.la. Exit status 1. makeobj[0]: Leaving directory `/usr/src/packages/BUILD/kdepim-3.5.10' error: Estado de salida erróneo de /var/tmp/rpm-tmp.83336 (%build) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=498287 User sndirsch@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=498287#c1 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sndirsch@novell.com AssignedTo|bnc-team-xorg-bugs@forge.pr |crrodriguez@novell.com |ovo.novell.com | --- Comment #1 from Stefan Dirsch <sndirsch@novell.com> 2009-04-25 09:28:14 MDT --- Christian is our expert here. Reassigning. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=498287 User crrodriguez@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=498287#c2 Cristian Rodríguez <crrodriguez@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #2 from Cristian Rodríguez <crrodriguez@novell.com> 2009-04-26 07:30:46 MDT --- Ok Miguel, Im going to explain this again ( it is probably the 1000th time I do that, but well) neither "la" files nor static libraries are needed at all, this is very common misconception. to find what package is messed up in your system, try this grep "libXi.la" /usr/lib/*.la if you find the "la" file that references libXi.la you have to rebuild *that* package Both "la" files and static libraries are not coming back, at least in new products, unless you prove you have a really valid usecase. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=498287 User crrodriguez@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=498287#c3 --- Comment #3 from Cristian Rodríguez <crrodriguez@novell.com> 2009-04-26 07:42:28 MDT --- Im willing to assist you solving your problem though, please ask in opensuse-packaging mailing list and then we can check it out. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=498287 User sndirsch@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=498287#c4 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | --- Comment #4 from Stefan Dirsch <sndirsch@novell.com> 2009-04-26 10:22:30 MDT --- Christian, the issue is that X11:XOrg is also built for openSUSE 11.1. Thus I don't think this bugreport can be treated as INVALID. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=498287 User crrodriguez@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=498287#c5 Cristian Rodríguez <crrodriguez@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |maacruz@gmail.com --- Comment #5 from Cristian Rodríguez <crrodriguez@novell.com> 2009-04-26 10:42:04 MDT --- Ok, let's try to fix this in a case by case basis rather than restoring all "la" files for older products. Miguel: please tell us the what is the repository where packages are failing and how many... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=498287 User sndirsch@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=498287#c6 --- Comment #6 from Stefan Dirsch <sndirsch@novell.com> 2009-04-26 10:59:15 MDT --- I fully agree. Let's begin with a %configure \ %if %suse_version > 1110 --disable-static \ %endif --with-pic --enable-type1 ${option} in xorg-x11-libs. Hope that we don't need this for all xorg-x11-lib* packages. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=498287 User crrodriguez@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=498287#c7 --- Comment #7 from Cristian Rodríguez <crrodriguez@novell.com> 2009-04-26 12:11:32 MDT --- (In reply to comment #6)
I fully agree. Let's begin with a
%configure \ %if %suse_version > 1110 --disable-static \ %endif --with-pic --enable-type1 ${option}
in xorg-x11-libs. Hope that we don't need this for all xorg-x11-lib* packages.
There is no need to restore static libraries, just some "la" files for older products, to satisfy that insane libtool behaviour... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=498287 User maacruz@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=498287#c8 --- Comment #8 from Miguel Angel Alvarez <maacruz@gmail.com> 2009-04-27 17:23:49 MDT --- (In reply to comment #5) I just tryed to rebuild kdepim3 from updates and found the problem, so unfortunately I can't tell how many more packages are affected. The xorg packages I have installed are those from opensuse 11.1 OBS repository. The xorg-x11-libs devel packages which had needed "la" files were xorg-x11 -devel, -libs-devel, -libSM-devel, -libX11-devel, -libxcb-devel, libXext-devel, -libXfixes-devel and -libXrender-devel That's quite a few for just one package, so I think it would be safer to enable all "la" files in the 11.1 build (they are just tiny text files and won't take any noticeable space) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=498287 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|maacruz@gmail.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=498287 User crrodriguez@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=498287#c9 --- Comment #9 from Cristian Rodríguez <crrodriguez@novell.com> 2009-04-27 19:42:23 MDT --- (In reply to comment #8)
(In reply to comment #5) I just tryed to rebuild kdepim3 from updates and found the problem, so unfortunately I can't tell how many more packages are affected. The xorg packages I have installed are those from opensuse 11.1 OBS repository. The xorg-x11-libs devel packages which had needed "la" files were xorg-x11 -devel, -libs-devel, -libSM-devel, -libX11-devel, -libxcb-dev el, libXext-devel, -libXfixes-devel and -libXrender-devel
So, you are manually rebuilding instead of using the OBS ?
(they are just tiny text files and won't take any noticeable space)
Space is just one very secondary issue, la files has been removed distro-wide in order to stop (better said, workaround) a very insane libtool behavior, that links everything recursively, a trap from which is almost impossible to get out without getting rid of that files. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=498287 User maacruz@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=498287#c10 --- Comment #10 from Miguel Angel Alvarez <maacruz@gmail.com> 2009-04-28 05:32:11 MDT --- (In reply to comment #9)
So, you are manually rebuilding instead of using the OBS ? Yes, it is a particular build which needs an additional patch.
(they are just tiny text files and won't take any noticeable space)
Space is just one very secondary issue, la files has been removed distro-wide in order to stop (better said, workaround) a very insane libtool behavior, that links everything recursively, a trap from which is almost impossible to get out without getting rid of that files. I'm fine with that, but if opensuse 11.1 still needs la files, OBS xorg packages for 11.1 should have them. The alternative of reinstalling dvd devel packages back and forward and manually copying la files is quite... inconvenient.
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=498287 User sndirsch@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=498287#c11 --- Comment #11 from Stefan Dirsch <sndirsch@novell.com> 2009-04-28 06:09:53 MDT --- Christian, Miguel is just using his system for regular development. There's more than building packages for OBS. We need to address this issue. Otherwise we'll lose regular developers for testing X11:XOrg project. I'm not sure how you want to create .la files without building static libs as well. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=498287 User crrodriguez@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=498287#c12 --- Comment #12 from Cristian Rodríguez <crrodriguez@novell.com> 2009-04-28 07:19:23 MDT --- in the meanwhile we fix this.. fix your system by doing sed -i -e "s@/usr/lib/libXi.la@@g" /usr/lib/*.la -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=498287 User sndirsch@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=498287#c13 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #13 from Stefan Dirsch <sndirsch@novell.com> 2009-05-01 10:17:04 MDT --- This issue should be fixed by now. I needed to address it due to a customer related project anyway. RPM changelog for xorg-x11-libs/xorg-x11-libs-devel: Thu Apr 30 22:40:53 CEST 2009 - fix a version typo that prevented the .la files to be found for 11.0 <= version <= 11.1 ------------------------------------------------------------------- Thu Apr 30 21:53:45 CEST 2009 - pack .la files in devel package ------------------------------------------------------------------- Thu Apr 30 20:35:27 CEST 2009 - eich@suse.de - move static libraries to devel package ------------------------------------------------------------------- Thu Apr 30 18:55:01 CEST 2009 - sndirsch@suse.de - build static libraries for versions <= 11.1 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com