From owner-freebsd-toolchain@freebsd.org Wed Jul 19 19:00:24 2017 Return-Path: Delivered-To: freebsd-toolchain@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 08092CFFE0D for ; Wed, 19 Jul 2017 19:00:24 +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 7E7DB67267; Wed, 19 Jul 2017 19:00:23 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Subject: Fwd: Re: [VirtualBox-5.1.22 Build Failed on FreeBSD-12] References: <7bc831e2-778e-eb12-174e-c2426b87c2d2@FreeBSD.org> To: Ed Maste , Martin Matuska From: Jung-uk Kim Cc: FreeBSD toolchain X-Forwarded-Message-Id: <7bc831e2-778e-eb12-174e-c2426b87c2d2@FreeBSD.org> Message-ID: Date: Wed, 19 Jul 2017 15:00:17 -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: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="VID9BlMOI3X9bMD2pDVheCSo25T6VceJk" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2017 19:00:24 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --VID9BlMOI3X9bMD2pDVheCSo25T6VceJk Content-Type: multipart/mixed; boundary="b2l1Wix4hnLpDPla8RtVtA2aknKmD0Bae"; protected-headers="v1" From: Jung-uk Kim To: Ed Maste , Martin Matuska Cc: FreeBSD toolchain Message-ID: Subject: Fwd: Re: [VirtualBox-5.1.22 Build Failed on FreeBSD-12] References: <7bc831e2-778e-eb12-174e-c2426b87c2d2@FreeBSD.org> In-Reply-To: <7bc831e2-778e-eb12-174e-c2426b87c2d2@FreeBSD.org> --b2l1Wix4hnLpDPla8RtVtA2aknKmD0Bae Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable emulators/virtualbox-ose is failing on head for some time and I found ar is causing the trouble. The earliest failures noticed by package builders are here: http://docs.freebsd.org/cgi/mid.cgi?201706170249.v5H2nUVZ039286 http://docs.freebsd.org/cgi/mid.cgi?201706170238.v5H2cZTZ054493 The core file shows: (lldb) bt * thread #1, name =3D 'ar', stop reason =3D signal SIGSEGV * frame #0: 0x00000000004ac850 ar`memchr + 16 frame #1: 0x000000000044359a ar`strstr + 1082 frame #2: 0x000000000040649f ar`archive_write_ar_header + 2095 frame #3: 0x0000000000409423 ar`_archive_write_header + 259 frame #4: 0x00000000004051eb ar`write_archive + 3995 frame #5: 0x0000000000402be6 ar`yyparse + 1190 frame #6: 0x0000000000402715 ar`ar_mode_script + 69 frame #7: 0x0000000000400cdc ar`main + 2140 frame #8: 0x000000000040035f ar`_start + 383 I am not sure whether ar or libarchive is culprit here. Any idea? Jung-uk Kim -------- Forwarded Message -------- Subject: Re: [VirtualBox-5.1.22 Build Failed on FreeBSD-12] Date: Wed, 19 Jul 2017 11:11:51 -0400 From: Jung-uk Kim To: Ederson Corbari , freebsd-emulation@freebsd.org On 07/16/2017 13:25, Ederson Corbari wrote: > Hello, >=20 > 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: >=20 > ------------------------------------------------------- > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/include/iprt= /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/Mai= n/webservice/webtest.cpp > kmk: *** > [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/out/freebsd= =2Eamd64/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/freebsd.= amd64/release/obj/RuntimeBldProg/RuntimeBldProg.a.ar-script > -- ar -M > kmk: *** > [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/out/freebsd= =2Eamd64/release/obj/RuntimeBldProg/RuntimeBldProg.a] > Deleting file > `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/out/freebsd= =2Eamd64/release/obj/RuntimeBldProg/RuntimeBldProg.a.ar-script' > kmk: *** Waiting for unfinished jobs.... > 74 warnings generated. > kmk: *** Exiting with status 2 > *** Error code 2 >=20 > Stop. > make: stopped in /usr/ports/emulators/virtualbox-ose > ------------------------------------------------------- >=20 > The configuration used is default, simply run command: make -DBATCH ins= tall 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. --b2l1Wix4hnLpDPla8RtVtA2aknKmD0Bae-- --VID9BlMOI3X9bMD2pDVheCSo25T6VceJk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEl1bqgKaRyqfWXu/CfJ+WJvzb8UYFAllvrEEACgkQfJ+WJvzb 8UYtJQf/VMS5qIlgLJtQDJhWNxTxZAstf4SpnD6dWLDAIHH4ntAZ+EfNOrRa+QSM m7ZT0v3K+o0y3eh5SYVuD6GRbhyEfCNzJN1ihot7y2cay/OvoCM4+GfnCF9wcgtw 90EvXloauogMzTkS0zEX1XAQ9YK0GxzFWltA8rmQAw8fM+ZvInxo3em3FCyuvyq9 b1hrnIvLVR8n7ostdWH6EPmJ6hLfLZvzAg24pVJCe90twmKed8MyzN6nMi31B0ws AGpHmxfG/ttXDRjzwhNoU8uCkdR16yE+A/+a6hwUFQVw1gb0ItpAa4RwZKToubNu LM7ky8z4GSGz21ty5BFmzTBqHV7eyQ== =oYAf -----END PGP SIGNATURE----- --VID9BlMOI3X9bMD2pDVheCSo25T6VceJk--