#57369 closed defect (duplicate)
gperf: Cannot be installed +universal on Mojave
Reported by: | nhojpatrick (John Patrick) | Owned by: | mcalhoun |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.4 |
Keywords: | mojave | Cc: | |
Port: | gperf |
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;
---> Computing dependencies for bash-completion ---> Dependencies to be installed: bash gettext libiconv gperf ncurses Error: gperf cannot be installed for the configured universal_archs 'x86_64 i386' because it only supports the arch(s) ''. Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gperf/gperf/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port bash-completion failed
Attachments (2)
Change History (9)
Changed 6 years ago by nhojpatrick (John Patrick)
comment:1 Changed 6 years ago by raimue (Rainer Müller)
Cc: | raimue@… raimue removed |
---|---|
Keywords: | mojave added |
Milestone: | MacPorts 2.6.0 |
Owner: | set to mcalhoun |
Port: | gperf added; bash-completion removed |
Priority: | High → Normal |
Status: | new → assigned |
Summary: | bash-completion mojave install error → gperf: Cannot be installed +universal on Mojave |
Are you requesting the +universal
variant? You should not do that on Mojave, as it can no longer build 32-bit binaries.
Did you already migrate your /opt/local/etc/macports/macports.conf
(compare to macports.conf.default
right next to it)? I would recommend to remove i386
from the universal_archs
option.
The error is unrelated to bash-completion, just one of the dependencies threw an error. Reassigning to gperf.
comment:2 Changed 6 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
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)
I executed "sudo port install bash-completion", so does that mean the port needs to change?
$ sudo port install bash-completion ---> Computing dependencies for bash-completion The following dependencies will be installed: bash gettext gperf libiconv ncurses Continue? [Y/n]: y Error: gperf cannot be installed for the configured universal_archs 'x86_64 i386' because it only supports the arch(s) ''. Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gperf/gperf/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port bash-completion failed $
My config is also the default config e.g.
$ diff /opt/local/etc/macports/macports.conf.default /opt/local/etc/macports/macports.conf $
comment:4 Changed 6 years ago by nhojpatrick (John Patrick)
Resolution: | duplicate |
---|---|
Status: | closed → reopened |
Changed 6 years ago by nhojpatrick (John Patrick)
Attachment: | macports.conf added |
---|
/opt/local/etc/macports/macports.conf
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 bash-completion 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)
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)
Description: | modified (diff) |
---|
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gperf/gperf/main.log