Bug 185237
Summary: | Removing some libtool .la files breaks convert | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Robert Scheck <redhat-bugzilla> |
Component: | ImageMagick | Assignee: | Matthias Clasen <mclasen> |
Status: | CLOSED RAWHIDE | QA Contact: | Mike McLean <mikem> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | mtasaka, pahan, rc040203, rdieter, stefan.hoelldampf |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 6.2.5.4-4.2.1.fc5.3 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-05-26 15:13:18 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Robert Scheck
2006-03-12 14:32:20 UTC
Will be fixed in the next build I think, I'm introducing a bug with this request (noticed this morning by myself), originally: > convert -list format | wc -l 182 > After my suggested change: > convert -list format | wc -l 5 > Nevertheless, the current *.la behaviour in ImageMagick <= 6.2.5.4-4.2.1 *is* broken, because the %{_libdir}/ImageMagick-*/modules*/*/*.la just require and really need %{_libdir}/lib*.la to satisfy dependencies. Hell, I don't know what best is now. Maybe include %{_libdir}/lib*.la into the main package, because otherwise the -devel always would be required (and normally, *.la should end up in -devel). Or you could just remove %{_libdir}/ lib*.la requirements using sed/perl? But this decision is up to you as Red Hat maintainer, I already (unfortunately) broke the stuff :-S Ah, for my own use I decided to only nuke the dependency libs of the *.la files to be close to the previous stuff (and convert is working again): sed -i "s/dependency_libs='.*'/dependency_libs=''/g" $RPM_BUILD_ROOT%{_libdir}/ ImageMagick-*/modules*/*/*.la Yep, not good: $ rpm -q ImageMagick ImageMagick-6.2.5.4-4.2.1.fc5.2 $ identify -list format Format Module Mode Description ------------------------------------------------------------------------------- * native blob support IMO, you shouldn't touch/remove anything but %{_libdir}/lib*.la files. If rpm pulls deps from non-shared libs' .la files (ie, ImageMagick's loadable modules in %{_libdir}/ImageMagick-*/modules*/*/*.la), that's a bug in rpm. Current ImageMagick-6.2.5.4-4.2.1.fc5.2 seems to have removed modules-Q16/coders/*.la files. Now at least display, convert no longer work. Actually, magick/module.c, especially the funtion TagToModuleName() explicitly requires modules*/*/*.la files to find and load modules. modules*/*/*.la files should be included in ImageMagick MAIN package, again!! Matthias, please revert my initial patch for next rebuilding as I suggested in comment #2 two months ago. As pulling deps from non-shared libs' .la files could be also an RPM problem, I opened up bug #193134. Matthias, you _must_ not remove *.la's from a package having been released as part of a release. Once they are in, they _must_ stay at least for the life-time of the release. I.e. you can remove them from devel if you feel like doing it, but you must not remove them FCN releases. For FC5 issue, the *.la problem seems to be solved by bug 191325. Sorry, by bug 193125, not by bug 191325. ImageMagick-6.2.5.4-4.2.1.fc5.3 was built in Rawhide today reverting the problem -> closing this bug report. The RPM related part was moved to bug #193134 (already mentioned yesterday in comment #7). |