[Bug 194912] New: graphics/pecl-imagick incorrectly handles ImageMagick library for X11

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Nov 9 17:32:25 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194912

            Bug ID: 194912
           Summary: graphics/pecl-imagick incorrectly handles ImageMagick
                    library for X11
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: mm at FreeBSD.org
          Reporter: josh.cepek at usa.net
          Assignee: mm at FreeBSD.org
             Flags: maintainer-feedback?(mm at FreeBSD.org)

Created attachment 149224
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=149224&action=edit
Fix ImageMagick lib dependency

The makefile for graphics/pecl-imagick has conditional port library
dependencies, but this causes duplicate origin errors for those of us that
build globally without X11 support.

The problem is that the graphics/ImageMagick port defines its *own* -nox11
suffix automatically when the X11 option is disabled. This means all other
packages relying on graphics/ImageMagick's library simply depend on the library
from graphics/ImageMagick (and not the -nox11 "package.")

Building pecl-imagick under Poudriere fails during dependency resolution:

Error: Duplicated origin for ImageMagick-nox11-6.8.9.8_3,1:
graphics/ImageMagick-nox11 AND graphics/ImageMagick. Rerun with -vv to see
which ports are depending on these.

Only graphics/pecl-imagick is depending on the -nox11 version: all other
packages correctly depend on the standard one, which will correct the
PKGNAMESUFFIX itself if required.

I've attached a patch for graphics/pecl-imagick that correctly handles the
library dependency against ImageMagick.

--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Auto-assigned to maintainer mm at FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list