Opened 16 years ago

Closed 15 years ago

#17254 closed defect (fixed)

html-xml-utils 5.0 build fails: undefined symbol _yylineno

Reported by: vinc17@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: build Cc:
Port: html-xml-utils

Description

The upgrade to html-xml-utils 5.0 fails:

[...]
/usr/bin/gcc-4.0  -O2  -L/opt/local/lib -o hxunxmlns  hxunxmlns.o html.o scan.o openurl.o url.o connectsock.o heap.o errexit.o types.o headers.o dict.o  
/usr/bin/ld: Undefined symbols:
_yylineno
collect2: ld returned 1 exit status
make[1]: *** [hxunxmlns] Error 1
make: *** [all] Error 2

Warning: the following items did not execute (for html-xml-utils): org.macports.destroot org.macports.build
Error: Unable to upgrade port: 1

Change History (4)

comment:1 Changed 16 years ago by blb@…

That should end up in scan.o, generated by the ylwrap script from scan.l. It doesn't appear to be a bison port version issue, or having bison and/or flex ports installed. 10.4 or 10.5?

comment:2 Changed 16 years ago by vinc17@…

10.4 (I also have the bison port installed).

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Issue confirmed on 10.4 with html-xml-utils 5.0 and 5.2 when the flex port is not installed. html-xml-utils 5.5, to which I just updated the port, also seems to fix this.

Note: See TracTickets for help on using tickets.