[MacPorts] #36450: gmp dependency on flex
#36450: gmp dependency on flex --------------------+------------------------ Reporter: snc@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.99 Keywords: | Port: gmp --------------------+------------------------ {{{ … checking for bison... bison -y checking for flex... flex checking lex output file root... configure: error: cannot find output from flex; giving up … }}} 10.8, there are system-provided bison and flex and MacPorts-installed flex. Attached config.log. -- Ticket URL: <https://trac.macports.org/ticket/36450> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36450: gmp dependency on m4? ---------------------+------------------------ Reporter: snc@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.99 Resolution: | Keywords: Port: gmp | ---------------------+------------------------ Changes (by snc@…): * cc: mww@… (added) Comment: It looks like it was trying to use the not-installed `gm4` from MacPorts' m4. Only bison has a dependency on m4 and it's not installed, so that's possibly a missing dependency on flex's part? {{{ configure:29083: checking for flex configure:29099: found /opt/local/bin/flex configure:29110: result: flex configure:29147: flex conftest.l flex: fatal internal error, exec of /opt/local/bin/gm4 failed flex: error writing output file lex.yy.c configure:29151: $? = 1 configure:29153: checking lex output file root configure:29164: error: cannot find output from flex; giving up }}} -- Ticket URL: <https://trac.macports.org/ticket/36450#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36450: flex: missing dependency on m4 ---------------------+------------------------ Reporter: snc@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.99 Resolution: fixed | Keywords: Port: flex | ---------------------+------------------------ Changes (by ryandesign@…): * status: new => closed * cc: ryandesign@… (added) * resolution: => fixed * port: gmp => flex Comment: I agree: flex is using gm4, and therefore needs a dependency on the m4 port. flex's configure script shows: {{{ checking for m4 that supports -P... /opt/local/bin/gm4 }}} And that path gets baked into the flex executable: {{{ $ grep /opt/local/bin/gm4 /opt/local/bin/flex Binary file /opt/local/bin/flex matches }}} Fixed in r98589. -- Ticket URL: <https://trac.macports.org/ticket/36450#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts