Opened 10 years ago

Last modified 10 years ago

#46332 closed defect

ghostscript @9.10_2 error building — at Version 3

Reported by: wwdevil@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ryandesign@…
Port: ghostscript

Description (last modified by ryandesign (Ryan Carsten Schmidt))

l sudo port install php54-imagick

--->  Computing dependencies for php54-imagick

--->  Dependencies to be installed: ImageMagick autoconf m4 automake djvulibre fftw-3 fontconfig ghostscript jbig2dec libpaper libtool pkgconfig xorg-libXext xorg-libXt jbigkit lcms2 openexr ilmbase openjpeg urw-fonts webp
--->  Fetching archive for m4
...
--->  Fetching archive for ghostscript
--->  Attempting to fetch ghostscript-9.10_2+x11.darwin_14.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/ghostscript
--->  Attempting to fetch ghostscript-9.10_2+x11.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/ghostscript
--->  Attempting to fetch ghostscript-9.10_2+x11.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/ghostscript
--->  Fetching distfiles for ghostscript
--->  Attempting to fetch ghostscript-9.10.tar.gz from http://nue.de.distfiles.macports.org/macports/distfiles/ghostscript
--->  Verifying checksums for ghostscript                                            
--->  Extracting ghostscript
--->  Applying patches to ghostscript
--->  Configuring ghostscript
--->  Building ghostscript
Error: org.macports.build for port ghostscript returned: command execution failed
Error: Failed to install ghostscript
Please see the log file for port ghostscript for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/main.log
Error: The following dependencies were not installed: ImageMagick ghostscript jbigkit lcms2 openexr ilmbase openjpeg urw-fonts webp
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port php54-imagick failed

Change History (4)

Changed 10 years ago by wwdevil@…

Attachment: main.log added

comment:1 Changed 10 years ago by wwdevil@…

error from building log of ghostscript:

:info:build dyld: Library not loaded: /opt/local/lib/libfreetype.6.dylib
:info:build   Referenced from: /opt/local/lib/libfontconfig.1.dylib
:info:build   Reason: Incompatible library version: libfontconfig.1.dylib requires version 18.0.0 or later, but libfreetype.6.dylib provides version 15.0.0
:info:build 1 warning generated.
:info:build ./soobj/aux/genarch ./soobj/arch.h ./base/../arch/osx-x86-x86_64-ppc-gcc.h
:info:build dyld: Library not loaded: /opt/local/lib/libfreetype.6.dylib
:info:build   Referenced from: /opt/local/lib/libfontconfig.1.dylib
:info:build   Reason: Incompatible library version: libfontconfig.1.dylib requires version 18.0.0 or later, but libfreetype.6.dylib provides version 15.0.0
:info:build make[2]: *** [soobj/devs.tr] Trace/BPT trap: 5
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build make[2]: *** [soobj/arch.h] Trace/BPT trap: 5
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.10'
:info:build make[1]: *** [so-subtarget] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.10'
:info:build make: *** [so] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.10'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.10" && /usr/bin/make -j2 -w so 
:info:build Exit code: 2
:error:build org.macports.build for port ghostscript returned: command execution failed
:debug:build Error code: CHILDSTATUS 61969 2
:debug:build Backtrace: command execution failed

comment:2 Changed 10 years ago by wwdevil@…

MacOS X 10.10.1

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Description: modified (diff)
Port: @9.10_2 removed

The log says:

:info:build dyld: Library not loaded: /opt/local/lib/libfreetype.6.dylib
:info:build   Referenced from: /opt/local/lib/libfontconfig.1.dylib
:info:build   Reason: Incompatible library version: libfontconfig.1.dylib requires version 18.0.0 or later, but libfreetype.6.dylib provides version 15.0.0

Are your ports up to date? If you run sudo port selfupdate, are any ports (especially freetype) shown as outdated when you run port outdated? If so, please upgrade them by running sudo port upgrade outdated.

If freetype is not shown as outdated, then something outside of MacPorts has replaced your freetype library with an older version. You can forcibly reinstall the correct version of freetype by running sudo port -n upgrade --force freetype, however there's no guarantee that the same outside influence hasn't replaced other libraries, in which case you'd have to repeat these steps for those ports as well. Another option is to completely uninstall all ports, and MacPorts itself, then reinstall MacPorts and the ports you want; that way, you can be sure that all the files that are there are the ones that are supposed to be there.

Note: See TracTickets for help on using tickets.