Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 May 2008 19:55:32 GMT
From:      Adam McDougall <mcdouga9@egr.msu.edu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/124171: graphics/ImageMagick doesn't build when using make -j settings from port
Message-ID:  <200805311955.m4VJtWX0008602@www.freebsd.org>
Resent-Message-ID: <200805312000.m4VK0ClM036566@freefall.freebsd.org>

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

>Number:         124171
>Category:       ports
>Synopsis:       graphics/ImageMagick doesn't build when using make -j settings from port
>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:   Sat May 31 20:00:11 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Adam McDougall
>Release:        7.0-STABLE
>Organization:
>Environment:
FreeBSD persephone2 7.0-STABLE FreeBSD 7.0-STABLE #3: Sat May 31 12:05:06 EDT 2008     Rmcdouga@persephone2:/usr/obj/usr/src/sys/X4100-7  amd64

>Description:
System is a Sun File x4150 with two quad-core Intel E5345  @ 2.33GHz.  Have build of -stable from today and latest portsnap as of today.  Started with an empty /usr/local and /var/db/pkg today so I can reinstall all required ports for this webserver.  Installed various other ports first as per local documentation.  ImageMagick port fails to compile as long as ImageMagick is not currently installed.  Searching on google for the quoted string "cannot find -lMagickWand" led me to believe a compile using -j was taking place and may be triggering the problem.  Indeed, I found ALL_TARGET=     -j`${SYSCTL} -n hw.ncpu` in the port makefile, and by commenting it out, I can build it successfully.  hw.ncpu is 8 on this system.  It *does* compile with the default makefile if I already have ImageMagick installed.

..
Magick.c: In function 'XS_Image__Magick_SyncImagePixels':
Magick.c:11761: warning: unused variable 'ref'
Magick.c:11757: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_Transform':
Magick.c:11824: warning: unused variable 'ref'
Magick.c:11819: warning: unused variable 'ix'
Magick.c: In function 'XS_Image__Magick_Write':
Magick.c:11986: warning: unused variable 'ref'
Magick.c:11981: warning: unused variable 'ix'
mv -f wand/.deps/wand_libMagickWand_la-montage.Tpo wand/.deps/wand_libMagickWand_la-montage.Plo
mv -f wand/.deps/wand_libMagickWand_la-convert.Tpo wand/.deps/wand_libMagickWand_la-convert.Plo
rm -f blib/arch/auto/Image/Magick/Magick.so
LD_RUN_PATH="/var/tmp/ports/usr/ports/graphics/ImageMagick/work/ImageMagick-6.4.1/PerlMagick/../magick/.libs" cc  -L../magick/.libs -lMagickCore -L../wand/.libs -lMagickWand -shared  -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -lfreetype -lz -L/usr/local/lib Magick.o  -o blib/arch/auto/Image/Magick/Magick.so          -L/usr/local/lib -L/var/tmp/ports/usr/ports/graphics/ImageMagick/work/ImageMagick-6.4.1/PerlMagick/../magick/.libs -lMagickCore -L/var/tmp/ports/usr/ports/graphics/ImageMagick/work/ImageMagick-6.4.1/PerlMagick/../wand/.libs
/usr/bin/ld: cannot find -lMagickWand
*** Error code 1
1 error
*** Error code 2
mv -f wand/.deps/wand_libMagickWand_la-mogrify.Tpo wand/.deps/wand_libMagickWand_la-mogrify.Plo
1 error
*** Error code 2
1 error
*** Error code 2

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

Stop in /usr/ports/graphics/ImageMagick.
272.407u 47.864s 1:20.41 398.2% 6608+10564k 2+417io 12pf+0w

>How-To-Repeat:
cd /usr/ports/graphics/Imagemagick && make clean && make
>Fix:
Workaround:

Comment out ALL_TARGET in port Makefile

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



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