Subject: Re: Fixing lots of my PRs (was Re: work.i386/.work.log missing?)
To: Todd Vierling <tv@duh.org>
From: Kouichirou Hiratsuka <hira@po6.nsk.ne.jp>
List: tech-pkg
Date: 01/27/2005 18:24:11
Hello,

At Wed, 26 Jan 2005 23:08:50 -0500 (EST),
Todd Vierling wrote:
> 
> I just started building graphics/MesaLib on NetBSD 2.0 with a current
> bsd.pkg.mk, and I do in fact have a work/.work.log file getting filled.
>
I'm sorry, my explanation was not enough.  I can build MesaLib from
graphics/MesaLib.  But I can't build it from graphics/glut.

# cd /usr/pkgsrc/graphics/MesaLib; make
[OK]

# pkg_delete MesaLib; cd /usr/pkgsrc/graphics/glut; make
[snip]
 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/swrast -I../../src/mesa/swrast_setup -O2 -pipe -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DUSE_XSHM drivers/x11/glxapi.c  -fPIC -DPIC -o drivers/x11/.libs/glxapi.o
In file included from drivers/x11/glxapi.h:32,
                 from drivers/x11/glxapi.c:38:
../../include/GL/glx.h:38:22: X11/Xlib.h: No such file or directory
../../include/GL/glx.h:39:23: X11/Xutil.h: No such file or directory
In file included from drivers/x11/glxapi.h:32,
                 from drivers/x11/glxapi.c:38:
../../include/GL/glx.h:179: error: parse error before "GLXPixmap"
../../include/GL/glx.h:179: warning: data definition has no type or storage class
[snip]
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/graphics/MesaLib/work/Mesa-6.2.1/src/mesa
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/graphics/MesaLib/work/Mesa-6.2.1/src/mesa
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/graphics/MesaLib/work/Mesa-6.2.1/src
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/graphics/MesaLib/work/Mesa-6.2.1
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/graphics/MesaLib/work/Mesa-6.2.1
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/graphics/MesaLib
===> 
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/graphics/MesaLib/work/.work.log
===> 
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/graphics/MesaLib
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/graphics/MesaLib
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/graphics/glut
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/graphics/glut
#

I've updated pkgsrc/mk, but this has still happened.

% ident /usr/pkgsrc/mk/bsd.{prefs,pkg}.mk
/usr/pkgsrc/mk/bsd.prefs.mk:
     $NetBSD: bsd.prefs.mk,v 1.179 2005/01/27 04:16:47 tv Exp $

/usr/pkgsrc/mk/bsd.pkg.mk:
     $NetBSD: bsd.pkg.mk,v 1.1575 2005/01/27 04:05:08 tv Exp $
     $i: $
     $pkg: $

best regards.
-- 
 Kouichirou Hiratsuka
   hira@po6.nsk.ne.jp