http://bugs.winehq.org/show_bug.cgi?id=1946
Summary: build from CVS fails on Mandrake 9.2 - broken pipe / bison / flex (Mandrake 9.2 linux 2.4.22-10mdk) Product: Wine Version: CVS Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: wine-misc AssignedTo: wine-bugs@winehq.org ReportedBy: zippy@cs.brandeis.edu
I downloaded the most recent version of Winex from CVS (also tried the 3.2.1 tag, same results). The files all seem to be there, but the configuration script fails with an error about a broken pipe. The build chugs along for quite a while and then ends with:
cd `dirname wmc/__depend__` && make depend make[2]: Entering directory `/home/patrick/winex/winex/tools/wmc' ../../tools/makedep -I. -I. -I../../include -I../../include -C. lang.c mcl.c utils.c wmc.c write.c mcy.y -C. make[2]: Leaving directory `/home/patrick/winex/winex/tools/wmc' cd `dirname wrc/__depend__` && make depend make[2]: Entering directory `/home/patrick/winex/winex/tools/wrc' bison -y -bppy -ppp -d -t ./ppy.y make[2]: *** [ppy.tab.c] Broken pipe make[2]: Leaving directory `/home/patrick/winex/winex/tools/wrc' make[1]: *** [wrc/__depend__] Error 2 make[1]: Leaving directory `/home/patrick/winex/winex/tools' make: *** [tools/__depend__] Error 2
Compilation failed, aborting install. [patrick@localhost winex]$
---
I get a slightly different result running the build manually using "make && make depend". Again, the build runs for a while and then:
gcc -g -O2 -Wall -mpreferred-stack-boundary=2 -fno-keep-static-consts -D__const=const -D__int8=char -D__int16=short -D__int32=int "-D__int64=long long" -o winedump debug.o main.o misc.o msmangle.o output.o pe.o search.o symbol.o make[2]: Leaving directory `/home/patrick/winex/winex/tools/winedump' make[2]: Entering directory `/home/patrick/winex/winex/tools/wmc' gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fno-keep-static-consts -D__const=const -D__int8=char -D__int16=short -D__int32=int "-D__int64=long long" -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o lang.o lang.c bison -y -d -t ./mcy.y make[2]: *** [y.tab.h] Broken pipe make[2]: Leaving directory `/home/patrick/winex/winex/tools/wmc' make[1]: *** [wmc] Error 2 make[1]: Leaving directory `/home/patrick/winex/winex/tools' make: *** [tools] Error 2 [patrick@localhost winex]$
---
[patrick@localhost winex]$ uname -a Linux localhost 2.4.22-10mdk #1 Thu Sep 18 12:30:58 CEST 2003 i686 unknown unknown GNU/Linux
[patrick@localhost winex]$ bison --version bison (GNU Bison) 1.875
[patrick@localhost winex]$ flex --version flex version 2.5.4