From owner-freebsd-current@freebsd.org Fri Aug 12 11:07:50 2016 Return-Path: Delivered-To: freebsd-current@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 B6D55BB7B90 for ; Fri, 12 Aug 2016 11:07:50 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 9E5DD1D4E; Fri, 12 Aug 2016 11:07:50 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id 9105E1195; Fri, 12 Aug 2016 11:07:50 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 3FEB571D3; Fri, 12 Aug 2016 11:07:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id J2M7r37FHUoJ; Fri, 12 Aug 2016 11:07:46 +0000 (UTC) Subject: Re: PORTS_MODULES breakage on HEAD DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com ACD7271CE To: Don Lewis , freebsd-current@FreeBSD.org, Kevin Oberman References: <201608080044.u780iEuP026615@gw.catspoiler.org> From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: <896880bc-3ac8-8cf9-bf25-7cf270571019@FreeBSD.org> Date: Fri, 12 Aug 2016 04:07:45 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="w5EGPaNNJ271k50qm0N6JOK7JNDxHx18w" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 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: Fri, 12 Aug 2016 11:07:50 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --w5EGPaNNJ271k50qm0N6JOK7JNDxHx18w Content-Type: multipart/mixed; boundary="bbbSLFEJNxERx69FRelQSeJHELRhHw2sG" From: Bryan Drewery To: Don Lewis , freebsd-current@FreeBSD.org, Kevin Oberman Message-ID: <896880bc-3ac8-8cf9-bf25-7cf270571019@FreeBSD.org> Subject: Re: PORTS_MODULES breakage on HEAD References: <201608080044.u780iEuP026615@gw.catspoiler.org> In-Reply-To: --bbbSLFEJNxERx69FRelQSeJHELRhHw2sG Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 8/10/2016 4:20 PM, Bryan Drewery wrote: > On 8/7/16 5:44 PM, Don Lewis wrote: >> Adding PORTS_MODULES=3Demulators/virtualbox-ose-kmod recently broke on= >> HEAD. When I do that I get this failure: >> >> =3D=3D=3D> Ports module emulators/virtualbox-ose-kmod (all) >> cd ${PORTSDIR:-/usr/ports}/emulators/virtualbox-ose-kmod; PATH=3D/usr/= obj/usr/src/ >> tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/s= rc/tmp/leg >> acy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/sb= in:/bin:/u >> sr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin SRC_BASE=3D/usr/src = OSVERSION=3D12 >> 00000 WRKDIRPREFIX=3D/usr/obj/usr/src/sys/ make -B clean all >> =3D=3D=3D> Cleaning for virtualbox-ose-kmod-5.0.26_1 >> =3D=3D=3D> License GPLv2 accepted by the user >> =3D=3D=3D> Found saved configuration for virtualbox-ose-kmod-4.3.34 >> =3D=3D=3D> virtualbox-ose-kmod-5.0.26_1 depends on file: /usr/local/= sbin/pkg - found >> =3D=3D=3D> Fetching all distfiles required by virtualbox-ose-kmod-5.0.= 26_1 for buildin >> g >> =3D=3D=3D> Extracting for virtualbox-ose-kmod-5.0.26_1 >> =3D> SHA256 Checksum OK for VirtualBox-5.0.26.tar.bz2. >> =3D=3D=3D> Patching for virtualbox-ose-kmod-5.0.26_1 >> =3D=3D=3D> Applying FreeBSD patches for virtualbox-ose-kmod-5.0.26_1 >> =3D=3D=3D> virtualbox-ose-kmod-5.0.26_1 depends on executable: kmk -= found >> =3D=3D=3D> Configuring for virtualbox-ose-kmod-5.0.26_1 >> Checking for environment: Determined build machine: freebsd.amd64, tar= get machin >> e: freebsd.amd64, OK. >> Checking for kBuild: found, OK. >> Checking for gcc: >> ** cc -target x86_64-unknown-freebsd12.0 --sysroot (variable CC) not= found! >> Check /usr/obj/usr/src/sys/usr/ports/emulators/virtualbox-ose-kmod/wor= k/VirtualB >> ox-5.0.26/configure.log for details >> =3D=3D=3D> Script "configure" failed unexpectedly. >> Please report the problem to vbox@FreeBSD.org [maintainer] and attach = the >> "/usr/obj/usr/src/sys//usr/ports/emulators/virtualbox-ose-kmod/work/Vi= rtualBox-5 >> .0.26/config.log" >> >> >> It appears that the problem is due to CC being set to: >> cc -target x86_64-unknown-freebsd12.0 --sysroot >> and the Makefile for the port passes this: >> --with-gcc=3D"${CC}" >> to configure. The configure script passes $CC to check_avail, which >> does a -z test on it. >> >> I think that CC should just be set to "cc" and the rest should get add= ed >> to CFLAGS. I suspect this got broken by the recent crossbuild changes= =2E >> >=20 >=20 > It's a SYSTEM_COMPILER bug. I'll look into fixing it. >=20 > For now you can try passing WITHOUT_SYSTEM_COMPILER=3Dyes as a workarou= nd. >=20 >=20 I've committed a fix to head in r304005. I will MFC it to stable/11 in about a week. --=20 Regards, Bryan Drewery --bbbSLFEJNxERx69FRelQSeJHELRhHw2sG-- --w5EGPaNNJ271k50qm0N6JOK7JNDxHx18w Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJXra4BAAoJEDXXcbtuRpfPtCgIAL2elshP7PgpIjDtS+H8gw+V 6A2qn/VktFeR7iOOPeDWFYv+DWUpkR2ZEbpwmJxtPR3XGv+BNvph2gxlSFFTKSit ggrtp3XvjvoEn4S14BQSM53KhnCqjXhmkPlCThBOxteWsywwRcGeJ4JwsBpFFc2V dO+w/e/XajunUBt9+gJb/irjjK3KLJbHtpMJmeB2AlWy2WGsg6ovlXZ66p9GuK05 vBJjMLFN76tvdjQwD0TxK/k4xI/lbxUqyLa349icxMGbw9/X8QnjkwE+tWNr3Ngi M3aGI32O6d5oBBxg2FCrgVT0J443aaEsD+4b3WQn7XWe8cvrAH1BShdPF/iO7J4= =0fQT -----END PGP SIGNATURE----- --w5EGPaNNJ271k50qm0N6JOK7JNDxHx18w--