misc/165363: 9-stable buildworld broken with NO_DYNAMICROOT defined

Alexey alexey at kouznetsov.com
Tue Feb 21 14:50:23 UTC 2012


>Number:         165363
>Category:       misc
>Synopsis:       9-stable buildworld broken with NO_DYNAMICROOT defined
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 21 14:50:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Alexey
>Release:        9.0-STABLE
>Organization:
>Environment:
9.0-STABLE #0: Mon Feb 20 19:28:52 MSK 2012

>Description:
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.
>How-To-Repeat:
add option NO_DYNAMICROOT or WITHOUT_DYNAMICROOT and make buildworld in /usr/src
>Fix:
Just for now, do not use the option NO(WITHOUT)_DYNAMICROOT

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list