Opened 6 years ago

Closed 6 years ago

#57370 closed defect (duplicate)

git mojave install error

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

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: git 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 git failed

Attachments (1)

main.log (71.2 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 (7)

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 git" so does that also mean the port needs changing. I'm also using the default macports.conf.default.

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: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 git 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 git
--->  Computing dependencies for git
The following dependencies will be installed: 
 db48
 kerberos5
 libcomerr
 libidn
 p5.26-authen-sasl
 p5.26-cgi
 p5.26-error
 p5.26-gssapi
 p5.26-html-parser
 p5.26-html-tagset
 p5.26-io-socket-ssl
 p5.26-mozilla-ca
 p5.26-net-libidn
 p5.26-net-smtp-ssl
 p5.26-net-ssleay
 p5.26-sub-uplevel
 p5.26-term-readkey
 p5.26-test-exception
 p5.26-test-nowarnings
 p5.26-test-warn
 pcre2
 popt
 python27
 python2_select
 python_select
 rsync
 sqlite3
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 git failed

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

Cc: ciserlohn@… openmaintainer removed
Description: modified (diff)
Keywords: mojave added

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.

For the libcomerr problem, see #57380.

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

Resolution: duplicate
Status: reopenedclosed
Note: See TracTickets for help on using tickets.