Date: Sat, 21 Mar 2026 14:59:08 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 293954] make buildworld fails on a 13.0 system in krb5 Message-ID: <bug-293954-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293954 Bug ID: 293954 Summary: make buildworld fails on a 13.0 system in krb5 Product: Base System Version: 15.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: avernar@gmail.com I'm doing a source build upgrade from 13.0-RELEASE-p10 to 15.0-RELEASE. The build fails in krb5 due to not finding the endian.h include file: cc -O2 -pipe -fno-common -Wno-deprecated-non-prototype -Wno-unused-parameter -I/usr/src/crypto/krb5/src/util/support -I/usr/src/crypto/krb5/src/include -I/usr/src/krb5/include -I/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/krb5/util/support -Wno-deprecated-non-prototype -Wno-unused-parameter -ffile-prefix-map=/usr/src=/usr/src -ffile-prefix-map=/usr/obj/usr/src/amd64.amd64/tmp=/usr/obj -g -gz=zlib -MD -MF.depend.base64.o -MTbase64.o -std=gnu17 -Wno-format-zero-length -Wsystem-headers -Wno-pointer-sign -Wdate-time -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -I/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include -c /usr/src/crypto/krb5/src/util/support/base64.c -o base64.o warning: unknown warning option '-Wno-deprecated-non-prototype' [-Wunknown-warning-option] warning: unknown warning option '-Wno-deprecated-non-prototype' [-Wunknown-warning-option] In file included from /usr/src/crypto/krb5/src/util/support/base64.c:36: /usr/src/crypto/krb5/src/include/k5-platform.h:446:11: fatal error: 'endian.h' file not found # include <endian.h> ^~~~~~~~~~ 2 warnings and 1 error generated. *** Error code 1 Stop. make[3]: stopped in /usr/src/krb5/util/support *** Error code 1 Stop. make[2]: stopped in /usr/src 734.86 real 448.45 user 9.37 sys *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src I did ln -s /usr/src/include/endian.h /usr/src/krb5/include/ as a workaround but then it couldn't find sys/_endian.h (it found sys/_types.h in from the same include file). I then did mkdir /usr/src/krb5/include/sys ln -s /usr/src/sys/sys/_endian.h /usr/src/krb5/include/sys/ and the build succeeded. The build worked for someone else on their version. But they had /usr/include/endian.h and /usr/include/sys/_endian.h on their system. I do not. I suspect their build is using those files. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-293954-227>
