From owner-freebsd-ports@FreeBSD.ORG Tue May 6 17:39:23 2014 Return-Path: Delivered-To: freebsd-ports@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 68DACA99; Tue, 6 May 2014 17:39:23 +0000 (UTC) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 236F3DC1; Tue, 6 May 2014 17:39:22 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.82) with esmtp (envelope-from ) id <1WhjKr-001cWs-2D>; Tue, 06 May 2014 19:39:21 +0200 Received: from f052173033.adsl.alicedsl.de ([78.52.173.33] helo=thor.walstatt.dynvpn.de) by inpost2.zedat.fu-berlin.de (Exim 4.82) with esmtpsa (envelope-from ) id <1WhjKq-0012D2-UM>; Tue, 06 May 2014 19:39:21 +0200 Date: Tue, 6 May 2014 19:39:15 +0200 From: "O. Hartmann" To: Warner Losh Subject: Re: devel/qmake4: "/usr/share/mk/bsd.prog.mk" line 176: Malformed conditional (${COMPILER_TYPE} Message-ID: <20140506193915.66e986ff.ohartman@zedat.fu-berlin.de> In-Reply-To: <3316CF1B-397B-484F-9B81-9643122CE169@gmail.com> References: <20140506183833.27f3c1ac.ohartman@zedat.fu-berlin.de> <3316CF1B-397B-484F-9B81-9643122CE169@gmail.com> Organization: FU Berlin X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/cuawTbgOY0faSho6Bdd1dTp"; protocol="application/pgp-signature" X-Originating-IP: 78.52.173.33 X-ZEDAT-Hint: A Cc: FreeBSD CURRENT , FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2014 17:39:23 -0000 --Sig_/cuawTbgOY0faSho6Bdd1dTp Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Am Tue, 6 May 2014 10:53:47 -0600 Warner Losh schrieb: >=20 > On May 6, 2014, at 10:38 AM, O. Hartmann wr= ote: >=20 > >=20 > > On CURRENT (FreeBSD 11.0-CURRENT #0 r265433: Tue May 6 13:37:15 CEST 2= 014 amd64) the > > build/updating of port devel/qmake4 fails due to: > >=20 > > =3D=3D=3D> Building for qt4-qmake-4.8.6 > > make[1]: "/usr/share/mk/bsd.prog.mk" line 176: Malformed conditional > > (${COMPILER_TYPE} =3D=3D "clang" && empty(CXXFLAGS:M-stdlib=3Dlibstdc++= )) make[1]: Fatal > > errors encountered -- cannot continue make[1]: stopped > > in /usr/ports/devel/qmake4/work/qt-everywhere-opensource-src-4.8.6/qmak= e =3D=3D=3D> > > Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and = rebuild before > > reporting the failure to the maintainer. > > *** Error code 1 >=20 > I think I have a fix. Please look at http://people.freebsd.org/~imp/patch= -queue/init to > see if that solves the problem. You can apply the patch, cd src/share/mk = and do a make > install as root. Then try building devel/qmake4 and see if that solves th= e problem. In > a simplified test case, I was able to reproduce this problem and fix it w= ith that > patch, but my VM that I did this in doesn=92t have the space to build KDE= , so I can=92t > test this directly. >=20 > Warner I did as requested, but the update procedure still faults: =3D=3D=3D>>> Updating dependent ports >> qt4-dbus-4.8.5 >> qt4-qmake-4.8.5_= 1 (3/10) =3D=3D=3D> Cleaning for qt4-qmake-4.8.6 =3D=3D=3D> License LGPL21 accepted by the user =3D=3D=3D> qt4-qmake-4.8.6 depends on file: /usr/local/sbin/pkg - found =3D=3D=3D> Fetching all distfiles required by qt4-qmake-4.8.6 for building =3D=3D=3D> Extracting for qt4-qmake-4.8.6 =3D> SHA256 Checksum OK for KDE/qt-everywhere-opensource-src-4.8.6.tar.gz. =3D=3D=3D> Patching for qt4-qmake-4.8.6 =3D=3D=3D> Applying FreeBSD patches for qt4-qmake-4.8.6 =3D=3D=3D> Configuring for qt4-qmake-4.8.6 /bin/mv /usr/ports/devel/qmake4/work/qconfig.cpp /usr/ports/devel/qmake4/w= ork/qt-everywhere-opensource-src-4.8.6/src/corelib/global/qconfig.cpp echo '/* empty */' > /usr/ports/devel/qmake4/work/qt-everywhere-opensource-src-4.8.6/qmake/qco= nfig.h /bin/ln /usr/ports/devel/qmake4/work/qt-everywhere-opensource-src-4.= 8.6/qmake/qconfig.h /usr/ports/devel/qmake4/work/qt-everywhere-opensource-s= rc-4.8.6/src/corelib/global/qconfig.h =3D=3D=3D> Building for qt4-qmake-4.8.6 --- objwarn --- make[1]: make[1]: don't know how to make qmake-qt4.1. Stop make[1]: stopped in /usr/ports/devel/qmake4/work/qt-everywhere-opensource-s= rc-4.8.6/qmake =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/devel/qmake4 =3D=3D=3D>>> make failed for devel/qmake4 =3D=3D=3D>>> Aborting update =3D=3D=3D>>> Update for qt4-qmake-4.8.5_1 failed =3D=3D=3D>>> Aborting update --Sig_/cuawTbgOY0faSho6Bdd1dTp Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQEcBAEBAgAGBQJTaR5IAAoJEOgBcD7A/5N8g0cIAM6XG6wdheq0uvD3wff39KWl Mi8BmmwoJfM+ijtcfGe9h1tyaNToc7MeqR4jqMutVTEa0ZwXhTFREfdhmf66/9Qx 9eMifXrRlv1f+jKM6uznrPTT4G021o8mwBsUzctgTAJlFEbY6s8Bxxy7RqDHoA2s nFeGQ8pEsEG31HDuEMbXeFM8V4rubypHc6kufXVOrUGmsdnHXSDI5doiCrjF7jrd XOOc1mN0c0N1FgEytS7o+PPbLqQ+TkJv4txGJbXN/iKzkGygU5IZiOnHfGXQu4fk pPp6Kq/rHmnppXHgiO+NFXyBdgxtOI88pSILiG3DjD6nY14OHWyOA9oiPF6Fop4= =14C5 -----END PGP SIGNATURE----- --Sig_/cuawTbgOY0faSho6Bdd1dTp--