From owner-freebsd-emulation@freebsd.org Thu Jul 20 19:18:38 2017 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46D7FC7E9C4 for ; Thu, 20 Jul 2017 19:18:38 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) by mx1.freebsd.org (Postfix) with ESMTP id E9CAA757C4; Thu, 20 Jul 2017 19:18:37 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Subject: Re: [VirtualBox-5.1.22 Build Failed on FreeBSD-12] From: Jung-uk Kim To: Ederson Corbari , freebsd-emulation@freebsd.org References: <7bc831e2-778e-eb12-174e-c2426b87c2d2@FreeBSD.org> Message-ID: Date: Thu, 20 Jul 2017 15:18:37 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <7bc831e2-778e-eb12-174e-c2426b87c2d2@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.23 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: Thu, 20 Jul 2017 19:18:38 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 07/19/2017 11:11, Jung-uk Kim wrote: > On 07/16/2017 13:25, Ederson Corbari wrote: >> Hello, >> >> I installed FreeBSD 12-CURRENT on my new laptop DELL Inspiron, >> because FreeBSD-11 does not work ACPI correctly. Apparently >> everything working, but to build VirtualBox is occurring the >> following error: >> >> ------------------------------------------------------- >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/include/ip rt/assert.h:575:21: >> >> note: expanded from macro 'AssertReturn' >> return (rc); \ ^~ kBuild: Compiling webtest - >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/src/VBox/M ain/webservice/webtest.cpp >> >> kmk: *** >> [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/out/freeb sd.amd64/release/obj/RuntimeBldProg/RuntimeBldProg.a] >> >> Segmentation fault (core dumped) >> The failing command: @/usr/local/bin/kmk_redirect -rti >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/out/freebs d.amd64/release/obj/RuntimeBldProg/RuntimeBldProg.a.ar-script >> >> - -- ar -M >> kmk: *** >> [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/out/freeb sd.amd64/release/obj/RuntimeBldProg/RuntimeBldProg.a] >> >> Deleting file >> `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/out/freeb sd.amd64/release/obj/RuntimeBldProg/RuntimeBldProg.a.ar-script' >> >> kmk: *** Waiting for unfinished jobs.... >> 74 warnings generated. kmk: *** Exiting with status 2 *** Error >> code 2 >> >> Stop. make: stopped in /usr/ports/emulators/virtualbox-ose >> ------------------------------------------------------- >> >> The configuration used is default, simply run command: make >> -DBATCH install > > It seems something is wrong with ar on head since ino64. > >> Does anyone know how to fix the problem? > I am not sure how to fix it but I worked around it by replacing > /usr/bin/ar with the one from 10.3. I just added a bandaid to the port. Please try again. Jung-uk Kim -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEl1bqgKaRyqfWXu/CfJ+WJvzb8UYFAllxAg0ACgkQfJ+WJvzb 8UaGqQf+NqndoPAry/n7N3tw5vsKMAc0VhQy59IDkWdcGD6vb4+IrUwmoEbmI0Hg FImLTXiBdhGG5/uMtocT68eYE3Fd8d3gkjx3KytSw6LVohJ3W37QVvrS8DtT2r93 hPVLyIJQJn6eww+yfHNIDmNFXjfIUlMmywERhgTv/Ckn+jiBsyyMdvhzh1WFh/Uo a6xS6oq5sPuUpxjlM75twXUeHiwgG7CWecxoPyMPEPgYzjhB9vaGvUOwvIjC0nfh hlT9qJ+aJmWYZAbv7IKNrQHj5kP4wbSTPlkFDr3ne5st6T68k7GKOaNKj7w2BrSo nzVj2ZL4kziJgd3UnguPBY5dDyOUQw== =PAAA -----END PGP SIGNATURE-----