Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2002 19:07:54 +0200
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        den@volginfo.ru, freebsd-bugs@FreeBSD.org
Subject:   Re: misc/45239: make release fails - sh core dumped
Message-ID:  <20021112170754.GA95272@sunbay.com>
In-Reply-To: <200211121702.gACH2B0i005151@freefall.freebsd.org>
References:  <200211121702.gACH2B0i005151@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Tue, Nov 12, 2002 at 09:02:11AM -0800, Ruslan Ermilov wrote:
> Synopsis: make release fails - sh core dumped
> 
> State-Changed-From-To: open->closed
> State-Changed-By: ru
> State-Changed-When: Tue Nov 12 07:53:00 PST 2002
> State-Changed-Why: 
> Once upon a time, it was an (undocumented) prerequisite for a
> successful ``make release'' that the running world be the same
> or compatible version of what you are trying to build.  It is
> not any longer, i.e. you can build a snapshot for 5.0 of 4.x,
> but this requires some black magic.
> 
> The CHROOTDIR should be populated with the contents compatible
> with the running system, so you must buildworld for your 4.7-p1
> first and not cross-build for 5.0 -- that's why you are getting
> the SIGSYS.
> 
> Building snapshots for 5.0 on 4.x is a bit tricky due to this:
> 
> cd /usr/src-4.x/release && make -f /usr/src-5.0/release/Makefile ...
> 
Another option to build 5.0 snapshot, if your /usr/src contains
the sources that your host is currently running and /usr/obj
has the compiled version of /usr/src, is to:

cd /usr/src/release
cvs -q up -Al (-l is enough)
make release ...

In general, release/Makefile* should be of the same version you
are building.


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE90TVpUkv4P6juNwoRAhVtAJ4233LME7D59XOuphaDezc80fVw2gCeLir8
X8YjGogg1AKqm9Z59BIIXLE=
=6efU
-----END PGP SIGNATURE-----

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