Date: Fri, 24 Jan 2025 04:15:34 -0600 From: Scott Bennett <bennett@sdf.org> To: pprocacci@gmail.com Cc: freebsd-questions@freebsd.org Subject: Re: 14.2-RELEASE buildworld failure Message-ID: <202501241015.50OAFYwj006780@sdf.org> In-Reply-To: <CAFbbPui28xKcx4y81XP13QDqRrCX8QLTHKWBpD50m8LmOkQp4g@mail.gmail.com> References: <202501240806.50O86h91025926@sdf.org> <CAAdA2WPPSQGcZ7EbDDeyw%2BYhjNsrnfs%2BAKFT4d=ZkZR4a1bMLw@mail.gmail.com> <CAFbbPui28xKcx4y81XP13QDqRrCX8QLTHKWBpD50m8LmOkQp4g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Paul Procacci <pprocacci@gmail.com> wrote: Thank you for your comments. > On Fri, Jan 24, 2025 at 3:50?AM Odhiambo Washington <odhiambo@gmail.com> wrote: > > > > > > > > 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. > > And you need to upgrade from 12.4 -> 13.x -> 14.x stepwise. > > 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/ > > > > > > > > -- > > Best regards, > > Odhiambo WASHINGTON, > > Nairobi,KE > > +254 7 3200 0004/+254 7 2274 3223 > > In an Internet failure case, the #1 suspect is a constant: DNS. > > "Oh, the cruft.", egrep -v '^$|^.*#' ?\_(?)_/? :-) > > [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html] > > He absolutely needs to buildworld because had you read the rest of his > email (you said you didn't) you'd notice he has tunables which affect > the build itself. > Now with that said, I don't know what the error here is and can only > suggest building with a fresh src.conf including only the things you > absolutely need and trying that. Yes, I did worry about that and tried it with nearly all of src.conf commented out, even including #WITHOUT_CLANG_BOOTSTRAP=yes in spite of the extra time that requires, but I did leave WITH_CCACHE_BUILD=yes and, IIRC, WITH_DEBUG_FILES=yes . The result was basically the same, so now I've gone back to /etc/src.conf the way I normally have it. BTW, I note that it is great to see that in 14.2 the use of ccache(1) actually does something useful again after several releases in which its time-saving effect was almost entirely defeated by changes to the build system. > Barring that, the baby step suggestion going from 12 -> 13 -> 14 as > stated is certainly good advice. In previous releases, I would have agreed, but in this case it strikes me as far too risky. Also, over the years many people on this list and on -STABLE have reported successful upgrades from source that skipped both minor and major releases. 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?202501241015.50OAFYwj006780>