Re: make release broken?

Matthieu Herrb <[email protected]> Thu, 12 Nov 2009 21:07:11 +0100
Newsgroups gmane.os.openbsd.x11
Message-ID <[email protected]>
J.C. Roberts wrote:
> I've had a couple failed attempts at `make release` in xenocara on
> -current, with sources updated a few days apart.
> 
> *****************************************************************
> ===> data/bitmaps
> ===> lib
> ===> lib/freetype
> install: /usr/dest-X/usr/X11R6/include/ft2build.h: No such file or
> directory *** Error code 71
> 
> Stop in /usr/xenocara/lib/freetype (line 42
> of /usr/xenocara/lib/freetype/Makefile). *** Error code 1
> 
> Stop in /usr/xenocara/lib (line 48 of /usr/share/mk/bsd.subdir.mk).
> *** Error code 1
> 
> Stop in /usr/xenocara (line 48 of /usr/share/mk/bsd.subdir.mk).
> *** Error code 1
> 
> Stop in /usr/xenocara (line 41 of Makefile).
> *** Error code 1
> 
> Stop in /usr/xenocara (line 96 of Makefile).
> # 
> *****************************************************************
> 
> I've tried building a fresh checkout with XENOCARA_RERUN_AUTOCONF=Yes
> set in /etc/mk.conf but the same problem persists.
> 
> The /usr/xenocara/lib/freetype/ directory does not have a
> Makefile.bsd-wrapper file?
> 
> The problem seems to be that the /usr/xenocara/lib/freetype/Makefile is
> not playing well with `make release` and is failing to create
> directories under $DESTDIR.
> 

You need to update /etc/mtree/BSD.x11.dist. Run sysmerge, or copy
/usr/src/etc/mtree/BSD.x11.dist into place manually.

-- 
Matthieu Herrb