From nobody Sun Sep 21 07:56:27 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 4cTz8y11fBz67hq7 for ; Sun, 21 Sep 2025 07:56:50 +0000 (UTC) (envelope-from freebsd-current-freebsd-org111@ketas.si.pri.ee) Received: from mail.ketas.si.pri.ee (d004-fea2-0bff-021e-13e8-8437-07d0-2001.dyn.estpak.ee [IPv6:2001:7d0:8437:13e8:21e:bff:fea2:d004]) (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 4cTz8x0QDrz3G4c for ; Sun, 21 Sep 2025 07:56:49 +0000 (UTC) (envelope-from freebsd-current-freebsd-org111@ketas.si.pri.ee) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ketas.si.pri.ee header.s=ketas-si-pri-ee-20240416002854-4096 header.b=pORHcWL+; dmarc=pass (policy=reject) header.from=ketas.si.pri.ee; spf=pass (mx1.freebsd.org: domain of freebsd-current-freebsd-org111@ketas.si.pri.ee designates 2001:7d0:8437:13e8:21e:bff:fea2:d004 as permitted sender) smtp.mailfrom=freebsd-current-freebsd-org111@ketas.si.pri.ee X-Original-To: freebsd-current@freebsd.org DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ketas.si.pri.ee; s=ketas-si-pri-ee-20240416002854-4096; t=1758441388; bh=nb2olmJnA6+K/jIHCwU+ROixw6z9nE9sElStCkpXhKE=; h=Date:From:To:Subject:In-Reply-To:References; b=pORHcWL+IxclNjdNkiSZbsrkjykEUIF0iEDmnvay02lz7bVHET/Jw6nw0KhpJGJwT MkOCXDl8Oz1Mvvn7b40L1SKpqJqah7pqjV5zKPdHIRvKG2aEPWKi2wdjGh8XMeqa6F 9ne6BlWlKzZHuJTCpVfpWJuW0xklYXRY4iiAe/sCCkfOxdjgnRVnc/73ct5v/PJgbQ VOEl1yYDDw5+hZygiyVxzRnEGQZ8c2IGVnbUjvew3XXHB9M9u908ezOuz7WSqS3BZB OxHLWyxPChdLVCxbeco+/s0qb/Hj6+60RvTWXKTqSr9hgapcD71+4C19TsIT+bGuOd 1b8l/BzRadIMm0BHM+VI9X40QzMlWqjNCat70D8vz6MRdtxy1MeUoyidBGELJzf7PN gjOdXGXhQQtVWmHbSuKqT3We9o+O12Gnzzxr4GCgto5r74dJ6rTOxutPyMgPJ6zN1M 2XmN42fe1/Km/acvr5D3oWPUhtaK1/dBqlgGEprTBLLaXI7C5wwkM5rj2esfuFWaHN 6w5cHAJpKfUkff1tG1Q+vx8aJGVMcK7PKFrgOdsRWFd3Eo+q7Fz7d3uw18Hr4gYPBR ZbIySzOHCo4y1IbbCBB5sjdokvl8jl6uqL8MwK3oCauSCt1nVWOtnBzC8JocEXgOEA rxbGAMCO6S6Zt0fbG0Fst6Tg= Received: from ehlo.thunderbird.net (0115-0000-0000-0000-13c8-8437-07d0-2001.dyn.estpak.ee [IPv6:2001:7d0:8437:13c8::115]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ketas.si.pri.ee (Postfix) with ESMTPSA id 15B2E5B0F77 for ; Sun, 21 Sep 2025 10:56:28 +0300 (EEST) Date: Sun, 21 Sep 2025 10:56:27 +0300 From: Sulev-Madis Silber To: freebsd-current@freebsd.org Subject: Re: krb5 build error User-Agent: K-9 Mail for Android In-Reply-To: <1256473955.14401.1758438749412@localhost> References: <1256473955.14401.1758438749412@localhost> Message-ID: <2D381189-6BAE-4FCF-8BD8-BC79A85616CE@ketas.si.pri.ee> 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: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / X-Spamd-Result: default: False [-0.38 / 15.00]; HFILTER_HOSTNAME_5(3.00)[d004-fea2-0bff-021e-13e8-8437-07d0-2001.dyn.estpak.ee]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.97)[-0.969]; NEURAL_HAM_MEDIUM(-0.61)[-0.612]; DMARC_POLICY_ALLOW(-0.50)[ketas.si.pri.ee,reject]; R_DKIM_ALLOW(-0.20)[ketas.si.pri.ee:s=ketas-si-pri-ee-20240416002854-4096]; ONCE_RECEIVED(0.20)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:7d0:8437:1300::/56]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:3249, ipnet:2001:7d0::/32, country:EE]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[ketas.si.pri.ee:+] X-Rspamd-Queue-Id: 4cTz8x0QDrz3G4c oh yeah, i did this before, 10 years ago=2E then it worked=2E but i was war= ned to not go over 3 major versions=2E i guess it's too much effort to supp= ort all supported versions from current down=2E but here the offending part= is actually supported as to build current on !fbsd, on macos, i just can't= connect it up for build on fbsd well, i guess if i can't build anymore i can go to 14 earlier right now i patched that missing function right into mit kerberos code for= a fun which worked=2E but i could disable it why i didn't get that earlier is that i do quite mini builds and those wor= k On September 21, 2025 10:12:29 AM GMT+03:00, Ronald Klop wrote: >The general idea is that freebsd version N is buildable on N-1=2E >Of course you might find somebody with the knowledge to help=2E But the p= ractical solution is to just use freebsd 14=2E (That is still N-2, but free= bsd 16 and 15 are still very similar=2E So it will work for now=2E) > >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=2Eorg >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 se= cure_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=2E=2Ede977d88e7ea 100644 >> --- a/tools/build/Makefile >> +++ b/tools/build/Makefile >> @@ -183,6 +183,12 @@ SYSINCS+=3D ${SRCTOP}/sys/sys/nlist_aout=2Eh >> INCS+=3D ${SRCTOP}/include/bitstring=2Eh >> SYSINCS+=3D ${SRCTOP}/sys/sys/bitstring=2Eh >> +=2Eif ${=2EMAKE=2EOS} =3D=3D "FreeBSD" && ${COMPILER_FREEBSD_VERSION}= < 1400000 >> +=2EPATH: ${=2ECURDIR}/cross-build >> +# Standalone implementation of secure_getenv(), not available on FreeB= SD < 14=2E >> +SRCS+=3D secure_getenv=2Ec >> +=2Eendif # ${=2EMAKE=2EOS} =3D=3D "FreeBSD" && ${COMPILER_FREEBSD_VERS= ION} < 1400000 >> + >> =2Eif ${=2EMAKE=2EOS} !=3D "FreeBSD" >> =2EPATH: ${=2ECURDIR}/cross-build >> =20 >>=20 >> which of course fails >>=20 >> yeah it's kind of pointless to maybe help 13 to build 16 but i can't ev= en make local patch here somehow >>=20 >> there's something missing here and i can't somehow connect that thing u= p to the build >>=20 >> so maybe someone has idea=2E doesn't need inclusion in tree if it's not= great solution=2E just how to define that >>=20 >>=20 >>=20 >>=20 >>