[MacPorts] #35327: graphyviz @2.28, 0 +configure failure: command execution failed
#35327: graphyviz @2.28,0 +configure failure: command execution failed ----------------------------------+----------------------------------------- Reporter: runner0502@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: graphyviz ----------------------------------+----------------------------------------- OSX 10.74 xcodec 4.3.3 mainlog {{{ info:configure config.status: error: could not create Makefile :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0" && ./configure --prefix=/opt/local --with-codegens --with-x --without- devil --without-smyrna --with-digcola --with-ipsepcola --without-rsvg --with-pangocairo --without-glitz --with-freetype2 --with-fontconfig --without-gdk-pixbuf --without-gtk --without-gtkgl --without-gtkglext --with-gts --without-glade --without-gnomeui --without-ming --without-qt --disable-swig --disable-sharp --disable-guile --disable-io --disable-java --disable-lua --disable-ocaml --disable-perl --disable-php --disable- python --disable-python23 --disable-python24 --disable-python25 --disable-r --disable-ruby --disable-tcl --with-quartz :info:configure Exit code: 1 :error:configure org.macports.configure for port graphviz returned: configure failure: command execution failed :debug:configure Error code: NONE :debug:configure Backtrace: configure failure: command execution failed while executing "$procedure $targetname" }}} -- Ticket URL: <https://trac.macports.org/ticket/35327> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35327: graphviz: nawk: illegal jump type 339 ----------------------------------+----------------------------------------- Reporter: runner0502@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: graphviz ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… * port: graphyviz => graphviz Comment: The log says: {{{ nawk: illegal jump type 339 }}} This suggests that you have the nawk port installed and that Graphviz may have an incompatibility with it. This would not be surprising since we've seen several other ports have similar problems with nawk. Either install gawk, or uninstall or deactivate nawk. Then clean graphviz and try again. -- Ticket URL: <https://trac.macports.org/ticket/35327#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35327: graphviz: nawk: illegal jump type 339 ----------------------------------+----------------------------------------- Reporter: runner0502@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: graphviz ----------------------------------+----------------------------------------- Comment(by runner0502@…): YES, uninstall nawk , install graphviz success! thank you! -- Ticket URL: <https://trac.macports.org/ticket/35327#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35327: graphviz: nawk: illegal jump type 339 ----------------------------------+----------------------------------------- Reporter: runner0502@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: graphviz ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * cc: krzysztof@… (added) Comment: Has duplicate #35764. -- Ticket URL: <https://trac.macports.org/ticket/35327#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35327: graphviz: nawk: illegal jump type 339 ---------------------------+-------------------------- Reporter: runner0502@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: graphviz | ---------------------------+-------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: r97742 -- Ticket URL: <https://trac.macports.org/ticket/35327#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35327: graphviz: nawk: illegal jump type 339 ---------------------------+-------------------------- Reporter: runner0502@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: graphviz | ---------------------------+-------------------------- Comment (by egall@…):
Either install gawk, or uninstall or deactivate nawk.
This seems to imply that if gawk is installed, that nawk does'''n't''' need to be uninstalled. If this is the case, couldn't the build conflict be changed so that graphviz only has a build_conflict with nawk if gawk is not installed? Something like: {{{ if {[catch "registry_active gawk"]} { conflicts_build nawk } }}} (also on an unrelated note, the notation for `if {![catch "registry_active ${badport}"]}` in the conflicts_build portgroup is kind of counterintuitive; I would have expected the usage of the `!` to be the other way around.) -- Ticket URL: <https://trac.macports.org/ticket/35327#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35327: graphviz: nawk: illegal jump type 339 ---------------------------+-------------------------- Reporter: runner0502@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: graphviz | ---------------------------+-------------------------- Comment (by ryandesign@…): Replying to [comment:6 egall@…]:
Either install gawk, or uninstall or deactivate nawk.
This seems to imply that if gawk is installed, that nawk does'''n't''' need to be uninstalled.
That's right. The configure script checks for awks in this order: gawk mawk nawk awk. This is nothing specific to Graphviz; this is part of the standard autoconf boildeplate in all configure scripts.
If this is the case, couldn't the build conflict be changed so that graphviz only has a build_conflict with nawk if gawk is not installed? Something like: {{{ if {[catch "registry_active gawk"]} { conflicts_build nawk } }}}
Possibly. But I don't know if this order of awk checks has changed in the past or is likely to change in the future. So I basically don't care about this. We've had to insert build conflicts with nawk into other ports for the same reason, so it doesn't appear to be a very good awk implementation, so I have no problem with pushing users toward realizing that and getting them to uninstall or at least deactivate it.
(also on an unrelated note, the notation for `if {![catch "registry_active ${badport}"]}` in the conflicts_build portgroup is kind of counterintuitive; I would have expected the usage of the `!` to be the other way around.)
It didn't think about it too much; I just put something that worked. -- Ticket URL: <https://trac.macports.org/ticket/35327#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35327: graphviz: nawk: illegal jump type 339 ---------------------------+-------------------------- Reporter: runner0502@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: graphviz | ---------------------------+-------------------------- Comment (by egall@…): Replying to [comment:7 ryandesign@…]:
I don't know if this order of awk checks has changed in the past or is likely to change in the future.
The last time the order changed was all the way back in 2001 when gawk was put first: [http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=a6a4d5e09087a0...]. I doubt they'll be changing it anytime soon since gawk and autoconf are both GNU projects, and GNU tends to prefer their own stuff.
We've had to insert build conflicts with nawk into other ports for the same reason
Really? Which other ports? -- Ticket URL: <https://trac.macports.org/ticket/35327#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35327: graphviz: nawk: illegal jump type 339 ---------------------------+-------------------------- Reporter: runner0502@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: graphviz | ---------------------------+-------------------------- Comment (by ryandesign@…): Replying to [comment:8 egall@…]:
Really? Which other ports?
{{{ $ port file all | sort -u | xargs grep conflicts_build.*nawk /Users/rschmidt/macports/dports/graphics/graphviz- devel/Portfile:conflicts_build nawk /Users/rschmidt/macports/dports/graphics/graphviz-devel/Portfile: conflicts_build nawk /Users/rschmidt/macports/dports/graphics/graphviz/Portfile:conflicts_build nawk /Users/rschmidt/macports/dports/graphics/graphviz/Portfile: conflicts_build nawk /Users/rschmidt/macports/dports/lang/gawk/Portfile:conflicts_build nawk /Users/rschmidt/macports/dports/mail/libidn/Portfile:conflicts_build nawk /Users/rschmidt/macports/dports/net/wget/Portfile:conflicts_build nawk /Users/rschmidt/macports/dports/science/hdf5-18/Portfile:conflicts_build nawk }}} That's just the ones I know about. It wouldn't surprise me at all if other ports, possibly all ports using an autoconf-based configure script, fail when nawk is active and gawk is not. nawk doesn't seem very popular so I guess most users have not tried it, otherwise I think we'd have more bug reports about it. -- Ticket URL: <https://trac.macports.org/ticket/35327#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35327: graphviz: nawk: illegal jump type 339 ---------------------------+-------------------------- Reporter: runner0502@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: graphviz | ---------------------------+-------------------------- Comment (by larryv@…): Replying to [comment:6 egall@…]:
(also on an unrelated note, the notation for `if {![catch "registry_active ${badport}"]}` in the conflicts_build portgroup is kind of counterintuitive; I would have expected the usage of the `!` to be the other way around.)
That’s because the failure state is the ''absence'' of the bad port. The conditional should eval to true if the bad port is ''present''. -- Ticket URL: <https://trac.macports.org/ticket/35327#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35327: graphviz: nawk: illegal jump type 339 ---------------------------+-------------------------- Reporter: runner0502@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: graphviz | ---------------------------+-------------------------- Comment (by egall@…): Replying to [comment:9 ryandesign@…]:
nawk doesn't seem very popular so I guess most users have not tried it,
otherwise I think we'd have more bug reports about it. I came here because it was linked to in #38201 and in that ticket, apparently the directions for installing Linphone say to install nawk... -- Ticket URL: <https://trac.macports.org/ticket/35327#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts