Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jul 2016 11:03:19 +0200
From:      "Patrick M. Hausen" <hausen@punkt.de>
To:        freebsd-ports@freebsd.org
Subject:   GraphicsMagick *and* ImageMagick fail to compile
Message-ID:  <7A737FA3-047B-4B0F-9BE3-29F73A2CDD27@punkt.de>

next in thread | raw e-mail | index | archive | help
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---
=3D=3D=3D> The following configuration options are available for =
GraphicsMagick-1.3.24,1:
     DOCS=3Don: Build and/or install documentation
     DPS=3Doff: Display Ghostscript support
     FPX=3Doff: FlashPix image format support
     FREETYPE=3Don: TrueType font rendering support
     JASPER=3Don: JPEG 2000 support via JasPer
     JBIG=3Don: JBIG image format support
     JPEG=3Don: JPEG image format support
     LCMS2=3Don: Little CMS 2.x support
     OPENMP=3Don: Parallel processing support via OpenMP
     PNG=3Don: PNG image format support
     Q8BIT=3Doff: Use 8-bit pixels (speed) instead of 16-bit (quality)
     SSE=3Doff: Use SSE optimized routines
     TEST=3Doff: Run bundled self-tests after build
     TIFF=3Don: TIFF image format support
     WEBP=3Don: WebP image format support
     WMF=3Don: Windows Metafile image format support
     X11=3Doff: X11 (graphics) support
     XML=3Don: XML format or parser support
=3D=3D=3D> 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=3D/usr/local/lib/gcc48 -Wl,-rpath=3D/usr/local/lib/gcc48 =
-fstack-protector -Wl,-rpath=3D/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---
=3D=3D=3D> The following configuration options are available for =
ImageMagick-nox11-6.9.4.3,1:
     16BIT_PIXEL=3Don: 16bit pixel support
     BZIP2=3Don: bzip2 compression support
     DJVU=3Doff: DJVU format support (needs THREADS)
     DOCS=3Don: Build and/or install documentation
     FFTW=3Don: Discrete Fourier Transform support
     FONTCONFIG=3Don: X11 font configuration support
     FPX=3Don: FlashPix image format support
     FREETYPE=3Don: TrueType font rendering support
     GRAPHVIZ=3Doff: Graphviz graph drawing support
     GSLIB=3Doff: libgs (Postscript SHLIB) support
     HDRI=3Doff: High dynamic range images support
     JBIG=3Don: JBIG image format support
     JPEG=3Don: JPEG image format support
     JPEG2000=3Don: OpenJPEG 2000 support via openjpeg
     LCMS2=3Don: Little CMS 2.x support
     LQR=3Don: Liquid Rescale support
     LZMA=3Don: LZMA compression support
     MODULES=3Don: Modules support
     OPENEXR=3Doff: HDR image format support via OpenEXR
     OPENMP=3Doff: Parallel processing support via OpenMP
     PDF=3Don: PDF document support
     PERL=3Don: Perl scripting language support
     PNG=3Don: PNG image format support
     TESTS=3Doff: Run bundled self-tests after build
     THREADS=3Don: Threading support
     TIFF=3Don: TIFF image format support
     WEBP=3Don: WebP image format support
     WMF=3Don: Windows Metafile image format support
=3D=3D=3D> 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
--=20
punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe
Tel. 0721 9109 0 * Fax 0721 9109 100
info@punkt.de       http://www.punkt.de
Gf: J=C3=BCrgen Egeling      AG Mannheim 108285




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7A737FA3-047B-4B0F-9BE3-29F73A2CDD27>