Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Jan 2019 13:40:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 234691] 'make buildworld' of 12.0-RELEASE sources fails, com_err.h not found
Message-ID:  <bug-234691-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234691

            Bug ID: 234691
           Summary: 'make buildworld' of 12.0-RELEASE sources fails,
                    com_err.h not found
           Product: Base System
           Version: 12.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: oz42@oz42.eu

IMHO this is not related to #234203

'make buildworld' fails:

=3D=3D=3D> kerberos5/lib/libasn1 (obj,all,install)
/usr/local/libexec/ccache/world/cc  -O2 -pipe
-I/usr/src/crypto/heimdal/lib/asn1 -I/usr/src/crypto/heimdal/lib/roken -I.=
=20=20
-DHAVE_CONFIG_H -I/usr/src/kerberos5/include -g -MD  -MF.depend.asn1_err.o
-MTasn1_err.o -std=3Dgnu99 -fstack-protector-strong
-Wno-error=3Ddeprecated-declarations -Wsystem-headers -Werror -Wno-pointer-=
sign
-Wno-error=3Dabsolute-value -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=20
-Qunused-arguments  -c asn1_err.c -o asn1_err.o
asn1_err.c:5:10: fatal error: 'com_err.h' file not found
#include <com_err.h>
         ^~~~~~~~~~~
1 error generated.
*** Error code 1

Stop.
make[4]: stopped in /usr/src/kerberos5/lib/libasn1


But:
# pwd
/usr/src

# find . -name com_err.h
./contrib/com_err/com_err.h
./crypto/heimdal/lib/com_err/com_err.h

So
cc  -O2 -pipe -I/usr/src/crypto/heimdal/lib/asn1 \
 -I/usr/src/crypto/heimdal/lib/roken
should be
cc  -O2 -pipe -I/usr/src/crypto/heimdal/lib/asn1 \
-I/usr/src/crypto/heimdal/lib/roken \
-I/usr/src/crypto/heimdal/lib/com_err

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234691-227>