Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Dec 2012 14:12:16 GMT
From:      Spil <spil.oss@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/174367: [graphics/pecl-imagick] Build broken due to dependency on MagickWand.5
Message-ID:  <201212111412.qBBECGT1011055@red.freebsd.org>
Resent-Message-ID: <201212111420.qBBEK0JP075001@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         174367
>Category:       ports
>Synopsis:       [graphics/pecl-imagick] Build broken due to dependency on MagickWand.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 11 14:20:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Spil
>Release:        FreeBSD 9.1-RELEASE
>Organization:
n.a.
>Environment:
FreeBSD gw.example.org 9.1-RELEASE FreeBSD 9.1-RELEASE #1 r243787: Mon Dec  3 18:52:28 CET 2012     root@gw.example.org:/usr/obj/usr/src/sys/BEASTIE91  i386

>Description:
Re-building pecl-imagick failed

===>  Installing for ImageMagick-nox11-6.8.0.7
===>   ImageMagick-nox11-6.8.0.7 depends on file: /usr/local/bin/perl5.14.2 - found
===>   Generating temporary packing list
===>  Checking if graphics/ImageMagick-nox11 already installed
===>   ImageMagick-nox11-6.8.0.7 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of graphics/ImageMagick-nox11
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/graphics/ImageMagick-nox11.
*** Error code 1

Stop in /usr/ports/graphics/ImageMagick-nox11.
*** Error code 1

Stop in /usr/ports/graphics/pecl-imagick.



>How-To-Repeat:
Version-bump of php forced me to rebuild pecl-imagick. This in turn pulled in graphics/ImageMagick due to a dependency on MagickWand.5
I guess that with ImageMagick 6.9 the lib's version was bumped to MagickWand.6

Please find the patch in the "Fix to the problem"
>Fix:
--- Makefile.orig       2012-12-11 15:08:33.000000000 +0100
+++ Makefile    2012-12-11 15:06:00.000000000 +0100
@@ -17,9 +17,9 @@
 COMMENT=       Provides a wrapper to the ImageMagick/GraphicsMagick library

 .if !defined(WITHOUT_X11)
-LIB_DEPENDS=   MagickWand.5:${PORTSDIR}/graphics/ImageMagick
+LIB_DEPENDS=   MagickWand.6:${PORTSDIR}/graphics/ImageMagick
 .else
-LIB_DEPENDS=   MagickWand.5:${PORTSDIR}/graphics/ImageMagick-nox11
+LIB_DEPENDS=   MagickWand.6:${PORTSDIR}/graphics/ImageMagick-nox11
 .endif

 LICENSE=       PHP301


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212111412.qBBECGT1011055>