Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 May 2014 13:24:37 +0200
From:      Stefan Esser <se@freebsd.org>
To:        imp@freebsd.org
Cc:        freebsd-current@freebsd.org
Subject:   Re: buildworld fails (missing /usr/share/mk/src.opts.mk)
Message-ID:  <5368C675.1070700@freebsd.org>
In-Reply-To: <5368B0C5.6040309@freebsd.org>
References:  <5368B0C5.6040309@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 06.05.2014 11:52, schrieb Stefan Esser:
> Hi Warner,
> 
> as already reported by Jenkins, HEAD does not build.
> 
> Seems that this is caused by src.opts.mk missing in /usr/share/mk
> during the cleandir phase. I guess this is kind of a bootstrap
> issue - the definitions are looked up in the installed base, not
> in the src tree - but did not verify this assumption.
> 
> A work-around is to manually install src.opts.mk:
> 
> # make -C /usr/src/share/mk install
> 
> (which might deserve an UPDATING entry). Falling back on the file
> in the src directory might be a better solution ...
> 
> Regards, STefan

Following up to my earlier mail:

The diagnosis was wrong - the main Makefiles include src.opts.mk from
the source directory. But two sub-ordinate Makefiles missed to include
the new options file (sys/conf/kmod.mk and sys/modules/drm2/Makefile).

I committed a fix/work-around to stop the flood of tinderbox messages
(r265433).

Regards, STefan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5368C675.1070700>