Opened 10 years ago
Closed 9 years ago
#46332 closed defect (invalid)
ghostscript @9.10_2 error building
Reported by: | wwdevil@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
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
Attachments (1)
Change History (7)
Changed 10 years ago by wwdevil@…
comment:1 Changed 10 years ago by wwdevil@…
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.
comment:4 Changed 10 years ago by wwdevil@…
sudo port selfupdate Password: ---> Updating MacPorts base sources using rsync MacPorts base version 2.3.3 installed, MacPorts base version 2.3.3 downloaded. ---> Updating the ports tree ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated sudo port upgrade outdated ---> Fetching archive for boehmgc ... ---> Configuring py26-mapnik ---> Building py26-mapnik Error: org.macports.build for port py26-mapnik returned: command execution failed Please see the log file for port py26-mapnik for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py26-mapnik/py26-mapnik/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets [local/bin] > outdated The following installed ports are outdated: py26-mapnik 0.7.1_6 < 0.7.1_14 readline 6.2.000_0 < 6.3.003_0 w3m 0.5.3_0 < 0.5.3_3 xorg-kbproto 1.0.5_0 < 1.0.6_0 xorg-libice 1.0.7_0 < 1.0.8_0 xorg-libpthread-stubs 0.3_0 < 0.3_0 (platform darwin 11 != darwin 14) xorg-libsm 1.2.0_0 < 1.2.1_0 xorg-libX11 1.4.4_0 < 1.6.2_0 xorg-libXau 1.0.6_0 < 1.0.8_0 xorg-libxcb 1.7_0 < 1.11_0 xorg-libXdmcp 1.1.0_0 < 1.1.1_0 xorg-xcb-proto 1.6_0 < 1.11_0 xorg-xextproto 7.2.0_0 < 7.3.0_0 xorg-xproto 7.0.22_0 < 7.0.26_0
Error from log file mapnik:
:notice:build ---> Building py26-mapnik :debug:build Executing org.macports.build (py26-mapnik) :info:build scons: Reading SConscript files ... :info:build :info:build Welcome to Mapnik... :info:build :info:build Using previous successful configuration... :info:build Re-configure by running "python scons/scons.py configure". :info:build scons: done reading SConscript files. :info:build scons: Building targets ... :info:build g++ -o agg/src/agg_line_profile_aa.o -c -O3 -fPIC -DNDEBUG -DNone -Iagg/include agg/src/agg_line_profile_aa.cpp :info:build In file included from agg/src/agg_line_profile_aa.cpp:16: :info:build agg/include/agg_renderer_outline_aa.h:1368:45: error: binding of reference to type 'agg::line_profile_aa' to a value of type 'const agg::line_profile_aa' drops qualifiers :info:build line_profile_aa& profile() { return *m_profile; } :info:build ^~~~~~~~~~ :info:build 1 error generated. :info:build scons: *** [agg/src/agg_line_profile_aa.o] Error 1 :info:build scons: building terminated because of errors. :info:build Command failed: cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py26-mapnik/py26-mapnik/work/mapnik-0.7.1 && /opt/local/bin/python2.6 scons/scons.py :info:build Exit code: 2 :error:build org.macports.build for port py26-mapnik returned: command execution failed :debug:build Error code: NONE :debug:build Backtrace: command execution failed while executing "proc-org.macports.build-build-0 org.macports.build" ("eval" body line 1) invoked from within "eval $procedure $targetname" :info:build Warning: targets not executed for py26-mapnik: org.macports.install org.macports.build org.macports.destroot :notice:build Please see the log file for port py26-mapnik for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py26-mapnik/py26-mapnik/main.log
comment:5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
This output tells us several things:
- You have not upgraded your ports in a very long time: for example, you have xorg-xproto 7.0.22_0 installed, but its maintainer updated it to version 7.0.23 in r90879 in March 2012. You should upgrade your ports much more frequently than this: every 12 months at a bare minimum, and hopefully much more frequently than that.
- You have upgraded from Lion (darwin 11) to Yosemite (darwin 14) and have not rebuilt xorg-libpthread-stubs since then; the indication of platform mismatch is only shown in
port outdated
when the version and revision match, so it's possible that some of your other outdated ports also still date from when they were installed on Lion. You must follow the migration instructions whenever you upgrade to a new major OS X version. - freetype is not shown as outdated, although we have already established that it is; this probably means it has been replaced by a third-party installer behind MacPorts' back, along with possibly other libraries and programs not yet identified.
The best solution is probably to uninstall all ports, uninstall MacPorts, make sure Xcode and the command line tools are up to date, and then reinstall MacPorts and the ports you want. The migration instructions can give some assistance with saving a list of ports you want before uninstalling, and helping you reinstall them later.
In addition, the output above shows a build failure with py26-mapnik, which may be unrelated to the other issues. My understanding, from other MacPorts tickets about mapnik, is that the py26-mapnik port is to be removed in favor of the existing mapnik port, though an update to the mapnik port is needed before it can be built again.
comment:6 Changed 9 years ago by mojca (Mojca Miklavec)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Version: | 2.3.3 |
error from building log of ghostscript: