Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Dec 2016 10:11:23 +0200
From:      clutton <clutton@zoho.com>
To:        freebsd-chromium@freebsd.org
Cc:        cpm <cpm@FreeBSD.org>
Subject:   Re: [package - head-amd64-default][www/chromium] Failed for  chromium-54.0.2840.100_1 in build
Message-ID:  <1481530283.1473.8.camel@zoho.com>
In-Reply-To: <201612102203.uBAM3Sok017799@slippy.cwsent.com>
References:  <201612102203.uBAM3Sok017799@slippy.cwsent.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-HKfiz57L3OQ9sXb06ESQ
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Sat, 2016-12-10 at 14:03 -0800, Cy Schubert wrote:
> The hackish patch to address this and a subsequent break is:
>=20
> Index: /usr/ports/www/chromium/Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- /usr/ports/www/chromium/Makefile=C2=A0=C2=A0=C2=A0=C2=A0(revision 428=
271)
> +++ /usr/ports/www/chromium/Makefile=C2=A0=C2=A0=C2=A0=C2=A0(working copy=
)
> @@ -16,6 +16,10 @@
> =C2=A0
> =C2=A0BROKEN_FreeBSD_9=3Ddoes not configure
> =C2=A0
> +CC=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0/usr/local/bin/clang38
> +CXX=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
/usr/local/bin/clang++38=C2=A0
> +CPP=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
/usr/local/bin/clang-cpp38
> +
> =C2=A0BUILD_DEPENDS=3D=C2=A0${LOCALBASE}/bin/gperf:devel/gperf \
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0bash:shells/bash \
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0python:lang/python \
> Index: /usr/ports/www/chromium/files/patch-services_ui_ws_BUILD.gn
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- /usr/ports/www/chromium/files/patch-
> services_ui_ws_BUILD.gn=C2=A0(revision=C2=A0
> 428271)
> +++ /usr/ports/www/chromium/files/patch-services_ui_ws_BUILD.gn=C2=A0
> (nonexistent)
> @@ -1,14 +0,0 @@
> ---- services/ui/ws/BUILD.gn.orig=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A02016-10-06 04:02:24.000000000
> +0300
> -+++ services/ui/ws/BUILD.gn=C2=A0=C2=A0=C2=A0=C2=A02016-10-19 11:13:25.1=
02806000 +0300
> -@@ -103,6 +103,11 @@
> -=C2=A0=C2=A0=C2=A0=C2=A0 "window_tree_host_factory.h",
> -=C2=A0=C2=A0 ]
> -=C2=A0
> -+=C2=A0 # Work around base r261801
> -+=C2=A0 if (is_bsd) {
> -+=C2=A0=C2=A0=C2=A0 defines =3D ["_LIBCPP_TRIVIAL_PAIR_COPY_CTOR=3D1"]
> -+=C2=A0 }
> -+
> -=C2=A0=C2=A0 deps =3D [
> -=C2=A0=C2=A0=C2=A0=C2=A0 # TODO(sad): Temporary, until the GPU process i=
s split out of
> ws.
> -=C2=A0=C2=A0=C2=A0=C2=A0 "//services/ui/gpu",

I hardcoded CC, CXX. This was done intentionally, chromium build system
assume that you don't take things from environment. May be better way
to do something with REPLACE_CMD in Makefile...??? Feel free to hack.

Also with recent CURRENT updates, we don't need that define, although
we need it for other supported bsd's < CURRENT. Can you look how we
applied the patch for < FreeBSD 10 and do this one in similar manner?
May be using devel/libc++ for everything < CURRENT and removing this
patch for all BSD's?

Then and only then, post merge request to github, or create a bug in
usual way.
--=-HKfiz57L3OQ9sXb06ESQ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEJS/zE0mE1p2+tYanfbA/jbLI/pAFAlhOW6wACgkQfbA/jbLI
/pCv9BAAmDExKWGom7+gjnZpkDoTCxOxBToCGfFsKxz8lqXy6M7KlWOfMHfKr+lH
nWjLuu9DrS3Or0ZYsTfz81brVfpYyQSSQLg29u/0arPvmC/zMSQ6svV9h4afUhZv
wZjcu1u+9m0ZUCmQM6rZO/7lrdVgbkgreW8FdbWusiNX4u7NkbaeWkvvydFKnFBN
wRAiVJraQlebD3d+Io+hwI5KrU8il6LXq78+uSRKfF7ZRJq6Jj9QBtssmjD+vlFm
oUKBrqsIz/lHKAop/wPguGgbdZC4v/z+/zX2Ae7hgx5bQpTiej55QivW414yydha
ZxL5dWHkEI28BOEah/+wYjvSER+RpW0FXPaS1r2/qW+sWNUBHo2j7b5ig6KcRvhR
WqoxmujalT6koo230XONzQHHirMCeHVn6jphARjvI0oqL0yvalhP3KYoVlUMm7bM
TcZNghXYltedg59MSwJg2OmlSzzLOcfhn/NXsGLyLJLpOXteoqYfX+r9SaE4RPB4
1TzBg4o0d4aU5112n0mhwI49Ca6vBFHewym3ZUIF2b858SA/GAe4gTBddfA20LUk
5ciNbAP0iXnbREFDGaqarFxBFVtmRADwsgRqU65QWuPvqRZbilk8R8WdO64lfW1k
vvuKRbyX8YRHq146MfGKm7M76IhKObuyePjESvCLGK/OBVklRV4=
=Lnsd
-----END PGP SIGNATURE-----

--=-HKfiz57L3OQ9sXb06ESQ--





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1481530283.1473.8.camel>