public inbox for gentoo-alt@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-alt] simple question about installing chromium browser for use in debian OS using gentoo prefix..
@ 2019-06-21 16:09 Michael Fothergill
  2019-06-23 10:03 ` [gentoo-alt] " Michael Fothergill
  0 siblings, 1 reply; 54+ messages in thread
From: Michael Fothergill @ 2019-06-21 16:09 UTC (permalink / raw
  To: gentoo-alt

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 <return> 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


^ permalink raw reply	[flat|nested] 54+ messages in thread

* [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-21 16:09 [gentoo-alt] simple question about installing chromium browser for use in debian OS using gentoo prefix Michael Fothergill
@ 2019-06-23 10:03 ` Michael Fothergill
  2019-06-24  8:50   ` Fabian Groffen
  0 siblings, 1 reply; 54+ messages in thread
From: Michael Fothergill @ 2019-06-23 10:03 UTC (permalink / raw
  To: gentoo-alt

PS

I have gone and tried to install the chromium browser using gentoo prefix.

I have run into the bug discussed here:

https://bugs.gentoo.org/647740

The package net-libs/nghttp2-1.39.1
fails to compile

See here
https://forums.gentoo.org/viewtopic-p-8346068.html#8346068

and the appropriate log file pastes therein.

I tried adding the local use flag asio to the make.conf file:

mikef@fart ~ $ !229
more /home/mikef/gentoo/etc/portage/make.conf
# Added by bootstrap-prefix.sh for x86_64-pc-linux-gnu
USE="asio unicode nls icu ssl"
CFLAGS="${CFLAGS} -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
CONFIG_SHELL="/home/mikef/gentoo/bin/bash"
# sandbox does not work well on Prefix, bug 490246
FEATURES="${FEATURES} -usersandbox -sandbox"

and ran

source /home/mikef/gentoo/etc/profile

to update the system to let it see the new flag.

I reran emerge chromium and it failed again for the same reason as before.

Suggestions on a workaround are appreciated.

Regards

MF

PS

The bug discussion by Gabor Vida says "After debugging the configure
script, I ended up that if configure gets --with-boost=${EPREFIX},
then it properly finds Boost::ASIO, as it can set BOOST_ROOT and
BOOST_LDFLAGS." amongst other things.

What does this refer to and if it would help where does this script live?

Can I edit e.g. with emacs and add this extra line somewhere and it
would then fix the problem?

Comments appreciated.

Regards

MF






















On Fri, 21 Jun 2019 at 17:09, Michael Fothergill
<michael.fothergill@gmail.com> 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 <return> 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


^ permalink raw reply	[flat|nested] 54+ messages in thread

* [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-23 10:03 ` [gentoo-alt] " Michael Fothergill
@ 2019-06-24  8:50   ` Fabian Groffen
  2019-06-24 10:44     ` Michael Fothergill
  0 siblings, 1 reply; 54+ messages in thread
From: Fabian Groffen @ 2019-06-24  8:50 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 3752 bytes --]

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="${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
> 
> I have gone and tried to install the chromium browser using gentoo prefix.
> 
> I have run into the bug discussed here:
> 
> https://bugs.gentoo.org/647740
> 
> The package net-libs/nghttp2-1.39.1
> fails to compile
> 
> See here
> https://forums.gentoo.org/viewtopic-p-8346068.html#8346068
> 
> and the appropriate log file pastes therein.
> 
> I tried adding the local use flag asio to the make.conf file:
> 
> mikef@fart ~ $ !229
> more /home/mikef/gentoo/etc/portage/make.conf
> # Added by bootstrap-prefix.sh for x86_64-pc-linux-gnu
> USE="asio unicode nls icu ssl"
> CFLAGS="${CFLAGS} -O2 -pipe"
> CXXFLAGS="${CFLAGS}"
> MAKEOPTS="-j3"
> CONFIG_SHELL="/home/mikef/gentoo/bin/bash"
> # sandbox does not work well on Prefix, bug 490246
> FEATURES="${FEATURES} -usersandbox -sandbox"
> 
> and ran
> 
> source /home/mikef/gentoo/etc/profile
> 
> to update the system to let it see the new flag.
> 
> I reran emerge chromium and it failed again for the same reason as before.
> 
> Suggestions on a workaround are appreciated.
> 
> Regards
> 
> MF
> 
> PS
> 
> The bug discussion by Gabor Vida says "After debugging the configure
> script, I ended up that if configure gets --with-boost=${EPREFIX},
> then it properly finds Boost::ASIO, as it can set BOOST_ROOT and
> BOOST_LDFLAGS." amongst other things.
> 
> What does this refer to and if it would help where does this script live?
> 
> Can I edit e.g. with emacs and add this extra line somewhere and it
> would then fix the problem?
> 
> Comments appreciated.
> 
> Regards
> 
> MF
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> On Fri, 21 Jun 2019 at 17:09, Michael Fothergill
> <michael.fothergill@gmail.com> 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 <return> 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
> 

-- 
Fabian Groffen
Gentoo on a different level

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-24  8:50   ` Fabian Groffen
@ 2019-06-24 10:44     ` Michael Fothergill
  2019-06-25 13:05       ` Michael Fothergill
  2020-05-13  0:34       ` Benda Xu
  0 siblings, 2 replies; 54+ messages in thread
From: Michael Fothergill @ 2019-06-24 10:44 UTC (permalink / raw
  To: gentoo-alt

Many thanks for the reply.

I went in the $EPREFIX/var/lib/repos/gentoo directory to look for the
nghttp2 ebuild......

The ebuild lives here on my machine:

mikef@fart:~/gentoo/usr/portage/net-libs/nghttp2

I found the nghttp2-1.39.1.ebuild file.

Toward the end of the file there is a bit of code with the myeconfargs
variable (or whatever it is) present in it:

multilib_src_configure() {
        local myeconfargs=(
                --disable-examples
                --disable-failmalloc
                --disable-python-bindings
                --disable-werror
                --without-cython
                $(use_enable cxx asio-lib)
                $(use_enable debug)
                $(multilib_native_use_enable hpack-tools)
                $(use_enable static-libs static)
                $(use_enable threads)
                $(multilib_native_use_enable utils app)
                $(multilib_native_use_with jemalloc)
                $(multilib_native_use_with xml libxml2)
        )
        ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
}

multilib_src_install_all() {
        if ! use static-libs ; then
                find "${ED}"/usr -name '*.la' -delete || die
        fi
}
mikef@fart:~/gentoo/usr/portage/net-libs/nghttp2$

***************************************
Presumably if I would edit this file with e.g. emacs then I could add
--with-boost="${EPREFIX}"/usr

to the file after the two instances of myeconfargs (or do I only do it
once in the ECONF_SOURCE line?).....

Also would I add --with-boost="${EPREFIX}"/usr OR
--with-boost=/home/mikef/gentoo/usr
ie the actual path on my machine here?

I did not realise the ebuilds were editable files that lived in
directories in the install itself.
I thought portage used them for the compilations but they were off
limits to users like me and only assembled
by developers and converted to a form that was not easily accessible etc.....


If this succeeds and chromium compiles, could I use the make.conf file
video card entries etc from my conventional
gentoo install I have here on this machine to modify the gentoo prefix
make.conf file to allow me to emerge and
install xorg-server ie  x11-base/xorg-server in gentoo prefix and then
run startx etc?

I would then  install i3 and dmenu etc and then run chromium.......

I think this is better than using e.g. bedrock linux etc.  Gentoo and
debian are both good.  If you combine them
then that would be useful I think.

Comments appreciated.

Regards

MF




On Mon, 24 Jun 2019 at 09:50, Fabian Groffen <grobian@gentoo.org> wrote:
>
> 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="${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
> >


^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-24 10:44     ` Michael Fothergill
@ 2019-06-25 13:05       ` Michael Fothergill
  2019-06-25 13:17         ` Fabian Groffen
  2020-05-13  0:34       ` Benda Xu
  1 sibling, 1 reply; 54+ messages in thread
From: Michael Fothergill @ 2019-06-25 13:05 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 1698 bytes --]

I took edited the ebuild file for the nghttp2 package as follows:

multilib_src_configure() {
        local myeconfargs=(
                --disable-examples
                --disable-failmalloc
                --disable-python-bindings
                --disable-werror
                --without-cython
                 --with-boost=/home/mikef/gentoo/usr
                $(use_enable cxx asio-lib)
                $(use_enable debug)
                $(multilib_native_use_enable hpack-tools)
                $(use_enable static-libs static)
                $(use_enable threads)
                $(multilib_native_use_enable utils app)
                $(multilib_native_use_with jemalloc)
                $(multilib_native_use_with xml libxml2)
        )
        ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
}

I added an extra line (shown in red) to the ebuild in the myeconfargs flag
setup list or whatever it is called.

I then tried running emerge again but it failed as follows:



mikef@fart ~/gentoo/usr/portage/net-libs/nghttp2 $ !295
emerge net-libs/nghttp2
Calculating dependencies \ * Digest verification failed:
 * /home/mikef/gentoo/usr/portage/net-libs/nghttp2/nghttp2-1.39.1.ebuild
 * Reason: Filesize does not match recorded size
 * Got: 2005
 * Expected: 1966
... done!

>>> Verifying ebuild manifests

!!! Digest verification failed:
!!! /home/mikef/gentoo/usr/portage/net-libs/nghttp2/nghttp2-1.39.1.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 2005
!!! Expected: 1966
mikef@fart ~/gentoo/usr/portage/net-libs/nghttp2 $

***************************************

It didn't like the change made to the ebuild file it seems.

Comments appreciated.

Regards

MF

[-- Attachment #2: Type: text/html, Size: 2805 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-25 13:05       ` Michael Fothergill
@ 2019-06-25 13:17         ` Fabian Groffen
  2019-06-25 13:39           ` Michael Fothergill
  0 siblings, 1 reply; 54+ messages in thread
From: Fabian Groffen @ 2019-06-25 13:17 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 2257 bytes --]

Hi Mike,

Run:
ebuild nghttp2-1.39.1.ebuild digest

that would fix it

Fabian

On 25-06-2019 14:05:13 +0100, Michael Fothergill wrote:
> I took edited the ebuild file for the nghttp2 package as follows:
> 
> multilib_src_configure() {
>         local myeconfargs=(
>                 --disable-examples
>                 --disable-failmalloc
>                 --disable-python-bindings
>                 --disable-werror
>                 --without-cython
>                  --with-boost=/home/mikef/gentoo/usr
>                 $(use_enable cxx asio-lib)
>                 $(use_enable debug)
>                 $(multilib_native_use_enable hpack-tools)
>                 $(use_enable static-libs static)
>                 $(use_enable threads)
>                 $(multilib_native_use_enable utils app)
>                 $(multilib_native_use_with jemalloc)
>                 $(multilib_native_use_with xml libxml2)
>         )
>         ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
> 
> }
> 
> I added an extra line (shown in red) to the ebuild in the myeconfargs flag setup
> list or whatever it is called.
> 
> I then tried running emerge again but it failed as follows:
> 
> mikef@fart ~/gentoo/usr/portage/net-libs/nghttp2 $ !295
> emerge net-libs/nghttp2
> Calculating dependencies \ * Digest verification failed:
>  * /home/mikef/gentoo/usr/portage/net-libs/nghttp2/nghttp2-1.39.1.ebuild
>  * Reason: Filesize does not match recorded size
>  * Got: 2005
>  * Expected: 1966
> ... done!
> 
> >>> Verifying ebuild manifests
> 
> !!! Digest verification failed:
> !!! /home/mikef/gentoo/usr/portage/net-libs/nghttp2/nghttp2-1.39.1.ebuild
> !!! Reason: Filesize does not match recorded size
> !!! Got: 2005
> !!! Expected: 1966
> mikef@fart ~/gentoo/usr/portage/net-libs/nghttp2 $
> 
> ***************************************
> 
> It didn't like the change made to the ebuild file it seems.
> 
> Comments appreciated.
> 
> Regards
> 
> MF
> 
> 
> read_char: errno==EILSEQ; invalid byte sequence for UTF-8: 
-- 
Fabian Groffen
Gentoo on a different level

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-25 13:17         ` Fabian Groffen
@ 2019-06-25 13:39           ` Michael Fothergill
  2019-06-25 16:37             ` Michael Fothergill
  0 siblings, 1 reply; 54+ messages in thread
From: Michael Fothergill @ 2019-06-25 13:39 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 310 bytes --]

Many thanks for the response.

I tried it and it worked.

nghttp2 has compiled.

I am going to try to emerge chromium now.

Regards

MF

On Tue, 25 Jun 2019 at 14:18, Fabian Groffen <grobian@gentoo.org> wrote:

> Hi Mike,
>
> Run:
> ebuild nghttp2-1.39.1.ebuild digest
>
> that would fix it
>
> Fabian
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 1283 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-25 13:39           ` Michael Fothergill
@ 2019-06-25 16:37             ` Michael Fothergill
  2019-06-25 17:52               ` Fabian Groffen
  0 siblings, 1 reply; 54+ messages in thread
From: Michael Fothergill @ 2019-06-25 16:37 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 536 bytes --]

MAny thanks again.

node js 9999999 has compiled and now chromium is slowly compiling.

I should have turned on the jumbo-build flag..........

I have a conventional gentoo install on this machine alongside
debian/gentoo prefix.

If I would take e.g. the video card settings etc from the make.conf from
the ordinary gentoo install and put them in
the gentoo prefix make.conf would that help me configure xorg-server to
work properly when I come to emerge it?

Suggestions on the way forward here are welcome.

Regards

MF











>>

[-- Attachment #2: Type: text/html, Size: 2469 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-25 16:37             ` Michael Fothergill
@ 2019-06-25 17:52               ` Fabian Groffen
  2019-06-26  1:37                 ` Sam Pfeiffer
  0 siblings, 1 reply; 54+ messages in thread
From: Fabian Groffen @ 2019-06-25 17:52 UTC (permalink / raw
  To: Michael Fothergill; +Cc: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 935 bytes --]

On 25-06-2019 17:37:16 +0100, Michael Fothergill wrote:
> MAny thanks again.
> 
> node js 9999999 has compiled and now chromium is slowly compiling.
> 
> I should have turned on the jumbo-build flag..........
> 
> I have a conventional gentoo install on this machine alongside debian/gentoo
> prefix.
> 
> If I would take e.g. the video card settings etc from the make.conf from the
> ordinary gentoo install and put them in
> 
> the gentoo prefix make.conf would that help me configure xorg-server to work
> properly when I come to emerge it?

You can try this, I don't know how much will work (videocards and stuff
sounds like things which won't work unprivileged).

> Suggestions on the way forward here are welcome.

Try it, see where you hit problems.

Fabian
> 
> Regards
> 
> MF
> 
> 
> read_char: errno==EILSEQ; invalid byte sequence for UTF-8: 
-- 
Fabian Groffen
Gentoo on a different level

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-25 17:52               ` Fabian Groffen
@ 2019-06-26  1:37                 ` Sam Pfeiffer
  2019-06-26  9:40                   ` Michael Fothergill
  0 siblings, 1 reply; 54+ messages in thread
From: Sam Pfeiffer @ 2019-06-26  1:37 UTC (permalink / raw
  To: gentoo-alt, Michael Fothergill

[-- Attachment #1: Type: text/plain, Size: 1183 bytes --]

In my experience graphics stuff can work on Prefix. At least without
drivers on the way... I've used the 3D graphics visualizer Rviz from my
prefix.

On Wed, Jun 26, 2019, 03:53 Fabian Groffen <grobian@gentoo.org wrote:

> On 25-06-2019 17:37:16 +0100, Michael Fothergill wrote:
> > MAny thanks again.
> >
> > node js 9999999 has compiled and now chromium is slowly compiling.
> >
> > I should have turned on the jumbo-build flag..........
> >
> > I have a conventional gentoo install on this machine alongside
> debian/gentoo
> > prefix.
> >
> > If I would take e.g. the video card settings etc from the make.conf from
> the
> > ordinary gentoo install and put them in
> >
> > the gentoo prefix make.conf would that help me configure xorg-server to
> work
> > properly when I come to emerge it?
>
> You can try this, I don't know how much will work (videocards and stuff
> sounds like things which won't work unprivileged).
>
> > Suggestions on the way forward here are welcome.
>
> Try it, see where you hit problems.
>
> Fabian
> >
> > Regards
> >
> > MF
> >
> >
> > read_char: errno==EILSEQ; invalid byte sequence for UTF-8:
> --
> Fabian Groffen
> Gentoo on a different level
>

[-- Attachment #2: Type: text/html, Size: 1608 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-26  1:37                 ` Sam Pfeiffer
@ 2019-06-26  9:40                   ` Michael Fothergill
  2019-06-26 10:07                     ` Michael Fothergill
  2019-06-26 13:53                     ` Fabian Groffen
  0 siblings, 2 replies; 54+ messages in thread
From: Michael Fothergill @ 2019-06-26  9:40 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 3188 bytes --]

Many thanks for the suggestions and advice again.

Chromium has emerged and has been installed.

I added the video card and input device entries to the gentoo prefix
make.conf file.

I ran the source and env updates.

Then I emerged x11-base/xorg-server.

It chuntered away through 15 of the 23 packages grumbling about there being
no kernel in /usr/src/linux which I ignored.


It then failed trying to emerge the input device package dev-libs/input:

* Messages for package dev-libs/libinput-1.13.2:

 * ERROR: dev-libs/libinput-1.13.2::gentoo failed:
 *   Aborting due to QA concerns: there are files installed outside the
prefix
 *
 * Call stack:
 *   misc-functions.sh, line 586:  Called install_qa_check
 *   misc-functions.sh, line 132:  Called source 'install_symlink_html_docs'
 *            05prefix, line 114:  Called install_qa_check_prefix
 *            05prefix, line  27:  Called die
 * The specific snippet of code:
 *                      die "Aborting due to QA concerns: there are files
installed outside the prefix"
 *
 * If you need support, post the output of `emerge --info
'=dev-libs/libinput-1.13.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv
'=dev-libs/libinput-1.13.2::gentoo'`.
 * The complete build log is located at
'/home/mikef/gentoo/var/tmp/portage/dev-libs/libinput-1.13.2/temp/build.log'.
 * The ebuild environment file is located at
'/home/mikef/gentoo/var/tmp/portage/dev-libs/libinput-1.13.2/temp/environment'.
 * Working directory:
'/home/mikef/gentoo/var/tmp/portage/dev-libs/libinput-1.13.2/image/home/mikef/gentoo'
 * S:
'/home/mikef/gentoo/var/tmp/portage/dev-libs/libinput-1.13.2/work/libinput-1.13.2'

 * GNU info directory index is up-to-date.
mikef@fart ~/gentoo/etc/portage $ ^C
mikef@fart ~/gentoo/etc/portage $

************************

Suggestions on a cure here would be appreciated.

Regards

MF




On Wed, 26 Jun 2019 at 02:37, Sam Pfeiffer <sammypfeiffer@gmail.com> wrote:

> In my experience graphics stuff can work on Prefix. At least without
> drivers on the way... I've used the 3D graphics visualizer Rviz from my
> prefix.
>
> On Wed, Jun 26, 2019, 03:53 Fabian Groffen <grobian@gentoo.org wrote:
>
>> On 25-06-2019 17:37:16 +0100, Michael Fothergill wrote:
>> > MAny thanks again.
>> >
>> > node js 9999999 has compiled and now chromium is slowly compiling.
>> >
>> > I should have turned on the jumbo-build flag..........
>> >
>> > I have a conventional gentoo install on this machine alongside
>> debian/gentoo
>> > prefix.
>> >
>> > If I would take e.g. the video card settings etc from the make.conf
>> from the
>> > ordinary gentoo install and put them in
>> >
>> > the gentoo prefix make.conf would that help me configure xorg-server to
>> work
>> > properly when I come to emerge it?
>>
>> You can try this, I don't know how much will work (videocards and stuff
>> sounds like things which won't work unprivileged).
>>
>> > Suggestions on the way forward here are welcome.
>>
>> Try it, see where you hit problems.
>>
>> Fabian
>> >
>> > Regards
>> >
>> > MF
>> >
>> >
>> > read_char: errno==EILSEQ; invalid byte sequence for UTF-8:
>> --
>> Fabian Groffen
>> Gentoo on a different level
>>
>

[-- Attachment #2: Type: text/html, Size: 5687 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-26  9:40                   ` Michael Fothergill
@ 2019-06-26 10:07                     ` Michael Fothergill
  2019-06-26 13:49                       ` Michael Fothergill
  2019-06-26 13:53                     ` Fabian Groffen
  1 sibling, 1 reply; 54+ messages in thread
From: Michael Fothergill @ 2019-06-26 10:07 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 1192 bytes --]

I ran the emerge command again adding the exclude option for
dev-libs/libinput:

mikef@fart ~/gentoo/etc/portage $ emerge --autounmask-write
--exclude=dev-libs/libinput x11-base/xorg-server
Calculating dependencies... done!

!!! All ebuilds that could satisfy ">=dev-libs/libinput-1.5.0:0=" have been
masked.
!!! One of the following masked packages is required to complete your
request:
- dev-libs/libinput-1.13.2::gentoo (masked by: exclude option)
- dev-libs/libinput-1.13.1::gentoo (masked by: exclude option)
- dev-libs/libinput-1.12.6::gentoo (masked by: exclude option)

(dependency required by "x11-drivers/xf86-input-libinput-0.28.2::gentoo"
[ebuild])
(dependency required by
"x11-base/xorg-drivers-9999::gentoo[input_devices_libinput]" [ebuild])
(dependency required by "x11-base/xorg-server-1.20.5::gentoo[xorg]"
[ebuild])
(dependency required by "x11-drivers/xf86-input-synaptics-1.9.1::gentoo"
[ebuild])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

mikef@fart ~/gentoo/etc/portage $

************************************************8

It won't emerge xorg without first installing dev-libs/libinput.

Regards

MF

[-- Attachment #2: Type: text/html, Size: 2266 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-26 10:07                     ` Michael Fothergill
@ 2019-06-26 13:49                       ` Michael Fothergill
  0 siblings, 0 replies; 54+ messages in thread
From: Michael Fothergill @ 2019-06-26 13:49 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 271 bytes --]

Dear All,

If there is no way to fix the input device compilation problem, the next
step
is to try bedrock linux, a meta distribution specifically designed to allow
more than
one linux distro to be combined and run together in a set of layers.

Regards

MF


>
>
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 1376 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-26  9:40                   ` Michael Fothergill
  2019-06-26 10:07                     ` Michael Fothergill
@ 2019-06-26 13:53                     ` Fabian Groffen
  2019-06-26 14:39                       ` Michael Fothergill
  1 sibling, 1 reply; 54+ messages in thread
From: Fabian Groffen @ 2019-06-26 13:53 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 4092 bytes --]

On 26-06-2019 10:40:49 +0100, Michael Fothergill wrote:
> Many thanks for the suggestions and advice again.
> 
> Chromium has emerged and has been installed.
> 
> I added the video card and input device entries to the gentoo prefix make.conf
> file.
> 
> I ran the source and env updates.
> 
> Then I emerged x11-base/xorg-server.
> 
> It chuntered away through 15 of the 23 packages grumbling about there being no
> kernel in /usr/src/linux which I ignored.
> 
> It then failed trying to emerge the input device package dev-libs/input:
> 
> * Messages for package dev-libs/libinput-1.13.2:
> 
>  * ERROR: dev-libs/libinput-1.13.2::gentoo failed:
>  *   Aborting due to QA concerns: there are files installed outside the prefix

It would help if we'd know which files are installed out of the prefix.

Since this package uses meson.ebuild, it seems this one may not be aware
of Prefix.  In particular, my guess meson.eclass should use
"${EPREFIX}/$(get_libdir)" in it's mesonargs in meson_src_configure.

Fabian

>  *
>  * Call stack:
>  *   misc-functions.sh, line 586:  Called install_qa_check
>  *   misc-functions.sh, line 132:  Called source 'install_symlink_html_docs'
>  *            05prefix, line 114:  Called install_qa_check_prefix
>  *            05prefix, line  27:  Called die
>  * The specific snippet of code:
>  *                      die "Aborting due to QA concerns: there are files
> installed outside the prefix"
>  *
>  * If you need support, post the output of `emerge --info
> '=dev-libs/libinput-1.13.2::gentoo'`,
>  * the complete build log and the output of `emerge -pqv
> '=dev-libs/libinput-1.13.2::gentoo'`.
>  * The complete build log is located at
> '/home/mikef/gentoo/var/tmp/portage/dev-libs/libinput-1.13.2/temp/build.log'.
>  * The ebuild environment file is located at
> '/home/mikef/gentoo/var/tmp/portage/dev-libs/libinput-1.13.2/temp/environment'.
>  * Working directory:
> '/home/mikef/gentoo/var/tmp/portage/dev-libs/libinput-1.13.2/image/home/mikef/gentoo'
>  * S:
> '/home/mikef/gentoo/var/tmp/portage/dev-libs/libinput-1.13.2/work/libinput-1.13.2'
> 
>  * GNU info directory index is up-to-date.
> mikef@fart ~/gentoo/etc/portage $ ^C
> mikef@fart ~/gentoo/etc/portage $ 
> 
> ************************
> 
> Suggestions on a cure here would be appreciated.
> 
> Regards
> 
> MF
> 
> On Wed, 26 Jun 2019 at 02:37, Sam Pfeiffer <[1]sammypfeiffer@gmail.com> wrote:
> 
> > In my experience graphics stuff can work on Prefix. At least without drivers
> > on the way... I've used the 3D graphics visualizer Rviz from my prefix.
> 
> > On Wed, Jun 26, 2019, 03:53 Fabian Groffen <[2]grobian@gentoo.org wrote:
> 
> >> On 25-06-2019 17:37:16 +0100, Michael Fothergill wrote:
> >> > MAny thanks again.
> >> >
> >> > node js 9999999 has compiled and now chromium is slowly compiling.
> >> >
> >> > I should have turned on the jumbo-build flag..........
> >> >
> >> > I have a conventional gentoo install on this machine alongside
> >> debian/gentoo
> >> > prefix.
> >> >
> >> > If I would take e.g. the video card settings etc from the make.conf from
> >> the
> >> > ordinary gentoo install and put them in
> >> >
> >> > the gentoo prefix make.conf would that help me configure xorg-server to
> >> work
> >> > properly when I come to emerge it?
> 
> >> You can try this, I don't know how much will work (videocards and stuff
> >> sounds like things which won't work unprivileged).
> 
> >> > Suggestions on the way forward here are welcome.
> 
> >> Try it, see where you hit problems.
> 
> >> Fabian
> >> >
> >> > Regards
> >> >
> >> > MF
> >> >
> >> >
> >> > read_char: errno==EILSEQ; invalid byte sequence for UTF-8:
> >> --
> >> Fabian Groffen
> >> Gentoo on a different level
> 
> 
> 
>  References:
>    1. mailto:sammypfeiffer@gmail.com
>    2. mailto:grobian@gentoo.org
> 
> read_char: errno==EILSEQ; invalid byte sequence for UTF-8: 
-- 
Fabian Groffen
Gentoo on a different level

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-26 13:53                     ` Fabian Groffen
@ 2019-06-26 14:39                       ` Michael Fothergill
  2019-06-26 14:43                         ` Michael Fothergill
  0 siblings, 1 reply; 54+ messages in thread
From: Michael Fothergill @ 2019-06-26 14:39 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 600 bytes --]

Many thanks for the advice again.

I ran emerge dev-libs/libinput again.

The output of

emerge --info '=dev-libs/libinput-1.13.2::gentoo'

is here:

http://dpaste.com/2P3MT0E

and

mikef@fart:~/gentoo$ emerge -pqv '=dev-libs/libinput-1.13.2::gentoo'

returns:

[ebuild  N    ] dev-libs/libinput-1.13.2  USE="-doc" INPUT_DEVICES="-wacom"

The build.log file is here:

http://dpaste.com/2276D8K

The environment file is here:


http://dpaste.com/1XYP48H


I am not sure if there is a command I can run to tell me which packages are
needed to build a given package.

Comments appreciated.

Regards

MF

[-- Attachment #2: Type: text/html, Size: 2875 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-26 14:39                       ` Michael Fothergill
@ 2019-06-26 14:43                         ` Michael Fothergill
  2019-06-26 14:50                           ` Sam Pfeiffer
  2019-06-26 18:40                           ` Fabian Groffen
  0 siblings, 2 replies; 54+ messages in thread
From: Michael Fothergill @ 2019-06-26 14:43 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 468 bytes --]

PS

The build log file has this piece in it just before the crash occurs:


33;01m* [0m QA Notice: the following files are outside of the prefix:
[33;01m* [0m /lib  [33;01m* [0m /lib/udev  [33;01m* [0m
/lib/udev/libinput-model-quirks  [33;01m* [0m
/lib/udev/libinput-device-group  [33;01m* [0m /lib/udev/rules.d
[33;01m* [0m /lib/udev/rules.d/80-libinput-device-groups.rules
[33;01m* [0m /lib/udev/rules.d/90-libinput-model-quirks.rules

Is that helpful?

Regards

MF

[-- Attachment #2: Type: text/html, Size: 1091 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-26 14:43                         ` Michael Fothergill
@ 2019-06-26 14:50                           ` Sam Pfeiffer
  2019-06-26 18:40                           ` Fabian Groffen
  1 sibling, 0 replies; 54+ messages in thread
From: Sam Pfeiffer @ 2019-06-26 14:50 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 1128 bytes --]

I think I added for stuff that wanted libinput just (in this case for qt):

(My EPREFIX is /tmp/gentoo)

echo "dev-qt/qtgui -libinput" >> /tmp/gentoo/etc/portage/package.use

And I could emerge stuff that way.

I also needed to do:

mkdir -p /tmp/gentoo/etc/portage/profile && \
echo "sys-fs/udev-init-scripts-32" >>
/tmp/gentoo/etc/portage/profile/package.provided

as reported in this issue: https://bugs.gentoo.org/649808



On Thu, Jun 27, 2019 at 12:43 AM Michael Fothergill <
michael.fothergill@gmail.com> wrote:

> PS
>
> The build log file has this piece in it just before the crash occurs:
>
>
> 33;01m* [0m QA Notice: the following files are outside of the prefix:  [33;01m* [0m /lib  [33;01m* [0m /lib/udev  [33;01m* [0m /lib/udev/libinput-model-quirks  [33;01m* [0m /lib/udev/libinput-device-group  [33;01m* [0m /lib/udev/rules.d  [33;01m* [0m /lib/udev/rules.d/80-libinput-device-groups.rules  [33;01m* [0m /lib/udev/rules.d/90-libinput-model-quirks.rules
>
> Is that helpful?
>
> Regards
>
> MF
>
>
>
>
>

-- 

*Sammy Pfeiffer*
PhD Candidate at The Magic Lab within UTS.

[-- Attachment #2: Type: text/html, Size: 2837 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-26 14:43                         ` Michael Fothergill
  2019-06-26 14:50                           ` Sam Pfeiffer
@ 2019-06-26 18:40                           ` Fabian Groffen
  2019-06-26 18:50                             ` Fabian Groffen
  1 sibling, 1 reply; 54+ messages in thread
From: Fabian Groffen @ 2019-06-26 18:40 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 1280 bytes --]

On 26-06-2019 15:43:11 +0100, Michael Fothergill wrote:
> PS
> 
> The build log file has this piece in it just before the crash occurs:
> 
> 33;01m* [0m QA Notice: the following files are outside of the prefix:
>   [33;01m* [0m /lib
>   [33;01m* [0m /lib/udev
>   [33;01m* [0m /lib/udev/libinput-model-quirks
>   [33;01m* [0m /lib/udev/libinput-device-group
>   [33;01m* [0m /lib/udev/rules.d
>   [33;01m* [0m /lib/udev/rules.d/80-libinput-device-groups.rules
>   [33;01m* [0m /lib/udev/rules.d/90-libinput-model-quirks.rules
> 
> Is that helpful?

Yes.
Does this patch fix the problem?

diff --git a/eclass/meson.eclass b/eclass/meson.eclass
index 7c62cf44f78..13dcbf94e1a 100644
--- a/eclass/meson.eclass
+++ b/eclass/meson.eclass
@@ -218,7 +218,7 @@ meson_src_configure() {
        # Common args
        local mesonargs=(
                --buildtype plain
-               --libdir "$(get_libdir)"
+               --libdir "${EPREFIX}$(get_libdir)"
                --localstatedir "${EPREFIX}/var/lib"
                --prefix "${EPREFIX}/usr"
                --sysconfdir "${EPREFIX}/etc"

Fabian
> 
> Regards
> 
> MF
> 
> 
> read_char: errno==EILSEQ; invalid byte sequence for UTF-8: 
-- 
Fabian Groffen
Gentoo on a different level

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-26 18:40                           ` Fabian Groffen
@ 2019-06-26 18:50                             ` Fabian Groffen
  2019-06-27 11:03                               ` Michael Fothergill
  0 siblings, 1 reply; 54+ messages in thread
From: Fabian Groffen @ 2019-06-26 18:50 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 2017 bytes --]

Scratch that.  Try this please:

--- a/dev-libs/libinput/libinput-1.13.2.ebuild
+++ b/dev-libs/libinput/libinput-1.13.2.ebuild
@@ -60,7 +60,7 @@ src_configure() {
                $(meson_use doc documentation)
                $(meson_use input_devices_wacom libwacom)
                -Dtests=false # tests are restricted
-               -Dudev-dir="$(get_udevdir)"
+               -Dudev-dir="${EPREFIX}$(get_udevdir)"
        )
        meson_src_configure
 }

run ebuild libinput-1.13.2.ebuild digest again before merging

On 26-06-2019 20:40:57 +0200, Fabian Groffen wrote:
> On 26-06-2019 15:43:11 +0100, Michael Fothergill wrote:
> > PS
> > 
> > The build log file has this piece in it just before the crash occurs:
> > 
> > 33;01m* [0m QA Notice: the following files are outside of the prefix:
> >   [33;01m* [0m /lib
> >   [33;01m* [0m /lib/udev
> >   [33;01m* [0m /lib/udev/libinput-model-quirks
> >   [33;01m* [0m /lib/udev/libinput-device-group
> >   [33;01m* [0m /lib/udev/rules.d
> >   [33;01m* [0m /lib/udev/rules.d/80-libinput-device-groups.rules
> >   [33;01m* [0m /lib/udev/rules.d/90-libinput-model-quirks.rules
> > 
> > Is that helpful?
> 
> Yes.
> Does this patch fix the problem?
> 
> diff --git a/eclass/meson.eclass b/eclass/meson.eclass
> index 7c62cf44f78..13dcbf94e1a 100644
> --- a/eclass/meson.eclass
> +++ b/eclass/meson.eclass
> @@ -218,7 +218,7 @@ meson_src_configure() {
>         # Common args
>         local mesonargs=(
>                 --buildtype plain
> -               --libdir "$(get_libdir)"
> +               --libdir "${EPREFIX}$(get_libdir)"
>                 --localstatedir "${EPREFIX}/var/lib"
>                 --prefix "${EPREFIX}/usr"
>                 --sysconfdir "${EPREFIX}/etc"
> 
> Fabian
> > 
> > Regards
> > 
> > MF
> > 
> > 
> > read_char: errno==EILSEQ; invalid byte sequence for UTF-8: 
> -- 
> Fabian Groffen
> Gentoo on a different level



-- 
Fabian Groffen
Gentoo on a different level

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 484 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-26 18:50                             ` Fabian Groffen
@ 2019-06-27 11:03                               ` Michael Fothergill
  2019-06-27 11:09                                 ` Michael Fothergill
  0 siblings, 1 reply; 54+ messages in thread
From: Michael Fothergill @ 2019-06-27 11:03 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 857 bytes --]

A great many thanks for the help here.


There are quite a few different write ups on making patches in gentoo.


I am using this one:

https://wiki.gentoo.org/wiki//etc/portage/patches

I am going to do the following things:


1.  I am going to create a directory to put the patch in:
2. mkdir -p /etc/portage/patches/dev-libs/libinput-1.13.2
3. /etc/portage/patches/dev-libs/libinput-1.13.2/prefix-libinput.patch
4. I will then enter the ebuild directory for libinput-1.13.2 and run the
following command:
5. ebuild libinput-1.13.2.ebuild clean prepare
6. I will then run ebuild libinput-1.13.2.ebuild digest as you recommended.
7. Finally I will run emerge dev-libs/libinput again and see if it compiles
and installs.


I am going to do this now.

If you think I should change anything in the above list please let me know
in a post.


Regards


MF

>
>

[-- Attachment #2: Type: text/html, Size: 2391 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-27 11:03                               ` Michael Fothergill
@ 2019-06-27 11:09                                 ` Michael Fothergill
  2019-06-27 11:18                                   ` Fabian Groffen
  0 siblings, 1 reply; 54+ messages in thread
From: Michael Fothergill @ 2019-06-27 11:09 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 1225 bytes --]

PS I forgot to add in step 3 that I will create a file to put the helpful
patch code in using emacs.

I will also replace the $EPREFIX symbol with /home/mikef/gentoo in each
instance in the patch code.

Regards

MF






On Thu, 27 Jun 2019 at 12:03, Michael Fothergill <
michael.fothergill@gmail.com> wrote:

>
> A great many thanks for the help here.
>
>
> There are quite a few different write ups on making patches in gentoo.
>
>
> I am using this one:
>
> https://wiki.gentoo.org/wiki//etc/portage/patches
>
> I am going to do the following things:
>
>
> 1.  I am going to create a directory to put the patch in:
> 2. mkdir -p /etc/portage/patches/dev-libs/libinput-1.13.2
> 3. /etc/portage/patches/dev-libs/libinput-1.13.2/prefix-libinput.patch
> 4. I will then enter the ebuild directory for libinput-1.13.2 and run the
> following command:
> 5. ebuild libinput-1.13.2.ebuild clean prepare
> 6. I will then run ebuild libinput-1.13.2.ebuild digest as you recommended.
> 7. Finally I will run emerge dev-libs/libinput again and see if it
> compiles and installs.
>
>
> I am going to do this now.
>
> If you think I should change anything in the above list please let me know
> in a post.
>
>
> Regards
>
>
> MF
>
>>
>>

[-- Attachment #2: Type: text/html, Size: 3713 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-27 11:09                                 ` Michael Fothergill
@ 2019-06-27 11:18                                   ` Fabian Groffen
  2019-06-27 11:41                                     ` Michael Fothergill
  0 siblings, 1 reply; 54+ messages in thread
From: Fabian Groffen @ 2019-06-27 11:18 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 2044 bytes --]

On 27-06-2019 12:09:19 +0100, Michael Fothergill wrote:
> PS I forgot to add in step 3 that I will create a file to put the helpful patch
> code in using emacs.
> 
> I will also replace the $EPREFIX symbol with /home/mikef/gentoo in each instance
> in the patch code.

You don't have to do that, in the ebuild ${EPREFIX} expands to the
correct thing.

> > I am using this one:
> 
> > [2]https://wiki.gentoo.org/wiki//etc/portage/patches

this is for creating /code/ patches, not for patches against the ebuilds
themselves
You need patches to ebuilds, which, if I know what patches you tried and
worked for you, me and the team can commit to the tree so it sticks.

This also means below instructions aren't going to fly.

1. Change the libinput-1.13.2.ebuild file
2. run ebuild  libinput-1.13.2.ebuild digest
3. emerge --resume or emerge <package> (whichever is resuming what you
   were doing)
4. if it works, report the diff here, or preferably in a bug so we can
   see to getting it applied

Thanks,
Fabian

> > I am going to do the following things:
> 
> > 1.  I am going to create a directory to put the patch in:
> > 2. mkdir -p /etc/portage/patches/dev-libs/libinput-1.13.2
> > 3. /etc/portage/patches/dev-libs/libinput-1.13.2/prefix-libinput.patch
> > 4. I will then enter the ebuild directory for libinput-1.13.2 and run the
> > following command:
> > 5. ebuild libinput-1.13.2.ebuild clean prepare
> > 6. I will then run ebuild libinput-1.13.2.ebuild digest as you recommended.
> > 7. Finally I will run emerge dev-libs/libinput again and see if it compiles
> > and installs.
> 
> > I am going to do this now.
> 
> > If you think I should change anything in the above list please let me know in
> > a post.
> 
> > Regards
> 
> > MF
> 
> 
> 
>  References:
>    1. mailto:michael.fothergill@gmail.com
>    2. https://wiki.gentoo.org/wiki//etc/portage/patches
> 
> read_char: errno==EILSEQ; invalid byte sequence for UTF-8: 
-- 
Fabian Groffen
Gentoo on a different level

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-27 11:18                                   ` Fabian Groffen
@ 2019-06-27 11:41                                     ` Michael Fothergill
  2019-06-27 11:46                                       ` Fabian Groffen
  0 siblings, 1 reply; 54+ messages in thread
From: Michael Fothergill @ 2019-06-27 11:41 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 2233 bytes --]

Many thanks again.

OK I went into the ebuild directory for libinput.

I then edited the ebuild file and added the code you gave at the end of the
file:

src_install() {
        meson_src_install
        if use doc ; then
                docinto html
                dodoc -r "${BUILD_DIR}"/Documentation/.
        fi
}

pkg_postinst() {
        udevadm hwdb --update --root="${ROOT%/}"
}

--- a/dev-libs/libinput/libinput-1.13.2.ebuild
+++ b/dev-libs/libinput/libinput-1.13.2.ebuild
@@ -60,7 +60,7 @@ src_configure() {
                $(meson_use doc documentation)
                $(meson_use input_devices_wacom libwacom)
                -Dtests=false # tests are restricted
-               -Dudev-dir="$(get_udevdir)"
+               -Dudev-dir="${EPREFIX}$(get_udevdir)"
        )
        meson_src_configure
 }

I then ran

ebuild  libinput-1.13.2.ebuild digest

and got an error message:

mikef@fart:~/gentoo/usr/portage/dev-libs/libinput$ ebuild
 libinput-1.13.2.ebuild digest
 * ERROR: dev-libs/libinput-1.13.2::gentoo failed (depend phase):
 *   External commands disallowed while sourcing ebuild: ---
a/dev-libs/libinput/libinput-1.13.2.ebuild
 *
 * Call stack:
 *                ebuild.sh, line 623:  Called source
'/home/mikef/gentoo/usr/portage/dev-libs/libinput/libinput-1.13.2.ebuild'
 *   libinput-1.13.2.ebuild, line  80:  Called command_not_found_handle
'---' 'a/dev-libs/libinput/libinput-1.13.2.ebuild'
 *                ebuild.sh, line  88:  Called die
 * The specific snippet of code:
 *              die "External commands disallowed while sourcing ebuild:
${*}"
 *
 * If you need support, post the output of `emerge --info
'=dev-libs/libinput-1.13.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv
'=dev-libs/libinput-1.13.2::gentoo'`.
 * The ebuild environment file is located at
'/home/mikef/gentoo/var/tmp/portage/dev-libs/libinput-1.13.2/temp/environment'.
 * Working directory:
'/home/mikef/gentoo/var/tmp/portage/dev-libs/libinput-1.13.2/homedir'
 * S:
'/home/mikef/gentoo/var/tmp/portage/dev-libs/libinput-1.13.2/work/libinput-1.13.2'
mikef@fart:~/gentoo/usr/portage/dev-libs/libinput$

Was I meant to add it to the existing code as I just did?

Comments appreciated.

Regards

MF

[-- Attachment #2: Type: text/html, Size: 4250 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-27 11:41                                     ` Michael Fothergill
@ 2019-06-27 11:46                                       ` Fabian Groffen
  2019-06-27 12:06                                         ` Michael Fothergill
  0 siblings, 1 reply; 54+ messages in thread
From: Fabian Groffen @ 2019-06-27 11:46 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 3372 bytes --]

Haha, I gave you a patch, sorry.

The patch just describes which change you need to make.  If you really
want to have an easy life, then restore the original ebuild (rsync if
you will) and run this:

% patch libinput-1.13.2.ebuild < path/to/the-patch-content.patch

Then you can run ebuild .. digest.

There is a chance the patch won't apply, because I didn't attach it.
In this case I think it's quicker if you "read" the patch yourself, find
the location what the patch is about, and make the change (as indicated
by the lines prefixed with - (removed) and + (added)).

Does this help you?

Fabian


On 27-06-2019 12:41:34 +0100, Michael Fothergill wrote:
> Many thanks again.
> 
> OK I went into the ebuild directory for libinput.
> 
> I then edited the ebuild file and added the code you gave at the end of the
> file:
> 
> src_install() {
>         meson_src_install
>         if use doc ; then
>                 docinto html
>                 dodoc -r "${BUILD_DIR}"/Documentation/.
>         fi
> }
> 
> pkg_postinst() {
>         udevadm hwdb --update --root="${ROOT%/}"
> }
> 
> --- a/dev-libs/libinput/libinput-1.13.2.ebuild
> +++ b/dev-libs/libinput/libinput-1.13.2.ebuild
> @@ -60,7 +60,7 @@ src_configure() {
>                 $(meson_use doc documentation)
>                 $(meson_use input_devices_wacom libwacom)
>                 -Dtests=false # tests are restricted
> -               -Dudev-dir="$(get_udevdir)"
> +               -Dudev-dir="${EPREFIX}$(get_udevdir)"
>         )
>         meson_src_configure
>  }
> 
> I then ran
> 
> ebuild  libinput-1.13.2.ebuild digest
> 
> and got an error message:
> 
> mikef@fart:~/gentoo/usr/portage/dev-libs/libinput$ ebuild
>  libinput-1.13.2.ebuild digest
>  * ERROR: dev-libs/libinput-1.13.2::gentoo failed (depend phase):
>  *   External commands disallowed while sourcing ebuild: ---
> a/dev-libs/libinput/libinput-1.13.2.ebuild
>  *
>  * Call stack:
>  *                ebuild.sh, line 623:  Called source
> '/home/mikef/gentoo/usr/portage/dev-libs/libinput/libinput-1.13.2.ebuild'
>  *   libinput-1.13.2.ebuild, line  80:  Called command_not_found_handle '---'
> 'a/dev-libs/libinput/libinput-1.13.2.ebuild'
>  *                ebuild.sh, line  88:  Called die
>  * The specific snippet of code:
>  *              die "External commands disallowed while sourcing ebuild: ${*}"
>  *
>  * If you need support, post the output of `emerge --info
> '=dev-libs/libinput-1.13.2::gentoo'`,
>  * the complete build log and the output of `emerge -pqv
> '=dev-libs/libinput-1.13.2::gentoo'`.
>  * The ebuild environment file is located at
> '/home/mikef/gentoo/var/tmp/portage/dev-libs/libinput-1.13.2/temp/environment'.
>  * Working directory:
> '/home/mikef/gentoo/var/tmp/portage/dev-libs/libinput-1.13.2/homedir'
>  * S:
> '/home/mikef/gentoo/var/tmp/portage/dev-libs/libinput-1.13.2/work/libinput-1.13.2'
> mikef@fart:~/gentoo/usr/portage/dev-libs/libinput$
> 
> Was I meant to add it to the existing code as I just did?
> 
> Comments appreciated.
> 
> Regards
> 
> MF
> 
> 
> read_char: errno==EILSEQ; invalid byte sequence for UTF-8: 
-- 
Fabian Groffen
Gentoo on a different level

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-27 11:46                                       ` Fabian Groffen
@ 2019-06-27 12:06                                         ` Michael Fothergill
  2019-06-27 12:11                                           ` Fabian Groffen
  0 siblings, 1 reply; 54+ messages in thread
From: Michael Fothergill @ 2019-06-27 12:06 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 1960 bytes --]

Looking at your patch code based on what you have just explained,

I could go back and re-edit the build file and remove the extra code I
added at the end restoring the file to its original state.

Then I could move the cursor up to the following section of the build file:

src_configure() {
        # gui can be built but will not be installed
        local emesonargs=(
                -Ddebug-gui=false
                $(meson_use doc documentation)
                $(meson_use input_devices_wacom libwacom)
                -Dtests=false # tests are restricted
                -Dudev-dir="$(get_udevdir)"
        )
        meson_src_configure

and then replace the line -Dudev-dir="$(get_udevdir) with

-Dudev-dir="${EPREFIX}$(get_udevdir)

Your patch also has these lines in it:

--- a/dev-libs/libinput/libinput-1.13.2.ebuild
+++ b/dev-libs/libinput/libinput-1.13.2.ebuild
@@ -60,7 +60,7 @@ src_configure() {

are these lines suggesting that I make any other changes to the ebuild file?

They look like they are saying that an ebuild file has to be changed in a
particular section.

If the only change I have to make is the single line above I will do it and
then run the digest command and try to
emerge libinput again.

Regards

MF








On Thu, 27 Jun 2019 at 12:46, Fabian Groffen <grobian@gentoo.org> wrote:

> Haha, I gave you a patch, sorry.
>
> The patch just describes which change you need to make.  If you really
> want to have an easy life, then restore the original ebuild (rsync if
> you will) and run this:
>
> % patch libinput-1.13.2.ebuild < path/to/the-patch-content.patch
>
> Then you can run ebuild .. digest.
>
> There is a chance the patch won't apply, because I didn't attach it.
> In this case I think it's quicker if you "read" the patch yourself, find
> the location what the patch is about, and make the change (as indicated
> by the lines prefixed with - (removed) and + (added)).
>
> Does this help you?
>
> Fabian
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 4535 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-27 12:06                                         ` Michael Fothergill
@ 2019-06-27 12:11                                           ` Fabian Groffen
  2019-06-27 12:15                                             ` Michael Fothergill
  0 siblings, 1 reply; 54+ messages in thread
From: Fabian Groffen @ 2019-06-27 12:11 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 2580 bytes --]

On 27-06-2019 13:06:40 +0100, Michael Fothergill wrote:
> Looking at your patch code based on what you have just explained,
> 
> I could go back and re-edit the build file and remove the extra code I added at
> the end restoring the file to its original state.
> 
> Then I could move the cursor up to the following section of the build file:
> 
> src_configure() {
>         # gui can be built but will not be installed
>         local emesonargs=(
>                 -Ddebug-gui=false
>                 $(meson_use doc documentation)
>                 $(meson_use input_devices_wacom libwacom)
>                 -Dtests=false # tests are restricted
>                 -Dudev-dir="$(get_udevdir)"
>         )
>         meson_src_configure
> 
> and then replace the line -Dudev-dir="$(get_udevdir) with
> 
> -Dudev-dir="${EPREFIX}$(get_udevdir)
> 
> Your patch also has these lines in it:
> 
> --- a/dev-libs/libinput/libinput-1.13.2.ebuild
> +++ b/dev-libs/libinput/libinput-1.13.2.ebuild
> @@ -60,7 +60,7 @@ src_configure() {
> 
> are these lines suggesting that I make any other changes to the ebuild file?
> 
> They look like they are saying that an ebuild file has to be changed in a
> particular section.
> 
> If the only change I have to make is the single line above I will do it and then
> run the digest command and try to

correct, there was only one actual change in it.
See also this:
https://stackoverflow.com/questions/987372/what-is-the-format-of-a-patch-file

Fabian
> 
> emerge libinput again.
> 
> Regards
> 
> MF
> 
> On Thu, 27 Jun 2019 at 12:46, Fabian Groffen <[1]grobian@gentoo.org> wrote:
> 
> > Haha, I gave you a patch, sorry.
> 
> > The patch just describes which change you need to make.  If you really
> > want to have an easy life, then restore the original ebuild (rsync if
> > you will) and run this:
> 
> > % patch libinput-1.13.2.ebuild < path/to/the-patch-content.patch
> 
> > Then you can run ebuild .. digest.
> 
> > There is a chance the patch won't apply, because I didn't attach it.
> > In this case I think it's quicker if you "read" the patch yourself, find
> > the location what the patch is about, and make the change (as indicated
> > by the lines prefixed with - (removed) and + (added)).
> 
> > Does this help you?
> 
> > Fabian
> 
> 
> 
>  References:
>    1. mailto:grobian@gentoo.org
> 
> read_char: errno==EILSEQ; invalid byte sequence for UTF-8: 
-- 
Fabian Groffen
Gentoo on a different level

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-27 12:11                                           ` Fabian Groffen
@ 2019-06-27 12:15                                             ` Michael Fothergill
  2019-06-27 12:23                                               ` Fabian Groffen
  0 siblings, 1 reply; 54+ messages in thread
From: Michael Fothergill @ 2019-06-27 12:15 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 164 bytes --]

I did it and I ran emerge libinput and it has compiled and installed.

What do I run the diff command on?

I don't even know if I have diff installed.

Regards

MF

[-- Attachment #2: Type: text/html, Size: 776 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-27 12:15                                             ` Michael Fothergill
@ 2019-06-27 12:23                                               ` Fabian Groffen
  2019-06-27 12:48                                                 ` Michael Fothergill
  0 siblings, 1 reply; 54+ messages in thread
From: Fabian Groffen @ 2019-06-27 12:23 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 444 bytes --]

You got it compiled/installed, you don't need diff/patch anymore now :)

On 27-06-2019 13:15:09 +0100, Michael Fothergill wrote:
> I did it and I ran emerge libinput and it has compiled and installed.
> 
> What do I run the diff command on?
> 
> I don't even know if I have diff installed.
> 
> Regards
> 
> MF
> 
> 
> read_char: errno==EILSEQ; invalid byte sequence for UTF-8: 
-- 
Fabian Groffen
Gentoo on a different level

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-27 12:23                                               ` Fabian Groffen
@ 2019-06-27 12:48                                                 ` Michael Fothergill
  2019-06-27 13:11                                                   ` Michael Fothergill
  0 siblings, 1 reply; 54+ messages in thread
From: Michael Fothergill @ 2019-06-27 12:48 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 178 bytes --]

Many thanks again.

I have now compiled and installed xorg server and all the video libraries
and driver packages.

I will see what happens if I try running startx.

Regards

MF

[-- Attachment #2: Type: text/html, Size: 964 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-27 12:48                                                 ` Michael Fothergill
@ 2019-06-27 13:11                                                   ` Michael Fothergill
  2019-06-27 13:16                                                     ` Michael Fothergill
  0 siblings, 1 reply; 54+ messages in thread
From: Michael Fothergill @ 2019-06-27 13:11 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 503 bytes --]

I ran startx.

I am in /home/mikef/gentoo - that is the $PREFIX directory.

The error I get is

Only console users are allowed to run the X server

See here:

mikef@fart:~/gentoo$ startx

/usr/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn't get a file descriptor referring to the console
mikef@fart:~/gentoo$

Suggestions on what do here are appreciated.

Regards

MF







>

[-- Attachment #2: Type: text/html, Size: 2158 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-27 13:11                                                   ` Michael Fothergill
@ 2019-06-27 13:16                                                     ` Michael Fothergill
  2019-06-27 21:15                                                       ` Michael Fothergill
  0 siblings, 1 reply; 54+ messages in thread
From: Michael Fothergill @ 2019-06-27 13:16 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 162 bytes --]

There is something here:

https://wiki.gentoo.org/wiki/Non_root_Xorg

that might be helpful.  I will read through it and try it out.

Regards

MF



>
>
>
>
>
>>

[-- Attachment #2: Type: text/html, Size: 1324 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-27 13:16                                                     ` Michael Fothergill
@ 2019-06-27 21:15                                                       ` Michael Fothergill
  2019-06-27 21:17                                                         ` Michael Fothergill
  2019-06-28  7:20                                                         ` Fabian Groffen
  0 siblings, 2 replies; 54+ messages in thread
From: Michael Fothergill @ 2019-06-27 21:15 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 2467 bytes --]

Dear All,

I put the line

x11-base/xorg-server -suid

into the package.use file.

I did the source update

I then ran emerge xorg-server again.

It ran OK until it decided it needed to emerge sys-fs/udev-init-scripts
as a result of the -suid change:

>>> Emerging (4 of 4) sys-fs/udev-init-scripts-33::gentoo
 * udev-init-scripts-33.tar.gz BLAKE2B SHA512 size ;-) ...


   [ ok ]
>>> Unpacking source...
>>> Unpacking udev-init-scripts-33.tar.gz to
/home/mikef/gentoo/var/tmp/portage/sys-fs/udev-init-scripts-33/work
>>> Source unpacked in
/home/mikef/gentoo/var/tmp/portage/sys-fs/udev-init-scripts-33/work
>>> Preparing source in
/home/mikef/gentoo/var/tmp/portage/sys-fs/udev-init-scripts-33/work/udev-gentoo-scripts-33
...
>>> Source prepared.
>>> Configuring source in
/home/mikef/gentoo/var/tmp/portage/sys-fs/udev-init-scripts-33/work/udev-gentoo-scripts-33
...
>>> Source configured.
>>> Compiling source in
/home/mikef/gentoo/var/tmp/portage/sys-fs/udev-init-scripts-33/work/udev-gentoo-scripts-33
...
make -j5
make: Nothing to be done for 'all'.
>>> Source compiled.
 * Skipping make test/check due to ebuild restriction.
>>> Test phase [disabled because of RESTRICT=test]:
sys-fs/udev-init-scripts-33

>>> Install sys-fs/udev-init-scripts-33 into
/home/mikef/gentoo/var/tmp/portage/sys-fs/udev-init-scripts-33/image
make -j5
DESTDIR=/home/mikef/gentoo/var/tmp/portage/sys-fs/udev-init-scripts-33/image
install
install -d
/home/mikef/gentoo/var/tmp/portage/sys-fs/udev-init-scripts-33/image/etc/conf.d
install -m 0644 conf.d/*
/home/mikef/gentoo/var/tmp/portage/sys-fs/udev-init-scripts-33/image/etc/conf.d
install -d
/home/mikef/gentoo/var/tmp/portage/sys-fs/udev-init-scripts-33/image/etc/init.d
install -m 0755 init.d/*
/home/mikef/gentoo/var/tmp/portage/sys-fs/udev-init-scripts-33/image/etc/init.d
>>> Completed installing sys-fs/udev-init-scripts-33 into
/home/mikef/gentoo/var/tmp/portage/sys-fs/udev-init-scripts-33/image

 * Final size of build directory: 48 KiB
 * Final size of installed tree:  72 KiB

 * QA Notice: the following files are outside of the prefix:
 * /etc
 * /etc/conf.d
 * /etc/conf.d/udev-settle
 * /etc/conf.d/udev
 * /etc/conf.d/udev-trigger
 * /etc/init.d
 * /etc/init.d/udev-settle
 * /etc/init.d/udev
 * /etc/init.d/udev-trigger
 * ERROR: sys-fs/udev-init-scripts-33::gentoo failed:
 *   Aborting due to QA concerns: there are files installed outside the
prefix
 *
 * Call stack:

Do you have a fix for this?

Regards

MF

[-- Attachment #2: Type: text/html, Size: 4313 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-27 21:15                                                       ` Michael Fothergill
@ 2019-06-27 21:17                                                         ` Michael Fothergill
  2019-06-27 21:23                                                           ` Michael Fothergill
  2019-06-28  7:20                                                         ` Fabian Groffen
  1 sibling, 1 reply; 54+ messages in thread
From: Michael Fothergill @ 2019-06-27 21:17 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 374 bytes --]

PSmikef@fart ~/gentoo/etc/portage $ startx

/usr/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn't get a file descriptor referring to the console
mikef@fart ~/gentoo/etc/portage $


Regards

MF

I am still getting the console error on running startx

[-- Attachment #2: Type: text/html, Size: 1134 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-27 21:17                                                         ` Michael Fothergill
@ 2019-06-27 21:23                                                           ` Michael Fothergill
  2019-06-28  7:23                                                             ` Fabian Groffen
  0 siblings, 1 reply; 54+ messages in thread
From: Michael Fothergill @ 2019-06-27 21:23 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 1527 bytes --]

I also ran this command:

mikef@fart:~/gentoo$ startx -- vt1


X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.19.0-5-amd64 x86_64 Gentoo
Current Operating System: Linux fart 4.19.0-5-amd64 #1 SMP Debian 4.19.37-3
(2019-05-15) x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.19.0-5-amd64
root=UUID=3097928b-798b-4ff0-9576-f0f020963daf ro quiet
Build Date: 27 June 2019  09:07:40PM

Current version of pixman: 0.38.4
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/mikef/.local/share/xorg/Xorg.1.log", Time: Thu Jun 27
21:19:35 2019
(==) Using system config directory
"/home/mikef/gentoo/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) xf86OpenConsole: Cannot open virtual console 1 (Permission denied)
(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at
"/home/mikef/.local/share/xorg/Xorg.1.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn't get a file descriptor referring to the console


I don't the permission as a user..........

Regards

MF

[-- Attachment #2: Type: text/html, Size: 2284 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-27 21:15                                                       ` Michael Fothergill
  2019-06-27 21:17                                                         ` Michael Fothergill
@ 2019-06-28  7:20                                                         ` Fabian Groffen
  1 sibling, 0 replies; 54+ messages in thread
From: Fabian Groffen @ 2019-06-28  7:20 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 1280 bytes --]

On 27-06-2019 22:15:38 +0100, Michael Fothergill wrote:
> Dear All,
> 
> I put the line
> 
> x11-base/xorg-server -suid
> 
> into the package.use file.
> 
> I did the source update

FYI, you don't have to source things after editing files in
 $EPREFIX/etc/portage/
 
> I then ran emerge xorg-server again.
> 
> It ran OK until it decided it needed to emerge sys-fs/udev-init-scripts
> 
> as a result of the -suid change:

>  * QA Notice: the following files are outside of the prefix:
>  * /etc
>  * /etc/conf.d
>  * /etc/conf.d/udev-settle
>  * /etc/conf.d/udev
>  * /etc/conf.d/udev-trigger
>  * /etc/init.d
>  * /etc/init.d/udev-settle
>  * /etc/init.d/udev
>  * /etc/init.d/udev-trigger
>  * ERROR: sys-fs/udev-init-scripts-33::gentoo failed:
>  *   Aborting due to QA concerns: there are files installed outside the prefix
>  *
>  * Call stack:
> 
> Do you have a fix for this?

This is a similar problem as before.

The fix is less obvious though.  Since this package is not going to be
working/useful in Prefix as is, I think it's better to avoid having this
one installed.

Do you know how to figure out which package needs
sys-fs/udev-init-scripts?

Fabian

-- 
Fabian Groffen
Gentoo on a different level

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-27 21:23                                                           ` Michael Fothergill
@ 2019-06-28  7:23                                                             ` Fabian Groffen
  2019-06-28  8:27                                                               ` Michael Fothergill
  0 siblings, 1 reply; 54+ messages in thread
From: Fabian Groffen @ 2019-06-28  7:23 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 2304 bytes --]

Michael,

I don't think you should be trying to run startx at all.  In fact, I
think you already have one x running, so why run another one?  This is
typically one such thing that needs "root" privileges, and most likely
you can also just use as-is from the host system.

Why won't chromium start for you?  You had it emerged, hadn't you?

Fabian

On 27-06-2019 22:23:22 +0100, Michael Fothergill wrote:
> I also ran this command:
> 
> mikef@fart:~/gentoo$ startx -- vt1
> 
> X.Org X Server 1.20.5
> X Protocol Version 11, Revision 0
> Build Operating System: Linux 4.19.0-5-amd64 x86_64 Gentoo
> Current Operating System: Linux fart 4.19.0-5-amd64 #1 SMP Debian 4.19.37-3
> (2019-05-15) x86_64
> Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.19.0-5-amd64
> root=UUID=3097928b-798b-4ff0-9576-f0f020963daf ro quiet
> Build Date: 27 June 2019  09:07:40PM
> 
> Current version of pixman: 0.38.4
>         Before reporting problems, check [1]http://wiki.x.org
>         to make sure that you have the latest version.
> Markers: (--) probed, (**) from config file, (==) default setting,
>         (++) from command line, (!!) notice, (II) informational,
>         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/home/mikef/.local/share/xorg/Xorg.1.log", Time: Thu Jun 27
> 21:19:35 2019
> (==) Using system config directory
> "/home/mikef/gentoo/usr/share/X11/xorg.conf.d"
> (EE)
> Fatal server error:
> (EE) xf86OpenConsole: Cannot open virtual console 1 (Permission denied)
> (EE)
> (EE)
> Please consult the The X.Org Foundation support
>          at [2]http://wiki.x.org
>  for help.
> (EE) Please also check the log file at
> "/home/mikef/.local/share/xorg/Xorg.1.log" for additional information.
> (EE)
> (EE) Server terminated with error (1). Closing log file.
> xinit: giving up
> xinit: unable to connect to X server: Connection refused
> xinit: server error
> Couldn't get a file descriptor referring to the console
> 
> I don't the permission as a user..........
> 
> Regards
> 
> MF
> 
> 
> 
>  References:
>    1. http://wiki.x.org
>    2. http://wiki.x.org
> 
> read_char: errno==EILSEQ; invalid byte sequence for UTF-8: 
-- 
Fabian Groffen
Gentoo on a different level

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-28  7:23                                                             ` Fabian Groffen
@ 2019-06-28  8:27                                                               ` Michael Fothergill
  2019-06-28  8:31                                                                 ` Fabian Groffen
  0 siblings, 1 reply; 54+ messages in thread
From: Michael Fothergill @ 2019-06-28  8:27 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 858 bytes --]

Many thanks for your response.

I tried running chromium to see if it would work.

I did as user and then as root.

mikef@fart:~$ /home/mikef/gentoo/usr/bin/chromium
[1459:1459:0628/081848.057654:FATAL:setuid_sandbox_host.cc(157)] The SUID
sandbox helper binary was found, but is not configured correctly. Rather
than run without sandboxing I'm aborting now. You need to make sure that
/home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox is owned by
root and has mode 4755.

as root

root@fart:/home/mikef/gentoo# /home/mikef/gentoo/usr/bin/chromium
[1568:1568:0628/082021.807096:ERROR:zygote_host_impl_linux.cc(89)] Running
as root without --no-sandbox is not supported. See https://crbug.com/638180.

Suggestions on a fix here would be appreciated.

If I get away with using the xorg-server of debian than that would be very
helpful.

Regards

MF

[-- Attachment #2: Type: text/html, Size: 2639 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-28  8:27                                                               ` Michael Fothergill
@ 2019-06-28  8:31                                                                 ` Fabian Groffen
  2019-06-28  8:36                                                                   ` Michael Fothergill
  0 siblings, 1 reply; 54+ messages in thread
From: Fabian Groffen @ 2019-06-28  8:31 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 1476 bytes --]

Chromium is just not going to be helpful here.  If you've got root,
you'll have to do something like:

# chmod 4755 /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox
# chown root /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox

then run chromium as user.

Fabian

On 28-06-2019 09:27:49 +0100, Michael Fothergill wrote:
> Many thanks for your response.
> 
> I tried running chromium to see if it would work.
> 
> I did as user and then as root.
> 
> mikef@fart:~$ /home/mikef/gentoo/usr/bin/chromium
> [1459:1459:0628/081848.057654:FATAL:setuid_sandbox_host.cc(157)] The SUID
> sandbox helper binary was found, but is not configured correctly. Rather than
> run without sandboxing I'm aborting now. You need to make sure that
> /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox is owned by root
> and has mode 4755.
> 
> as root
> 
> root@fart:/home/mikef/gentoo# /home/mikef/gentoo/usr/bin/chromium
> [1568:1568:0628/082021.807096:ERROR:zygote_host_impl_linux.cc(89)] Running as
> root without --no-sandbox is not supported. See [1]https://crbug.com/638180.
> 
> Suggestions on a fix here would be appreciated.
> 
> If I get away with using the xorg-server of debian than that would be very
> helpful.
> 
> Regards
> 
> MF
> 
> 
> 
>  References:
>    1. https://crbug.com/638180
> 
> read_char: errno==EILSEQ; invalid byte sequence for UTF-8: 
-- 
Fabian Groffen
Gentoo on a different level

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-28  8:31                                                                 ` Fabian Groffen
@ 2019-06-28  8:36                                                                   ` Michael Fothergill
  2019-06-28  8:40                                                                     ` Fabian Groffen
  0 siblings, 1 reply; 54+ messages in thread
From: Michael Fothergill @ 2019-06-28  8:36 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 1004 bytes --]

Many thanks again for your advice.

I ran the two commands you recommended:

root@fart:/home/mikef/gentoo#  chmod 4755
/home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox
root@fart:/home/mikef/gentoo# chown root
/home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox
root@fart:/home/mikef/gentoo# /home/mikef/gentoo/usr/bin/chromium
[2098:2098:0628/083242.274727:ERROR:zygote_host_impl_linux.cc(89)] Running
as root without --no-sandbox is not supported. See https://crbug.com/638180.
root@fart:/home/mikef/gentoo#

I also tried running chromium as a user:

mikef@fart:~$ /home/mikef/gentoo/usr/bin/chromium
[2105:2105:0628/083309.657067:FATAL:setuid_sandbox_host.cc(157)] The SUID
sandbox helper binary was found, but is not configured correctly. Rather
than run without sandboxing I'm aborting now. You need to make sure that
/home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox is owned by
root and has mode 4755.

Maybe I need to talk to the chrome community.....

Regards

MF

[-- Attachment #2: Type: text/html, Size: 2290 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-28  8:36                                                                   ` Michael Fothergill
@ 2019-06-28  8:40                                                                     ` Fabian Groffen
  2019-06-28  9:00                                                                       ` Michael Fothergill
  0 siblings, 1 reply; 54+ messages in thread
From: Fabian Groffen @ 2019-06-28  8:40 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 1458 bytes --]

try 
# chown root: /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox

perhaps chromium also cares about the group

On 28-06-2019 09:36:59 +0100, Michael Fothergill wrote:
> Many thanks again for your advice.
> 
> I ran the two commands you recommended:
> 
> root@fart:/home/mikef/gentoo#  chmod 4755
> /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox
> root@fart:/home/mikef/gentoo# chown root
> /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox
> root@fart:/home/mikef/gentoo# /home/mikef/gentoo/usr/bin/chromium
> [2098:2098:0628/083242.274727:ERROR:zygote_host_impl_linux.cc(89)] Running as
> root without --no-sandbox is not supported. See [1]https://crbug.com/638180.
> root@fart:/home/mikef/gentoo# 
> 
> I also tried running chromium as a user:
> 
> mikef@fart:~$ /home/mikef/gentoo/usr/bin/chromium
> [2105:2105:0628/083309.657067:FATAL:setuid_sandbox_host.cc(157)] The SUID
> sandbox helper binary was found, but is not configured correctly. Rather than
> run without sandboxing I'm aborting now. You need to make sure that
> /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox is owned by root
> and has mode 4755.
> 
> Maybe I need to talk to the chrome community.....
> 
> Regards
> 
> MF
> 
> 
> 
>  References:
>    1. https://crbug.com/638180
> 
> read_char: errno==EILSEQ; invalid byte sequence for UTF-8: 
-- 
Fabian Groffen
Gentoo on a different level

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-28  8:40                                                                     ` Fabian Groffen
@ 2019-06-28  9:00                                                                       ` Michael Fothergill
  2019-06-28  9:04                                                                         ` Michael Fothergill
  2019-06-28  9:05                                                                         ` Fabian Groffen
  0 siblings, 2 replies; 54+ messages in thread
From: Michael Fothergill @ 2019-06-28  9:00 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 2233 bytes --]

I ran the command you suggested (should it be the chown command for a group
- would the chgrp command be help here?):

root@fart:/home/mikef/gentoo# chown root:
/home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox
root@fart:/home/mikef/gentoo#

It still gives the same error:

mikef@fart:~$ /home/mikef/gentoo/usr/bin/chromium
[2223:2223:0628/084737.606858:FATAL:setuid_sandbox_host.cc(157)] The SUID
sandbox helper binary was found, but is not configured correctly. Rather
than run without sandboxing I'm aborting now. You need to make sure that
/home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox is owned by
root and has mode 4755.

I added an extra line into the package.use file when I was trying to get
xorg to work as non root:


mikef@fart:~/gentoo/etc/portage$ more package.use
x11-base/xorg-server -suid
# required by www-client/chromium-74.0.3729.169::gentoo
# required by chromium (argument)
>=dev-libs/libxml2-2.9.9-r1 icu
# required by www-client/chromium-74.0.3729.169::gentoo
# required by chromium (argument)
>=media-libs/harfbuzz-2.5.1 icu
# required by www-client/chromium-74.0.3729.169::gentoo
# required by chromium (argument)
>=sys-libs/zlib-1.2.11-r2 minizip
# required by www-client/chromium-74.0.3729.169::gentoo
# required by chromium (argument)
>=net-libs/nodejs-11.14.0 inspector
# required by x11-misc/xdg-utils-1.1.3-r1::gentoo
# required by www-client/chromium-74.0.3729.169::gentoo
# required by chromium (argument)
>=app-text/xmlto-0.0.28-r1 text
# required by x11-libs/gtk+-3.24.8::gentoo
# required by x11-themes/adwaita-icon-theme-3.30.1::gentoo
# required by x11-libs/gtk+-2.24.32-r1::gentoo
# required by x11-themes/gtk-engines-adwaita-3.28::gentoo
>=x11-libs/cairo-1.16.0-r3 X
# required by www-client/chromium-74.0.3729.169::gentoo
# required by chromium (argument)
=net-libs/nodejs-10.15.3 inspector
# required by www-client/chromium-74.0.3729.169::gentoo
# required by chromium (argument)
=net-libs/nodejs-8.16.0 inspector
# required by www-client/chromium-74.0.3729.169::gentoo
# required by chromium (argument)
=net-libs/nodejs-8.12.0 inspector
mikef@fart:~/gentoo/etc/portage$


It is affecting the suid function....

I commented it out but it did not help.

Regards

MF

[-- Attachment #2: Type: text/html, Size: 3831 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-28  9:00                                                                       ` Michael Fothergill
@ 2019-06-28  9:04                                                                         ` Michael Fothergill
  2019-06-28  9:05                                                                         ` Fabian Groffen
  1 sibling, 0 replies; 54+ messages in thread
From: Michael Fothergill @ 2019-06-28  9:04 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

Also, when I was doing the non root xorg stuff I ran the following four
commands:

chown -v :input /usr/bin/Xorg

chmod -v g+s /usr/bin/Xorg

gpasswd -d user input

usermod -a -G video user

I got them from the gentoo non root xorg web page.

I hope they have not contributed to the problem.

Regards

MF

[-- Attachment #2: Type: text/html, Size: 1464 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-28  9:00                                                                       ` Michael Fothergill
  2019-06-28  9:04                                                                         ` Michael Fothergill
@ 2019-06-28  9:05                                                                         ` Fabian Groffen
  2019-06-28  9:11                                                                           ` Michael Fothergill
  1 sibling, 1 reply; 54+ messages in thread
From: Fabian Groffen @ 2019-06-28  9:05 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 2804 bytes --]

On 28-06-2019 10:00:04 +0100, Michael Fothergill wrote:
> I ran the command you suggested (should it be the chown command for a group -
> would the chgrp command be help here?):
> 
> root@fart:/home/mikef/gentoo# chown root:
> /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox
> root@fart:/home/mikef/gentoo# 
> 
> It still gives the same error:
> 
> mikef@fart:~$ /home/mikef/gentoo/usr/bin/chromium
> [2223:2223:0628/084737.606858:FATAL:setuid_sandbox_host.cc(157)] The SUID
> sandbox helper binary was found, but is not configured correctly. Rather than
> run without sandboxing I'm aborting now. You need to make sure that
> /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox is owned by root
> and has mode 4755.

This seems pretty clear.  Run

ls -la /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox

That should show the file is owned by root, and that it has rwxr-xr-x
with an s somewhere.

Fabian

> 
> I added an extra line into the package.use file when I was trying to get xorg to
> work as non root:
> 
> mikef@fart:~/gentoo/etc/portage$ more package.use
> x11-base/xorg-server -suid
> # required by www-client/chromium-74.0.3729.169::gentoo
> # required by chromium (argument)
> >=dev-libs/libxml2-2.9.9-r1 icu
> # required by www-client/chromium-74.0.3729.169::gentoo
> # required by chromium (argument)
> >=media-libs/harfbuzz-2.5.1 icu
> # required by www-client/chromium-74.0.3729.169::gentoo
> # required by chromium (argument)
> >=sys-libs/zlib-1.2.11-r2 minizip
> # required by www-client/chromium-74.0.3729.169::gentoo
> # required by chromium (argument)
> >=net-libs/nodejs-11.14.0 inspector
> # required by x11-misc/xdg-utils-1.1.3-r1::gentoo
> # required by www-client/chromium-74.0.3729.169::gentoo
> # required by chromium (argument)
> >=app-text/xmlto-0.0.28-r1 text
> # required by x11-libs/gtk+-3.24.8::gentoo
> # required by x11-themes/adwaita-icon-theme-3.30.1::gentoo
> # required by x11-libs/gtk+-2.24.32-r1::gentoo
> # required by x11-themes/gtk-engines-adwaita-3.28::gentoo
> >=x11-libs/cairo-1.16.0-r3 X
> # required by www-client/chromium-74.0.3729.169::gentoo
> # required by chromium (argument)
> =net-libs/nodejs-10.15.3 inspector
> # required by www-client/chromium-74.0.3729.169::gentoo
> # required by chromium (argument)
> =net-libs/nodejs-8.16.0 inspector
> # required by www-client/chromium-74.0.3729.169::gentoo
> # required by chromium (argument)
> =net-libs/nodejs-8.12.0 inspector
> mikef@fart:~/gentoo/etc/portage$ 
> 
> It is affecting the suid function....
> 
> I commented it out but it did not help.
> 
> Regards
> 
> MF
> 
> 
> read_char: errno==EILSEQ; invalid byte sequence for UTF-8: 
-- 
Fabian Groffen
Gentoo on a different level

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-28  9:05                                                                         ` Fabian Groffen
@ 2019-06-28  9:11                                                                           ` Michael Fothergill
  2019-06-28 10:19                                                                             ` Fabian Groffen
  0 siblings, 1 reply; 54+ messages in thread
From: Michael Fothergill @ 2019-06-28  9:11 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 379 bytes --]

Many thanks again.

I ran the command to list the chromium sand box file:


mikef@fart:~/gentoo/etc/portage$ ls -la
/home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox
-rwxr-xr-x 1 root root 22384 Jun 26 01:52
/home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox
mikef@fart:~/gentoo/etc/portage$

I don't see any "s" in it but it is owned by root.


Regards

MF

[-- Attachment #2: Type: text/html, Size: 1050 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-28  9:11                                                                           ` Michael Fothergill
@ 2019-06-28 10:19                                                                             ` Fabian Groffen
  2019-06-28 10:22                                                                               ` Michael Fothergill
  0 siblings, 1 reply; 54+ messages in thread
From: Fabian Groffen @ 2019-06-28 10:19 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 647 bytes --]

chmod 4755 the file again, and check ls -la

On 28-06-2019 10:11:06 +0100, Michael Fothergill wrote:
> Many thanks again.
> 
> I ran the command to list the chromium sand box file:
> 
> mikef@fart:~/gentoo/etc/portage$ ls -la
> /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox
> -rwxr-xr-x 1 root root 22384 Jun 26 01:52
> /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox
> mikef@fart:~/gentoo/etc/portage$
> 
> I don't see any "s" in it but it is owned by root.
> 
> Regards
> 
> MF
> 
> 
> read_char: errno==EILSEQ; invalid byte sequence for UTF-8: 
-- 
Fabian Groffen
Gentoo on a different level

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-28 10:19                                                                             ` Fabian Groffen
@ 2019-06-28 10:22                                                                               ` Michael Fothergill
  2019-06-28 10:24                                                                                 ` Michael Fothergill
  2019-06-28 10:25                                                                                 ` Fabian Groffen
  0 siblings, 2 replies; 54+ messages in thread
From: Michael Fothergill @ 2019-06-28 10:22 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 1034 bytes --]

I ran the chmod 4755 command again and now there is an "s" present......

mikef@fart:~/gentoo/etc/portage$ !472
ls -la /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox
-rwsr-xr-x 1 root root 22384 Jun 26 01:52
/home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox

Regards

MF

On Fri, 28 Jun 2019 at 11:19, Fabian Groffen <grobian@gentoo.org> wrote:

> chmod 4755 the file again, and check ls -la
>
> On 28-06-2019 10:11:06 +0100, Michael Fothergill wrote:
> > Many thanks again.
> >
> > I ran the command to list the chromium sand box file:
> >
> > mikef@fart:~/gentoo/etc/portage$ ls -la
> > /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox
> > -rwxr-xr-x 1 root root 22384 Jun 26 01:52
> > /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox
> > mikef@fart:~/gentoo/etc/portage$
> >
> > I don't see any "s" in it but it is owned by root.
> >
> > Regards
> >
> > MF
> >
> >
> > read_char: errno==EILSEQ; invalid byte sequence for UTF-8:
> --
> Fabian Groffen
> Gentoo on a different level
>

[-- Attachment #2: Type: text/html, Size: 1889 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-28 10:22                                                                               ` Michael Fothergill
@ 2019-06-28 10:24                                                                                 ` Michael Fothergill
  2019-06-28 10:25                                                                                 ` Fabian Groffen
  1 sibling, 0 replies; 54+ messages in thread
From: Michael Fothergill @ 2019-06-28 10:24 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 1228 bytes --]

Chromium is running!

A great many thanks.

Regards

MF

On Fri, 28 Jun 2019 at 11:22, Michael Fothergill <
michael.fothergill@gmail.com> wrote:

> I ran the chmod 4755 command again and now there is an "s" present......
>
> mikef@fart:~/gentoo/etc/portage$ !472
> ls -la /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox
> -rwsr-xr-x 1 root root 22384 Jun 26 01:52
> /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox
>
> Regards
>
> MF
>
> On Fri, 28 Jun 2019 at 11:19, Fabian Groffen <grobian@gentoo.org> wrote:
>
>> chmod 4755 the file again, and check ls -la
>>
>> On 28-06-2019 10:11:06 +0100, Michael Fothergill wrote:
>> > Many thanks again.
>> >
>> > I ran the command to list the chromium sand box file:
>> >
>> > mikef@fart:~/gentoo/etc/portage$ ls -la
>> > /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox
>> > -rwxr-xr-x 1 root root 22384 Jun 26 01:52
>> > /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox
>> > mikef@fart:~/gentoo/etc/portage$
>> >
>> > I don't see any "s" in it but it is owned by root.
>> >
>> > Regards
>> >
>> > MF
>> >
>> >
>> > read_char: errno==EILSEQ; invalid byte sequence for UTF-8:
>> --
>> Fabian Groffen
>> Gentoo on a different level
>>
>

[-- Attachment #2: Type: text/html, Size: 2747 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-28 10:22                                                                               ` Michael Fothergill
  2019-06-28 10:24                                                                                 ` Michael Fothergill
@ 2019-06-28 10:25                                                                                 ` Fabian Groffen
  2019-06-28 10:33                                                                                   ` Michael Fothergill
  1 sibling, 1 reply; 54+ messages in thread
From: Fabian Groffen @ 2019-06-28 10:25 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 1500 bytes --]

Then now it should be as chromium wants it to be ...

I'll keep my fingers crossed it works this time.

Fabian

On 28-06-2019 11:22:37 +0100, Michael Fothergill wrote:
> I ran the chmod 4755 command again and now there is an "s" present......
> 
> mikef@fart:~/gentoo/etc/portage$ !472
> ls -la /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox
> -rwsr-xr-x 1 root root 22384 Jun 26 01:52
> /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox
> 
> Regards
> 
> MF
> 
> On Fri, 28 Jun 2019 at 11:19, Fabian Groffen <[1]grobian@gentoo.org> wrote:
> 
> > chmod 4755 the file again, and check ls -la
> 
> > On 28-06-2019 10:11:06 +0100, Michael Fothergill wrote:
> > > Many thanks again.
> > >
> > > I ran the command to list the chromium sand box file:
> > >
> > > mikef@fart:~/gentoo/etc/portage$ ls -la
> > > /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox
> > > -rwxr-xr-x 1 root root 22384 Jun 26 01:52
> > > /home/mikef/gentoo/usr/lib64/chromium-browser/chrome-sandbox
> > > mikef@fart:~/gentoo/etc/portage$
> > >
> > > I don't see any "s" in it but it is owned by root.
> > >
> > > Regards
> > >
> > > MF
> > >
> > >
> > > read_char: errno==EILSEQ; invalid byte sequence for UTF-8:
> > --
> > Fabian Groffen
> > Gentoo on a different level
> 
> 
> 
>  References:
>    1. mailto:grobian@gentoo.org
> 
> read_char: errno==EILSEQ; invalid byte sequence for UTF-8: 
-- 
Fabian Groffen
Gentoo on a different level

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-28 10:25                                                                                 ` Fabian Groffen
@ 2019-06-28 10:33                                                                                   ` Michael Fothergill
  2019-06-28 13:31                                                                                     ` Askar Bektassov
  0 siblings, 1 reply; 54+ messages in thread
From: Michael Fothergill @ 2019-06-28 10:33 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 6884 bytes --]

Chromium seems to be running normally.

Google searches work OK on it.

The output to the terminal before it runs is as follows:
mikef@fart:~/gentoo/etc/portage$ /home/mikef/gentoo/usr/bin/chromium
/etc/chromium/master_preferences: line 2: distribution:: command not found
/etc/chromium/master_preferences: line 3: import_bookmarks:: command not
found
/etc/chromium/master_preferences: line 4: import_bookmarks_from_file::
command not found
/etc/chromium/master_preferences: line 5: make_chrome_default:: command not
found
/etc/chromium/master_preferences: line 6: make_chrome_default_for_user::
command not found
/etc/chromium/master_preferences: line 7: verbose_logging:: command not
found
/etc/chromium/master_preferences: line 8: skip_first_run_ui:: command not
found
/etc/chromium/master_preferences: line 9: create_all_shortcuts:: command
not found
/etc/chromium/master_preferences: line 10:
suppress_first_run_default_browser_prompt:: command not found
/etc/chromium/master_preferences: line 11: },: command not found
/etc/chromium/master_preferences: line 12: browser:: command not found
/etc/chromium/master_preferences: line 13: show_home_button:: command not
found
/etc/chromium/master_preferences: line 14: has_seen_welcome_page: command
not found
/etc/chromium/master_preferences: line 15: check_default_browser: command
not found
/etc/chromium/master_preferences: line 16: },: command not found
/etc/chromium/master_preferences: line 17: profile:: command not found
/etc/chromium/master_preferences: line 18: default_content_setting_values::
command not found
/etc/chromium/master_preferences: line 19: payment_handler:: command not
found
/etc/chromium/master_preferences: line 21: },: command not found
/etc/chromium/master_preferences: line 22: bookmark_bar:: command not found
/etc/chromium/master_preferences: line 23: show_on_all_tabs:: command not
found
/etc/chromium/master_preferences: line 24: },: command not found
/etc/chromium/master_preferences: line 25: net:: command not found
/etc/chromium/master_preferences: line 26: network_prediction_options::
command not found
/etc/chromium/master_preferences: line 27: },: command not found
/etc/chromium/master_preferences: line 28: search:: command not found
/etc/chromium/master_preferences: line 29: suggest_enabled:: command not
found
/etc/chromium/master_preferences: line 30: },: command not found
/etc/chromium/master_preferences: line 31: signin:: command not found
/etc/chromium/master_preferences: line 32: allowed:: command not found
/etc/chromium/master_preferences: line 33: allowed_on_next_startup::
command not found
/etc/chromium/master_preferences: line 34: },: command not found
/etc/chromium/master_preferences: line 35: autofill:: command not found
/etc/chromium/master_preferences: line 36: profile_enabled:: command not
found
/etc/chromium/master_preferences: line 37: credit_card_enabled:: command
not found
/etc/chromium/master_preferences: line 38: },: command not found
/etc/chromium/master_preferences: line 39: payments:: command not found
/etc/chromium/master_preferences: line 40: can_make_payment_enabled::
command not found
/etc/chromium/master_preferences: line 41: },: command not found
/etc/chromium/master_preferences: line 42: safebrowsing:: command not found
/etc/chromium/master_preferences: line 43: enabled:: command not found
/etc/chromium/master_preferences: line 44: },: command not found
/etc/chromium/master_preferences: line 45: dns_prefetching:: command not
found
/etc/chromium/master_preferences: line 46: enabled:: command not found
/etc/chromium/master_preferences: line 47: },: command not found
/etc/chromium/master_preferences: line 48: alternate_error_pages:: command
not found
/etc/chromium/master_preferences: line 49: enabled:: command not found
/etc/chromium/master_preferences: line 50: },: command not found
/etc/chromium/master_preferences: line 51: credentials_enable_service::
command not found
/etc/chromium/master_preferences: line 52: credentials_enable_autosignin::
command not found
/etc/chromium/master_preferences: line 53: default_apps:: command not found
/etc/chromium/master_preferences: line 54: hide_web_store_icon:: command
not found
/etc/chromium/master_preferences: line 55: homepage_is_newtabpage:: command
not found
/etc/chromium/master_preferences: line 56: homepage:: command not found
/etc/chromium/master_preferences: line 57: syntax error near unexpected
token `}'
/etc/chromium/master_preferences: line 57: `}'
[4331:4398:0628/102340.984813:ERROR:bus.cc(394)] Failed to connect to the
bus: Failed to connect to socket
/home/mikef/gentoo/run/dbus/system_bus_socket: No such file or directory
[4331:4561:0628/102341.204404:ERROR:bus.cc(394)] Failed to connect to the
bus: Could not parse server address: Unknown address type (examples of
valid types are "tcp" and on UNIX "unix")
[4409:4409:0628/102341.258081:ERROR:sandbox_linux.cc(369)]
InitializeSandbox() called with multiple threads in process gpu-process.
[4409:4409:0628/102341.449837:ERROR:buffer_manager.cc(488)]
[.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error
from previous GL command
[4331:4608:0628/102341.454178:ERROR:bus.cc(394)] Failed to connect to the
bus: Failed to connect to socket
/home/mikef/gentoo/run/dbus/system_bus_socket: No such file or directory
[4331:4608:0628/102341.454261:ERROR:bus.cc(394)] Failed to connect to the
bus: Failed to connect to socket
/home/mikef/gentoo/run/dbus/system_bus_socket: No such file or directory
[4331:4608:0628/102341.454378:ERROR:bus.cc(394)] Failed to connect to the
bus: Failed to connect to socket
/home/mikef/gentoo/run/dbus/system_bus_socket: No such file or directory
[4331:4608:0628/102341.454418:ERROR:bus.cc(394)] Failed to connect to the
bus: Failed to connect to socket
/home/mikef/gentoo/run/dbus/system_bus_socket: No such file or directory
[4331:4608:0628/102341.454454:ERROR:bus.cc(394)] Failed to connect to the
bus: Failed to connect to socket
/home/mikef/gentoo/run/dbus/system_bus_socket: No such file or directory




[4409:4409:0628/102538.731014:ERROR:buffer_manager.cc(488)]
[.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error
from previous GL command
[4409:4409:0628/102539.295346:ERROR:buffer_manager.cc(488)]
[.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error
from previous GL command
[4331:4395:0628/102541.671190:ERROR:browser_process_sub_thread.cc(203)]
Waited 93 ms for network service

It looks gloomy and miserable but it actually runs OK in the end.......


Many thanks.

PS Before I did this I tried installing chromium in debian.

It ran OK.

I tried running the gentoo prefix chromium to see if the successful sandbox
setup for the debian chromium might help the gentoo prefix one to work in
some way.

It did not seem to help.

But the chmod 4755 command did........

Cheers

Regards

MF









>
>
>

[-- Attachment #2: Type: text/html, Size: 9438 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-28 10:33                                                                                   ` Michael Fothergill
@ 2019-06-28 13:31                                                                                     ` Askar Bektassov
  2019-06-28 14:50                                                                                       ` Michael Fothergill
  0 siblings, 1 reply; 54+ messages in thread
From: Askar Bektassov @ 2019-06-28 13:31 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 7541 bytes --]

Michael,

Great news! Now, after all the support you got from Fabian, I suggest you make a nice tutorial out of it :)

Cheerios,
--
Askar Bektassov (Аскар Бектасов)
Sent from mobile, please excuse my brevity and typos

> On 28 Jun 2019, at 12:33, Michael Fothergill <michael.fothergill@gmail.com> wrote:
> 
> 
> Chromium seems to be running normally.
> 
> Google searches work OK on it.
> 
> The output to the terminal before it runs is as follows:
> mikef@fart:~/gentoo/etc/portage$ /home/mikef/gentoo/usr/bin/chromium
> /etc/chromium/master_preferences: line 2: distribution:: command not found
> /etc/chromium/master_preferences: line 3: import_bookmarks:: command not found
> /etc/chromium/master_preferences: line 4: import_bookmarks_from_file:: command not found
> /etc/chromium/master_preferences: line 5: make_chrome_default:: command not found
> /etc/chromium/master_preferences: line 6: make_chrome_default_for_user:: command not found
> /etc/chromium/master_preferences: line 7: verbose_logging:: command not found
> /etc/chromium/master_preferences: line 8: skip_first_run_ui:: command not found
> /etc/chromium/master_preferences: line 9: create_all_shortcuts:: command not found
> /etc/chromium/master_preferences: line 10: suppress_first_run_default_browser_prompt:: command not found
> /etc/chromium/master_preferences: line 11: },: command not found
> /etc/chromium/master_preferences: line 12: browser:: command not found
> /etc/chromium/master_preferences: line 13: show_home_button:: command not found
> /etc/chromium/master_preferences: line 14: has_seen_welcome_page: command not found
> /etc/chromium/master_preferences: line 15: check_default_browser: command not found
> /etc/chromium/master_preferences: line 16: },: command not found
> /etc/chromium/master_preferences: line 17: profile:: command not found
> /etc/chromium/master_preferences: line 18: default_content_setting_values:: command not found
> /etc/chromium/master_preferences: line 19: payment_handler:: command not found
> /etc/chromium/master_preferences: line 21: },: command not found
> /etc/chromium/master_preferences: line 22: bookmark_bar:: command not found
> /etc/chromium/master_preferences: line 23: show_on_all_tabs:: command not found
> /etc/chromium/master_preferences: line 24: },: command not found
> /etc/chromium/master_preferences: line 25: net:: command not found
> /etc/chromium/master_preferences: line 26: network_prediction_options:: command not found
> /etc/chromium/master_preferences: line 27: },: command not found
> /etc/chromium/master_preferences: line 28: search:: command not found
> /etc/chromium/master_preferences: line 29: suggest_enabled:: command not found
> /etc/chromium/master_preferences: line 30: },: command not found
> /etc/chromium/master_preferences: line 31: signin:: command not found
> /etc/chromium/master_preferences: line 32: allowed:: command not found
> /etc/chromium/master_preferences: line 33: allowed_on_next_startup:: command not found
> /etc/chromium/master_preferences: line 34: },: command not found
> /etc/chromium/master_preferences: line 35: autofill:: command not found
> /etc/chromium/master_preferences: line 36: profile_enabled:: command not found
> /etc/chromium/master_preferences: line 37: credit_card_enabled:: command not found
> /etc/chromium/master_preferences: line 38: },: command not found
> /etc/chromium/master_preferences: line 39: payments:: command not found
> /etc/chromium/master_preferences: line 40: can_make_payment_enabled:: command not found
> /etc/chromium/master_preferences: line 41: },: command not found
> /etc/chromium/master_preferences: line 42: safebrowsing:: command not found
> /etc/chromium/master_preferences: line 43: enabled:: command not found
> /etc/chromium/master_preferences: line 44: },: command not found
> /etc/chromium/master_preferences: line 45: dns_prefetching:: command not found
> /etc/chromium/master_preferences: line 46: enabled:: command not found
> /etc/chromium/master_preferences: line 47: },: command not found
> /etc/chromium/master_preferences: line 48: alternate_error_pages:: command not found
> /etc/chromium/master_preferences: line 49: enabled:: command not found
> /etc/chromium/master_preferences: line 50: },: command not found
> /etc/chromium/master_preferences: line 51: credentials_enable_service:: command not found
> /etc/chromium/master_preferences: line 52: credentials_enable_autosignin:: command not found
> /etc/chromium/master_preferences: line 53: default_apps:: command not found
> /etc/chromium/master_preferences: line 54: hide_web_store_icon:: command not found
> /etc/chromium/master_preferences: line 55: homepage_is_newtabpage:: command not found
> /etc/chromium/master_preferences: line 56: homepage:: command not found
> /etc/chromium/master_preferences: line 57: syntax error near unexpected token `}'
> /etc/chromium/master_preferences: line 57: `}'
> [4331:4398:0628/102340.984813:ERROR:bus.cc(394)] Failed to connect to the bus: Failed to connect to socket /home/mikef/gentoo/run/dbus/system_bus_socket: No such file or directory
> [4331:4561:0628/102341.204404:ERROR:bus.cc(394)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
> [4409:4409:0628/102341.258081:ERROR:sandbox_linux.cc(369)] InitializeSandbox() called with multiple threads in process gpu-process.
> [4409:4409:0628/102341.449837:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
> [4331:4608:0628/102341.454178:ERROR:bus.cc(394)] Failed to connect to the bus: Failed to connect to socket /home/mikef/gentoo/run/dbus/system_bus_socket: No such file or directory
> [4331:4608:0628/102341.454261:ERROR:bus.cc(394)] Failed to connect to the bus: Failed to connect to socket /home/mikef/gentoo/run/dbus/system_bus_socket: No such file or directory
> [4331:4608:0628/102341.454378:ERROR:bus.cc(394)] Failed to connect to the bus: Failed to connect to socket /home/mikef/gentoo/run/dbus/system_bus_socket: No such file or directory
> [4331:4608:0628/102341.454418:ERROR:bus.cc(394)] Failed to connect to the bus: Failed to connect to socket /home/mikef/gentoo/run/dbus/system_bus_socket: No such file or directory
> [4331:4608:0628/102341.454454:ERROR:bus.cc(394)] Failed to connect to the bus: Failed to connect to socket /home/mikef/gentoo/run/dbus/system_bus_socket: No such file or directory
> 
> 
> 
> 
> [4409:4409:0628/102538.731014:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
> [4409:4409:0628/102539.295346:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
> [4331:4395:0628/102541.671190:ERROR:browser_process_sub_thread.cc(203)] Waited 93 ms for network service
> 
>> It looks gloomy and miserable but it actually runs OK in the end.......
> 
> Many thanks.
> 
> PS Before I did this I tried installing chromium in debian.
> 
> It ran OK.
> 
> I tried running the gentoo prefix chromium to see if the successful sandbox setup for the debian chromium might help the gentoo prefix one to work in some way.
> 
> It did not seem to help.
> 
> But the chmod 4755 command did........
> 
> Cheers
> 
> Regards
> 
> MF
> 
> 
> 
> 
> 
> 
> 
>  
>> 
>> 

[-- Attachment #2: Type: text/html, Size: 10706 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-28 13:31                                                                                     ` Askar Bektassov
@ 2019-06-28 14:50                                                                                       ` Michael Fothergill
  2019-06-28 15:19                                                                                         ` Michael Fothergill
  0 siblings, 1 reply; 54+ messages in thread
From: Michael Fothergill @ 2019-06-28 14:50 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 368 bytes --]

If I would make a tutorial, would it be a discussion on the gentoo talk web
page or a youtube video or something else?

What is the most interesting thing for other users here?

Is it the compilation of chromium and the fixing of the nghttp2 problem or
is the installation of gentoo prefix on debian that I did at the beginning
of
this endeavour?

Regards

MF


>>
>>

[-- Attachment #2: Type: text/html, Size: 1473 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-28 14:50                                                                                       ` Michael Fothergill
@ 2019-06-28 15:19                                                                                         ` Michael Fothergill
  0 siblings, 0 replies; 54+ messages in thread
From: Michael Fothergill @ 2019-06-28 15:19 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 135 bytes --]

Could I write it here?

https://wiki.gentoo.org/index.php?title=Project_Talk:Prefix/Use_cases&action=edit&section=1

Regards

MF


>>>

[-- Attachment #2: Type: text/html, Size: 1378 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2019-06-24 10:44     ` Michael Fothergill
  2019-06-25 13:05       ` Michael Fothergill
@ 2020-05-13  0:34       ` Benda Xu
  2020-05-14 17:31         ` Michael Fothergill
  1 sibling, 1 reply; 54+ messages in thread
From: Benda Xu @ 2020-05-13  0:34 UTC (permalink / raw
  To: gentoo-alt

Hi Michael,

How was this project going?  Have you succeeded in compiling chromium in
Gentoo Prefix?

Benda

Michael Fothergill <michael.fothergill@gmail.com> writes:

> Many thanks for the reply.
>
> I went in the $EPREFIX/var/lib/repos/gentoo directory to look for the
> nghttp2 ebuild......
>
> The ebuild lives here on my machine:
>
> mikef@fart:~/gentoo/usr/portage/net-libs/nghttp2
>
> I found the nghttp2-1.39.1.ebuild file.
>
> Toward the end of the file there is a bit of code with the myeconfargs
> variable (or whatever it is) present in it:
>
> multilib_src_configure() {
>         local myeconfargs=(
>                 --disable-examples
>                 --disable-failmalloc
>                 --disable-python-bindings
>                 --disable-werror
>                 --without-cython
>                 $(use_enable cxx asio-lib)
>                 $(use_enable debug)
>                 $(multilib_native_use_enable hpack-tools)
>                 $(use_enable static-libs static)
>                 $(use_enable threads)
>                 $(multilib_native_use_enable utils app)
>                 $(multilib_native_use_with jemalloc)
>                 $(multilib_native_use_with xml libxml2)
>         )
>         ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
> }
>
> multilib_src_install_all() {
>         if ! use static-libs ; then
>                 find "${ED}"/usr -name '*.la' -delete || die
>         fi
> }
> mikef@fart:~/gentoo/usr/portage/net-libs/nghttp2$
>
> ***************************************
> Presumably if I would edit this file with e.g. emacs then I could add
> --with-boost="${EPREFIX}"/usr
>
> to the file after the two instances of myeconfargs (or do I only do it
> once in the ECONF_SOURCE line?).....
>
> Also would I add --with-boost="${EPREFIX}"/usr OR
> --with-boost=/home/mikef/gentoo/usr
> ie the actual path on my machine here?
>
> I did not realise the ebuilds were editable files that lived in
> directories in the install itself.
> I thought portage used them for the compilations but they were off
> limits to users like me and only assembled
> by developers and converted to a form that was not easily accessible etc.....
>
>
> If this succeeds and chromium compiles, could I use the make.conf file
> video card entries etc from my conventional
> gentoo install I have here on this machine to modify the gentoo prefix
> make.conf file to allow me to emerge and
> install xorg-server ie  x11-base/xorg-server in gentoo prefix and then
> run startx etc?
>
> I would then  install i3 and dmenu etc and then run chromium.......
>
> I think this is better than using e.g. bedrock linux etc.  Gentoo and
> debian are both good.  If you combine them
> then that would be useful I think.
>
> Comments appreciated.
>
> Regards
>
> MF
>
>
>
>
> On Mon, 24 Jun 2019 at 09:50, Fabian Groffen <grobian@gentoo.org> wrote:
>>
>> 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="${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
>> >


^ permalink raw reply	[flat|nested] 54+ messages in thread

* Re: [gentoo-alt] Re: simple question about installing chromium browser for use in debian OS using gentoo prefix..
  2020-05-13  0:34       ` Benda Xu
@ 2020-05-14 17:31         ` Michael Fothergill
  0 siblings, 0 replies; 54+ messages in thread
From: Michael Fothergill @ 2020-05-14 17:31 UTC (permalink / raw
  To: gentoo-alt

[-- Attachment #1: Type: text/plain, Size: 4384 bytes --]

Dear Benda,

Yes. I did succeed with the compilation.

I logged back into gentoo prefix to check again.

See here:

mikef@fart:~/gentoo$ equery l chromium
 * Searching for chromium ...
[IP-] [  ] www-client/chromium-76.0.3809.36:0
mikef@fart:~/gentoo$

If you run /usr/bin/chromium the browser window fires up.........

The history command still shows the commands I ran to install it.

Cheers

MF


On Wed, 13 May 2020 at 01:34, Benda Xu <heroxbd@gentoo.org> wrote:

> Hi Michael,
>
> How was this project going?  Have you succeeded in compiling chromium in
> Gentoo Prefix?
>
> Benda
>
> Michael Fothergill <michael.fothergill@gmail.com> writes:
>
> > Many thanks for the reply.
> >
> > I went in the $EPREFIX/var/lib/repos/gentoo directory to look for the
> > nghttp2 ebuild......
> >
> > The ebuild lives here on my machine:
> >
> > mikef@fart:~/gentoo/usr/portage/net-libs/nghttp2
> >
> > I found the nghttp2-1.39.1.ebuild file.
> >
> > Toward the end of the file there is a bit of code with the myeconfargs
> > variable (or whatever it is) present in it:
> >
> > multilib_src_configure() {
> >         local myeconfargs=(
> >                 --disable-examples
> >                 --disable-failmalloc
> >                 --disable-python-bindings
> >                 --disable-werror
> >                 --without-cython
> >                 $(use_enable cxx asio-lib)
> >                 $(use_enable debug)
> >                 $(multilib_native_use_enable hpack-tools)
> >                 $(use_enable static-libs static)
> >                 $(use_enable threads)
> >                 $(multilib_native_use_enable utils app)
> >                 $(multilib_native_use_with jemalloc)
> >                 $(multilib_native_use_with xml libxml2)
> >         )
> >         ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
> > }
> >
> > multilib_src_install_all() {
> >         if ! use static-libs ; then
> >                 find "${ED}"/usr -name '*.la' -delete || die
> >         fi
> > }
> > mikef@fart:~/gentoo/usr/portage/net-libs/nghttp2$
> >
> > ***************************************
> > Presumably if I would edit this file with e.g. emacs then I could add
> > --with-boost="${EPREFIX}"/usr
> >
> > to the file after the two instances of myeconfargs (or do I only do it
> > once in the ECONF_SOURCE line?).....
> >
> > Also would I add --with-boost="${EPREFIX}"/usr OR
> > --with-boost=/home/mikef/gentoo/usr
> > ie the actual path on my machine here?
> >
> > I did not realise the ebuilds were editable files that lived in
> > directories in the install itself.
> > I thought portage used them for the compilations but they were off
> > limits to users like me and only assembled
> > by developers and converted to a form that was not easily accessible
> etc.....
> >
> >
> > If this succeeds and chromium compiles, could I use the make.conf file
> > video card entries etc from my conventional
> > gentoo install I have here on this machine to modify the gentoo prefix
> > make.conf file to allow me to emerge and
> > install xorg-server ie  x11-base/xorg-server in gentoo prefix and then
> > run startx etc?
> >
> > I would then  install i3 and dmenu etc and then run chromium.......
> >
> > I think this is better than using e.g. bedrock linux etc.  Gentoo and
> > debian are both good.  If you combine them
> > then that would be useful I think.
> >
> > Comments appreciated.
> >
> > Regards
> >
> > MF
> >
> >
> >
> >
> > On Mon, 24 Jun 2019 at 09:50, Fabian Groffen <grobian@gentoo.org> wrote:
> >>
> >> 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="${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
> >> >
>
>

[-- Attachment #2: Type: text/html, Size: 6933 bytes --]

^ permalink raw reply	[flat|nested] 54+ messages in thread

end of thread, other threads:[~2020-05-14 17:31 UTC | newest]

Thread overview: 54+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-21 16:09 [gentoo-alt] simple question about installing chromium browser for use in debian OS using gentoo prefix Michael Fothergill
2019-06-23 10:03 ` [gentoo-alt] " Michael Fothergill
2019-06-24  8:50   ` Fabian Groffen
2019-06-24 10:44     ` Michael Fothergill
2019-06-25 13:05       ` Michael Fothergill
2019-06-25 13:17         ` Fabian Groffen
2019-06-25 13:39           ` Michael Fothergill
2019-06-25 16:37             ` Michael Fothergill
2019-06-25 17:52               ` Fabian Groffen
2019-06-26  1:37                 ` Sam Pfeiffer
2019-06-26  9:40                   ` Michael Fothergill
2019-06-26 10:07                     ` Michael Fothergill
2019-06-26 13:49                       ` Michael Fothergill
2019-06-26 13:53                     ` Fabian Groffen
2019-06-26 14:39                       ` Michael Fothergill
2019-06-26 14:43                         ` Michael Fothergill
2019-06-26 14:50                           ` Sam Pfeiffer
2019-06-26 18:40                           ` Fabian Groffen
2019-06-26 18:50                             ` Fabian Groffen
2019-06-27 11:03                               ` Michael Fothergill
2019-06-27 11:09                                 ` Michael Fothergill
2019-06-27 11:18                                   ` Fabian Groffen
2019-06-27 11:41                                     ` Michael Fothergill
2019-06-27 11:46                                       ` Fabian Groffen
2019-06-27 12:06                                         ` Michael Fothergill
2019-06-27 12:11                                           ` Fabian Groffen
2019-06-27 12:15                                             ` Michael Fothergill
2019-06-27 12:23                                               ` Fabian Groffen
2019-06-27 12:48                                                 ` Michael Fothergill
2019-06-27 13:11                                                   ` Michael Fothergill
2019-06-27 13:16                                                     ` Michael Fothergill
2019-06-27 21:15                                                       ` Michael Fothergill
2019-06-27 21:17                                                         ` Michael Fothergill
2019-06-27 21:23                                                           ` Michael Fothergill
2019-06-28  7:23                                                             ` Fabian Groffen
2019-06-28  8:27                                                               ` Michael Fothergill
2019-06-28  8:31                                                                 ` Fabian Groffen
2019-06-28  8:36                                                                   ` Michael Fothergill
2019-06-28  8:40                                                                     ` Fabian Groffen
2019-06-28  9:00                                                                       ` Michael Fothergill
2019-06-28  9:04                                                                         ` Michael Fothergill
2019-06-28  9:05                                                                         ` Fabian Groffen
2019-06-28  9:11                                                                           ` Michael Fothergill
2019-06-28 10:19                                                                             ` Fabian Groffen
2019-06-28 10:22                                                                               ` Michael Fothergill
2019-06-28 10:24                                                                                 ` Michael Fothergill
2019-06-28 10:25                                                                                 ` Fabian Groffen
2019-06-28 10:33                                                                                   ` Michael Fothergill
2019-06-28 13:31                                                                                     ` Askar Bektassov
2019-06-28 14:50                                                                                       ` Michael Fothergill
2019-06-28 15:19                                                                                         ` Michael Fothergill
2019-06-28  7:20                                                         ` Fabian Groffen
2020-05-13  0:34       ` Benda Xu
2020-05-14 17:31         ` Michael Fothergill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox