pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48766: wine-devel from pkgsrc-2014Q1 build failure on netbsd-5/i386



>Number:         48766
>Category:       pkg
>Synopsis:       wine-devel from pkgsrc-2014Q1 build failure on netbsd-5/i386
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 26 20:45:00 +0000 2014
>Originator:     John D. Baker
>Release:        NetBSD/i386-5.2_STABLE, pkgsrc-2014Q1
>Organization:
>Environment:
NetBSD verthandi.technoskunk.fur 5.2_STABLE NetBSD 5.2_STABLE (VERTHANDI) #15: 
Fri Apr 25 14:02:15 CDT 2014  
sysop%verthandi.technoskunk.fur@localhost:/d0/build/netbsd-5/obj/i386/sys/arch/i386/compile/VERTHANDI
 i386

>Description:
Building "emulators/wine-devel" (wine-1.7.11nb1) fails on netbsd-5/i386
host as follows:

[...]
cc -m32 -c -o iphlpapi_main.o iphlpapi_main.c -I. -I../../include -D__WINESRC__ 
-D_REENTRANT -fPIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes 
-Wwrite-strings \
  -Wpointer-arith -fno-omit-frame-pointer -I/usr/pkg/include -I/usr/include \
  -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm 
-I/usr/pkg/include/ncurses -O2 -I/usr/pkg/include -I/usr/include 
-I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm 
-I/usr/pkg/include/ncurses
iphlpapi_main.c: In function 'get_dns_servers':
iphlpapi_main.c:1115: error: conflicting types for '__res_get_state'
/usr/include/resolv.h:284: error: previous declaration of '__res_get_state' was 
here
iphlpapi_main.c:1116: error: conflicting types for '__res_getservers'
/usr/include/resolv.h:506: error: previous declaration of '__res_getservers' 
was here
Makefile:128: recipe for target 'iphlpapi_main.o' failed
gmake[1]: *** [iphlpapi_main.o] Error 1
gmake[1]: Leaving directory 
'/d0/build/pkgsrc/emulators/wine-devel/work/wine-1.7.11/dlls/iphlpapi'
Makefile:7154: recipe for target 'dlls/iphlpapi' failed
gmake: *** [dlls/iphlpapi] Error 2
*** Error code 2

Stop.
make: stopped in /x/pkgsrc/emulators/wine-devel
*** Error code 1

Stop.
make: stopped in /x/pkgsrc/emulators/wine-devel


For comparison, "emulators/wine-devel" builds successfully on a
6.99.40/i386 system (gcc48).  Looking at the Makefile suggests it
may be builable on an amd64 system, but I've not tried that yet.
I will also see how it behaves on netbsd-6 hosts when I next have
opportunity.
>How-To-Repeat:
Attempt to build "emulators/wine-devel" from pkgsrc-2014Q1 on a
netbsd-5 (5.2_STABLE) i386 host.
>Fix:



Home | Main Index | Thread Index | Old Index