Subject: Re: buildlink2 causing problems under 1.5.3/i386
To: None <reed@reedmedia.net>
From: Johnny C. Lam <jlam@netbsd.org>
List: tech-pkg
Date: 09/06/2002 07:43:27
On Fri, Sep 06, 2002 at 12:07:14AM -0700, Johnny C. Lam wrote:
> On Thu, Sep 05, 2002 at 10:32:36PM -0700, Jeremy C. Reed wrote:
> > I updated new pkgsrc via cvs a few days ago.
> > 
> > And now a few packages won't build. (This is 1.5.3/i386.)
> > 
> > Each time, I reverted to previous before Aug 24 (buildlink2) changes, they
> > have worked. This included openldap, libxslt, and qt2-libs-2.3.1nb2.
> > 
> > For example, qt2-libs-2.3.1nb2 with buildlink2 did:
> > 
> > c++ -c -I/usr/pkg/share/x11-links/include
> > -I/usr/local/pkgsrc/x11/qt2-libs/work/
> > qt-2.3.1/include -I/usr/pkg/share/x11-links/include
> > -I/usr/pkg/share/x11-links/i
> > nclude -I/usr/pkg/share/x11-links/include -O2
> > -I/usr/pkg/share/x11-links/include
> >  -I/usr/pkg/share/x11-links/include -O2 -DQT_BUILTIN_GIF_READER=1
> > -I/usr/pkg/sha
> > re/x11-links/include -I/usr/pkg/share/x11-links/include qjpegio.cpp  -fPIC
> > -DPIC
> >  -o .libs/qjpegio.o
> > qjpegio.cpp:59: jpeglib.h: No such file or directory
> > gmake[1]: *** [kernel/qjpegio.o] Error 1
> 
> I think it's because you have pkgsrc under /usr/local, which gets completely
> filtered out by the buildlink2.  This is bug, and I will look at how to fix
> this.  Please file a PR on this as a reminder to me, and to track the status
> of the fix.

This problem is very similar to pkg/18142 should be fixed starting with
revision 1.16 of pkgsrc/mk/buildlink2/bsd.buildlink.mk.

	Cheers,

	-- Johnny Lam <jlam@netbsd.org>