From nobody Fri Jan 24 10:15:34 2025 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YfYbr6xz4z5lBQp for ; Fri, 24 Jan 2025 10:15:36 +0000 (UTC) (envelope-from bennett@sdf.org) Received: from mx.sdf.org (mx.sdf.org [205.166.94.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (prime256v1) client-digest SHA256) (Client CN "mx.sdf.org", Issuer "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YfYbr54wpz3rmF for ; Fri, 24 Jan 2025 10:15:36 +0000 (UTC) (envelope-from bennett@sdf.org) Authentication-Results: mx1.freebsd.org; none Received: from sdf.org (faeroes.freeshell.org [205.166.94.9]) by mx.sdf.org (8.18.1/8.14.3) with ESMTPS id 50OAFYZs027707 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Fri, 24 Jan 2025 10:15:35 GMT Received: (from bennett@localhost) by sdf.org (8.18.1/8.12.8/Submit) id 50OAFYwj006780; Fri, 24 Jan 2025 04:15:34 -0600 (CST) From: Scott Bennett Message-Id: <202501241015.50OAFYwj006780@sdf.org> Date: Fri, 24 Jan 2025 04:15:34 -0600 To: pprocacci@gmail.com Subject: Re: 14.2-RELEASE buildworld failure Cc: freebsd-questions@freebsd.org References: <202501240806.50O86h91025926@sdf.org> In-Reply-To: User-Agent: Heirloom mailx 12.5 6/20/10 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4YfYbr54wpz3rmF X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:14361, ipnet:205.166.94.0/24, country:US] Paul Procacci wrote: Thank you for your comments. > On Fri, Jan 24, 2025 at 3:50?AM Odhiambo Washington wrote: > > > > > > > > On Fri, Jan 24, 2025 at 11:15?AM Scott Bennett 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 * **********************************************************************