From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6CBC5138334 for ; Mon, 24 Jun 2019 08:50:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 91B79E089F; Mon, 24 Jun 2019 08:50:55 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5A9E0E089F for ; Mon, 24 Jun 2019 08:50:55 +0000 (UTC) Received: from gentoo.org (unknown [IPv6:2001:980:3ff0:64:5054:ff:fe0b:7015]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: grobian) by smtp.gentoo.org (Postfix) with ESMTPSA id 70C0E3468F7 for ; Mon, 24 Jun 2019 08:50:53 +0000 (UTC) Date: Mon, 24 Jun 2019 10:50:48 +0200 From: Fabian Groffen To: gentoo-alt@lists.gentoo.org Subject: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix.. Message-ID: <20190624085048.GB22289@gentoo.org> Mail-Followup-To: gentoo-alt@lists.gentoo.org References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-alt@lists.gentoo.org Reply-to: gentoo-alt@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="H+4ONPRPur6+Ovig" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (SunOS 5.11, VIM - Vi IMproved 8.1) Organization: Gentoo Foundation, Inc. X-Archives-Salt: bae7823e-bed6-44a3-8a6e-a3a78b00f050 X-Archives-Hash: 5434dc05a35946b6b312f76b8646e372 --H+4ONPRPur6+Ovig Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Michael, First, I think emerging something like chromium pulls in a lot of heavy dependencies, which often haven't received any Prefix attention, or were simply not kept up-to-date. I'm not aware if anyone is using Prefix as their desktop env, I once did so (years ago) but it's tedious at times. Now, with that "warning" in mind, it seems that for https://bugs.gentoo.org/647740 adding --with-boost=3D"${EPREFIX}"/usr might have the right effect. Did you try modifying the ebuild adding that to myeconfargs? It's in your portage tree (probably still in $EPREFIX/usr/portage, more recent location in $EPREFIX/var/lib/repos/gentoo) in net-libs/nghttp2/nghttp2-1.39.1.ebuild. Thanks, Fabian On 23-06-2019 11:03:44 +0100, Michael Fothergill wrote: > PS >=20 > I have gone and tried to install the chromium browser using gentoo prefix. >=20 > I have run into the bug discussed here: >=20 > https://bugs.gentoo.org/647740 >=20 > The package net-libs/nghttp2-1.39.1 > fails to compile >=20 > See here > https://forums.gentoo.org/viewtopic-p-8346068.html#8346068 >=20 > and the appropriate log file pastes therein. >=20 > I tried adding the local use flag asio to the make.conf file: >=20 > mikef@fart ~ $ !229 > more /home/mikef/gentoo/etc/portage/make.conf > # Added by bootstrap-prefix.sh for x86_64-pc-linux-gnu > USE=3D"asio unicode nls icu ssl" > CFLAGS=3D"${CFLAGS} -O2 -pipe" > CXXFLAGS=3D"${CFLAGS}" > MAKEOPTS=3D"-j3" > CONFIG_SHELL=3D"/home/mikef/gentoo/bin/bash" > # sandbox does not work well on Prefix, bug 490246 > FEATURES=3D"${FEATURES} -usersandbox -sandbox" >=20 > and ran >=20 > source /home/mikef/gentoo/etc/profile >=20 > to update the system to let it see the new flag. >=20 > I reran emerge chromium and it failed again for the same reason as before. >=20 > Suggestions on a workaround are appreciated. >=20 > Regards >=20 > MF >=20 > PS >=20 > The bug discussion by Gabor Vida says "After debugging the configure > script, I ended up that if configure gets --with-boost=3D${EPREFIX}, > then it properly finds Boost::ASIO, as it can set BOOST_ROOT and > BOOST_LDFLAGS." amongst other things. >=20 > What does this refer to and if it would help where does this script live? >=20 > Can I edit e.g. with emacs and add this extra line somewhere and it > would then fix the problem? >=20 > Comments appreciated. >=20 > Regards >=20 > MF >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > On Fri, 21 Jun 2019 at 17:09, Michael Fothergill > wrote: > > > > Dear All, > > > > I notice from looking at a recent post on the debian user list that > > the current versions of the chromium browser available in debian > > stretch and buster are rather old and are missing quite a few security > > updates. > > > > The user was requesting a newer version of chromium be made available > > in debian to solve the problem. > > > > It occurred to me that I could use gentoo prefix to install the latest > > version of chromium from the gentoo repositories. > > > > That ought to be more recent. > > > > If I would do that, would the installed version of chromium be seen by > > the debian OS window manager (e.g. LXDE or GNOME or can you only run > > the browser from inside the gentoo prefix directory after starting it > > up and specifying path to the browser ie something like > > /usr/bin/chromium etc? > > > > What exactly is the offset used by gentoo prefix? > > > > Is it some kind of chroot environment? > > > > What is the correct way to copy files in an out of it from the debian > > OS environment? > > > > Regards > > > > Michael Fothergill >=20 --=20 Fabian Groffen Gentoo on a different level --H+4ONPRPur6+Ovig Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEELUvHd/Gtp7LaU1vuzpXahU5EQpMFAl0QjugACgkQzpXahU5E QpNYvwf/dVFUFb+tVxY3rOMVStPDyjA/Xsf3A8JFoC50HUHueJu9n775HANmsQxQ fok1uifldEwHlm0twDIn7bMYrvda9dGdBBFhokagAMCxRH68P+WMM3eFBl2Zs+Hb Uu4UEpTcrVRBv7XSLbnSgjoNAKcbLCi5yOwHGIRC3lLXWO9+MTBI34UCHcH/CnMm dtjXmtPZLgxoWn4C08D/Db6uiAXYEXzmN3yWmdQFUOqdsDraHqwnhKATld74Xtd5 0vXoFIM+UXTwukYXCe6QIi+op02f/eTCLh9V7eCBKHBIObPCblWGtZLSuLOF8ZjM bwJQ8YTBnHQVXLxd/HqplaYIdyMvnQ== =iosJ -----END PGP SIGNATURE----- --H+4ONPRPur6+Ovig--