WineHQ
Bug Tracking Database – Bug 35318

 Bugzilla

 

Last modified: 2014-12-31 13:27:09 UTC  

build fail on FreeBSD

Bug 35318 - build fail on FreeBSD
build fail on FreeBSD
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: winsock
1.7.10
x86 FreeBSD
: P2 normal
: ---
Assigned To: Mr. Bugs
: regression
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2014-01-05 10:02 UTC by fiziologus
Modified: 2014-12-31 13:27 UTC (History)
2 users (show)

See Also:
Regression SHA1: ae728cfa274e3517f38a9fe21c9b738c43b1ad73
Fixed by SHA1: 281f69bccfaa1c8c0678f50c8db7ee149f51a117
Distribution: ---
Staged patchset:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fiziologus 2014-01-05 10:02:56 UTC
Wine fail to build in FreeBSD after adding IPX support

Log in clang (in gcc same):


clang -c -o socket.o socket.c -I. -I../../include -D_REENTRANT -fPIC -D__WINESRC__ -DUSE_WS_PREFIX -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -fno-omit-frame-pointer -I/usr/local/include -O2 -pipe -fno-strict-aliasing 
gmake[1]: Entering directory `/usr/ports/emulators/wine-devel/work/wine-1.7.10/dlls/wshom.ocx'
../../tools/widl/widl -o wshom.h wshom.idl -I. -I../../include -D__WINESRC__  
../../tools/wrc/wrc -o wshom.res wshom.rc -I. -I../../include --nostdinc --po-dir=../../po -D__WINESRC__ 
../../tools/widl/widl -o wshom_t.res wshom.idl -I. -I../../include -D__WINESRC__  
clang -c -o shell.o shell.c -I. -I../../include -D_REENTRANT -fPIC -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -fno-omit-frame-pointer -I/usr/local/include -O2 -pipe -fno-strict-aliasing 
socket.c:1476:35: error: invalid operands to binary expression ('int' and 'union ipx_net')
            return ipx->sipx_port || ipx->sipx_network || memcmp(&ipx->sipx_node, &emptyAddr.sipx_node, sizeof(emptyAddr.sipx_node));
                   ~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~
1 error generated.
gmake[1]: *** [socket.o] Error 1
gmake[1]: Leaving directory `/usr/ports/emulators/wine-devel/work/wine-1.7.10/dlls/ws2_32'
gmake: *** [dlls/ws2_32] Error 2


ipx->sipx_network (aka ipx_net) is union with field u_char c_net[4] and u_short s_net[2].
Comment 1 Bruno Jesus 2014-01-05 11:51:22 UTC
I can see that looking at the include files but for some reason my PC-BSD vm stopped compiling wine...

gcc -g -O2  ./tools/makedep.c  -o ./tools/makedep
./tools/makedep.c:21:20: error: config.h: No such file or directory
./tools/makedep.c:23:23: error: wine/port.h: No such file or directory
./tools/makedep.c:36:23: error: wine/list.h: No such file or directory

As soon as I figure what is wrong in my vm (configure runs fine) I'll make and send a patch for this.
Comment 2 fiziologus 2014-01-05 12:11:49 UTC
this already fixed port maintainer (thanks for reply).

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=196573+0+current/svn-ports-head
Comment 3 Bruno Jesus 2014-01-05 12:46:02 UTC
Patch sent:
http://source.winehq.org/patches/data/101425
Comment 5 Alexandre Julliard 2014-01-17 13:58:18 UTC
Closing bugs fixed in 1.7.11.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers