Opened 6 years ago

Closed 6 years ago

#57374 closed defect (duplicate)

openssh mojave install error

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

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

Just upgraded to Mojave, reinstalled Ports and followed 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: openssh 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 openssh failed

Attachments (1)

main.log (65.7 KB) - added by nhojpatrick (John Patrick) 6 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_e2fsprogs/libcomerr/main.log

Download all attachments as: .zip

Change History (6)

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 openssh" 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 openssh and it works for more ports now apart form openssh.

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.

see attachment and error is;

$ sudo port install openssh
--->  Computing dependencies for openssh
The following dependencies will be installed: 
 db48
 kerberos5
 libcomerr
 python27
 python2_select
 python_select
 sqlite3
 ssh-copy-id
 xauth
 xorg-libX11
 xorg-libXau
 xorg-libXdmcp
 xorg-libXext
 xorg-libXmu
 xorg-libXt
 xorg-libice
 xorg-libpthread-stubs
 xorg-libsm
 xorg-libxcb
 xorg-xcb-proto
 xorg-xorgproto
Continue? [Y/n]: y
--->  Staging libcomerr into destroot
Error: Failed to destroot libcomerr: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_e2fsprogs/libcomerr/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port openssh failed

Changed 6 years ago by nhojpatrick (John Patrick)

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_e2fsprogs/libcomerr/main.log

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.

The libcomerr problem is #57380.

Note: See TracTickets for help on using tickets.