[MacPorts] #49738: nco @4.5.2: fix configure failure when nawk is installed but gawk and mawk aren't
#49738: nco @4.5.2: fix configure failure when nawk is installed but gawk and mawk aren't --------------------------+----------------------- Reporter: ryandesign@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.99 Keywords: haspatch | Port: nco --------------------------+----------------------- If nawk is installed but gawk and mawk aren't, nco fails to configure with this error: {{{ config.status: creating config.h nawk: illegal statement input record number 1, file config.h.in source line number 133 config.status: error: could not create config.h }}} Similar errors are common in other ports. I guess many ports' build systems use awk syntax that is not compatible with nawk. We've been fixing this in other ports by patching the configure script so that it does not consider nawk as an awk candidate. See attached patch. -- Ticket URL: <https://trac.macports.org/ticket/49738> MacPorts <https://www.macports.org/> Ports system for OS X
#49738: nco @4.5.2: fix configure failure when nawk is installed but gawk and mawk aren't ---------------------------+----------------------- Reporter: ryandesign@… | Owner: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.99 Resolution: fixed | Keywords: haspatch Port: nco | ---------------------------+----------------------- Changes (by takeshi@…): * status: new => closed * resolution: => fixed Comment: Sent a pull request to upstream. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/49738#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49738: nco @4.5.2: fix configure failure when nawk is installed but gawk and mawk aren't ---------------------------+----------------------- Reporter: ryandesign@… | Owner: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.99 Resolution: fixed | Keywords: haspatch Port: nco | ---------------------------+----------------------- Comment (by ryandesign@…): Thanks. I doubt nco upstream will do anything, since checking for nawk is a feature of autoconf. If anyone, it would be the developers of autoconf who should be encouraged to change that. At least I've suggested we make that change in MacPorts: #49713. But that will only help ports that use autoreconf. -- Ticket URL: <https://trac.macports.org/ticket/49738#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49738: nco @4.5.2: fix configure failure when nawk is installed but gawk and mawk aren't ---------------------------+----------------------- Reporter: ryandesign@… | Owner: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.99 Resolution: fixed | Keywords: haspatch Port: nco | ---------------------------+----------------------- Comment (by ryandesign@…): Unless you meant you sent a pull request to nco upstream to make the nco configure script's usage of awk compatible with nawk. In which case they should accept that. -- Ticket URL: <https://trac.macports.org/ticket/49738#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts