Package Details: imagemagick-full 7.1.1.41-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.000001
First Submitted: 2015-12-27 13:40 (UTC)
Last Updated: 2024-11-18 16:35 (UTC)

Required by (1072)

Sources (2)

Latest Comments

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

dbermond commented on 2018-01-25 01:10 (UTC)

@japp1egate You can view the Wiki article: https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot

Basically, in this case you need to use the command extra-x86_64-build. Use it with makechrootpkg -I options (after --) to provide the needed AUR package dependencies.

japp1egate commented on 2018-01-25 00:00 (UTC) (edited on 2018-01-25 00:25 (UTC) by japp1egate)

Wow. That makes little-to-no sense to me. I know I haven't set DESTDIR or pkgdir to anything myself. Can you point me in the right direction for instructions to set up a clean chroot environment? No need for hand-holding or anything. Just please point me in the right direction. :)

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.