[php84] php-xapian, php-imagic, php-gmagick

Bjarne D Mathiesen macintosh at mathiesen.info
Fri Feb 21 12:42:13 UTC 2025


On 15/02/2025 16.04, Bjarne D Mathiesen via macports-dev wrote:
> The following extensions fail to configure -or- build:
>                      @8.2.27 @8.3.16 @8.4.3
> php-xapian              x       x       x
> logs can be found here : https://macports.mathiesen.info/logs/

Looking at the log, I see this :
:info:configure checking for /opt/local/bin/php-config83...
/opt/local/bin/php-config83
:info:configure checking /opt/local/bin/php-config83 version... 8.3.16
:info:configure checking for PHP extension directory...
/opt/local/lib/php83/extensions/no-debug-non-zts-20230831
:info:configure checking for PHP interpreter...
:info:configure Warning: Cannot load module "imagick" because
conflicting module "gmagick" is already loaded in Unknown on line 0
:info:configure Warning: Cannot load module "imagick" because
conflicting module "gmagick" is already loaded in Unknown on line 0

checking : port installed php83-?magick
The following ports are currently installed:
  php83-gmagick @2.0.6RC1_0 (active)
  php83-imagick @3.7.0_2+ImageMagick7 (active)

The underlying problem is, that presently it's possible to install
!both! php-imagick & php-gmagick even though these conflicts with each
other. I do seem to remember, that at one time, this wasn't possible.

Solution: insert a conflict test in both php-imagick & php-gmagick
https://github.com/BjarneDMat/macports-ports/commit/61a88ad
insert a conflict test in both php-imagick & php-gmagick
Changes to be committed:
	modified:   php/php-gmagick/Portfile
	modified:   php/php-imagick/Portfile

-- 
Bjarne D Mathiesen
Slagelse ; Danmark ; Europa
-----------------------------------------------------------------------
denne besked er skrevet i et totalt M$-frit miljø
MacPro 2010 5.1 ; OpenCore + macOS 14.7.4 Sonoma
2 x 3,46 GHz 6-Core Intel Xeon ; 192 GB 1333 MHz DDR3 ECC RDIMM
ATI Radeon RX 590 8 GB



More information about the macports-dev mailing list