GraphicsMagick *and* ImageMagick fail to compile
Patrick M. Hausen
hausen at punkt.de
Fri Jul 22 09:28:24 UTC 2016
Hi, all,
I need some help here.
Poudriere, 2016Q3 quarterly ports branch, 10.2-RELEASE-p19 build jail.
Both ports fail with very similar error messages.
GrahicsMagick:
--------------------------------
[...]
---Begin OPTIONS List---
===> The following configuration options are available for GraphicsMagick-1.3.24,1:
DOCS=on: Build and/or install documentation
DPS=off: Display Ghostscript support
FPX=off: FlashPix image format support
FREETYPE=on: TrueType font rendering support
JASPER=on: JPEG 2000 support via JasPer
JBIG=on: JBIG image format support
JPEG=on: JPEG image format support
LCMS2=on: Little CMS 2.x support
OPENMP=on: Parallel processing support via OpenMP
PNG=on: PNG image format support
Q8BIT=off: Use 8-bit pixels (speed) instead of 16-bit (quality)
SSE=off: Use SSE optimized routines
TEST=off: Run bundled self-tests after build
TIFF=on: TIFF image format support
WEBP=on: WebP image format support
WMF=on: Windows Metafile image format support
X11=off: X11 (graphics) support
XML=on: XML format or parser support
===> Use 'make config' to modify these settings
---End OPTIONS List---
[...]
Magick++/lib/.libs/Magick___lib_libGraphicsMagick___la-Geometry.o Magick++/lib/.libs/Magick___lib_libGraphicsMagick___la-Image.o Magick++/lib/.libs/Magick___lib_libGraphicsMagick___la-ImageRef.o Magick++/lib/.libs/Magick___lib_libGraphicsMagick___la-Montage.o Magick++/lib/.libs/Magick___lib_libGraphicsMagick___la-Options.o Magick++/lib/.libs/Magick___lib_libGraphicsMagick___la-Pixels.o Magick++/lib/.libs/Magick___lib_libGraphicsMagick___la-STL.o Magick++/lib/.libs/Magick___lib_libGraphicsMagick___la-Thread.o Magick++/lib/.libs/Magick___lib_libGraphicsMagick___la-TypeMetric.o -Wl,-rpath -Wl,/wrkdirs/usr/ports/graphics/GraphicsMagick/work/GraphicsMagick-1.3.24/magick/.libs -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -L/usr/local/lib/gcc48 magick/.libs/libGraphicsMagick.so -ljbig -lwebp -llcms2 -ltiff -lfreetype /usr/local/lib/libjasper.so -ljpeg -lpng16 -lwmflite -llzma -lbz2 -lxml2 -lz -lgomp -lpthread -L/usr/lib -lc++ -lm -lc -lgcc -lgcc_s /usr/lib/crtendS.o /usr/lib/crtn.o -O2 -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -Wl,-rpath=/usr/local/lib/gcc48 -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fopenmp -Wl,-soname -Wl,libGraphicsMagick++.so.12 -o Magick++/lib/.libs/libGraphicsMagick++.so.12.1.0
/usr/bin/ld: Magick++/lib/.libs/Magick___lib_libGraphicsMagick___la-Blob.o: relocation R_X86_64_32S against `_ZTVN6Magick4BlobE' can not be used when making a shared object; recompile with -fPIC
Magick++/lib/.libs/Magick___lib_libGraphicsMagick___la-Blob.o: could not read symbols: Bad value
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Stop.
make[2]: stopped in /wrkdirs/usr/ports/graphics/GraphicsMagick/work/GraphicsMagick-1.3.24
*** Error code 1
Stop.
make[1]: stopped in /wrkdirs/usr/ports/graphics/GraphicsMagick/work/GraphicsMagick-1.3.24
*** Error code 1
Stop.
make: stopped in /usr/ports/graphics/GraphicsMagick
--------------------------------
ImageMagick:
--------------------------------
[...]
---Begin OPTIONS List---
===> The following configuration options are available for ImageMagick-nox11-6.9.4.3,1:
16BIT_PIXEL=on: 16bit pixel support
BZIP2=on: bzip2 compression support
DJVU=off: DJVU format support (needs THREADS)
DOCS=on: Build and/or install documentation
FFTW=on: Discrete Fourier Transform support
FONTCONFIG=on: X11 font configuration support
FPX=on: FlashPix image format support
FREETYPE=on: TrueType font rendering support
GRAPHVIZ=off: Graphviz graph drawing support
GSLIB=off: libgs (Postscript SHLIB) support
HDRI=off: High dynamic range images support
JBIG=on: JBIG image format support
JPEG=on: JPEG image format support
JPEG2000=on: OpenJPEG 2000 support via openjpeg
LCMS2=on: Little CMS 2.x support
LQR=on: Liquid Rescale support
LZMA=on: LZMA compression support
MODULES=on: Modules support
OPENEXR=off: HDR image format support via OpenEXR
OPENMP=off: Parallel processing support via OpenMP
PDF=on: PDF document support
PERL=on: Perl scripting language support
PNG=on: PNG image format support
TESTS=off: Run bundled self-tests after build
THREADS=on: Threading support
TIFF=on: TIFF image format support
WEBP=on: WebP image format support
WMF=on: Windows Metafile image format support
===> Use 'make config' to modify these settings
---End OPTIONS List---
[...]
#warning "this file includes <sys/timeb.h> which is deprecated"
^
1 warning generated.
CCLD coders/tiff.la
CC coders/coders_webp_la-webp.lo
In file included from coders/webp.c:42:
In file included from ./magick/studio.h:176:
/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings]
#warning "this file includes <sys/timeb.h> which is deprecated"
^
1 warning generated.
CCLD coders/webp.la
CC coders/coders_wmf_la-wmf.lo
In file included from coders/wmf.c:40:
In file included from ./magick/studio.h:176:
/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings]
#warning "this file includes <sys/timeb.h> which is deprecated"
^
1 warning generated.
CCLD coders/wmf.la
CC filters/filters_analyze_la-analyze.lo
CCLD filters/analyze.la
CXX Magick++/lib/Magick___lib_libMagick___6_la-Blob.lo
CXX Magick++/lib/Magick___lib_libMagick___6_la-BlobRef.lo
CXX Magick++/lib/Magick___lib_libMagick___6_la-ChannelMoments.lo
CXX Magick++/lib/Magick___lib_libMagick___6_la-CoderInfo.lo
CXX Magick++/lib/Magick___lib_libMagick___6_la-Color.lo
CXX Magick++/lib/Magick___lib_libMagick___6_la-Drawable.lo
CXX Magick++/lib/Magick___lib_libMagick___6_la-Exception.lo
CXX Magick++/lib/Magick___lib_libMagick___6_la-Functions.lo
CXX Magick++/lib/Magick___lib_libMagick___6_la-Geometry.lo
CXX Magick++/lib/Magick___lib_libMagick___6_la-Image.lo
CXX Magick++/lib/Magick___lib_libMagick___6_la-ImageRef.lo
CXX Magick++/lib/Magick___lib_libMagick___6_la-Montage.lo
CXX Magick++/lib/Magick___lib_libMagick___6_la-Options.lo
CXX Magick++/lib/Magick___lib_libMagick___6_la-Pixels.lo
CXX Magick++/lib/Magick___lib_libMagick___6_la-ResourceLimits.lo
CXX Magick++/lib/Magick___lib_libMagick___6_la-STL.lo
CXX Magick++/lib/Magick___lib_libMagick___6_la-Thread.lo
CXX Magick++/lib/Magick___lib_libMagick___6_la-TypeMetric.lo
CXXLD Magick++/lib/libMagick++-6.la
/usr/bin/ld: Magick++/lib/.libs/Magick___lib_libMagick___6_la-Blob.o: relocation R_X86_64_32S against `_ZTVN6Magick4BlobE' can not be used when making a shared object; recompile with -fPIC
Magick++/lib/.libs/Magick___lib_libMagick___6_la-Blob.o: could not read symbols: Bad value
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [Makefile:5531: Magick++/lib/libMagick++-6.la] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/graphics/ImageMagick-nox11/work/ImageMagick-6.9.4-3'
gmake[1]: *** [Makefile:5208: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/ImageMagick-nox11/work/ImageMagick-6.9.4-3'
*** Error code 1
Stop.
make: stopped in /usr/ports/graphics/ImageMagick-nox11
--------------------------------
Does anybody have an idea what's going on, here?
Thanks in advance,
Patrick
--
punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe
Tel. 0721 9109 0 * Fax 0721 9109 100
info at punkt.de http://www.punkt.de
Gf: Jürgen Egeling AG Mannheim 108285
More information about the freebsd-ports
mailing list