Current-Users archive

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

Re: built failure of current userland

Patrick Welche wrote:
On Sat, Sep 28, 2013 at 03:08:33PM +0200, Riccardo Mottola wrote:
Hi Patrick,

Patrick Welche wrote:
On Fri, Sep 27, 2013 at 06:02:58PM +0200, Riccardo Mottola wrote:
a full build of userland (included X with the -x option) fails for me:

includes ===> external/mit/xorg/lib/freetype
#   install /usr/src/../obj/destdir.i386/usr/X11R7/include/ft2build.h
/usr/src/../tools/bin/i486--netbsdelf-install -U -M
/usr/src/../obj/destdir.i386/METALOG -D /usr/src/../obj/destdir.i386
-h sha256 -N /usr/src/etc -c  -r -c -o root -g wheel  -m 444
includes ===> external/mit/xorg/lib/freetype/freetype
nbmake[7]: don't know how to make ftbzip2.h. Stop

nbmake[7]: stopped in /usr/src/external/mit/xorg/lib/freetype/freetype
This looks like (extract from /usr/src/UPDATING):

         Previous freetype installations eroneously installed private
         header files. If you are building against a non-empty $DESTDIR,
         please remove ${DESTDIR}//usr/X11R7/include/freetype2/freetype/.

${DESTDIR} would be in /usr/obj or even the installation directory
("root")? I suppose the former, since I started off with a clean obj
dir, I shouldn't suffer from that. However to eb sure, I deleted
that freetype directory both in the obj dir as well as in the live
filesystem and re-launched build-sh.
DESTDIR would be /usr/src/../obj/destdir.i386
so if you started with an empty /usr/obj that wouldn't be the problem...

 From earlier messages, you seem to be using

   ./ -x -O ../obj -T ../tools -U distribution

I am now clutching at straws (anyone else have a better idea?), but
how about using absolute paths, e.g.,

   ./ -x -O /usr/obj -T /usr/obj/tools -U distribution

I'll start with a clean obj dir again and use absolute paths then. I got that command fron the site though, publicized it on my blog and continued to use it for many months :) (although I never noticed I was missing X.. I am rebuilding indeed to fix the other gtk3 problem of our parallel thread).

I'll let you know in several hours, with X it takes quite some time!


Home | Main Index | Thread Index | Old Index