From owner-freebsd-emulation@FreeBSD.ORG Tue Feb 18 15:13:41 2014 Return-Path: Delivered-To: vbox@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 159D6A60 for ; Tue, 18 Feb 2014 15:13:41 +0000 (UTC) Received: from mailrelay008.isp.belgacom.be (mailrelay008.isp.belgacom.be [195.238.6.174]) by mx1.freebsd.org (Postfix) with ESMTP id 960301098 for ; Tue, 18 Feb 2014 15:13:40 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnIGAA13A1NbsItn/2dsb2JhbABZgwarTpURgRcXdIIlAQEFOhwjEAsRAwECAQklDyoMCggZh3EDFQHDYQ2IDxeMZ4FnMwcGhDIBA5ZGgWWMX4VFgW+BPzs Received: from 103.139-176-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.176.139.103]) by relay.skynet.be with ESMTP; 18 Feb 2014 16:12:31 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.8/8.14.8) with ESMTP id s1IFCUJB097850; Tue, 18 Feb 2014 16:12:30 +0100 (CET) (envelope-from tijl@FreeBSD.org) Date: Tue, 18 Feb 2014 16:12:29 +0100 From: Tijl Coosemans To: kaltheat@googlemail.com Subject: Re: ports/186847: libiconv dependencies break emulators/virtualbox-ose port build Message-ID: <20140218161229.0a072b93@kalimero.tijl.coosemans.org> In-Reply-To: <201402181320.s1IDK1Rv049991@freefall.freebsd.org> References: <201402181320.s1IDK1Rv049991@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 18 Feb 2014 16:48:47 +0000 Cc: vbox@FreeBSD.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Feb 2014 15:13:41 -0000 On Tue, 18 Feb 2014 13:20:01 GMT kaltheat@googlemail.com wrote: > The following reply was made to PR ports/186847; it has been noted by GNATS. > > From: kaltheat@googlemail.com > To: bug-followup@FreeBSD.org > Cc: ejungkurth@yahoo.com > Subject: Re: ports/186847: libiconv dependencies break > emulators/virtualbox-ose port build > Date: Tue, 18 Feb 2014 14:14:16 +0000 > > Hi, > > I can confirm this issue. Here is the error-message in case someone is=20 > searching for it: > > =2E.. > kBuild: Compiling scm - /usr/ports/emulators/virtualbox-ose/work/VirtualBox= > -4.3.6/src/bldprogs/scmsubversion.cpp > kBuild: Linking scm > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64= > /release/lib/RuntimeBldProg.a(utf8-posix.o): In function `rtstrConvertCache= > d': > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtime/= > r3/posix/utf8-posix.cpp:200: undefined reference to `libiconv' > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtime/= > r3/posix/utf8-posix.cpp:184: undefined reference to `libiconv_open' > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtime/= > r3/posix/utf8-posix.cpp:244: undefined reference to `libiconv_close' > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64= > /release/lib/RuntimeBldProg.a(utf8-posix.o): In function `rtStrConvertUncac= > hed': > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtime/= > r3/posix/utf8-posix.cpp:315: undefined reference to `libiconv_open' > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtime/= > r3/posix/utf8-posix.cpp:330: undefined reference to `libiconv' > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtime/= > r3/posix/utf8-posix.cpp:351: undefined reference to `libiconv_close' > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtime/= > r3/posix/utf8-posix.cpp:340: undefined reference to `libiconv_close' > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64= > /release/lib/RuntimeBldProg.a(utf8-posix.o): In function `rtStrIconvCacheDe= > stroy': > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtime/= > r3/posix/utf8-posix.cpp:115: undefined reference to `libiconv_close' > collect2: ld returned 1 exit status > kmk: *** [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/fre= > ebsd.amd64/release/obj/scm/scm] Error 1 > The failing command: > @g++46 -m64 -o /usr/ports/emulators/virtualbox-ose= > /work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/scm/scm /usr/ports/emu= > lators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/s= > cm/scm.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/free= > bsd.amd64/release/obj/scm/scmdiff.o /usr/ports/emulators/virtualbox-ose/wor= > k/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/scm/scmrw.o /usr/ports/emu= > lators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/s= > cm/scmstream.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/ou= > t/freebsd.amd64/release/obj/scm/scmsubversion.o -L/usr/local/lib -lpthr= > ead -lrt /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/= > freebsd.amd64/release/lib/RuntimeBldProg.a /usr/ports/emulators/virtualbo= > x-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/lib/VBox-kStuffStatic= > BldProg.a /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/f= > reebsd.amd64/release/lib/RuntimeBldProg.a -lpthread -lssl -lcrypto=20 > *** Error code 2 You need to find the command that compiles src/VBox/Runtime/r3/posix/utf8-posix.cpp It's probably missing -DLIBICONV_PLUG which would mean the port doesn't respect variables like CPPFLAGS/CFLAGS/CXXFLAGS/LDFLAGS.