Package Details: perl-imager 1.029-1

Git Clone URL: https://aur.archlinux.org/perl-imager.git (read-only, click to copy)
Package Base: perl-imager
Description: Perl extension for Generating 24 bit Images
Upstream URL: https://metacpan.org/release/Imager
Licenses: GPL, PerlArtistic
Submitter: xenoterracide
Maintainer: eworm (trizen)
Last Packager: eworm
Votes: 5
Popularity: 0.000000
First Submitted: 2010-02-12 01:19 (UTC)
Last Updated: 2025-10-09 09:30 (UTC)

Latest Comments

m040601 commented on 2025-10-09 14:03 (UTC)

... try again with 1.029-1.

Problem solved. Builds and works perfectly. Thanks for the quick response and the work maintaing the PKGBUILD.

eworm commented on 2025-10-09 09:31 (UTC)

Please try again with 1.029-1.

m040601 commented on 2025-10-09 09:24 (UTC) (edited on 2025-10-09 09:29 (UTC) by m040601)

"perl-imager" fails to buid on my system, on 2025-10-09.

Name            : perl
Version         : 5.42.0-1
Depends On      : gdbm>=1.17  db5.3  glibc  libxcrypt  libcrypt.so=2-64
Packager        : Antonio Rojas <arojas@archlinux.org>
Build Date      : Sun 13 Jul 2025 05:43:52 PM WEST
Install Date    : Thu 17 Jul 2025 02:25:58 AM WEST

I was actually trying to install "perl-imager-qrcode" for which "perl-imager" is a dependency.

$ yay -S perl-imager

Seems to be going fine, lots of "Result: PASS" but then, something wrong with "TIFF" ???

...
...

make[1]: Leaving directory '/dev/shm/aurydesty/perl-imager/src/Imager-1.027/SGI'
make[1]: Entering directory '/dev/shm/aurydesty/perl-imager/src/Imager-1.027/TIFF'
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- TIFF.bs ../blib/arch/auto/Imager/File/TIFF/TIFF.bs 644
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, '../blib/lib', '../blib/arch')" t/*.t
t/10tiff.t .. 1/? # libtiff binary release 4.7.1
# build version date 20250911
# build version 4.7.1
t/10tiff.t .. 81/?
#   Failed test 'check warning is set'
#   at t/10tiff.t line 383.

#   Failed test 'check that warning tag correct'
#   at t/10tiff.t line 384.
#                   undef
#     doesn't match '(?^:TIFFReadDirectory: Unknown field with tag 28712)'
# Looks like you failed 2 tests of 258.
t/10tiff.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/258 subtests

Test Summary Report
-------------------
t/10tiff.t (Wstat: 512 (exited 2) Tests: 258 Failed: 2)
  Failed tests:  89-90
  Non-zero exit status: 2
Files=1, Tests=258,  1 wallclock secs ( 0.07 usr  0.00 sys +  0.80 cusr  0.13 csys =  1.00 CPU)
Result: FAIL
Failed 1/1 test programs. 2/258 subtests failed.
make[1]: *** [Makefile:839: test_dynamic] Error 2
make[1]: Leaving directory '/dev/shm/aurydesty/perl-imager/src/Imager-1.027/TIFF'
make: *** [Makefile:1476: subdirs-test_dynamic] Error 2
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: perl-imager-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
perl-imager - exit status 4
Dependencies (8)

  • freetype2 (freetype2-qdoled-aw3225qf^AUR, freetype2-git^AUR, freetype2-macos^AUR,
    freetype2-qdoled^AUR)
  • giflib (giflib-git^AUR)
  • glibc (glibc-git^AUR, glibc-eac^AUR)
  • libjpeg (mozjpeg-git^AUR, mozjpeg^AUR, libjpeg-turbo-git^AUR, libjpeg-turbo)
  • libpng (libpng-git^AUR, libpng-apng^AUR)
  • libtiff (libtiff-git^AUR, libtiff-lerc^AUR)
  • perl (perl-git^AUR)
  • perl-parse-recdescent (optional) – needed to parse transform2() expressions

$ pacman -QS tiff

local/libtiff 4.7.1-1
    Library for manipulation of TIFF images

$ pacman -Qi tiff

Name            : libtiff
Version         : 4.7.1-1
Provides        : libtiff.so=6-64  libtiffxx.so=6-64
Depends On      : gcc-libs  glibc  jbigkit  libdeflate  libjpeg-turbo  libjpeg.so=8-64  libwebp  xz  zlib  zstd
Optional Deps   : freeglut: for using tiffgt [installed]
Required By     : djvulibre  ghostscript  graphicsmagick  imlib2  lcms2  leptonica  libcupsfilters  netpbm  openjpeg2  poppler  python-pillow  sane  sdl2_image  xloadimage
Optional For    : fim  imagemagick
Installed Size  : 1293.36 KiB
Packager        : T.J. Townsend <blakkheim@archlinux.org>
Build Date      : Thu 18 Sep 2025 02:59:42 PM WEST
Install Date    : Thu 18 Sep 2025 11:56:47 PM WEST
Install Reason  : Installed as a dependency for another package

eworm commented on 2024-09-05 06:35 (UTC)

Adopted and update. I've added you as a co-maintainer, so you can still push your changes.

trizen commented on 2024-09-05 06:22 (UTC)

@eworm: I'm away from PC for a while. Please feel free to adopt and update the package.

eworm commented on 2024-09-04 20:15 (UTC)

Fails to build now...

freetyp2.c: In function ‘i_ft2_glyph_name’:
freetyp2.c:1142:25: error: implicit declaration of function ‘FT_Has_PS_Glyph_Names’; did you mean ‘FT_Get_Glyph_Name’? [-Wimplicit-function-declaration]
 1142 |   if (reliable_only && !FT_Has_PS_Glyph_Names(handle->face)) {
      |                         ^~~~~~~~~~~~~~~~~~~~~
      |                         FT_Get_Glyph_Name

Please add:

prepare() { 
    cd "$srcdir/$_distdir"
    sed -i '/FT_FREETYPE_H/a #include FT_TYPE1_TABLES_H' FT2/freetyp2.c 
}

trizen commented on 2024-06-25 17:34 (UTC)

Adopted and updated to version 1.024. All tests now pass.