Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 May 2021 18:18:46 +0200
From:      Gordon Bergling <gbe@freebsd.org>
To:        Glen Barber <gjb@freebsd.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Building an 13-STABLE release for i386
Message-ID:  <YJVoZmS0fm%2BeorZJ@lion.0xfce3.net>
In-Reply-To: <20210505193323.GE92026@FreeBSD.org>
References:  <YJLqegnmpli6GMo6@lion.0xfce3.net> <20210505190242.GD92026@FreeBSD.org> <YJLvA/ee5tqctYk6@lion.0xfce3.net> <20210505193323.GE92026@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 05, 2021 at 07:33:23PM +0000, Glen Barber wrote:
> On Wed, May 05, 2021 at 09:16:19PM +0200, Gordon Bergling wrote:
> > On Wed, May 05, 2021 at 07:02:42PM +0000, Glen Barber wrote:
> > > On Wed, May 05, 2021 at 08:56:58PM +0200, Gordon Bergling wrote:
> > > > I am currently try to build a custom 13-STABLE release for i386, build on
> > > > an amd64 system. According to release(7) the following command should
> > > > do the trick, but it fails with the following error message.
> > > > 
> > > > $ doas sh release.sh -c i386/i386.conf 
> > > > ld-elf32.so.1: Shared object "libedit.so.8" not found, required by "sh"
> > > > 
> > > > Has anyone an idea what could cause this?
> > > > 
> > > 
> > > Do you have lib32 compatibility installed on the build host?  I.e., do
> > > you have WITHOUT_LIB32 defined in your src.conf?
> > > 
> > > Glen
> > 
> > lib32 compatibility should be installed, the src.conf of the buildsystem 
> > (recent 12-STABLE) only has the following entries defined:
> > 
> > WITH_PIE=1
> > WITH_RETPOLINE=1
> > 
> 
> Hmm.  I can't see why this would be failing for you then.  I routinely
> do this every week for the development snapshots.
> 
> Is there a chance your system is somehow mismatched regarding userland
> and kernel?  What version is the build host running?  What does
> 'uname -UK' show?
> 
> libedit(3) was bumped on Feb 1, 2021 following an update to ncurses(3).
> My gut tells me these may be related.

I was somehow mistaken how the release.sh process works. I have a local tree
with some modifications to the i386 GENERIC kernel config to hopefully get FreeBSD
booted on an old Thinkpad X31. Just starting a release build with the default
i386.conf always checks out HEAD, no matter of what branch I started the release
build from.

--Gordon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YJVoZmS0fm%2BeorZJ>