Package Details: imagemagick-full 7.1.1.32-1

Git Clone URL: https://aur.archlinux.org/imagemagick-full.git (read-only, click to copy)
Package Base: imagemagick-full
Description: An image viewing/manipulation program (Q32 HDRI with all possible features)
Upstream URL: https://www.imagemagick.org/
Keywords: convert graphics image imagemagick photo
Licenses: LicenseRef-custom
Conflicts: imagemagick, libmagick
Provides: imagemagick, libmagick, libmagick-full
Replaces: libmagick-full
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 17
Popularity: 0.000055
First Submitted: 2015-12-27 13:40 (UTC)
Last Updated: 2024-05-05 22:02 (UTC)

Required by (1052)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

dbermond commented on 2018-01-24 23:31 (UTC)

@japp1egate Your perl files are being installed to ${pkgdir}/home/japple/perl5/lib/perl5/ instead of ${pkgdir}/usr/lib/perl5/. I don't know why.

Sorry, but I have no solution for this. You're the first one to raise this issue here. Make sure that you don't have the environment variables DESTDIR and pkgdir setted elsewhere.

As a final attempt, you can try to build in a chroot by using devtools. It should work since it will build in an isolated environment.

japp1egate commented on 2018-01-24 22:39 (UTC)

Full output of makepkg -ris posted as GitHub gist at:

https://gist.github.com/japp1egate/e3146b9b49bccbf017d2b22d5e730db8

dbermond commented on 2018-01-24 22:22 (UTC)

@japp1egate Can you please post a complete output? Use a pastebin service and post the link here.

japp1egate commented on 2018-01-24 21:58 (UTC) (edited on 2018-01-24 22:17 (UTC) by japp1egate)

Thank you for the helpful advice. I completely removed my previous source directory, followed the instructions you provided, and came to the exact same result.

mv: cannot stat '/home/japple/src/imagemagick-full/pkg/libmagick-full/usr/lib/perl5': No such file or directory ==> ERROR: A failure occurred in package_libmagick-full(). Aborting...

I recognize and understand that you are not able to reproduce the error on your side, but by looking at the issue I'm having, are you able to make a determination as to what's actually broken and offer some advice on how to fix it?

dbermond commented on 2018-01-24 21:28 (UTC)

@japp1egate It seems that you're doing it in the wrong way. You do not need to extract the contents of the ImageMagick source tarball because it's done by makepkg. You're not supposed to copy the .diff file because it comes along with this AUR package.

Try to build using exactly these commands somewhere inside your home folder (after installing the AUR dependencies):

$ git clone https://aur.archlinux.org/imagemagick-full.git
$ cd imagemagick-full
$ makepkg -ris

japp1egate commented on 2018-01-24 19:49 (UTC) (edited on 2018-01-24 20:19 (UTC) by japp1egate)

Happened again from my homedir:

$ makepkg

...

[snipped for brevity]

...

mv: cannot stat '/home/japple/src/ImageMagick-7.0.7-22/pkg/libmagick-full/usr/lib/perl5': No such file or directory ==> ERROR: A failure occurred in package_libmagick-full(). Aborting...

I have extracted the contents of ImageMagick-7.0.7-22.tar.xz to a src/ directory in my homedir. I then copied the arch-fonts.diff into the resulting ImageMagick-7.0.7-22 directory.

After downloading the PKGBUILD file into the same extracted directory, I ran makepkg, the result of which you see above.

Inside the PKGBUILD, I see a section labeled "package_imagemagick-full()" and within that function is a line which reads 'find "$pkgdir/usr/lib/perl5" -name '*.so' -exec chrpath -d {} +'. I believe this is where the process is breaking for me.

dbermond commented on 2018-01-24 01:37 (UTC)

@japp1egate Sorry, but I cannot reproduce your issue. Package is building fine for me, even in a clean chroot.

Are you building in directory /usr/src? If so, please try to build somewhere inside your home directory. Otherwise, try to build in a clean chroot.

japp1egate commented on 2018-01-24 01:22 (UTC) (edited on 2018-01-24 01:22 (UTC) by japp1egate)

$ makepkg

...

[snipped for brevity]

...

mv: cannot stat '/usr/src/ImageMagick-7.0.7-22/pkg/libmagick-full/usr/lib/perl5': No such file or directory

dbermond commented on 2018-01-08 01:01 (UTC)

@ahjolinna Ok, no problem. Package is building fine with makepkg in a normal local build. Please try it.

No need to use chroot. I use chroot to build imagemagick-full for testing purposes only.