Curious parallel make issue with make_xftmpl

Marcus Meissner marcus at jet.franken.de
Fri May 13 03:17:07 CDT 2011


Hi,

on large parallel in-tree builds I get this error occasionaly:

...
../tools/widl/widl -I. -I. -I../include -I../include    -h -o wine/winedxgi.h wine/winedxgi.idl
../tools/widl/widl -m64 -I. -I. -I../include -I../include    -t -o stdole2.tlb stdole2.idl
gcc -DLDAP_DEPRECATED=1 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0    ../tools/make_xftmpl.c   -o ../tools/make_xftmpl
../tools/widl/widl -I. -I. -I../include -I../include    -h -o docobjectservice.h docobjectservice.idl
../tools/widl/widl -I. -I. -I../include -I../include    -h -o exdisp.h exdisp.idl
gcc -c -I. -I. -I../include -I../include -I/usr/include/freetype2 -D__WINESRC__   -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -Wlogical-op  -DLDAP_DEPRECATED=1 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0  -o make_ctests.o make_ctests.c
../tools/make_xftmpl.c:21:20: fatal error: config.h: No such file or directory
compilation terminated.
make[1]: *** [../tools/make_xftmpl] Error 1
make[1]: *** Waiting for unfinished jobs....
gcc -c -I. -I. -I../include -I../include -I/usr/include/freetype2 -D__WINESRC__   -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -Wlogical-op  -DLDAP_DEPRECATED=1 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0  -o sfnt2fnt.o sfnt2fnt.c
LC_ALL=C sed -e 's, at PACKAGE_STRING\@,Wine 1.3.19,g' ./wine.inf.in >wine.inf || (rm -f wine.inf && false)
sed -e 's, at bindir\@,/usr/bin,g' ./wineapploader.in >wineapploader || (rm -f wineapploader && false)
LC_ALL=C sed -e 's, at bindir\@,/usr/bin,g' -e 's, at dlldir\@,/usr/lib64/wine,g' -e 's, at PACKAGE_STRING\@,Wine 1.3.19,g' winemaker.man.in >winemaker.man || (rm -f winemaker.man && false)
LC_ALL=C sed -e 's, at bindir\@,/usr/bin,g' -e 's, at dlldir\@,/usr/lib64/wine,g' -e 's, at PACKAGE_STRING\@,Wine 1.3.19,g' winemaker.de.man.in >winemaker.de.man || (rm -f winemaker.de.man && false)
LC_ALL=C sed -e 's, at bindir\@,/usr/bin,g' -e 's, at dlldir\@,/usr/lib64/wine,g' -e 's, at PACKAGE_STRING\@,Wine 1.3.19,g' winemaker.fr.man.in >winemaker.fr.man || (rm -f winemaker.fr.man && false)
gcc -DLDAP_DEPRECATED=1 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -o make_ctests make_ctests.o
gcc -DLDAP_DEPRECATED=1 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -o fnt2fon fnt2fon.o ../libs/port/libwine_port.a
gcc -DLDAP_DEPRECATED=1 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -o fnt2bdf fnt2bdf.o ../libs/port/libwine_port.a
gcc -DLDAP_DEPRECATED=1 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -o make_xftmpl make_xftmpl.o ../libs/port/libwine_port.a
make[1]: Leaving directory `/usr/src/packages/BUILD/wine-1.3.19.20110512/include'
make: *** [include] Error 2



I *think* the include/ directory has a make_xftmpl build rule which is not passing the correct -I include
paths, especially as make_xftmpl itself is also building in parallel in tools/.

Ciao, Marcus



More information about the wine-devel mailing list