Bug 165363 - [build] 9-stable buildworld broken with NO_DYNAMICROOT defined
Summary: [build] 9-stable buildworld broken with NO_DYNAMICROOT defined
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 9.0-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-21 14:50 UTC by Alexey Kouznetsov
Modified: 2017-12-31 22:32 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Kouznetsov 2012-02-21 14:50:11 UTC
We have NO_DYNAMICROOT=true defined in make.conf (Usaly we do not use src.conf, but I tried to create file and add there WITHOUT_DYNAMICROOT=yes. Result was the same)

make buildworld stops after while, with error :
---
.....
===> sbin/atm (all)
===> sbin/atm/atmconfig (all)
cc -O2 -pipe  -I/usr/obj/usr/src/sbin/atm/atmconfig -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/sbin/atm/atmconfig/main.c
cc -O2 -pipe  -I/usr/obj/usr/src/sbin/atm/atmconfig -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/sbin/atm/atmconfig/diag.c
cc -O2 -pipe  -I/usr/obj/usr/src/sbin/atm/atmconfig -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/sbin/atm/atmconfig/natm.c
cc -O2 -pipe  -I/usr/obj/usr/src/sbin/atm/atmconfig -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/sbin/atm/atmconfig/atmconfig_device.c
cc -O2 -pipe  -I/usr/obj/usr/src/sbin/atm/atmconfig -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign  -static -o atmconfig main.o diag.o natm.o atmconfig_device.o -lbsnmp
/usr/obj/usr/src/tmp/usr/lib/libbsnmp.a(snmpclient.o): In function `snmp_open':
snmpclient.c:(.text+0x2138): warning: warning: mktemp() possibly used unsafely; consider using mkstemp()
/usr/obj/usr/src/tmp/usr/lib/libbsnmp.a(snmpcrypto.o): In function `snmp_digest_init':
snmpcrypto.c:(.text+0x31): undefined reference to `EVP_md5'
snmpcrypto.c:(.text+0x4a): undefined reference to `EVP_DigestInit'
snmpcrypto.c:(.text+0x66): undefined reference to `EVP_sha1'
/usr/obj/usr/src/tmp/usr/lib/libbsnmp.a(snmpcrypto.o): In function `snmp_calc_keychange':
snmpcrypto.c:(.text+0x130): undefined reference to `EVP_DigestUpdate'
snmpcrypto.c:(.text+0x13d): undefined reference to `EVP_MD_CTX_cleanup'
snmpcrypto.c:(.text+0x16e): undefined reference to `EVP_DigestFinal'
snmpcrypto.c:(.text+0x17b): undefined reference to `EVP_MD_CTX_cleanup'
/usr/obj/usr/src/tmp/usr/lib/libbsnmp.a(snmpcrypto.o): In function `snmp_get_local_keys':
snmpcrypto.c:(.text+0x2ae): undefined reference to `EVP_DigestUpdate'
snmpcrypto.c:(.text+0x2be): undefined reference to `EVP_MD_CTX_cleanup'
snmpcrypto.c:(.text+0x2fa): undefined reference to `EVP_DigestFinal'
snmpcrypto.c:(.text+0x30a): undefined reference to `EVP_MD_CTX_cleanup'
/usr/obj/usr/src/tmp/usr/lib/libbsnmp.a(snmpcrypto.o): In function `snmp_pdu_calc_digest':
snmpcrypto.c:(.text+0x487): undefined reference to `EVP_DigestUpdate'
snmpcrypto.c:(.text+0x49a): undefined reference to `EVP_MD_CTX_cleanup'
snmpcrypto.c:(.text+0x4d1): undefined reference to `EVP_DigestUpdate'
snmpcrypto.c:(.text+0x4f5): undefined reference to `EVP_DigestFinal'
snmpcrypto.c:(.text+0x512): undefined reference to `EVP_DigestInit'
snmpcrypto.c:(.text+0x535): undefined reference to `EVP_DigestUpdate'
snmpcrypto.c:(.text+0x55a): undefined reference to `EVP_DigestUpdate'
snmpcrypto.c:(.text+0x579): undefined reference to `EVP_DigestFinal'
snmpcrypto.c:(.text+0x5ac): undefined reference to `EVP_MD_CTX_cleanup'
snmpcrypto.c:(.text+0x5db): undefined reference to `EVP_MD_CTX_cleanup'
/usr/obj/usr/src/tmp/usr/lib/libbsnmp.a(snmpcrypto.o): In function `snmp_passwd_to_keys':
snmpcrypto.c:(.text+0x6b0): undefined reference to `EVP_DigestUpdate'
snmpcrypto.c:(.text+0x6d9): undefined reference to `EVP_DigestFinal'
snmpcrypto.c:(.text+0x6e9): undefined reference to `EVP_MD_CTX_cleanup'
snmpcrypto.c:(.text+0x708): undefined reference to `EVP_MD_CTX_cleanup'
/usr/obj/usr/src/tmp/usr/lib/libbsnmp.a(snmpcrypto.o): In function `snmp_pdu_cipher_init':
snmpcrypto.c:(.text+0x755): undefined reference to `EVP_aes_128_cfb128'
snmpcrypto.c:(.text+0x7a5): undefined reference to `EVP_des_cbc'
/usr/obj/usr/src/tmp/usr/lib/libbsnmp.a(snmpcrypto.o): In function `snmp_pdu_decrypt':
snmpcrypto.c:(.text+0x865): undefined reference to `EVP_DecryptInit'
snmpcrypto.c:(.text+0x87a): undefined reference to `EVP_CIPHER_CTX_set_padding'
snmpcrypto.c:(.text+0x8c6): undefined reference to `EVP_DecryptUpdate'
snmpcrypto.c:(.text+0x8d3): undefined reference to `EVP_CIPHER_CTX_cleanup'
snmpcrypto.c:(.text+0x8f6): undefined reference to `EVP_DecryptFinal'
snmpcrypto.c:(.text+0x903): undefined reference to `EVP_CIPHER_CTX_cleanup'
/usr/obj/usr/src/tmp/usr/lib/libbsnmp.a(snmpcrypto.o): In function `snmp_pdu_encrypt':
snmpcrypto.c:(.text+0x9a6): undefined reference to `EVP_EncryptInit'
snmpcrypto.c:(.text+0x9da): undefined reference to `EVP_EncryptUpdate'
snmpcrypto.c:(.text+0x9e7): undefined reference to `EVP_CIPHER_CTX_cleanup'
snmpcrypto.c:(.text+0xa0d): undefined reference to `EVP_EncryptFinal'
snmpcrypto.c:(.text+0xa1a): undefined reference to `EVP_CIPHER_CTX_cleanup'
*** Error code 1

Stop in /usr/src/sbin/atm/atmconfig.
*** Error code 1

Stop in /usr/src/sbin/atm.
*** Error code 1

Stop in /usr/src/sbin.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

---

I tried to build world under 8.3-pre first, then I built system w/o NO_DYNAMICROOT (system build success after I comment out this option), make installworld/kernel and tried to build it again under 9.0-STAB (I returned option to make.conf, then tried to move it to src.conf) and got same error again. I got such error at i386 and at amd64 (we use 2 build boxes). I deleted /usr/obj between tries. I tried to delete /usr/src and resync it from csup. I tried to resync from different cvsup mirror.

Fix: 

Just for now, do not use the option NO(WITHOUT)_DYNAMICROOT
How-To-Repeat: add option NO_DYNAMICROOT or WITHOUT_DYNAMICROOT and make buildworld in /usr/src
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:58:57 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped