Bug 184040 - gtk2 erroneously includes some libtool .la file
Summary: gtk2 erroneously includes some libtool .la file
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gtk2
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-03-05 10:40 UTC by Robert Scheck
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-03-06 03:02:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Robert Scheck 2006-03-05 10:40:39 UTC
Description of problem:
$RPM_BUILD_ROOT%{_libdir}/*.la, $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.4.0/
immodules/*.la and $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.4.0/loaders/*.la are 
removed, but $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.4.0/engines/*.la was skipped. 

Is there a special reason for skipping the last one? Note, this bug report is 
very similar to bug #132792, but it is *not* a duplicate.

Version-Release number of selected component (if applicable):
gtk2-2.8.13-3

How reproducible:
Rebuild gtk2 using rpm 4.4.5 and it will stop at installing with a failed 
libtool dependency.

Actual results:
Including the %{_libdir}/gtk-2.0/2.4.0/engines/*.la file but not the whole rest 
of *.la in gtk2 will break installing of the gtk2 package at least with the new 
rpm 4.4.5 which has libtool detection.

Expected results:
Please apply the following fix (or better) to the gtk2 spec file (maybe you need 
--ignore-whitespace as patch argument) for the next rebuilding:

--- gtk2.spec       2006-03-01 15:09:35.000000000 +0100
+++ gtk2.spec.rsc   2006-03-05 11:42:11.000000000 +0100
@@ -201,6 +211,7 @@
 rm $RPM_BUILD_ROOT%{_libdir}/*.la
 rm $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.4.0/immodules/*.la
 rm $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.4.0/loaders/*.la
+rm $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.4.0/engines/*.la

 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/gtk-2.0/$host
 touch $RPM_BUILD_ROOT%{_sysconfdir}/gtk-2.0/$host/gtk.immodules

At least this change shouldn't break anything else, as far as I can see while 
doing some other rebuilding tests. Thank you! :)

Additional info:
rpm 4.4.5 is not yet in Rawhide, but should hopefully come up after FC5 release.

Comment 1 Matthias Clasen 2006-03-06 03:02:37 UTC
Will be fixed in the next build


Note You need to log in before you can comment on or make changes to this bug.