Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 766683 - media-gfx/imagemagick: rm *.la fails with sys-devel/slibtool
Summary: media-gfx/imagemagick: rm *.la fails with sys-devel/slibtool
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Codec Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-01-23 15:10 UTC by Joakim Tjernlund
Modified: 2021-10-16 21:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joakim Tjernlund 2021-01-23 15:10:59 UTC
* ERROR: media-gfx/imagemagick-7.0.10.52::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 125:  Called src_install
 *   environment, line 1992:  Called die
 * The specific snippet of code:
 *       rm "${ED}"/usr/$(get_libdir)/*.la || die;
Comment 1 Larry the Git Cow gentoo-dev 2021-01-23 15:28:07 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cabc71e350affd59fcbbaec8235faa0ef106c8b6

commit cabc71e350affd59fcbbaec8235faa0ef106c8b6
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2021-01-23 15:26:46 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2021-01-23 15:28:04 +0000

    media-gfx/imagemagick: Fixed build with sys-devel/slibtool
    
    Bug: https://bugs.gentoo.org/766683
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 media-gfx/imagemagick/imagemagick-6.9.11.52.ebuild | 2 +-
 media-gfx/imagemagick/imagemagick-6.9.11.58.ebuild | 2 +-
 media-gfx/imagemagick/imagemagick-7.0.10.52.ebuild | 2 +-
 media-gfx/imagemagick/imagemagick-7.0.10.58.ebuild | 2 +-
 media-gfx/imagemagick/imagemagick-9999.ebuild      | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2021-01-23 15:30:31 UTC
I have changed the "rm ..." call to a corrresponding "find ... -delete" call but I wonder if imagemagick plugins consumers still work when slibtool does not install any .la files at all.
Comment 3 Joakim Tjernlund 2021-01-24 09:40:07 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #2)
> I have changed the "rm ..." call to a corrresponding "find ... -delete" call
> but I wonder if imagemagick plugins consumers still work when slibtool does
> not install any .la files at all.

At least this built fine:
Installed versions:  7.0.10.52(0/7.0.10-37)^t(10:38:39 2021-01-24)(X bzip2 cxx fontconfig jpeg lcms openmp pango png svg tiff truetype xml zlib -corefonts -djvu -fftw -fpx -graphviz -hdri -heif -jbig -jpeg2k -lqr -lzma -opencl -openexr -perl -postscript -q32 -q8 -raw -static-libs -test -webp -wmf)
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2021-01-24 11:20:03 UTC
Andreas, the change has no effect on the package being generated by GNU libtool so there's no functional change for the ordinary users. I leave the decision to close this bug up to you.
Comment 5 orbea 2021-01-28 01:58:30 UTC
> but I wonder if imagemagick plugins consumers still work when slibtool does not install any .la files at all.

The slibtool package provides various symlinks that affects its behavior, the rclibtool, rdclibtool, clibtool, clibtool-shared and clibtool-static symlinks will install the .la files for when the program really needs them.

A better long term solution would be to fix the program to not depend on installed .la files, but I'm not sure if that is still the case in imagemagick?
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2021-10-16 21:55:00 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #4)
> Andreas, the change has no effect on the package being generated by GNU
> libtool so there's no functional change for the ordinary users. I leave the
> decision to close this bug up to you.

Thanks. Let's close it. If the plugins dont work with slibtool it should be a new report.