From owner-freebsd-ports@FreeBSD.ORG Thu Oct 23 11:45:56 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 20205303; Thu, 23 Oct 2014 11:45:56 +0000 (UTC) Received: from icp-osb-irony-out8.external.iinet.net.au (icp-osb-irony-out8.external.iinet.net.au [203.59.1.225]) by mx1.freebsd.org (Postfix) with ESMTP id 69B0B975; Thu, 23 Oct 2014 11:45:54 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah0aAA/qSFR90Yu6/2dsb2JhbABcgw5UWII2i0KrFwEBAQEBAQaTWgyHS4ETFgF9hAoCNz8oFDQFFAREiEAOx3SGJYoxHYMXgR4FlkuEDoMDgW6FZ0GOGIFTgjkpLwGCSgEBAQ X-IronPort-AV: E=Sophos;i="5.04,774,1406563200"; d="scan'208";a="865544050" Received: from unknown (HELO smtp.phoenix) ([125.209.139.186]) by icp-osb-irony-out8.iinet.net.au with ESMTP; 23 Oct 2014 19:45:52 +0800 Received: by smtp.phoenix (Postfix, from userid 1001) id 23F467F1; Thu, 23 Oct 2014 22:45:52 +1100 (EST) Date: Thu, 23 Oct 2014 22:45:52 +1100 From: andrew clarke To: freebsd-ports@freebsd.org Subject: cannot find -legacy error building /usr/lib32 with FreeBSD 10.1-RC3 Message-ID: <20141023114552.GA96726@ozzmosis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Cc: vbox@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2014 11:45:56 -0000 My intention was to build virtualbox-ose-additions-4.3.18 from ports... # uname -a FreeBSD vbox-freebsd10 10.1-RC3 FreeBSD 10.1-RC3 #0 r273437: Tue Oct 21 23:55:15 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 # cd /usr/ports/emulators/virtualbox-ose-additions # make Requires 32-bit libraries installed under /usr/lib32. Do: cd /usr/src; make build32 install32; ldconfig -v -m -R /usr/lib32 *** Error code 1 Stop. make[1]: stopped in /usr/ports/emulators/virtualbox-ose-additions # cd /usr/src; make build32 install32; ldconfig -v -m -R /usr/lib32 ... cc -O2 -pipe -DMAGIC='"/usr/share/misc/magic"' -DHAVE_CONFIG_H -I/usr/src/lib/libmagic -I/usr/src/lib/libmagic/../../contrib/file/src -std=gnu99 -I/usr/obj/usr/src/tmp/legacy/usr/include -DCOMPILE_ONLY -L/usr/obj/usr/src/tmp/legacy/usr/lib -o mkmagic /usr/src/lib/libmagic/../../contrib/file/src/apprentice.c /usr/src/lib/libmagic/../../contrib/file/src/cdf_time.c /usr/src/lib/libmagic/../../contrib/file/src/encoding.c /usr/src/lib/libmagic/../../contrib/file/src/funcs.c /usr/src/lib/libmagic/../../contrib/file/src/magic.c /usr/src/lib/libmagic/../../contrib/file/src/print.c -lz -legacy /usr/bin/ld: cannot find -legacy cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make[2]: stopped in /usr/src/lib/libmagic *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src According to this thread, http://lists.freebsd.org/pipermail/freebsd-current/2013-September/044253.html "make build32" no longer "works"? "make buildworld" seems a little excessive just for a single port. Regards Andrew