#17135 closed defect (fixed)
wine-devel doesn't build with bison 2.4 installed
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | Cc: | mww@… | |
Port: | wine-devel |
Description
I didn't realize until now, but Wine uses bison during the build process. The wine/wine-devel ports don't declare a dependency on the bison port, but if the bison port is installed, it will be used. And bison 2.4 made a significant backward-incompatible change w.r.t. bison 2.3 which Wine doesn't like. For example wine-devel 1.1.8 says:
/usr/bin/gcc-4.0 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -I/mp/include -O2 -o parser.tab.o parser.tab.c parser.y: In function 'parser_parse': parser.y:320: error: parse error before '}' token make[2]: *** [parser.tab.o] Error 1 make[1]: *** [jscript] Error 2 make: *** [dlls] Error 2
As a quick workaround, try using the system bison instead like libidl did in r41581. Then report the problem to the Wine developers. Use the bison23 port when available (#17113), until Wine is fixed upstream.
Change History (4)
comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | wine removed |
---|---|
Summary: | wine and wine-devel don't build with bison 2.4 installed → wine-devel doesn't build with bison 2.4 installed |
Actually it looks like wine (1.0.1) builds fine with bison 2.4, while wine-devel (1.1.8) has the above problem.
comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Looks like it's just a missing semicolon; fixed in r41664.
Note: See
TracTickets for help on using
tickets.
Bug reported to wine developers.