pkgsrc-Bugs archive

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

Re: pkg/34379: graphics/MesaLib build fails



The following reply was made to PR pkg/34379; it has been noted by GNATS.

From: "Jake Kupersmith" <jakerosoft%gmail.com@localhost>
To: "Juan RP" <juan%xtrarom.org@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: pkg/34379: graphics/MesaLib build fails
Date: Tue, 29 Aug 2006 16:02:27 -0400

 OK just to be sure, I updated my mk.conf... here it is... followed by
 the same errors from make..
 
 .ifdef BSD_PKG_MK
 
 LOCALBASE=/usr/local
 WRKOBJDIR=/home/pkgsrc/work
 DISTDIR=/home/pkgsrc/distfiles
 PKGVULNDIR=${LOCALBASE}/etc
 
 UPDATE_TARGET=package
 PACKAGES=/home/pkgsrc/packages
 
 PKG_OPTIONS.perl=threads
 PKG_OPTIONS.vim=cscope
 PKG_OPTIONS.freetype2=truetype
 
 .endif
 
 root@shake {103} /usr/pkgsrc/graphics/MesaLib
 # make clean
 ===> Cleaning for MesaLib-6.4.2nb2
 
 root@shake {104} /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 -I/usr/local/include
 -I/usr/include -DUSE_XSHM -DPTHREADS gen_matypes.c -o gen_matypes
 ./gen_matypes > matypes.h
 cc -O2 -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
 
 On 8/29/06, Juan RP <juan%xtrarom.org@localhost> wrote:
 > On Tue, 29 Aug 2006 19:55:02 +0000 (UTC)
 > "Jake Kupersmith" <jakerosoft%gmail.com@localhost> wrote:
 >
 > > The following reply was made to PR pkg/34379; it has been noted by GNATS.
 > >
 > > From: "Jake Kupersmith" <jakerosoft%gmail.com@localhost>
 > > To: gnats-bugs%netbsd.org@localhost
 > > Cc:
 > > Subject: Re: pkg/34379: graphics/MesaLib build fails
 > > Date: Tue, 29 Aug 2006 15:53:42 -0400
 > >
 > >  I thought the CFLAGS= line may be the cause of the problem... but
 > >  after changing 'CFLAGS=' to 'CFLAGS+=' i experienced the same
 > >  problems...
 >
 > You are using CXXFLAGS and CFLAGS incorrectly, you'd have to use
 > FOO+= to not override package settings.
 >
 



Home | Main Index | Thread Index | Old Index