Opened 6 years ago

Closed 6 years ago

#57376 closed defect (duplicate)

unrar mojave install error

Reported by: nhojpatrick (John Patrick) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: mojave Cc:
Port: unrar

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

Just upgraded to Mojave, reinstalled Ports by following wiki:Migration, also looked at ticket:57245 which additionally talks about doing xcode-select --install and xcodebuild -license which I've done.

I've also got Terminal set to /opt/local/bin/bash -l and when i relaunch I get this;

[Command not found: /opt/local/bin/bash]

[Could not create a new process and open a pseudo-tty.]

This is the error I see;

Error: unrar cannot be installed for the configured universal_archs 'x86_64 i386' because it only supports the arch(s) ''.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port unrar failed

Change History (5)

comment:1 Changed 6 years ago by stanimura

See #57368.

comment:2 Changed 6 years ago by jmroot (Joshua Root)

Milestone: MacPorts 2.6.0
Priority: HighNormal
Resolution: duplicate
Status: newclosed

Same as #57245; the macOS 10.14 SDK doesn't support universal or i386 builds.

comment:3 Changed 6 years ago by nhojpatrick (John Patrick)

Resolution: duplicate
Status: closedreopened

I'm executing "sudo port install unrar" so does that also mean the port needs changing. I'm also using the default macports.conf.default.

comment:4 Changed 6 years ago by nhojpatrick (John Patrick)

Had to do a complete uninstall of mac ports, then reboot, install mac ports Mojave, then sudo port install unrar and it works.

Been upgrading mac ports since macOS Mavericks, have not touched macports.conf apart from as a result of raising a trac ticket and being told to change a setting to get a port install/upgrade working.

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

Description: modified (diff)
Keywords: mojave added
Resolution: duplicate
Status: reopenedclosed

The port doesn't need any changes. You just can't install ports universal on Mojave, so don't try to do so. Don't specify +universal on the command line, or in variants.conf, or in myports.txt as part of migration.

Note: See TracTickets for help on using tickets.