Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#51586 closed defect (invalid)

Compiling ImageMagick fails after MacOS 10.11 upgrade

Reported by: schwarzl2000@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: ImageMagick

Description

version:1
:msg:clean --->  Computing dependencies for ImageMagick:info:clean .:debug:clean ImageMagick has no conflicts
:debug:clean Searching for dependency: xz
:debug:clean Found Dependency: receipt exists for xz
:debug:clean Searching for dependency: autoconf
:debug:clean Found Dependency: receipt exists for autoconf
:debug:clean Searching for dependency: automake
:debug:clean Found Dependency: receipt exists for automake
:debug:clean Searching for dependency: libtool
:debug:clean Found Dependency: receipt exists for libtool
:debug:clean Searching for dependency: bzip2
:debug:clean Found Dependency: receipt exists for bzip2
:debug:clean Searching for dependency: djvulibre
:debug:clean Found Dependency: receipt exists for djvulibre
:debug:clean Searching for dependency: jbigkit
:debug:clean Found Dependency: receipt exists for jbigkit
:debug:clean Searching for dependency: jpeg
:debug:clean Found Dependency: receipt exists for jpeg
:debug:clean Searching for dependency: lcms2
:debug:clean Found Dependency: receipt exists for lcms2
:debug:clean Searching for dependency: libpng
:debug:clean Found Dependency: receipt exists for libpng
:debug:clean Searching for dependency: tiff
:debug:clean Found Dependency: receipt exists for tiff
:debug:clean Searching for dependency: webp
:debug:clean Found Dependency: receipt exists for webp
:debug:clean Searching for dependency: zlib
:debug:clean Found Dependency: receipt exists for zlib
:debug:clean Searching for dependency: fftw-3
:debug:clean Found Dependency: receipt exists for fftw-3
:debug:clean Searching for dependency: freetype
:debug:clean Found Dependency: receipt exists for freetype
:debug:clean Searching for dependency: fontconfig
:debug:clean Found Dependency: receipt exists for fontconfig
:debug:clean Searching for dependency: ghostscript
:debug:clean Found Dependency: receipt exists for ghostscript
:debug:clean Searching for dependency: libiconv
:debug:clean Found Dependency: receipt exists for libiconv
:debug:clean Searching for dependency: openjpeg
:debug:clean Found Dependency: receipt exists for openjpeg
:debug:clean Searching for dependency: openexr
:debug:clean Found Dependency: receipt exists for openexr
:debug:clean Searching for dependency: expat
:debug:clean Found Dependency: receipt exists for expat
:debug:clean Searching for dependency: libxml2
:debug:clean Found Dependency: receipt exists for libxml2
:debug:clean Searching for dependency: pkgconfig
:debug:clean Found Dependency: receipt exists for pkgconfig
:debug:clean Searching for dependency: xorg-libX11
:debug:clean Found Dependency: receipt exists for xorg-libX11
:debug:clean Searching for dependency: xorg-libXext
:debug:clean Found Dependency: receipt exists for xorg-libXext
:debug:clean Searching for dependency: xorg-libXt
:debug:clean Found Dependency: receipt exists for xorg-libXt
:debug:clean Searching for dependency: urw-fonts
:debug:clean Found Dependency: receipt exists for urw-fonts
:msg:clean 
:debug:main Executing org.macports.main (ImageMagick)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Skipping completed org.macports.archivefetch (ImageMagick)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (ImageMagick)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (ImageMagick)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (ImageMagick)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (ImageMagick)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (ImageMagick)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Thu Jun  9 14:02:26 CEST 2016
:notice:build --->  Building ImageMagick
:debug:build Executing proc-pre-org.macports.build-build-0
:debug:build Executing org.macports.build (ImageMagick)
:debug:build Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ImageMagick/ImageMagick/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.11'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ImageMagick/ImageMagick/work/ImageMagick-6.9.4-4" && /usr/bin/make -j4 -w all'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ImageMagick/ImageMagick/work/ImageMagick-6.9.4-4" && /usr/bin/make -j4 -w all 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ImageMagick/ImageMagick/work/ImageMagick-6.9.4-4'
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ImageMagick/ImageMagick/work/ImageMagick-6.9.4-4'
:info:build /bin/sh ./libtool  --tag=CC   --mode=link /usr/bin/clang  -I/opt/local/include/libxml2 -I/opt/local/include/libpng16 -D_THREAD_SAFE -I/opt/local/include/OpenEXR -I/opt/local/include -I/opt/local/include/openjpeg-2.1 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/opt/local/include   -pipe -Os -arch x86_64 -Wall -mtune=haswell -fexceptions -D_FORTIFY_SOURCE=0 -D_THREAD_SAFE -pthread -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -no-undefined    -version-info 2:0:0 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64  -o magick/libMagickCore-6.Q16.la -rpath /opt/local/lib magick/magick_libMagickCore_6_Q16_la-accelerate.lo magick/magick_libMagickCore_6_Q16_la-animate.lo magick/magick_libMagickCore_6_Q16_la-annotate.lo magick/magick_libMagickCore_6_Q16_la-artifact.lo magick/magick_libMagickCore_6_Q16_la-attribute.lo magick/magick_libMagickCore_6_Q16_la-blob.lo magick/magick_libMagickCore_6_Q16_la-cache.lo magick/magick_libMagickCore_6_Q16_la-cache-view.lo magick/magick_libMagickCore_6_Q16_la-channel.lo magick/magick_libMagickCore_6_Q16_la-cipher.lo magick/magick_libMagickCore_6_Q16_la-client.lo magick/magick_libMagickCore_6_Q16_la-coder.lo magick/magick_libMagickCore_6_Q16_la-color.lo magick/magick_libMagickCore_6_Q16_la-colormap.lo magick/magick_libMagickCore_6_Q16_la-colorspace.lo magick/magick_libMagickCore_6_Q16_la-compare.lo magick/magick_libMagickCore_6_Q16_la-composite.lo magick/magick_libMagickCore_6_Q16_la-compress.lo magick/magick_libMagickCore_6_Q16_la-configure.lo magick/magick_libMagickCore_6_Q16_la-constitute.lo magick/magick_libMagickCore_6_Q16_la-decorate.lo magick/magick_libMagickCore_6_Q16_la-distribute-cache.lo magick/magick_libMagickCore_6_Q16_la-delegate.lo magick/magick_libMagickCore_6_Q16_la-deprecate.lo magick/magick_libMagickCore_6_Q16_la-display.lo magick/magick_libMagickCore_6_Q16_la-distort.lo magick/magick_libMagickCore_6_Q16_la-draw.lo magick/magick_libMagickCore_6_Q16_la-effect.lo magick/magick_libMagickCore_6_Q16_la-enhance.lo magick/magick_libMagickCore_6_Q16_la-exception.lo magick/magick_libMagickCore_6_Q16_la-feature.lo magick/magick_libMagickCore_6_Q16_la-fourier.lo magick/magick_libMagickCore_6_Q16_la-fx.lo magick/magick_libMagickCore_6_Q16_la-gem.lo magick/magick_libMagickCore_6_Q16_la-geometry.lo magick/magick_libMagickCore_6_Q16_la-hashmap.lo magick/magick_libMagickCore_6_Q16_la-histogram.lo magick/magick_libMagickCore_6_Q16_la-identify.lo magick/magick_libMagickCore_6_Q16_la-image.lo magick/magick_libMagickCore_6_Q16_la-image-view.lo magick/magick_libMagickCore_6_Q16_la-layer.lo magick/magick_libMagickCore_6_Q16_la-list.lo magick/magick_libMagickCore_6_Q16_la-locale.lo magick/magick_libMagickCore_6_Q16_la-log.lo magick/magick_libMagickCore_6_Q16_la-magic.lo magick/magick_libMagickCore_6_Q16_la-magick.lo magick/magick_libMagickCore_6_Q16_la-matrix.lo magick/magick_libMagickCore_6_Q16_la-memory.lo magick/magick_libMagickCore_6_Q16_la-mime.lo magick/magick_libMagickCore_6_Q16_la-module.lo magick/magick_libMagickCore_6_Q16_la-monitor.lo magick/magick_libMagickCore_6_Q16_la-montage.lo magick/magick_libMagickCore_6_Q16_la-morphology.lo magick/magick_libMagickCore_6_Q16_la-opencl.lo magick/magick_libMagickCore_6_Q16_la-option.lo magick/magick_libMagickCore_6_Q16_la-paint.lo magick/magick_libMagickCore_6_Q16_la-pixel.lo magick/magick_libMagickCore_6_Q16_la-policy.lo magick/magick_libMagickCore_6_Q16_la-prepress.lo magick/magick_libMagickCore_6_Q16_la-property.lo magick/magick_libMagickCore_6_Q16_la-profile.lo magick/magick_libMagickCore_6_Q16_la-quantize.lo magick/magick_libMagickCore_6_Q16_la-quantum.lo magick/magick_libMagickCore_6_Q16_la-quantum-export.lo magick/magick_libMagickCore_6_Q16_la-quantum-import.lo magick/magick_libMagickCore_6_Q16_la-random.lo magick/magick_libMagickCore_6_Q16_la-registry.lo magick/magick_libMagickCore_6_Q16_la-resample.lo magick/magick_libMagickCore_6_Q16_la-resize.lo magick/magick_libMagickCore_6_Q16_la-resource.lo magick/magick_libMagickCore_6_Q16_la-segment.lo magick/magick_libMagickCore_6_Q16_la-semaphore.lo magick/magick_libMagickCore_6_Q16_la-shear.lo magick/magick_libMagickCore_6_Q16_la-signature.lo magick/magick_libMagickCore_6_Q16_la-splay-tree.lo magick/magick_libMagickCore_6_Q16_la-static.lo magick/magick_libMagickCore_6_Q16_la-statistic.lo magick/magick_libMagickCore_6_Q16_la-stream.lo magick/magick_libMagickCore_6_Q16_la-string.lo magick/magick_libMagickCore_6_Q16_la-thread.lo magick/magick_libMagickCore_6_Q16_la-timer.lo magick/magick_libMagickCore_6_Q16_la-token.lo magick/magick_libMagickCore_6_Q16_la-transform.lo magick/magick_libMagickCore_6_Q16_la-threshold.lo magick/magick_libMagickCore_6_Q16_la-type.lo magick/magick_libMagickCore_6_Q16_la-utility.lo magick/magick_libMagickCore_6_Q16_la-version.lo magick/magick_libMagickCore_6_Q16_la-vision.lo magick/magick_libMagickCore_6_Q16_la-widget.lo magick/magick_libMagickCore_6_Q16_la-xml-tree.lo magick/magick_libMagickCore_6_Q16_la-xwindow.lo  -L/opt/local/lib -llcms2 -L/opt/local/lib -lfreetype   -L/opt/local/lib -lfftw3  -L/opt/local/lib -lfontconfig -lfreetype -lXext   -lSM -lICE -lX11  -lXt -L/opt/local/lib -llzma -lbz2 -L/opt/local/lib -lz -lltdl  -lm -lgomp     
:info:build libtool: link: /usr/bin/clang -dynamiclib  -o magick/.libs/libMagickCore-6.Q16.2.dylib  magick/.libs/magick_libMagickCore_6_Q16_la-accelerate.o magick/.libs/magick_libMagickCore_6_Q16_la-animate.o magick/.libs/magick_libMagickCore_6_Q16_la-annotate.o magick/.libs/magick_libMagickCore_6_Q16_la-artifact.o magick/.libs/magick_libMagickCore_6_Q16_la-attribute.o magick/.libs/magick_libMagickCore_6_Q16_la-blob.o magick/.libs/magick_libMagickCore_6_Q16_la-cache.o magick/.libs/magick_libMagickCore_6_Q16_la-cache-view.o magick/.libs/magick_libMagickCore_6_Q16_la-channel.o magick/.libs/magick_libMagickCore_6_Q16_la-cipher.o magick/.libs/magick_libMagickCore_6_Q16_la-client.o magick/.libs/magick_libMagickCore_6_Q16_la-coder.o magick/.libs/magick_libMagickCore_6_Q16_la-color.o magick/.libs/magick_libMagickCore_6_Q16_la-colormap.o magick/.libs/magick_libMagickCore_6_Q16_la-colorspace.o magick/.libs/magick_libMagickCore_6_Q16_la-compare.o magick/.libs/magick_libMagickCore_6_Q16_la-composite.o magick/.libs/magick_libMagickCore_6_Q16_la-compress.o magick/.libs/magick_libMagickCore_6_Q16_la-configure.o magick/.libs/magick_libMagickCore_6_Q16_la-constitute.o magick/.libs/magick_libMagickCore_6_Q16_la-decorate.o magick/.libs/magick_libMagickCore_6_Q16_la-distribute-cache.o magick/.libs/magick_libMagickCore_6_Q16_la-delegate.o magick/.libs/magick_libMagickCore_6_Q16_la-deprecate.o magick/.libs/magick_libMagickCore_6_Q16_la-display.o magick/.libs/magick_libMagickCore_6_Q16_la-distort.o magick/.libs/magick_libMagickCore_6_Q16_la-draw.o magick/.libs/magick_libMagickCore_6_Q16_la-effect.o magick/.libs/magick_libMagickCore_6_Q16_la-enhance.o magick/.libs/magick_libMagickCore_6_Q16_la-exception.o magick/.libs/magick_libMagickCore_6_Q16_la-feature.o magick/.libs/magick_libMagickCore_6_Q16_la-fourier.o magick/.libs/magick_libMagickCore_6_Q16_la-fx.o magick/.libs/magick_libMagickCore_6_Q16_la-gem.o magick/.libs/magick_libMagickCore_6_Q16_la-geometry.o magick/.libs/magick_libMagickCore_6_Q16_la-hashmap.o magick/.libs/magick_libMagickCore_6_Q16_la-histogram.o magick/.libs/magick_libMagickCore_6_Q16_la-identify.o magick/.libs/magick_libMagickCore_6_Q16_la-image.o magick/.libs/magick_libMagickCore_6_Q16_la-image-view.o magick/.libs/magick_libMagickCore_6_Q16_la-layer.o magick/.libs/magick_libMagickCore_6_Q16_la-list.o magick/.libs/magick_libMagickCore_6_Q16_la-locale.o magick/.libs/magick_libMagickCore_6_Q16_la-log.o magick/.libs/magick_libMagickCore_6_Q16_la-magic.o magick/.libs/magick_libMagickCore_6_Q16_la-magick.o magick/.libs/magick_libMagickCore_6_Q16_la-matrix.o magick/.libs/magick_libMagickCore_6_Q16_la-memory.o magick/.libs/magick_libMagickCore_6_Q16_la-mime.o magick/.libs/magick_libMagickCore_6_Q16_la-module.o magick/.libs/magick_libMagickCore_6_Q16_la-monitor.o magick/.libs/magick_libMagickCore_6_Q16_la-montage.o magick/.libs/magick_libMagickCore_6_Q16_la-morphology.o magick/.libs/magick_libMagickCore_6_Q16_la-opencl.o magick/.libs/magick_libMagickCore_6_Q16_la-option.o magick/.libs/magick_libMagickCore_6_Q16_la-paint.o magick/.libs/magick_libMagickCore_6_Q16_la-pixel.o magick/.libs/magick_libMagickCore_6_Q16_la-policy.o magick/.libs/magick_libMagickCore_6_Q16_la-prepress.o magick/.libs/magick_libMagickCore_6_Q16_la-property.o magick/.libs/magick_libMagickCore_6_Q16_la-profile.o magick/.libs/magick_libMagickCore_6_Q16_la-quantize.o magick/.libs/magick_libMagickCore_6_Q16_la-quantum.o magick/.libs/magick_libMagickCore_6_Q16_la-quantum-export.o magick/.libs/magick_libMagickCore_6_Q16_la-quantum-import.o magick/.libs/magick_libMagickCore_6_Q16_la-random.o magick/.libs/magick_libMagickCore_6_Q16_la-registry.o magick/.libs/magick_libMagickCore_6_Q16_la-resample.o magick/.libs/magick_libMagickCore_6_Q16_la-resize.o magick/.libs/magick_libMagickCore_6_Q16_la-resource.o magick/.libs/magick_libMagickCore_6_Q16_la-segment.o magick/.libs/magick_libMagickCore_6_Q16_la-semaphore.o magick/.libs/magick_libMagickCore_6_Q16_la-shear.o magick/.libs/magick_libMagickCore_6_Q16_la-signature.o magick/.libs/magick_libMagickCore_6_Q16_la-splay-tree.o magick/.libs/magick_libMagickCore_6_Q16_la-static.o magick/.libs/magick_libMagickCore_6_Q16_la-statistic.o magick/.libs/magick_libMagickCore_6_Q16_la-stream.o magick/.libs/magick_libMagickCore_6_Q16_la-string.o magick/.libs/magick_libMagickCore_6_Q16_la-thread.o magick/.libs/magick_libMagickCore_6_Q16_la-timer.o magick/.libs/magick_libMagickCore_6_Q16_la-token.o magick/.libs/magick_libMagickCore_6_Q16_la-transform.o magick/.libs/magick_libMagickCore_6_Q16_la-threshold.o magick/.libs/magick_libMagickCore_6_Q16_la-type.o magick/.libs/magick_libMagickCore_6_Q16_la-utility.o magick/.libs/magick_libMagickCore_6_Q16_la-version.o magick/.libs/magick_libMagickCore_6_Q16_la-vision.o magick/.libs/magick_libMagickCore_6_Q16_la-widget.o magick/.libs/magick_libMagickCore_6_Q16_la-xml-tree.o magick/.libs/magick_libMagickCore_6_Q16_la-xwindow.o   -L/opt/local/lib -llcms2 -lfftw3 -lfontconfig -lfreetype -lXext -lSM -lICE -lX11 -lXt -llzma -lbz2 -lz -lltdl -lm /usr/local/lib/libgomp.dylib  -Os -arch x86_64 -mtune=haswell -pthread -Wl,-headerpad_max_install_names -arch x86_64   -pthread -install_name  /opt/local/lib/libMagickCore-6.Q16.2.dylib -compatibility_version 3 -current_version 3.0 -Wl,-single_module
:info:build clang: error: no such file or directory: '/usr/local/lib/libgomp.dylib'
:info:build make[1]: *** [magick/libMagickCore-6.Q16.la] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ImageMagick/ImageMagick/work/ImageMagick-6.9.4-4'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ImageMagick/ImageMagick/work/ImageMagick-6.9.4-4'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ImageMagick/ImageMagick/work/ImageMagick-6.9.4-4" && /usr/bin/make -j4 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port ImageMagick returned: command execution failed
:debug:build Error code: CHILDSTATUS 26165 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for ImageMagick: org.macports.install org.macports.build org.macports.destroot
:notice:build Please see the log file for port ImageMagick for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ImageMagick/ImageMagick/main.log

Attachments (1)

main.log (17.5 KB) - added by schwarzl2000@… 8 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ImageMagick/ImageMagick/main.log

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by schwarzl2000@…

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ImageMagick/ImageMagick/main.log

comment:1 Changed 8 years ago by schwarzl2000@…

port should be changed to : ImageMagick

the problem seems to be this line:

:info:build clang: error: no such file or directory: '/usr/local/lib/libgomp.dylib'
Last edited 8 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Port: ImageMagick added; py35-ipython removed
Resolution: invalid
Status: newclosed

Remove anything you have installed in /usr/local; we don't support using MacPorts while things are installed in /usr/local, because of these kinds of problems.

Then sudo port clean ImageMagick and try the installation again.

comment:3 in reply to:  2 Changed 8 years ago by j-beda

Replying to ryandesign:

Remove anything you have installed in /usr/local; we don't support using MacPorts while things are installed in /usr/local, because of these kinds of problems.

Then sudo port clean ImageMagick and try the installation again.

For a similar error, I was successful in using "trace mode" as referenced in the FAQ:

sudo port -t install --unrequested ImageMagick

Previously I would tempararily move /usr/local via

sudo mv /usr/local/lib /usr/local/lib-temp

but the -t option is simpler.

Note: See TracTickets for help on using tickets.