Package Details: libmagick6 6.9.13.26-1

Git Clone URL: https://aur.archlinux.org/imagemagick6.git (read-only, click to copy)
Package Base: imagemagick6
Description: An image viewing/manipulation program (legacy 6.9.13-* series; library)
Upstream URL: https://legacy.imagemagick.org/
Keywords: ImageMagick imagemagick6
Licenses: custom
Submitter: arojas
Maintainer: envolution
Last Packager: envolution
Votes: 10
Popularity: 0.000000
First Submitted: 2021-01-29 14:32 (UTC)
Last Updated: 2025-07-17 01:57 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 13 Next › Last »

yochananmarqos commented on 2023-09-17 23:53 (UTC)

@Armag67: Yes, it's failing to build currently. Not sure why. I didn't realize it had failed when I updated the package earlier.

Armag67 commented on 2023-09-17 22:20 (UTC) (edited on 2023-09-17 22:41 (UTC) by Armag67)

Hello,

git clone https://aur.archlinux.org/imagemagick6.git
cd imagemagick6
env LC_ALL=C makepkg -si

ends with:

...
libtool: install: /usr/bin/install -c coders/.libs/xwd.soT /home/h2/Installs/git/imagemagick6/pkg/libmagick6/usr/lib/ImageMagick-6.9.12/modules-Q16HDRI/coders/xwd.so
libtool: install: /usr/bin/install -c coders/.libs/xwd.lai /home/h2/Installs/git/imagemagick6/pkg/libmagick6/usr/lib/ImageMagick-6.9.12/modules-Q16HDRI/coders/xwd.la
libtool: warning: remember to run 'libtool --finish /usr/lib/ImageMagick-6.9.12/modules-Q16HDRI/coders'
make[2]: Leaving directory '/home/h2/Installs/git/imagemagick6/src/ImageMagick-6.9.12-94'
make[1]: *** [Makefile:11804: install-am] Error 2
make[1]: Leaving directory '/home/h2/Installs/git/imagemagick6/src/ImageMagick-6.9.12-94'
make: *** [Makefile:11797: install] Error 2
==> ERROR: A failure occurred in package_libmagick6().
    Aborting...

on Manjaro Linux stable.

A C compiler problem not yet up to date on Manjaro stable?

Edit: Nope, on Arch Linux gcc is at 13.2.1-3 and on Manjaro stable its version is the same...

yochananmarqos commented on 2023-07-05 17:10 (UTC)

@fbrennan:

…and?

"To avoid problems caused by your particular system configuration, build packages in a clean chroot."

-- https://wiki.archlinux.org/title/Arch_User_Repository#Debugging_the_package_build_process

I work on Perl code. I have those variables set. Other users are likely to as well.

I see. I suppose there's no harm in unsetting them, then.

fbrennan commented on 2023-07-05 04:10 (UTC)

@yochananmarqos:

@fbrennan: I just built it successfully in a clean chroot.

…and?

I work on Perl code. I have those variables set. Other users are likely to as well.

$ echo $PERL5LIB $PERL_LOCAL_LIB_ROOT $PERL_MB_OPT $PERL_MM_OPT 
/home/fred/perl5/lib/perl5 /home/fred/perl5 --install_base "/home/fred/perl5" INSTALL_BASE=/home/fred/perl5

Once I knew the issue I could solve it; others are likely to be able to as well, but CPAN sets these for Perl developers by default and it's not obvious what's going on. I don't see why you don't want to unset them.

twnaing commented on 2023-07-05 01:49 (UTC) (edited on 2023-07-05 02:36 (UTC) by twnaing)

@yochananmarqos, I commented out because I am having problem installing this package and @xxxxme mentioned to comment out 2 lines. https://aur.archlinux.org/packages/libmagick6?O=10#comment-876919

By following @fbrennan cue to unset env variable, I can successfully build the package. https://aur.archlinux.org/packages/libmagick6#comment-922434 No more mv: cannot move '/home/xxxxme/Downloads/imagemagick6/pkg/libmagick6/usr/bin' to 'usr/bin': Directory not empty error.

However, the package_libmagick6() still fails with mv: cannot move '/home/user/Downloads/imagemagick6/pkg/libmagick6/usr/bin' to 'usr/bin': Directory not empty.

~Can this package be installed together with imagemagick7 package?~ I can install it on another machine without any issue together with imagemagick7.

yochananmarqos commented on 2023-07-04 14:33 (UTC)

@fbrennan: I just built it successfully in a clean chroot.

fbrennan commented on 2023-07-04 06:29 (UTC)

Build failure. Not using AUR helper despite the directory, I cd'd into the cache dir and ran makepkg, same error.

mv: cannot stat '/home/fred/.cache/yay/imagemagick6/pkg/libmagick6/usr/lib/perl5': No such file or directory
==> ERROR: A failure occurred in package_libmagick6().
    Aborting...

I noted with some concern the existence of this dir under pkg

[fred@デブ.狸.agency ~/.cache/yay/imagemagick6]$ tree pkg/libmagick6/home
pkg/libmagick6/home
└── fred
    └── perl5
        ├── lib
        │   └── perl5
        │       └── x86_64-linux-thread-multi
        │           ├── auto
        │           │   └── Image
        │           │       └── Magick
        │           │           └── Q16HDRI
        │           │               ├── autosplit.ix
        │           │               └── Q16HDRI.so
        │           ├── Image
        │           │   ├── Magick
        │           │   │   └── Q16HDRI.pm
        │           │   └── Magick.pm
        │           └── perllocal.pod
        └── man
            └── man3
                ├── Image::Magick.3pm
                └── Image::Magick::Q16HDRI.3pm

Here's a patch for you:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

- From 957c3093baaae86bf516e2128de45cc3f39df0ee Mon Sep 17 00:00:00 2001
From: Fredrick Brennan <copypaste@kittens.ph>
Date: Tue, 4 Jul 2023 02:23:50 -0400
Subject: [PATCH] pkgrel 2: unperl

- ---
 .SRCINFO |  2 +-
 PKGBUILD | 10 +++++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 7c0e1d2..102f8b2 100644
- --- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = imagemagick6
    pkgdesc = An image viewing/manipulation program (legacy 6.9.12-* series)
    pkgver = 6.9.12.90
- - pkgrel = 1
+   pkgrel = 2
    url = https://legacy.imagemagick.org/
    arch = x86_64
    license = custom
diff --git a/PKGBUILD b/PKGBUILD
index 9ed8653..41fe1b3 100644
- --- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libmagick6
 pkgbase=imagemagick6
 _pkgver=6.9.12-90
 pkgver=${_pkgver//-/.}
- -pkgrel=1
+pkgrel=2
 pkgdesc="An image viewing/manipulation program (legacy 6.9.12-* series)"
 url="https://legacy.imagemagick.org/"
 arch=('x86_64')
@@ -25,6 +25,10 @@ validpgpkeys=('D8272EF51DA223E4D05B466989AB63D48277377A') # Lexie Parsimoniae (I

 shopt -s extglob

+_unperl() {
+  unset PERL5LIB PERL_LOCAL_LIB_ROOT PERL_MB_OPT PERL_MM_OPT
+}
+
 prepare() {
   mkdir -p binpkg/usr/lib/pkgconfig {binpkg,docpkg}/usr/share

@@ -35,7 +39,9 @@ prepare() {
 }

 build() {
+  _unperl
   cd ImageMagick-$_pkgver
+  unset PERL5LIB PERL_LOCAL_LIB_ROOT PERL_MB_OPT PERL_MM_OPT
   ./configure \
     PKG_CONFIG="/usr/bin/env PKG_CONFIG_PATH=/usr/lib/$pkgbase/pkgconfig pkg-config" \
     --prefix=/usr \
@@ -73,12 +79,14 @@ build() {
 }

 check() (
+  _unperl
   cd ImageMagick-$_pkgver
   ulimit -n 4096
   make check || :
 )

 package_libmagick6() {
+  _unperl
   pkgdesc="${pkgdesc/)/; library)}"
   optdepends=('ghostscript: PS/PDF support'
               'libheif: HEIF support'
- -- 
2.41.0

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQS1rLeeEfG/f0nzK7hYUwVpYvFOWAUCZKO7cgAKCRBYUwVpYvFO
WDfZAP9+UWdH1pg1wY5tqySQoZwhLPib9YH2gNHVnVinmjIhDQD/SZlnSkPcZPJP
CXiyCius7CEwdibO+by7oyQi5gMdiw0=
=ZEaA
-----END PGP SIGNATURE-----

yochananmarqos commented on 2023-05-14 16:18 (UTC)

@twnaing: There are no conflicting files. Why are you commenting anything out?

twnaing commented on 2023-05-14 16:05 (UTC)

manual building libmagick6 6.9.12.86-1 with perl5 and man lines commented out. Now I have the following error.

error: failed to commit transaction (conflicting files)                                                                                                                                                                                                                                                                         
libmagick6: /usr/share/man/man1/ImageMagick.1.gz exists in filesystem (owned by imagemagick)                                                                                                                                                                                                                                    
libmagick6: /usr/share/man/man1/Magick++-config.1.gz exists in filesystem (owned by imagemagick)                                                                                                                                                                                                                                
libmagick6: /usr/share/man/man1/MagickCore-config.1.gz exists in filesystem (owned by imagemagick)                                                                                                                                                                                                                              
libmagick6: /usr/share/man/man1/MagickWand-config.1.gz exists in filesystem (owned by imagemagick)                                                                                                                                                                                                                              
libmagick6: /usr/share/man/man1/animate.1.gz exists in filesystem (owned by imagemagick)                                                                                                                                                                                                                                        
libmagick6: /usr/share/man/man1/compare.1.gz exists in filesystem (owned by imagemagick)                                                                                                                                                                                                                                        
libmagick6: /usr/share/man/man1/composite.1.gz exists in filesystem (owned by imagemagick)                                                                                                                                                                                                                                      
libmagick6: /usr/share/man/man1/conjure.1.gz exists in filesystem (owned by imagemagick)                                                                                                                                                                                                                                        
libmagick6: /usr/share/man/man1/convert.1.gz exists in filesystem (owned by imagemagick)                                                                                                                                                                                                                                        
libmagick6: /usr/share/man/man1/display.1.gz exists in filesystem (owned by imagemagick)                                                                                                                                                                                                                                        
libmagick6: /usr/share/man/man1/identify.1.gz exists in filesystem (owned by imagemagick)                                                                                                                                                                                                                                       
libmagick6: /usr/share/man/man1/import.1.gz exists in filesystem (owned by imagemagick)                                                                                                                                                                                                                                         
libmagick6: /usr/share/man/man1/mogrify.1.gz exists in filesystem (owned by imagemagick)                                                                                                                                                                                                                                        
libmagick6: /usr/share/man/man1/montage.1.gz exists in filesystem (owned by imagemagick)
libmagick6: /usr/share/man/man1/stream.1.gz exists in filesystem (owned by imagemagick)

bartus commented on 2023-03-29 18:03 (UTC)

@yochananmarqos: 👍