oh yeah, i did this before, 10 years ago. then it worked. but i was warned to not go over 3 major versions. i guess it's too much effort to support all supported versions from current down. 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. but i could disable it why i didn't get that earlier is that i do quite mini builds and those work On September 21, 2025 10:12:29 AM GMT+03:00, Ronald Klop <[email protected]> wrote: >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 >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 out I can’t help, so Happy >Hacking! > >Regards, >Ronald > >Van: Sulev-Madis Silber <[email protected]> >Datum: 21 september 2025 05:08 >Aan: [email protected] >Onderwerp: Re: krb5 build error > >> >> >> >> okay, 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+= ${SRCTOP}/sys/sys/nlist_aout.h >> INCS+= ${SRCTOP}/include/bitstring.h >> SYSINCS+= ${SRCTOP}/sys/sys/bitstring.h >> +.if ${.MAKE.OS} == "FreeBSD" && ${COMPILER_FREEBSD_VERSION} < 1400000 >> +.PATH: ${.CURDIR}/cross-build >> +# Standalone implementation of secure_getenv(), not available on FreeBSD < >> 14. >> +SRCS+= secure_getenv.c >> +.endif # ${.MAKE.OS} == "FreeBSD" && ${COMPILER_FREEBSD_VERSION} < 1400000 >> + >> .if ${.MAKE.OS} != "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 >> make 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 >> >> >> >> >>
