From owner-freebsd-current@FreeBSD.ORG Sun Apr 19 03:43:29 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3825106564A for ; Sun, 19 Apr 2009 03:43:28 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from kientzle.com (kientzle.com [66.166.149.50]) by mx1.freebsd.org (Postfix) with ESMTP id 7912B8FC0A for ; Sun, 19 Apr 2009 03:43:28 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: (from root@localhost) by kientzle.com (8.14.3/8.14.3) id n3J3hSV8046398; Sat, 18 Apr 2009 20:43:28 -0700 (PDT) (envelope-from kientzle@freebsd.org) Received: from dark.x.kientzle.com (fw2.kientzle.com [10.123.1.2]) by kientzle.com with SMTP id 9he3695qmj95743g79cxk6639a; Sat, 18 Apr 2009 20:43:27 -0700 (PDT) (envelope-from kientzle@freebsd.org) Message-ID: <49EA9DDF.5040500@freebsd.org> Date: Sat, 18 Apr 2009 20:43:27 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.21) Gecko/20090409 SeaMonkey/1.1.15 MIME-Version: 1.0 To: Takahashi Yoshihiro References: <20090419.121350.258482423.nyan@jp.FreeBSD.org> In-Reply-To: <20090419.121350.258482423.nyan@jp.FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: Making release is broken X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Apr 2009 03:43:29 -0000 Takahashi Yoshihiro wrote: > Today's snapshot is broken. > > Building 8.0-CURRENT-20090418-SNAP is failed. > Last 50 lines of logfile are: ... lines deleted ... > crunchide -k _crunched_sysinstall_stub sysinstall.lo > echo "int _crunched_usbconfig_stub(int argc, char **argv, char **envp){return main(argc,argv,envp);}" >usbconfig_stub.c > cc -Os -pipe -c usbconfig_stub.c > ld -dc -r -o usbconfig.lo usbconfig_stub.o /usr/obj//usr/src/usr.sbin/usbconfig/usbconfig.o /usr/obj//usr/src/usr.sbin/usbconfig/dump.o > crunchide -k _crunched_usbconfig_stub usbconfig.lo > cc -static -o boot_crunch boot_crunch.o ... cpio.lo ... -larchive -lbz2 -lusb > /usr/obj/usr/src/tmp/usr/lib/libarchive.a(archive_write_set_format_mtree.o)(.text+0xaea): In function `archive_write_mtree_finish_entry': > : undefined reference to `SHA512_Final' > /usr/obj/usr/src/tmp/usr/lib/libarchive.a(archive_write_set_format_mtree.o)(.text+0xb3c): In function `archive_write_mtree_finish_entry': > : undefined reference to `SHA384_Final' > /usr/obj/usr/src/tmp/usr/lib/libarchive.a(archive_write_set_format_mtree.o)(.text+0xb94): In function `archive_write_mtree_finish_entry': > : undefined reference to `SHA256_Final' > /usr/obj/usr/src/tmp/usr/lib/libarchive.a(archive_write_set_format_mtree.o)(.text+0xbec): In function `archive_write_mtree_finish_entry': > : undefined reference to `SHA1_Final' ...lines deleted... > Stop in /usr/obj/usr/src/release/boot_crunch. Easiest fix is to add -lcrypto to the boot_crunch.conf. That would satisfy libarchive's new requirements. Alternatively, I could put conditionals on RELEASE_CRUNCH into cpio so that it didn't use any of the new libarchive features that are causing this. With a little more work, I could put together a minicpio that provided just the bare minimum of features required by the boot_crunch. Any strong preference? Tim