http://bugs.winehq.org/show_bug.cgi?id=33909
Bug #: 33909 Summary: loader/Makefile.in not compatible with BSD make Product: Wine Version: 1.6-rc3 Platform: x86 OS/Version: FreeBSD Status: NEW Keywords: download, regression Severity: major Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com CC: ken@codeweavers.com Classification: Unclassified Regression SHA1: c40a72223c9f13aa18d0d5cf7a8071618da6599e
Compiling on PC-BSD 9 (Based on FreeBSD 9.1) hangs when it gets to compiling the loader: [austin@pcbsd-7162 ~/wine-git/loader]$ make gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings -Wpointer-arith -gdwarf-2 -fno-omit-frame-pointer -I/usr/local/include -g -O2 -fno-builtin -o main.o main.c LC_ALL=C sed -e 's,@PACKAGE_VERSION@,1.6-rc3,g' >wine_info.plist || (rm -f wine_info.plist && false)
Using GNU make works around it: [austin@pcbsd-7162 ~/wine-git/loader]$ gmake LC_ALL=C sed -e 's,@PACKAGE_VERSION@,1.6-rc3,g' wine_info.plist.in
wine_info.plist || (rm -f wine_info.plist && false)
gcc -o wine -Wl,--export-dynamic -Wl,--section-start,.interp=0x60000400 main.o -L../libs/wine -lwine ../libs/port/libwine_port.a -lpthread -L/usr/local/lib -Wl,--rpath,$ORIGIN/../libs/wine gcc -o wine-installed -Wl,--export-dynamic -Wl,--section-start,.interp=0x60000400 main.o -L../libs/wine -lwine ../libs/port/libwine_port.a -lpthread -L/usr/local/lib -Wl,--rpath,$ORIGIN/`../tools/relpath /usr/local/bin /usr/local/lib` -Wl,--enable-new-dtags LC_ALL=C sed -e 's,@bindir@,/usr/local/bin,g' -e 's,@dlldir@,/usr/local/lib/wine,g' -e 's,@PACKAGE_STRING@,Wine 1.6-rc3,g' wine.man.in >wine.man || (rm -f wine.man && false) LC_ALL=C sed -e 's,@bindir@,/usr/local/bin,g' -e 's,@dlldir@,/usr/local/lib/wine,g' -e 's,@PACKAGE_STRING@,Wine 1.6-rc3,g' wine.de.man.in >wine.de.man || (rm -f wine.de.man && false) LC_ALL=C sed -e 's,@bindir@,/usr/local/bin,g' -e 's,@dlldir@,/usr/local/lib/wine,g' -e 's,@PACKAGE_STRING@,Wine 1.6-rc3,g' wine.fr.man.in >wine.fr.man || (rm -f wine.fr.man && false) LC_ALL=C sed -e 's,@bindir@,/usr/local/bin,g' -e 's,@dlldir@,/usr/local/lib/wine,g' -e 's,@PACKAGE_STRING@,Wine 1.6-rc3,g' wine.pl.man.in >wine.pl.man || (rm -f wine.pl.man && false)
It's a regression, introduced by c40a72223c9f13aa18d0d5cf7a8071618da6599e