Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#54030 closed defect (duplicate)

Cannot Install ghostscript @9.21+x11 on Mac OSX Sierra 10.12.4

Reported by: fmw42 (Fred Weinhaus) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc:
Port: ghostscript

Description (last modified by mf2k (Frank Schima))

Ghostscript will not install on my new Mac mini OSX 10.12.4 Sierra. I have tried several time with no success. I even uninstalled MacPorts and reinstalled it. All other ports install fine, except Ghostscript.

I ran

sudo  port -d -y rev-upgrade

and am attaching my full session log.

The sudo port -d -y rev-upgrade results are below:

--->  Scanning binaries for linking errors
DEBUG: Ignoring loadcommand containing @executable_path in /opt/local/libexec/ld64/ld-latest
DEBUG: skipping ppc in /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/py2app/apptemplate/prebuilt/main-fat since this system can't run it anyway
DEBUG: skipping ppc in /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/py2app/apptemplate/prebuilt/main-fat3 since this system can't run it anyway
DEBUG: skipping ppc64 in /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/py2app/apptemplate/prebuilt/main-universal since this system can't run it anyway
DEBUG: skipping ppc in /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/py2app/apptemplate/prebuilt/main-universal since this system can't run it anyway
DEBUG: skipping ppc in /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/py2app/apptemplate/prebuilt/secondary-fat since this system can't run it anyway
DEBUG: skipping ppc in /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/py2app/apptemplate/prebuilt/secondary-fat3 since this system can't run it anyway
DEBUG: skipping ppc64 in /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/py2app/apptemplate/prebuilt/secondary-universal since this system can't run it anyway
DEBUG: skipping ppc in /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/py2app/apptemplate/prebuilt/secondary-universal since this system can't run it anyway
DEBUG: skipping ppc in /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/py2app/bundletemplate/prebuilt/main-fat since this system can't run it anyway
DEBUG: skipping ppc in /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/py2app/bundletemplate/prebuilt/main-fat3 since this system can't run it anyway
DEBUG: skipping ppc64 in /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/py2app/bundletemplate/prebuilt/main-universal since this system can't run it anyway
DEBUG: skipping ppc in /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/py2app/bundletemplate/prebuilt/main-universal since this system can't run it anyway
DEBUG: skipping ppc in /opt/local/share/cmake-3.8/Modules/CPack.OSXScriptLauncher.in since this system can't run it anyway
Could not open libgs.9.21.dylib: Error opening or reading file (referenced from /opt/local/bin/gsc)
libgs.9.21.dylib seems to be referenced using a relative path. This may be a problem with its canonical library name and require the use of install_name_tool(1) to fix.
DEBUG: Marking /opt/local/bin/gsc as broken
DEBUG: Marking /opt/local/bin/gsx as broken
--->  Found 2 broken files, matching files to ports
--->  Found 1 broken port, determining rebuild order
DEBUG: Broken: ghostscript
DEBUG: Processing port ghostscript @0:9.21_0 +x11 

Attachments (2)

MacPorts_Install_2017.txt (111.0 KB) - added by fmw42 (Fred Weinhaus) 7 years ago.
session log with error messages
Ghostscript_Install_Error.txt (11.8 KB) - added by fmw42 (Fred Weinhaus) 7 years ago.
Error Message

Download all attachments as: .zip

Change History (10)

Changed 7 years ago by fmw42 (Fred Weinhaus)

Attachment: MacPorts_Install_2017.txt added

session log with error messages

Changed 7 years ago by fmw42 (Fred Weinhaus)

Error Message

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Cc: fmw@… removed
Keywords: Ghostscript removed
Port: ghostscript added; Ghostscript removed

In the future, please use WikiFormatting. As reporter, you do not need to Cc yourself.

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:3 Changed 7 years ago by neverpanic (Clemens Lang)

Resolution: duplicate
Status: newclosed

This is #54019. The fix will arrive on the port tree mirrors soon.

Last edited 7 years ago by neverpanic (Clemens Lang) (previous) (diff)

comment:4 in reply to:  3 Changed 7 years ago by fmw42 (Fred Weinhaus)

Replying to neverpanic:

This is #54019. The fix will arrive on the port tree mirrors soon.

Thanks for the quick reply. But does "soon" mean hours or days?

comment:5 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Hours.

comment:6 Changed 7 years ago by fmw42 (Fred Weinhaus)

I apologize if I am being too impatient. But can you tell me the current status, please? I tried again this morning and get the same messages. I also noticed that the MacPorts web site only shows Ghostscript 9.19. But when doing either

sudo port install Ghostscript

or

sudo port install ghostscript @9.21_1+x11

It still tries to install ghostscript @9.21_0+x11

comment:7 Changed 7 years ago by neverpanic (Clemens Lang)

The website update system may be broken at the moment, I'm not sure of the current status.

You cannot specifically select which version to install – MacPorts will always install the latest version it knows about. As long as port info ghostscript does not show 9.21_1 (but 9.21_0), installation will fail. The fix was committed yesterday, but our rsync infrastructure that updates the set of publicly available ports has been a little slower lately, so please allow up to 24h for the change to show up.

If you want this to happen faster, you can use wiki:howto/SyncingWithGit at the expense of more CPU usage because you will have to generate a portindex locally.

comment:8 Changed 7 years ago by fmw42 (Fred Weinhaus)

I was able to resolve it this morning with some help on one of the other related posts. I needed to do sudo port selfudate and then I could see and install 9.21_1. Thanks very much for the fast replies and fixes. You guys are great!

Note: See TracTickets for help on using tickets.