pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/41545: [graphics/autotrace] failure of build



>Number:         41545
>Category:       pkg
>Synopsis:       [graphics/autotrace] failure of build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 05 10:10:00 +0000 2009
>Originator:     Ryo HAYASAKA
>Release:        NetBSD 5.99.13, pkgsrc-current
>Organization:
Japan Advanced Institute of Science and Technology (JAIST)
>Environment:
System: NetBSD bonnie.jaist.ac.jp 5.99.13 NetBSD 5.99.13 (MONOLITHIC) #11: Thu 
Jun 4 18:23:55 JST 2009 
root%bonnie.jaist.ac.jp@localhost:/f/src/sys/arch/i386/compile/MONOLITHIC i386
Architecture: i386
Machine: i386
>Description:
autotrace fails to link libraries because of ImageMagic (I think).

I'm using ImageMagic built with "ghostscript jasper wmf x11" options
enabled.

$ make
=> Bootstrap dependency digest>=20010302: found digest-20080510
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum SHA1 OK for autotrace-0.31.1.tar.gz
=> Checksum RMD160 OK for autotrace-0.31.1.tar.gz
===> depends-message [autotrace-0.31.1nb8] ===> Installing dependencies for 
autotrace-0.31.1nb8
=> Build dependency libtool-base>=1.5.18nb5: found libtool-base-1.5.26nb1
=> Build dependency x11-links>=0.43: found x11-links-0.43
=> Build dependency checkperms>=1.1: found checkperms-1.10
=> Full dependency ImageMagick>=6.3.1.6nb1: found ImageMagick-6.5.3.2
===> tools-message [autotrace-0.31.1nb8] ===> Overriding tools for 
autotrace-0.31.1nb8
===> extract-message [autotrace-0.31.1nb8] ===> Extracting for 
autotrace-0.31.1nb8
===> patch-message [autotrace-0.31.1nb8] ===> Patching for autotrace-0.31.1nb8
===> wrapper-message [autotrace-0.31.1nb8] ===> Creating toolchain wrappers for 
autotrace-0.31.1nb8
===> configure-message [autotrace-0.31.1nb8] ===> Configuring for 
autotrace-0.31.1nb8
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Adding run-time search paths to pkg-config files.
=> Checking for portability problems in extracted files
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... /usr/bin/awk
checking whether make sets ${MAKE}... yes
checking for i486--netbsdelf-gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of cc... none
checking build system type... i386-unknown-netbsdelf5.99.13
checking host system type... i486--netbsdelf
checking for ld used by GCC... 
/usr/pkgsrc/graphics/autotrace/work/.wrapper/bin/ld
checking if the linker (/usr/pkgsrc/graphics/autotrace/work/.wrapper/bin/ld) is 
GNU ld... yes
checking for /usr/pkgsrc/graphics/autotrace/work/.wrapper/bin/ld option to 
reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependant libraries... match_pattern /lib[^/\.]+\.so$
checking command to parse nm output... ok
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i486--netbsdelf-ranlib... no
checking for ranlib... ranlib
checking for i486--netbsdelf-strip... no
checking for strip... strip
checking for objdir... .libs
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking whether the linker 
(/usr/pkgsrc/graphics/autotrace/work/.wrapper/bin/ld) supports shared 
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
checking whether to enable maintainer-specific portions of Makefiles... no
checking how to run the C preprocessor... cc -E
checking for i486--netbsdelf-ranlib... ranlib
checking whether build environment is sane... yes
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for Magick-config... Magick-config
checking magick/api.h usability... yes
checking magick/api.h presence... yes
checking for magick/api.h... yes
checking ImageMagick - version >= 5.2.1... expr: syntax error
expr: syntax error
yes(6.5.3 Q16 )
checking for gzsetparams in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for png_get_image_width in -lpng... yes
checking for png_read_png in -lpng... yes
checking ming.h usability... no
checking ming.h presence... no
checking for ming.h... no
configure: WARNING: *** Cannot find ming.h.     ***
configure: WARNING: *** SWF output is disabled. ***
checking whether the host is Darwin... no
checking for i486--netbsdelf-g++... c++
checking whether we are using the GNU C++ compiler... no
checking whether c++ accepts -g... no
checking dependency style of c++... none
checking for C++ runtime...  
checking for main in -ldl... no
*** Checking pstoedit existence TWICE(if needed) ***
*** This is the 1st check                        ***
checking for pstoedit-config... no
checking for PSTOEDIT - version >= 3.32.1... no
*** The pstoedit-config script installed by PSTOEDIT could not be found
*** If PSTOEDIT was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the PSTOEDIT_CONFIG environment variable to the
*** full path to pstoedit-config.
*** The 1st check is failed.                     ***
*** This is the 2nd check                        ***
checking for pstoedit-config... (cached) no
checking for PSTOEDIT - version >= 3.32.0... no
*** The pstoedit-config script installed by PSTOEDIT could not be found
*** If PSTOEDIT was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the PSTOEDIT_CONFIG environment variable to the
*** full path to pstoedit-config.
*** The 2nd check is failed.                     ***
configure: WARNING:
*** Cannot find libpstoedit. ***
*** Output functions using libpstoedit are disabled ***
configure: creating ./config.status
config.status: creating Makefile
config.status: creating autotrace-config
config.status: creating autotrace.pc
config.status: creating autotrace.spec
config.status: creating config.h
config.status: executing default-1 commands
config.status: executing default commands


Configuration:
        imagemagick output support:     yes
        libpng output support:          yes
        swf output support by ming:     no
        pstoedit output support:        no


=> Modifying libtool scripts to use pkgsrc libtool
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package 
Makefile.
===> build-message [autotrace-0.31.1nb8] ===> Building for autotrace-0.31.1nb8
...
--- autotrace ---
/bin/sh ./libtool --mode=link cc  -O2 -pipe -mfpmath=sse -msse3 -march=athlon64 
-I/usr/pkg/include -I/usr/include -I/usr/X11R7/include 
-I/usr/X11R7/include/freetype2   -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib 
-Wl,-R/usr/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -o autotrace  atou.o 
main.o getopt.o  getopt1.o libautotrace.la                        
-L/usr/pkg/lib -L/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib 
-Wl,-R/usr/pkg/lib   -L/usr/X11R7/lib -R/usr/X11R7/lib -L/usr/X11R7/lib 
-lfreetype -lz -L/usr/pkg/lib -L/usr/pkg/lib -lMagickCore -llcms -ltiff 
-lfreetype -ljasper -ljpeg -lgs -lpng -lwmflite -lXext -lXt -lSM -lICE -lX11 
-lbz2 -lxml2 -lz -lm -lpthread -lltdl          -lpng -lz -lm                    
                       -lm 
cc -O2 -pipe -mfpmath=sse -msse3 -march=athlon64 
-I/usr/pkgsrc/graphics/autotrace/work/.buildlink/include 
-I/usr/pkgsrc/graphics/autotrace/work/.x11-buildlink/include 
-I/usr/pkgsrc/graphics/autotrace/work/.x11-buildlink/include/freetype2 
-Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R7/lib -o .libs/autotrace atou.o main.o 
getopt.o getopt1.o  -L/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib 
-L/usr/pkgsrc/graphics/autotrace/work/.x11-buildlink/lib 
./.libs/libautotrace.so 
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so 
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/liblcms.so 
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libtiff.so -lc -lfreetype 
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libjasper.so 
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libjpeg.so -lgs 
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libwmflite.so -lXext -lXt 
-lSM -lICE -lX11 -lbz2 
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libxml2.so -lpthread 
/usr/pkgsrc/gra
 phics/autotrace/work/.buildlink/lib/libltdl.so 
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libpng12.so -lz -lm  
-Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath 
-Wl,/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib -Wl,--rpath 
-Wl,/usr/X11R7/lib
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libjasper.so: warning: 
warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawSetViewbox'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawScale'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DestroyMagickWand'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawSetTextUnderColor'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawSetStrokeDashArray'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawSetStrokeWidth'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawColor'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawPathStart'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawSetStrokeAntialias'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `PopDrawingWand'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawAnnotation'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawSetStrokeLineCap'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawPathEllipticArcAbsolute'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawSetStrokeLineJoin'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawPathClose'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawPushClipPath'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawSetStrokePatternURL'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `PixelSetBlueQuantum'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `NewPixelWand'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawComment'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawSetFillPatternURL'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawComposite'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `PixelSetRedQuantum'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawPushPattern'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawPopDefs'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `NewMagickWandFromImage'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawEllipse'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawAllocateWand'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawPathLineToAbsolute'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawSetClipPath'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `PushDrawingWand'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawPopClipPath'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawRender'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `PixelSetQuantumColor'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawPathMoveToAbsolute'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawSetStrokeColor'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawRotate'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawPopPattern'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawArc'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawRoundRectangle'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `PixelSetOpacityQuantum'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawTranslate'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawLine'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawSetFillColor'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawSetFontSize'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `PixelSetGreenQuantum'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawSetFont'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DestroyPixelWand'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawSetClipRule'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawRectangle'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawPushDefs'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `PixelSetColor'
/usr/pkgsrc/graphics/autotrace/work/.buildlink/lib/libMagickCore.so: undefined 
reference to `DrawPathFinish'
*** [autotrace] Error code 1
1 error

make: stopped in /usr/pkgsrc/graphics/autotrace/work/autotrace-0.31.1
*** [all] Error code 2
1 error

make: stopped in /usr/pkgsrc/graphics/autotrace/work/autotrace-0.31.1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/graphics/autotrace
*** Error code 1

Stop.
        
>How-To-Repeat:
        
>Fix:
        



Home | Main Index | Thread Index | Old Index