New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #17254 (closed defect: fixed)

Opened 5 years ago

Last modified 3 years ago

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

comment:1 Changed 5 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 5 years ago by vinc17@…

10.4 (I also have the bison port installed).

comment:3 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

comment:4 Changed 3 years ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to fixed

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.