Package Details: libmagick6 6.9.13.18-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: 2024-11-14 09:50 (UTC)

Latest Comments

1 2 3 4 5 6 .. 13 Next › Last »

xxxxme commented on 2024-10-15 13:12 (UTC) (edited on 2024-10-15 13:13 (UTC) by xxxxme)

The source file is now .xz instead of .gz.

aspirogrammer commented on 2023-09-18 10:42 (UTC)

Thanks @MonkeeSage, that worked. (I was struggling with installing this, probably it's an issue upstream.)

MonkeeSage commented on 2023-09-18 01:56 (UTC)

@Armag67

Oops, I think I actually edited src/ImageMagick-6.9.12-94/PerlMagick/quantum/quantum.xs.in before makepkg -sief.

Armag67 commented on 2023-09-18 01:23 (UTC) (edited on 2023-09-18 02:03 (UTC) by Armag67)

@MonkeeSage

The -e switch seems not working... The second parenthesis reappears in the file pointed by the src/ImageMagick-6.9.12-94/PerlMagick/quantum/Q16HDRI.xs symlink after the makepkg -sief command...

Edit: It works, but y needed to rename ImageMagick-6.9.12-94.tar.gz to _ImageMagick-6.9.12-94.tar.gz and editing the file pointed by the src/ImageMagick-6.9.12-94/PerlMagick/quantum/Q16HDRI.xs symlink a second time, DURING the makepkg -sief execution. It must certainly be copied from another location during the execution of the command...

Edit 2: After a short search, the quantum.xs file pointed to by the Q16HDRI.xs symlink is regenerated during compilation from the quantum.xs.in file by replacing all occurrences of the character string @MAGICK_ABI_SUFFIX@ with the character string Q16HDRI.

MonkeeSage commented on 2023-09-18 00:24 (UTC)

Getting same build failure as @Armag67

Actual error is here:

Q16HDRI.xs: In function ‘XS_Image__Magick__Q16HDRI_Mogrify’:
Q16HDRI.xs:10846:38: error: expected expression before ‘)’ token
10846 |             method=(MorphologyMethod)) argument_list[2].integer_reference;
      |                                      ^
Q16HDRI.xs:10846:38: error: expected statement before ‘)’ token

Which happens during the package_libmagick6() step. The error is from the generated file src/ImageMagick-6.9.12-94/PerlMagick/quantum/Q16HDRI.xs and looks like it's being generated with a random extra paren:

          if (attribute_flag[2] != 0)
            method=(MorphologyMethod)) argument_list[2].integer_reference;

If I extract the tarball manually to a clean directory and run the ./configure command from the build() step manually, it also generates the broken files, so doesn't appear to be an issue with the aur package.

./ImageMagick-6.9.12-94/PerlMagick/quantum/quantum.xs
10846:            method=(MorphologyMethod)) argument_list[2].integer_reference;

./ImageMagick-6.9.12-94/PerlMagick/quantum/quantum.xs.in
10846:            method=(MorphologyMethod)) argument_list[2].integer_reference;

I worked around by running makepkg -sif, letting it fail, editing src/ImageMagick-6.9.12-94/PerlMagick/quantum/Q16HDRI.xs to remove the trailing paren and then running makepkg -sief (-e to prevent extracting the tarball again), and it built and installed.

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.