Re: buildworld error

From: Cy Schubert <Cy.Schubert_at_komquats.com>
Date: Sat, 11 Mar 2017 16:38:15 -0800
In message <CACnPvjJUpfp_r0jf30p_7GR9fmaGqpVZA+rLXEtfDoLhGb2yhg_at_mail.gmail.c
om>
, Roberto Rodriguez Jr writes:
> I figured the script command... here is the new error r315090
> 
> --- .depend ---
> echo setkey.full: /usr/obj/usr/src/tmp/usr/lib/libc.a
> /usr/obj/usr/src/tmp/usr/lib/libl.a
> /usr/obj/usr/src/tmp/usr/lib/liby.a
> /usr/obj/usr/src/tmp/usr/lib/libipsec.a >> .depend
> --- setkey.o ---
> /usr/local/libexec/ccache/cc  -O2 -pipe -march=btver2
> -I/usr/src/sbin/setkey -I/usr/src/lib/libipsec -I/usr/src/lib/libipsec
> -I/usr/src/sys/netipsec -DIPSEC_DEBUG -DYY_NO_UNPUT -DINET6 -I. -g -MD
>  -MF.depend.setkey.o -MTsetkey.o -std=gnu99 -fstack-protector-strong
> -Wsystem-headers -Werror -Wno-pointer-sign -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-switch -Wno-switch-enum -Wno-knr-promoted-parameter
> -Wno-parentheses  -Qunused-arguments  -c /usr/src/sbin/setkey/setkey.c
> -o setkey.o
> --- all_subdir_lib ---
> --- jemalloc_nstime.po ---
> /usr/local/libexec/ccache/cc -pg  -O2 -pipe -march=btver2
> -I/usr/src/lib/libc/include -I/usr/src/include
> -I/usr/src/lib/libc/amd64 -DNLS  -D__DBINTERFACE_PRIVATE
> -I/usr/src/contrib/gdtoa -I/usr/src/contrib/libc-vis -DINET6
> -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE
> -DPOSIX_MISTAKE -I/usr/src/lib/libmd
> -I/usr/src/contrib/jemalloc/include -I/usr/src/contrib/tzcode/stdtime
> -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES
> -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DWANT_HYPERV -DYP
> -DNS_CACHING -DSYMBOL_VERSIONING -MD  -MF.depend.jemalloc_nstime.po
> -MTjemalloc_nstime.po -std=gnu99 -fstack-protector-strong
> -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized
> -Wno-pointer-sign -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-switch -Wno-switch-enum
> -Wno-knr-promoted-parameter  -Qunused-arguments
> -I/usr/src/lib/libutil -I/usr/src/lib/msun/amd64
> -I/usr/src/lib/msun/x86 -I/usr/src/lib/msun/src -c jemalloc_nstime.c
> -o jemalloc_nstime.po
> --- all_subdir_rescue ---
> --- suffix.o ---
> /usr/local/libexec/ccache/cc  -O2 -pipe -DHAVE_CONFIG_H
> -I/usr/src/usr.bin/xz/../../lib/liblzma
> -I/usr/src/usr.bin/xz/../../contrib/xz/src/common -march=btver2
> -DRESCUE -MD  -MF.depend.suffix.o -MTsuffix.o -std=gnu99
> -fstack-protector-strong -Wsystem-headers -Werror -Wall
> -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized
> -Wno-pointer-sign -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  -Qunused-arguments  -c
> /usr/src/usr.bin/xz/../../contrib/xz/src/xz/suffix.c -o suffix.o
> --- all_subdir_sbin ---
> /usr/src/sbin/setkey/setkey.c:154:15: error: use of undeclared
> identifier 'IPSEC_POLICYSCOPE_GLOBAL'
>                         f_scope |= IPSEC_POLICYSCOPE_GLOBAL;
>                                    ^
> /usr/src/sbin/setkey/setkey.c:157:15: error: use of undeclared
> identifier 'IPSEC_POLICYSCOPE_IFNET'
>                         f_scope |= IPSEC_POLICYSCOPE_IFNET;
>                                    ^
> 2 errors generated.
> *** [setkey.o] Error code 1
> 
> make[4]: stopped in /usr/src/sbin/setkey
> 1 error
> 
> make[4]: stopped in /usr/src/sbin/setkey
> *** [all_subdir_sbin/setkey] Error code 2
> 
> make[3]: stopped in /usr/src/sbin
> 1 error
> 
> make[3]: stopped in /usr/src/sbin
> *** [all_subdir_sbin] Error code 2
> 
> make[2]: stopped in /usr/src
> --- all_subdir_rescue ---
> A failure has been detected in another branch of the parallel make
> 
> make[6]: stopped in /usr/src/usr.bin/xz
> *** [xz_make] Error code 2
> 
> make[5]: stopped in /usr/obj/usr/src/rescue/rescue
> 1 error
> 
> make[5]: stopped in /usr/obj/usr/src/rescue/rescue
> *** [objs] Error code 2
> 
> make[4]: stopped in /usr/src/rescue/rescue
> 1 error
> 
> make[4]: stopped in /usr/src/rescue/rescue
> *** [all_subdir_rescue/rescue] Error code 2
> 
> make[3]: stopped in /usr/src/rescue
> 1 error
> 
> make[3]: stopped in /usr/src/rescue
> *** [all_subdir_rescue] Error code 2
> 
> make[2]: stopped in /usr/src
> --- all_subdir_lib ---
> A failure has been detected in another branch of the parallel make
> 
> make[4]: stopped in /usr/src/lib/libc
> *** [all_subdir_lib/libc] Error code 2
> 
> make[3]: stopped in /usr/src/lib
> 1 error
> 
> make[3]: stopped in /usr/src/lib
> *** [all_subdir_lib] Error code 2
> 
> make[2]: stopped in /usr/src
> --- all_subdir_secure ---
> A failure has been detected in another branch of the parallel make
> 
> make[5]: stopped in /usr/src/secure/lib/libcrypto
> *** [all_subdir_secure/lib/libcrypto] Error code 2
> 
> make[4]: stopped in /usr/src/secure/lib
> 1 error
> 
> make[4]: stopped in /usr/src/secure/lib
> *** [all_subdir_secure/lib] Error code 2
> 
> make[3]: stopped in /usr/src/secure
> 1 error
> 
> make[3]: stopped in /usr/src/secure
> *** [all_subdir_secure] Error code 2
> 
> make[2]: stopped in /usr/src
> 4 errors
> 
> make[2]: stopped in /usr/src
> *** [everything] Error code 2
> 
> make[1]: stopped in /usr/src
> 1 error
> 
> make[1]: stopped in /usr/src
> *** [buildworld] Error code 2
> 
> make: stopped in /usr/src
> 1 error
> 
> make: stopped in /usr/src
> 1551.754u 434.064s 17:54.86 184.7%	12598+328k 113045+55926io 25455pf+14w

That's from a r314812 five days ago. I rebuilt world in one of my 
development trees since then with no problem. Consider running make 
delete-old. There might be an old header in /usr/include that's getting in 
the way.

Having said that, world should be self contained so, the assumed scenario 
above shouldn't happen (except in ports), meaning if make delete-old fixes 
the problem there may be a buglet in a makefile somewhere.


-- 
Cheers,
Cy Schubert <Cy.Schubert_at_cschubert.com>
FreeBSD UNIX:  <cy_at_FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.
Received on Sat Mar 11 2017 - 23:38:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:10 UTC