From nobody Sun Sep 21 07:12:29 2025 X-Original-To: freebsd-current@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 4cTy9y2znjz67dmV for ; Sun, 21 Sep 2025 07:12:38 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp-relay-int-backup.realworks.nl (smtp-relay-int-backup.realworks.nl [87.255.56.188]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4cTy9x6v6vz3CQ2 for ; Sun, 21 Sep 2025 07:12:37 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Authentication-Results: mx1.freebsd.org; none Received: from smtp-relay-int-backup.realworks.nl (crmpreview5.colo2.realworks.nl [10.2.52.35]) by mailrelayint2.colo2.realworks.nl (Postfix) with ESMTP id 4cTy9n6w0Yz1Dh; Sun, 21 Sep 2025 09:12:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1758438750; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to; bh=+vBTxgwc4v/xHp2D99sa/EPQz5uto5YtJVN1+jLZPSQ=; b=GGG9FcVD4QJpv9zUB+cXd5d5ph0UrnDevJ/b/qvpdsrlFIXH/moPeYTY8RLDhAvPAm2Gn7 2N7SmWWtB5Njl6YuBuVEUDK0ax5M0MM3/7fn82DaEJdw8xs7kILwOW5X36mTsCqiP9SDmW oCGaZSZ+e0Bz/2jW7UXnDJT8Q2921KGDsBpi7eK7qmwFylUgNM+rQIu2vtTDyxUEJgB22i KcfA45piPCwnRNy3ew8pxTVH58IjI9bCBakseHJ7VFUD1RlZ90jiUQK+tzQ7M7W+pYH60K 1ms1ySRaPUp6auGLlR8oGoVG09U/n7Gy/t7rQdB2n3sKzWAq7W6tozGlNS/fEg== Received: from crmpreview5.colo2.realworks.nl (localhost [127.0.0.1]) by crmpreview5.colo2.realworks.nl (Postfix) with ESMTP id AB68CC01E5; Sun, 21 Sep 2025 09:12:29 +0200 (CEST) Date: Sun, 21 Sep 2025 09:12:29 +0200 (CEST) From: Ronald Klop To: Sulev-Madis Silber Cc: freebsd-current@freebsd.org Message-ID: <1256473955.14401.1758438749412@localhost> In-Reply-To: Subject: Re: krb5 build error List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_14400_1335673866.1758438749409" X-Mailer: Realworks (766.91) X-Originating-Host: from (localhost [127.0.0.1]) by crmpreview5.colo2.realworks.nl [10.2.52.35] with HTTP; Sun, 21 Sep 2025 09:12:29 +0200 Importance: Normal X-Priority: 3 (Normal) X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4cTy9x6v6vz3CQ2 ------=_Part_14400_1335673866.1758438749409 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable The general idea is that freebsd version N is buildable on N-1. Of course you might find somebody with the knowledge to help. But the pract= ical solution is to just use freebsd 14. (That is still N-2, but freebsd 16= and 15 are still very similar. So it will work for now.) For the more experimental setup you are trying out I can=E2=80=99t help, so= Happy Hacking! Regards, Ronald Van: Sulev-Madis Silber Datum: 21 september 2025 05:08 Aan: freebsd-current@freebsd.org Onderwerp: Re: krb5 build error >=20 >=20 >=20 > okay, i hoped to tell i fixed it but i didn't >=20 > i found tools/build/Makefile containing methods to implement missing secu= re_getenv() on mac, but i can't really adapt it to < 14 >=20 > best attempt was >=20 >=20 > diff --git a/tools/build/Makefile b/tools/build/Makefile > index 3c4e07e3cfc2..de977d88e7ea 100644 > --- a/tools/build/Makefile > +++ b/tools/build/Makefile > @@ -183,6 +183,12 @@ SYSINCS+=3D ${SRCTOP}/sys/sys/nlist_aout.h > INCS+=3D ${SRCTOP}/include/bitstring.h > SYSINCS+=3D ${SRCTOP}/sys/sys/bitstring.h > =20 > +.if ${.MAKE.OS} =3D=3D "FreeBSD" && ${COMPILER_FREEBSD_VERSION} < 140000= 0 > +.PATH: ${.CURDIR}/cross-build > +# Standalone implementation of secure_getenv(), not available on FreeBSD= < 14. > +SRCS+=3D secure_getenv.c > +.endif # ${.MAKE.OS} =3D=3D "FreeBSD" && ${COMPILER_FREEBSD_VERSION} < 1= 400000 > + > .if ${.MAKE.OS} !=3D "FreeBSD" > .PATH: ${.CURDIR}/cross-build > =20 >=20 >=20 > which of course fails >=20 > yeah it's kind of pointless to maybe help 13 to build 16 but i can't even= make local patch here somehow >=20 > there's something missing here and i can't somehow connect that thing up = to the build >=20 > so maybe someone has idea. doesn't need inclusion in tree if it's not gre= at solution. just how to define that >=20 >=20 >=20 >=20 >=20 ------=_Part_14400_1335673866.1758438749409 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable The general idea is that freebsd version N is buil= dable on N-1.
Of course you might find somebody with the knowledge to h= elp. But the practical solution is to just use freebsd 14. (That is still N= -2, but freebsd 16 and 15 are still very similar. So it will work for now.)=

For the more experimental setup you are trying ou= t I can=E2=80=99t help, so Happy Hacking!

Regards,=
Ronald

Van: Sulev-Madis= Silber <freebsd-current-freebsd-org111@ketas.si.pri.ee>
D= atum: 21 september 2025 05:08
Aan: freebsd-cur= rent@freebsd.org
Onderwerp: Re: krb5 build error

o= kay, i hoped to tell i fixed it but i didn't

i found tools/build/Makefile containing methods to implement missing secure= _getenv() on mac, but i can't really adapt it to < 14

best attempt was


diff --git a/tools/build/Makefile b/tools/build/Makefile
index 3c4e07e3cfc2..de977d88e7ea 100644
--- a/tools/build/Makefile
+++ b/tools/build/Makefile
@@ -183,6 +183,12 @@ SYSINCS+=3D  ${SRCTOP}/sys/sys/nlist_aout.h
 INCS+=3D ${SRCTOP}/include/bitstring.h
 SYSINCS+=3D  ${SRCTOP}/sys/sys/bitstring.h
 
+.if ${.MAKE.OS} =3D=3D "FreeBSD" && ${COMPILER_FREEBSD_VERSION} &l= t; 1400000
+.PATH: ${.CURDIR}/cross-build
+# Standalone implementation of secure_getenv(), not available on FreeBSD &= lt; 14.
+SRCS+=3D secure_getenv.c
+.endif # ${.MAKE.OS} =3D=3D "FreeBSD" && ${COMPILER_FREEBSD_VERSIO= N} < 1400000
+
 .if ${.MAKE.OS} !=3D "FreeBSD"
 .PATH: ${.CURDIR}/cross-build
 


which of course fails

yeah it's kind of pointless to maybe help 13 to build 16 but i can't even m= ake local patch here somehow

there's something missing here and i can't somehow connect that thing up to= the build

so maybe someone has idea. doesn't need inclusion in tree if it's not great= solution. just how to define that




------=_Part_14400_1335673866.1758438749409--