Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Oct 2007 11:12:53 -0400 (EDT)
From:      Jonathan Lennox <lennox@cs.columbia.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/116874: Build of graphics/ImageMagick hangs while testing PerlMagick
Message-ID:  <200710031512.l93FCruI003084@cnr.cs.columbia.edu>
Resent-Message-ID: <200710031540.l93Fe1PR066027@freefall.freebsd.org>

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

>Number:         116874
>Category:       ports
>Synopsis:       Build of graphics/ImageMagick hangs while testing PerlMagick
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 03 15:40:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Lennox
>Release:        FreeBSD 5.5-RELEASE-p15 i386
>Organization:
Columbia University
>Environment:
System: FreeBSD cnr.cs.columbia.edu 5.5-RELEASE-p15 FreeBSD 5.5-RELEASE-p15 #22: Tue Aug 14 12:19:54 EDT 2007 lennox@cnr.cs.columbia.edu:/usr/obj/usr/src/sys/CNR i386


	
>Description:

When building the port graphics/ImageMagick on my FreeBSD 5.5 machine, the
first PerlMagick test fails to load the Image::Magick module, then goes into
an infinite loop.

The output of the build looks like this:

cd PerlMagick && make CC='cc' test
/bin/sh ../magick.sh PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/bzlib/*.t t/jbig/*.t t/jpeg/*.t t/jp2/*.t t/png/*.t t/tiff/*.t t/zlib/*.t
t/blob............Can't load '/usr/ports/graphics/ImageMagick/work/ImageMagick-6.3.5/PerlMagick/blib/arch/auto/Image/Magick/Magick.so' for module Image::Magick: /usr/local/lib/libIlmThread.so.4: Undefined symbol "pthread_join" at /usr/local/lib/perl5/5.8.8/mach/DynaLoader.pm line 230.
 at t/blob.t line 7
Compilation failed in require at t/blob.t line 7.
BEGIN failed--compilation aborted at t/blob.t line 7.
Deep recursion on subroutine "Image::Magick::AUTOLOAD" at /usr/ports/graphics/ImageMagick/work/ImageMagick-6.3.5/PerlMagick/blib/lib/Image/Magick.pm line 42.

After this point the build hangs, with the perl process spinning and consuming large amounts of CPU.

>How-To-Repeat:

[remove any pre-defined ImageMagick options.]
BATCH=yes portinstall graphics/ImageMagick

>Fix:

Disabling the ImageMagick tests works around the problem.
>Release-Note:
>Audit-Trail:
>Unformatted:



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