Package Details: php80-imagick 3.7.0-2

Git Clone URL: https://aur.archlinux.org/php80-imagick.git (read-only, click to copy)
Package Base: php80-imagick
Description: PHP 8.0 extension to create and modify images using the ImageMagick library
Upstream URL: https://github.com/imagick/imagick
Licenses: PHP
Submitter: muhviehstarr
Maintainer: muhviehstarr
Last Packager: muhviehstarr
Votes: 3
Popularity: 0.000579
First Submitted: 2020-12-03 02:26 (UTC)
Last Updated: 2022-03-18 17:54 (UTC)

Dependencies (5)

Required by (0)

Sources (2)

Latest Comments

muhviehstarr commented on 2023-05-28 08:07 (UTC)

Thx, i will add the flags after my vacation

kescherAUR commented on 2023-05-28 08:06 (UTC)

@Fuxy you need to add these two lines to the top of php80's PKGBUILD:

export CFLAGS="${CFLAGS} -fPIC" 
export CXXFLAGS="${CXXFLAGS} -fPIC"

I consider this a gcc-libs bug (starting from version 13.*), but the devs sadly don't. See also the comments on https://aur.archlinux.org/pkgbase/php82

Fuxy commented on 2023-05-27 23:05 (UTC) (edited on 2023-05-27 23:05 (UTC) by Fuxy)

Manually building like @karamelmar doesn't seem to work... i mean it builds but the tests fail and if you install it anyway and load it in php80 it will segfault.

phpize80 diesn't seem to do a good job...

karamelmar commented on 2022-03-10 07:40 (UTC) (edited on 2022-03-10 07:43 (UTC) by karamelmar)

+1
same problem here.
Error is:
FAIL Imagick don't borg the error handler [tests/270_imagick_restoreErrorHandler.phpt]
skipping errors did not help.

Solved it in the meantime by compiling:
git clone https://github.com/Imagick/imagick
cd imagick
phpize80 && ./configure
make
make install

you may also ned to put
extension=imagick.so
in to you PHP 8.0 php.ini file or create a extra ini file in conf.d (f.e.: /etc/php80/conf.d/20-imagick.ini)

df8oe commented on 2022-02-01 11:11 (UTC)

Does no longer build.
1) checksums do not match. I tried to solve with updpkgsums - now building starts.
2) Buildinf now finishes but gives an error at TESTS: Test reading properties [tests/009_properties.phpt]
I can skip this test - then packaging ends successfully. But I do not know if that is a good idea...