#30583 closed defect (fixed)
ncurses, libpixman: build error with nawk
Reported by: | phil@… | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.1 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt), tobypeterson | |
Port: | ncurses nawk libpixman |
Description
I'm trying to upgrade my outdated ports after selfupdat
ing to Macports 2.0.1. It fails on both ncurses
and libpixman
, which my remaining upgrades depend on. (grails-devel
worked just fine.)
Specific error:
---> Configuring ncurses ---> Building ncurses Error: Target org.macports.build returned: shell command failed (see log for details) Log for ncurses is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/main.log Error: Unable to upgrade port: 1 To report a bug, see <http://guide.macports.org/#project.tickets>
Steps I've tried:
port clean ncurses
port clean --all ncurses
port clean --all outdated
- Rebooting
Uninstalling would remove a lot of dependencies, and I don't believe that is the issue. All of the MacPorts issues I've found that sound even similar (ex: #29921, #26791) are closed as duplicates or as "WorksForMe". None have workarounds.
System info:
- Snow Leopard: 10.6.8
- XCode:
Xcode 3.2.6 Component versions: DevToolsCore-1809.0; DevToolsSupport-1806.0 BuildVersion: 10M2518
- MacPorts: 2.0.1
I'm not planning on upgrading XCode to version 4, and the manual doesn't list it as a requirement.
The full log is attached. I wasn't sure what was relevant.
Attachments (1)
Change History (8)
Changed 13 years ago by phil@…
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | ncurses error upgrade removed |
---|---|
Owner: | changed from macports-tickets@… to jmr@… |
Summary: | ncurses - Error: Unable to upgrade port: 1 → ncurses: build error with nawk |
You appear to have nawk installed. Try uninstalling or at least deactivating nawk while trying to build ncurses. nawk has been implicated in other port failures like #30239.
sudo port clean ncurses sudo port -f deactivate nawk sudo port install ncurses
And then if desired:
sudo port activate nawk
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
Let us know if libpixman then also succeeds; if not attach that main.log.
comment:3 Changed 13 years ago by phil@…
OK, I went one further - I completely removed nawk
. (I don't know how it got installed, because I don't even know what it is!). That seems to have fixed it. It didn't even occur to me that having it installed was the issue - it looked like it was part of the build process.
Thank you - that was incredibly frustrating.
libpixman
seems to have worked as well. All my ports are now updated.
Thanks again.
comment:4 Changed 13 years ago by jmroot (Joshua Root)
Cc: | toby@… added |
---|---|
Port: | nawk added |
comment:5 Changed 13 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | libpixman added |
---|---|
Summary: | ncurses: build error with nawk → ncurses, libpixman: build error with nawk |
Perhaps it would be appropriate for us to modify ncurses and libpixman{,-devel} to force the use of /usr/bin/awk? We've done that in other ports for other reasons (#30308).
comment:7 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
I've done this for libpixman{,-devel} in r81677.
main.log for ncurses