pkgsrc-Bugs archive

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

pkg/35714: emulators/wine fails to compile (NetBSD-3.0)



>Number:         35714
>Category:       pkg
>Synopsis:       emulators/wine fails to compile (NetBSD-3.0)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 19 17:00:00 +0000 2007
>Originator:     Robert Elz
>Release:        NetBSD 3.99.15   (pkgsrc current within past 10 hours)
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 3.99.15 NetBSD 3.99.15 
(GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/current/kernels/JADE_ASUS i386
Architecture: i386
Machine: i386
>Description:
        On NetBSD 3.0 (release version), emulators/wine (the recently
        updated version) doesn't compile.

        I'm using pkg_comp with libkver and NetBSD 3.0 release sets
        (and sources) installed to simulate NetBSD 3.0, but I doubt
        that makes any real difference.

        This PR is marked as non-critical/low as all reports are that
        wine doesn't really work wven when it does compile, and on
        older systems (like netBSD 3.0 and before) it is probably even
        less likely to work (no idea, I have no idea what to do with
        it after compiling the thing, when it does compile - it did
        that at leats last week, but doesn't now).

>How-To-Repeat:
        Using netBSD 3.0 attempt to "make" emuulators/wine

        Expect to see ...


cc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC
 -Wall -pipe -fno-strict-aliasing -Wwrite-strings -Wpointer-arith -I/usr/pkg/inc
lude -DGLX_GLXEXT_LEGACY -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/include/fre
etype2 -O2 -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -DLDAP_DEPRECATED -I/usr/inclu
de -I/usr/pkg/include/freetype2  -o iphlpapi_main.o iphlpapi_main.c
cc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC
 -Wall -pipe -fno-strict-aliasing -Wwrite-strings -Wpointer-arith -I/usr/pkg/inc
lude -DGLX_GLXEXT_LEGACY -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/include/fre
etype2 -O2 -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -DLDAP_DEPRECATED -I/usr/inclu
de -I/usr/pkg/include/freetype2  -o ipstats.o ipstats.c
In file included from /usr/include/sys/sysctl.h:44,
                 from ipstats.c:56:
/usr/include/sys/ucred.h:49: error: `NGROUPS' undeclared here (not in a function
)
/usr/include/sys/ucred.h:59: error: `NGROUPS' undeclared here (not in a function
)
In file included from /usr/include/sys/sysctl.h:46,
                 from ipstats.c:56:
/usr/include/sys/proc.h:66: error: `MAXLOGNAME' undeclared here (not in a functi
on)  
/usr/include/sys/proc.h:243: error: `MAXCOMLEN' undeclared here (not in a functi
on)
In file included from ipstats.c:56:
/usr/include/sys/sysctl.h:402: error: `MAXLOGNAME' undeclared here (not in a fun
ction)
ipstats.c: In function `getInterfaceStatsByName':
ipstats.c:104: warning: subscript has type `char'
ipstats.c: In function `getArpTable':
ipstats.c:912: warning: subscript has type `char'
ipstats.c:938: warning: subscript has type `char'
ipstats.c:940: warning: subscript has type `char'

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/pkg_comp/obj/pkgsrc/emulators/wine/default/.gcc/bin/gcc -c -I. -I../../include
-D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wwrite-string
s -Wpointer-arith -I/pkg_comp/obj/pkgsrc/emulators/wine/default/.buildlink/inclu
de -DGLX_GLXEXT_LEGACY -DLDAP_DEPRECATED -I/pkg_comp/obj/pkgsrc/emulators/wine/d
efault/.buildlink/include/freetype2 -O2 -o ipstats.o ipstats.c -L/pkg_comp/obj/p
kgsrc/emulators/wine/default/.buildlink/lib
gmake[2]: *** [ipstats.o] Error 1
gmake[2]: Leaving directory `/pkg_comp/obj/pkgsrc/emulators/wine/default/wine-0.
9.31/dlls/iphlpapi'
gmake[1]: *** [iphlpapi] Error 2
gmake[1]: Leaving directory `/pkg_comp/obj/pkgsrc/emulators/wine/default/wine-0.
9.31/dlls'
gmake: *** [dlls] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/emulators/wine
*** Error code 1

Stop.

>Fix:




Home | Main Index | Thread Index | Old Index