pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/34379: graphics/MesaLib build fails
>Number: 34379
>Category: pkg
>Synopsis: graphics/MesaLib build fails
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Aug 29 18:55:00 +0000 2006
>Originator: Jake Kupersmith
>Release: 3-Release / i386 + pkgsrc-current
>Organization:
>Environment:
NetBSD shake 3.0 NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:04:02 UTC 2005
builds%works.netbsd.org@localhost:/home/builds/ab/netbsd-3-0-RELEASE/i386/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/i386/compile/GENERIC
i386
>Description:
root@shake {54} /usr/pkgsrc/graphics/MesaLib# make
=> Required installed package digest>=20010302: digest-20060826 found
===> Skipping vulnerability checks.
WARNING: No /usr/local/etc/pkg-vulnerabilities file found.
WARNING: To fix, install the pkgsrc/security/audit-packages
WARNING: package and run: ``/usr/local/sbin/download-vulnerability-list''.
=> Checksum SHA1 OK for Mesa-6.4.2/MesaLib-6.4.2.tar.bz2
=> Checksum SHA1 OK for Mesa-6.4.2/MesaGLUT-6.4.2.tar.bz2
=> Checksum SHA1 OK for Mesa-6.4.2/MesaDemos-6.4.2.tar.bz2
=> Checksum RMD160 OK for Mesa-6.4.2/MesaLib-6.4.2.tar.bz2
=> Checksum RMD160 OK for Mesa-6.4.2/MesaGLUT-6.4.2.tar.bz2
=> Checksum RMD160 OK for Mesa-6.4.2/MesaDemos-6.4.2.tar.bz2
===> Installing dependencies for MesaLib-6.4.2nb2
=> Required installed package libtool-base>=1.5.18nb5: libtool-base-1.5.22nb3
found
=> Required installed package x11-links>=0.25: x11-links-0.30 found
===> Overriding tools for MesaLib-6.4.2nb2
===> Extracting for MesaLib-6.4.2nb2
===> Patching for MesaLib-6.4.2nb2
=> Applying pkgsrc patches for MesaLib-6.4.2nb2
===> Creating toolchain wrappers for MesaLib-6.4.2nb2
===> Building for MesaLib-6.4.2nb2
cd /home/pkgsrc/work/graphics/MesaLib/work/Mesa-6.4.2 && /bin/rm -fr src/glu
src/glut progs
(cd configs && rm -f current && ln -s pkgsrc current)
/usr/bin/make default
Making sources for pkgsrc
mkdir ../lib
cc -I../../../include/GL -I../../../include -I.. -I../main -I../math
-I../glapi -I../tnl -O2 -mcpu=pentium4 -I/usr/local/include -I/usr/include
-DUSE_XSHM -DPTHREADS gen_matypes.c -o gen_matypes
./gen_matypes > matypes.h
cc -O2 -mcpu=pentium4 -I/usr/local/include -I/usr/include -DUSE_XSHM -DPTHREADS
-I/usr/local/include -I/usr/include -L/usr/local/lib -L/usr/lib -Wl,-R/usr/lib
-Wl,-R/usr/local/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -o
../x86/gen_matypes ../x86/gen_matypes.c
../x86/gen_matypes.c:35:27: main/glheader.h: No such file or directory
../x86/gen_matypes.c:36:25: main/mtypes.h: No such file or directory
../x86/gen_matypes.c:37:27: tnl/t_context.h: No such file or directory
../x86/gen_matypes.c: In function `main':
../x86/gen_matypes.c:102: error: `size_t' undeclared (first use in this
function)
../x86/gen_matypes.c:102: error: (Each undeclared identifier is reported only
once
../x86/gen_matypes.c:102: error: for each function it appears in.)
../x86/gen_matypes.c:102: error: `GLcontext' undeclared (first use in this
function)
../x86/gen_matypes.c:102: error: parse error before ')' token
../x86/gen_matypes.c:104: error: parse error before ')' token
../x86/gen_matypes.c:105: error: parse error before ')' token
../x86/gen_matypes.c:106: error: parse error before ')' token
../x86/gen_matypes.c:107: error: parse error before ')' token
../x86/gen_matypes.c:108: error: parse error before ')' token
../x86/gen_matypes.c:109: error: parse error before ')' token
../x86/gen_matypes.c:110: error: parse error before ')' token
../x86/gen_matypes.c:111: error: parse error before ')' token
../x86/gen_matypes.c:112: error: parse error before ')' token
../x86/gen_matypes.c:113: error: parse error before ')' token
../x86/gen_matypes.c:120: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:121: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:123: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:124: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:125: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:126: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:127: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:128: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:129: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:130: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:131: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:132: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:133: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:134: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:135: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:136: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:137: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:138: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:139: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:140: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:141: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:143: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:148: error: `VERT_BIT_POS' undeclared (first use in this
function)
../x86/gen_matypes.c:149: error: `VERT_BIT_NORMAL' undeclared (first use in
this function)
../x86/gen_matypes.c:150: error: `VERT_BIT_COLOR0' undeclared (first use in
this function)
../x86/gen_matypes.c:151: error: `VERT_BIT_COLOR1' undeclared (first use in
this function)
../x86/gen_matypes.c:152: error: `VERT_BIT_FOG' undeclared (first use in this
function)
../x86/gen_matypes.c:153: error: `VERT_BIT_TEX0' undeclared (first use in this
function)
../x86/gen_matypes.c:154: error: `VERT_BIT_TEX1' undeclared (first use in this
function)
../x86/gen_matypes.c:155: error: `VERT_BIT_TEX2' undeclared (first use in this
function)
../x86/gen_matypes.c:156: error: `VERT_BIT_TEX3' undeclared (first use in this
function)
../x86/gen_matypes.c:163: error: `GLvector4f' undeclared (first use in this
function)
../x86/gen_matypes.c:163: error: parse error before ')' token
../x86/gen_matypes.c:164: error: parse error before ')' token
../x86/gen_matypes.c:165: error: parse error before ')' token
../x86/gen_matypes.c:166: error: parse error before ')' token
../x86/gen_matypes.c:167: error: parse error before ')' token
../x86/gen_matypes.c:168: error: parse error before ')' token
../x86/gen_matypes.c:172: error: `VEC_MALLOC' undeclared (first use in this
function)
../x86/gen_matypes.c:173: error: `VEC_NOT_WRITEABLE' undeclared (first use in
this function)
../x86/gen_matypes.c:174: error: `VEC_BAD_STRIDE' undeclared (first use in this
function)
../x86/gen_matypes.c:176: error: `VEC_SIZE_1' undeclared (first use in this
function)
../x86/gen_matypes.c:177: error: `VEC_SIZE_2' undeclared (first use in this
function)
../x86/gen_matypes.c:178: error: `VEC_SIZE_3' undeclared (first use in this
function)
../x86/gen_matypes.c:179: error: `VEC_SIZE_4' undeclared (first use in this
function)
../x86/gen_matypes.c:186: error: `GLmatrix' undeclared (first use in this
function)
../x86/gen_matypes.c:186: error: parse error before ')' token
../x86/gen_matypes.c:187: error: parse error before ')' token
../x86/gen_matypes.c:188: error: parse error before ')' token
../x86/gen_matypes.c:189: error: parse error before ')' token
../x86/gen_matypes.c:196: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:197: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:199: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:200: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:201: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:202: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:203: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:204: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:205: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:206: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:207: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:208: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:209: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:210: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:212: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:214: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:215: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:216: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:217: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:218: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:220: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:221: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:222: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:223: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:225: error: invalid application of `sizeof' to an
incomplete type
../x86/gen_matypes.c:229: error: `LIGHT_SPOT' undeclared (first use in this
function)
../x86/gen_matypes.c:230: error: `LIGHT_LOCAL_VIEWER' undeclared (first use in
this function)
../x86/gen_matypes.c:231: error: `LIGHT_POSITIONAL' undeclared (first use in
this function)
../x86/gen_matypes.c:233: error: `LIGHT_NEED_VERTICES' undeclared (first use in
this function)
../x86/gen_matypes.c:240: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:241: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:242: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:243: error: dereferencing pointer to incomplete type
*** Error code 1
Stop.
make: stopped in
/home/pkgsrc/work/graphics/MesaLib/work/Mesa-6.4.2/src/mesa/x86-64
*** Error code 1
Stop.
make: stopped in /home/pkgsrc/work/graphics/MesaLib/work/Mesa-6.4.2/src/mesa
*** Error code 1
Stop.
make: stopped in /home/pkgsrc/work/graphics/MesaLib/work/Mesa-6.4.2/src/mesa
*** Error code 1
Stop.
make: stopped in /home/pkgsrc/work/graphics/MesaLib/work/Mesa-6.4.2/src
*** Error code 1
Stop.
make: stopped in /home/pkgsrc/work/graphics/MesaLib/work/Mesa-6.4.2
*** Error code 1
Stop.
make: stopped in /home/pkgsrc/work/graphics/MesaLib/work/Mesa-6.4.2
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/MesaLib
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/MesaLib
Time spent in user mode (CPU seconds) : 6.329s
Time spent in kernel mode (CPU seconds) : 3.655s
Total time : 0:12.57s
CPU utilisation (percentage) : 79.3%
Times the process was swapped : 0
Times of major page faults : 0
Times of minor page faults : 372888
Exit 1
>How-To-Repeat:
cd /usr/pkgsrc/graphics/MesaLib;
make;
>Fix:
--- patch-ab.orig 2006-08-29 09:52:27.000000000 -0400
+++ patch-ab 2006-08-29 09:52:35.000000000 -0400
@@ -10,6 +10,6 @@
+CONFIG_NAME = pkgsrc
+
+# Compiler and flags
-+CFLAGS+= -DUSE_XSHM -DPTHREADS
++CFLAGS+= -DUSE_XSHM -DPTHREADS -I../../../include -I.. -I../glapi -I../main
+APP_LIB_DEPS = -L$(LIB_DIR) -L${PREFIX}/lib -L${X11PREFIX}/lib -lXext -lXmu
-lXi -lX11 -lm
+
Home |
Main Index |
Thread Index |
Old Index