Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
Date: Mon, 24 Jun 2019 08:50:56
Message-Id: 20190624085048.GB22289@gentoo.org
In Reply to: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix.. by Michael Fothergill
1 Hi Michael,
2
3 First, I think emerging something like chromium pulls in a lot of heavy
4 dependencies, which often haven't received any Prefix attention, or were
5 simply not kept up-to-date. I'm not aware if anyone is using Prefix as
6 their desktop env, I once did so (years ago) but it's tedious at times.
7
8 Now, with that "warning" in mind, it seems that for
9 https://bugs.gentoo.org/647740
10 adding --with-boost="${EPREFIX}"/usr might have the right effect. Did
11 you try modifying the ebuild adding that to myeconfargs?
12
13 It's in your portage tree (probably still in $EPREFIX/usr/portage, more
14 recent location in $EPREFIX/var/lib/repos/gentoo) in
15 net-libs/nghttp2/nghttp2-1.39.1.ebuild.
16
17 Thanks,
18 Fabian
19
20 On 23-06-2019 11:03:44 +0100, Michael Fothergill wrote:
21 > PS
22 >
23 > I have gone and tried to install the chromium browser using gentoo prefix.
24 >
25 > I have run into the bug discussed here:
26 >
27 > https://bugs.gentoo.org/647740
28 >
29 > The package net-libs/nghttp2-1.39.1
30 > fails to compile
31 >
32 > See here
33 > https://forums.gentoo.org/viewtopic-p-8346068.html#8346068
34 >
35 > and the appropriate log file pastes therein.
36 >
37 > I tried adding the local use flag asio to the make.conf file:
38 >
39 > mikef@fart ~ $ !229
40 > more /home/mikef/gentoo/etc/portage/make.conf
41 > # Added by bootstrap-prefix.sh for x86_64-pc-linux-gnu
42 > USE="asio unicode nls icu ssl"
43 > CFLAGS="${CFLAGS} -O2 -pipe"
44 > CXXFLAGS="${CFLAGS}"
45 > MAKEOPTS="-j3"
46 > CONFIG_SHELL="/home/mikef/gentoo/bin/bash"
47 > # sandbox does not work well on Prefix, bug 490246
48 > FEATURES="${FEATURES} -usersandbox -sandbox"
49 >
50 > and ran
51 >
52 > source /home/mikef/gentoo/etc/profile
53 >
54 > to update the system to let it see the new flag.
55 >
56 > I reran emerge chromium and it failed again for the same reason as before.
57 >
58 > Suggestions on a workaround are appreciated.
59 >
60 > Regards
61 >
62 > MF
63 >
64 > PS
65 >
66 > The bug discussion by Gabor Vida says "After debugging the configure
67 > script, I ended up that if configure gets --with-boost=${EPREFIX},
68 > then it properly finds Boost::ASIO, as it can set BOOST_ROOT and
69 > BOOST_LDFLAGS." amongst other things.
70 >
71 > What does this refer to and if it would help where does this script live?
72 >
73 > Can I edit e.g. with emacs and add this extra line somewhere and it
74 > would then fix the problem?
75 >
76 > Comments appreciated.
77 >
78 > Regards
79 >
80 > MF
81 >
82 >
83 >
84 >
85 >
86 >
87 >
88 >
89 >
90 >
91 >
92 >
93 >
94 >
95 >
96 >
97 >
98 >
99 >
100 >
101 >
102 >
103 > On Fri, 21 Jun 2019 at 17:09, Michael Fothergill
104 > <michael.fothergill@×××××.com> wrote:
105 > >
106 > > Dear All,
107 > >
108 > > I notice from looking at a recent post on the debian user list that
109 > > the current versions of the chromium browser available in debian
110 > > stretch and buster are rather old and are missing quite a few security
111 > > updates.
112 > >
113 > > The user was requesting a newer version of chromium be made available
114 > > in debian to solve the problem.
115 > >
116 > > It occurred to me that I could use gentoo prefix to install the latest
117 > > version of chromium from the gentoo repositories.
118 > >
119 > > That ought to be more recent.
120 > >
121 > > If I would do that, would the installed version of chromium be seen by
122 > > the debian OS window manager (e.g. LXDE or GNOME or can you only run
123 > > the browser from inside the gentoo prefix directory after starting it
124 > > up and specifying path to the browser ie something like
125 > > /usr/bin/chromium <return> etc?
126 > >
127 > > What exactly is the offset used by gentoo prefix?
128 > >
129 > > Is it some kind of chroot environment?
130 > >
131 > > What is the correct way to copy files in an out of it from the debian
132 > > OS environment?
133 > >
134 > > Regards
135 > >
136 > > Michael Fothergill
137 >
138
139 --
140 Fabian Groffen
141 Gentoo on a different level

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies