Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2025 03:48:01 -0600
From:      Scott Bennett <bennett@sdf.org>
To:        odhiambo@gmail.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: 14.2-RELEASE buildworld failure
Message-ID:  <202501240948.50O9m1gR027409@sdf.org>
In-Reply-To: <CAAdA2WPPSQGcZ7EbDDeyw%2BYhjNsrnfs%2BAKFT4d=ZkZR4a1bMLw@mail.gmail.com>
References:  <202501240806.50O86h91025926@sdf.org> <CAAdA2WPPSQGcZ7EbDDeyw%2BYhjNsrnfs%2BAKFT4d=ZkZR4a1bMLw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Odhiambo Washington <odhiambo@gmail.com> wrote:

     Thank you for replying and so quickly!

> On Fri, Jan 24, 2025 at 11:15?AM Scott Bennett <bennett@sdf.org> wrote:
>
> >      I have been trying in vain to upgrade from
> >
> > FreeBSD hellas 12.4-RELEASE-p2 FreeBSD 12.4-RELEASE-p2 #9
> > releng/12.4-n235816-149768b65d61: Sat Feb 18 00:13:00 CST 2023
> >  bennett@hellas:/usr/obj/usr/src/amd64.amd64/sys/hellas  amd64
> >
> > to 14.2-RELEASE for some time now, but when I run "make buildworld" it
> > fails
> > during a linkedit step on complaints that it can't find a library that it
> > wants.
> > Here is an example of how it ends.
> >
>
> I didn't read the rest of your email after that last sentence above.
> I could be wrong, but to upgrade a -RELEASE version, you don't need
> buildworld and such. You need freebsd-update.

     I made that mistake once on my laptop.  It wiped out my entire network
configuration and many miscellaneous configuration items that I had accumulated
over many years and releases.  I do not intend to make that mistake again.
I also use a kernel configuration specifically tailored to the tower.  That is
why I wish to upgrade the tower from source, as I have usually done.  Problems
along this route have historically been quite rare.  I think this is only the
second time I can recall be stumped by a buildworld failure, and I have been
upgrading from source since 6.1-RELEASE, IIRC.  (The other time was when an
obsolete copy of bmake had somehow remained in /usr/obj and was being used
during "make buildworld".

> And you need to upgrade from 12.4 -> 13.x -> 14.x stepwise.

     That would be nice, but the experiences with 13.x on the laptop have been
very unpleasant, so I'd much rather skip 13.x on the tower and go straight to
14.2.  Even 11.x's runaway pagefixing bug could be dealt with by rebooting once
in a while, but 13.3 is just unusable.  13.2 I did use on the laptop, but not
heavily, so I really can't judge its quality except that freebsd-update(8) was
definitely a bust in that release.
     I also really, really do *not* want to be cornered into having to install
the system from scratch again.  My current configuration originally was a big
pain to achieve, thanks in part to the bsdinstall(8) program's braindead ZFS
option that destroys any disk partition map it is given and then seizes the
entire device to configure as the boot partition(s), a swapping/paging
partition, and all the rest into a single pool for everything else.  I don't
want to risk losing the rest of my pools.  I want to make sure all my devices
are recognized and usable, which I am not entirely sure that a GENERIC kernel
can do.  I don't mind waiting for the time it takes to compile the system,
including a tailored kernel.  An upgrade from source is one standard way of
upgrading and has been so since ancient BSD times.

> So you can start with:
> 1.
> https://www.cyberciti.biz/open-source/freebsd-13-released-how-to-update-upgrade-freebsd-12-to-13/,
> then proceed to
> 2. https://www.debugpoint.com/upgrade-to-freebsd-14/
>
     Thanks for the URLs, which I will probably take a look at for ideas, but
an upgrade to 13.x is, as stated above, something I hope to avoid even as a
temporary measure for fear of getting stuck at that stage and being left with
no option but installing from scratch, which would cost me all of my
configuration choices and probably leave me with an unusable system.  That is
what happened on the laptop when I "upgraded" to 13.3-RELEASE.  I do try to
learn from encounters with pitfalls.  FWIW, 13.x has no new features that I
have any need of, while 14.x may.  In any case, I can't remain on 12.4, even
though it has been a very reliable release.


                                  Scott Bennett, Comm. ASMELG, CFIAG
**********************************************************************
* Internet:   bennett at sdf.org   *xor*   bennett at freeshell.org  *
*--------------------------------------------------------------------*
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."                                               *
*    -- Gov. John Hancock, New York Journal, 28 January 1790         *
**********************************************************************



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