pkgsrc-Bugs archive

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

pkg/39319: MesaLib 7.03 doesn't build with dri option on netbsd-3



>Number:         39319
>Category:       pkg
>Synopsis:       MesaLib 7.03 doesn't build with dri option on netbsd-3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 07 23:10:01 +0000 2008
>Originator:     Christoph Badura
>Release:        NetBSD 3.1_STABLE
>Organization:
>Environment:
pkgsrc-2008Q2 as of the evening of the branch tagging
        
        
System: NetBSD nervous-energy 3.1_STABLE NetBSD 3.1_STABLE (nervous-energy) #4: 
Fri Jul 25 06:31:02 MEST 2008 
root@nervous-energy:/src/sys/arch/i386/compile/nervous-energy i386
Architecture: i386
Machine: i386
>Description:
        
===> Installing dependencies for MesaLib-7.0.3.3nb4
==========================================================================
The supported build options for MesaLib are:

        dri i386 mesa-execmem-mmap

The currently selected options are:

        dri i386 mesa-execmem-mmap

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

        PKG_OPTIONS.MesaLib = i386

==========================================================================

cc -c -I../../include -I../../src/mesa -I../../src/mesa/main 
-I../../src/mesa/glapi -I../../src/mesa/math -I../../src/mesa/tnl 
-I../../src/mesa/shader -I../../src/mesa/shader/grammar 
-I../../src/mesa/shader/slang -I../../src/mesa/swrast 
-I../../src/mesa/swrast_setup -O2 -DMESA_EXECMEM_MMAP -DEXEC_HEAP_SIZE=10485760 
-fno-strict-aliasing -D_NETBSD_SOURCE -DDEFAULT_X86_FPU=0x127f 
-DUSE_NATIVE_LIBM_FUNCS -DUSE_SSE_SYSCTL_DETECTION 
-I/pkg_comp/obj/pkgsrc/graphics/MesaLib/default/.buildlink/include -DPTHREADS 
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING 
-DGLX_INDIRECT_RENDERING -DHZ=100 -DHAVE_ALIAS -D_REENTRANT 
-Wmissing-prototypes -Wall -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM 
-DUSE_SSE_ASM -Wmissing-prototypes -Wall -Wmissing-prototypes -Wall 
x86/common_x86.c  -fPIC -DPIC -o x86/.libs/common_x86.o
In file included from /usr/include/sys/sysctl.h:44,
                 from x86/common_x86.c:43:
/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 x86/common_x86.c:43:
/usr/include/sys/proc.h:66: error: `MAXLOGNAME' undeclared here (not in a 
function)
/usr/include/sys/proc.h:243: error: `MAXCOMLEN' undeclared here (not in a 
function)
In file included from x86/common_x86.c:43:
/usr/include/sys/sysctl.h:402: error: `MAXLOGNAME' undeclared here (not in a 
function)
gmake[4]: *** [x86/common_x86.o] Error 1
gmake[4]: Leaving directory 
`/pkg_comp/obj/pkgsrc/graphics/MesaLib/default/Mesa-7.0.3/src/mesa'


>How-To-Repeat:
        
check out pkgsrc-2008Q2
echo "PKG_OPTIONS.MesaLib=dri i386 mesa-execmem-mmap" >>/etc/mk.conf
cd graphics/MesaLib && make
>Fix:
        

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index