Re: build failure in rescue?

Havard Eidnes <[email protected]>
Newsgroups gmane.os.netbsd.current
Message-ID <[email protected]>
> On Tue, Feb 10, 2026 at 12:43:00PM +0100, Havard Eidnes wrote:
>> Now, I think I have found the reason for this failure.  What's
>> happened between the previous build and this one is that OpenSSH
>> has seen an update.
>
> UPDATING documents this:
>
> 20251219:
>         Reorganization of libraries for PR 58648 requires a new enough
>         nbcrunchgen tool (this should be build automatically) and manual
>         removal of $DESTDIR/usr/lib/libssh* and $DESTDIR/usr/lib/*/libssh*.

Thanks for pointing this out, I should have remembered to look there
first myself.

In my case a did a non-update build, so nbcrunchgen (tool) should have
been rebuilt from scratch from up-to-date in-tree sources and run from
TOOLDIR, so that part is probably not the issue.

I still find it a bit strange and unexpected that parts of the build
uses a library from DESTDIR in preference over one built inside OBJDIR
(where the newly-built version is not yet installed).  If I'm not
terribly mistaken, not referring to anything inside DESTDIR in the
rescue build would at least had a decent chance of fixing this version
skew build problem.

Best regards,

- Håvard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.