#57371 closed defect (duplicate)
curl mojave install error
Reported by: | nhojpatrick (John Patrick) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.4 |
Keywords: | mojave | Cc: | ryandesign (Ryan Carsten Schmidt) |
Port: | curl |
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: curl 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 curl failed
Change History (7)
comment:1 Changed 6 years ago by stanimura
comment:2 Changed 6 years ago by jmroot (Joshua Root)
Milestone: | MacPorts 2.6.0 |
---|---|
Priority: | High → Normal |
Resolution: | → duplicate |
Status: | new → closed |
Same as #57245; the macOS 10.14 SDK doesn't support universal or i386 builds.
comment:3 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… removed |
---|---|
Description: | modified (diff) |
As for the bash error, you evidently haven't installed the bash port. Either do that, or reconfigure your Terminal to use /usr/bin/bash instead.
comment:4 follow-up: 7 Changed 6 years ago by nhojpatrick (John Patrick)
Resolution: | duplicate |
---|---|
Status: | closed → reopened |
I'm executing "sudo port install curl" so does that also mean the port needs changing. I'm also using the default macports.conf.default.
I had previously done sudo port install bash
, following the migration guide then myports.txt contains;
bash @4.4.23_0+universal (active) platform='darwin 17' archs='i386 x86_64' date='2018-06-04T20:53:04+0100'
So i would assume it would be reinstalled after i completed the migration steps but it failed to reinstalled.
comment:5 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 curl 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:6 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | mojave added |
---|---|
Resolution: | → duplicate |
Status: | reopened → closed |
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.
comment:7 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to nhojpatrick:
I had previously done
sudo port install bash
, following the migration guide then myports.txt contains;bash @4.4.23_0+universal (active) platform='darwin 17' archs='i386 x86_64' date='2018-06-04T20:53:04+0100'So i would assume it would be reinstalled after i completed the migration steps but it failed to reinstalled.
The error message [Command not found: /opt/local/bin/bash]
that you showed seems pretty unambiguously to tell us the file is not there. You can of course check to see if it is there. You can also use port contents bash
to see what the port did install.
See #57368.