Not sure exactly when, but it seems building RELENG_11 seems to be broken on releng12.? I am trying to buildworld on a RELENG12 image with -j4 (12.2-STABLE r366088) and it fails with the errors below cc? -O2 -pipe?? -I/crossbuilds/src/11/lib/libnetbsd -I/crossbuilds/src/11/contrib/netbsd-tests -g -MD? -MF.depend.mincore_test.t_mincore.o -MTt_mincore.o -std=iso9899:1999 -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-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter? -Qunused-arguments? -c /crossbuilds/src/11/contrib/netbsd-tests/lib/libc/sys/t_mincore.c -o t_mincore.o --- all_subdir_rescue --- --- /crossbuilds/src/11/bin/cp/utils.o --- cc? -O2 -pipe?? -std=gnu99??? -Qunused-arguments?? -O2 -pipe -c /crossbuilds/src/11/bin/cp/utils.c -o /crossbuilds/src/11/bin/cp/utils.o --- all_subdir_secure --- --- err_prn.po --- cc? -pg? -O2 -pipe?? -I/crossbuilds/src/11/crypto/openssl -DTERMIOS -DANSI_SOURCE -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DOPENSSL_IA32_SSE2 -DAES_ASM -DBSAES_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DMD5_ASM -DGHASH_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DWHIRLPOOL_ASM -I/crossbuilds/obj/11/crossbuilds/src/11/secure/lib/libcrypto -I/crossbuilds/src/11/crypto/openssl/crypto -I/crossbuilds/src/11/crypto/openssl/crypto/asn1 -I/crossbuilds/src/11/crypto/openssl/crypto/evp -I/crossbuilds/src/11/crypto/openssl/crypto/modes -MD? -MF.depend.err_prn.po -MTerr_prn.po -std=gnu89 -fstack-protector-strong -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-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses? -Qunused-arguments? -c /crossbuilds/src/11/crypto/openssl/crypto/err/err_prn.c -o err_prn.po --- all_subdir_rescue --- /crossbuilds/src/11/bin/cp/utils.c:515:14: error: member reference base type 'void' is not a structure or union ??????????????? aclp = &acl->ats_acl; ??????????????????????? ~~~^ ~~~~~~~ /crossbuilds/src/11/bin/cp/utils.c:516:11: error: incomplete definition of type 'struct acl' ??????????????? if (aclp->acl_cnt != 0 && aclsetf(dest_dir, ??????????????????? ~~~~^ /crossbuilds/src/11/bin/cp/utils.c:466:9: note: forward declaration of 'struct acl' ??????? struct acl *aclp; ?????????????? ^ 2 errors generated. *** [/crossbuilds/src/11/bin/cp/utils.o] Error code 1 bmake[5]: stopped in /crossbuilds/obj/11/crossbuilds/src/11/rescue/rescue 1 error bmake[5]: stopped in /crossbuilds/obj/11/crossbuilds/src/11/rescue/rescue *** [rescue] Error code 2 bmake[4]: stopped in /crossbuilds/src/11/rescue/rescue 1 error bmake[4]: stopped in /crossbuilds/src/11/rescue/rescue *** [all] Error code 2 bmake[3]: stopped in /crossbuilds/src/11/rescue 1 error bmake[3]: stopped in /crossbuilds/src/11/rescue *** [all_subdir_rescue] Error code 2 bmake[2]: stopped in /crossbuilds/src/11 --- all_subdir_kerberos5 --- A failure has been detected in another branch of the parallel make bmake[5]: stopped in /crossbuilds/src/11/kerberos5/usr.sbin/ktutil *** [all_subdir_kerberos5/usr.sbin/ktutil] Error code 2 bmake[4]: stopped in /crossbuilds/src/11/kerberos5/usr.sbin 1 error bmake[4]: stopped in /crossbuilds/src/11/kerberos5/usr.sbin *** [all_subdir_kerberos5/usr.sbin] Error code 2 bmake[3]: stopped in /crossbuilds/src/11/kerberos5 1 error bmake[3]: stopped in /crossbuilds/src/11/kerberos5 *** [all_subdir_kerberos5] Error code 2 bmake[2]: stopped in /crossbuilds/src/11 --- all_subdir_secure --- A failure has been detected in another branch of the parallel make bmake[5]: stopped in /crossbuilds/src/11/secure/lib/libcrypto *** [all] Error code 2 bmake[4]: stopped in /crossbuilds/src/11/secure/lib 1 error bmake[4]: stopped in /crossbuilds/src/11/secure/lib *** [all_subdir_secure/lib] Error code 2 bmake[3]: stopped in /crossbuilds/src/11/secure 1 error bmake[3]: stopped in /crossbuilds/src/11/secure *** [all_subdir_secure] Error code 2 bmake[2]: stopped in /crossbuilds/src/11 --- all_subdir_lib --- A failure has been detected in another branch of the parallel make bmake[7]: stopped in /crossbuilds/src/11/lib/libc/tests/sys *** [mincore_test] Error code 2 bmake[6]: stopped in /crossbuilds/src/11/lib/libc/tests/sys 1 error bmake[6]: stopped in /crossbuilds/src/11/lib/libc/tests/sys *** [all_subdir_lib/libc/tests/sys] Error code 2 bmake[5]: stopped in /crossbuilds/src/11/lib/libc/tests 1 error bmake[5]: stopped in /crossbuilds/src/11/lib/libc/tests *** [all] Error code 2 bmake[4]: stopped in /crossbuilds/src/11/lib/libc 1 error bmake[4]: stopped in /crossbuilds/src/11/lib/libc *** [all_subdir_lib/libc] Error code 2 bmake[3]: stopped in /crossbuilds/src/11/lib 1 error bmake[3]: stopped in /crossbuilds/src/11/lib *** [all_subdir_lib] Error code 2 bmake[2]: stopped in /crossbuilds/src/11 --- all_subdir_share --- A failure has been detected in another branch of the parallel make bmake[4]: stopped in /crossbuilds/src/11/share/colldef *** [all_subdir_share/colldef] Error code 2 bmake[3]: stopped in /crossbuilds/src/11/share 1 error bmake[3]: stopped in /crossbuilds/src/11/share *** [all_subdir_share] Error code 2 bmake[2]: stopped in /crossbuilds/src/11 5 errors bmake[2]: stopped in /crossbuilds/src/11 *** [everything] Error code 2 bmake[1]: stopped in /crossbuilds/src/11 1 error bmake[1]: stopped in /crossbuilds/src/11 %
On Sun, Oct 4, 2020 at 7:02 PM mike tancsa <mike at sentex.net> wrote:> > Not sure exactly when, but it seems building RELENG_11 seems to be > broken on releng12. I am trying to buildworld on a RELENG12 image with > -j4 (12.2-STABLE r366088) and it fails with the errors below >Hi, I've been battling this one for a couple days, but I really haven't decided how to move forward. The TL;DR version is that crunchgen is getting the OBJDIR wrong when building WITHOUT_AUTO_OBJ by assuming objects will be built in-tree, but the reality is that it's more complicated than that- it may still use out-of-tree OBJDIR if some circumstances are hit. This is reproducible on -HEAD and stable/12, too, but it's effectively mitigated by the fact that those branches default to WITH_AUTO_OBJ. CC'ing Bryan, because he probably has a better idea of how to fix it. I almost smacked it with a "shell out for each utility and just ask what the OBJDIR is" hammer, but I don't want to get smacked. =) Thanks, Kyle Evans