Re: [gentoo-user] emerge libxcb fails

2016-01-23 Thread Alec Ten Harmsel
On Sat, Jan 23, 2016 at 09:52:29PM +0100, k...@aspodata.se wrote:
> Karl Hammar:
> > Alec Ten Harmsel:
> > > On Tue, Jan 19, 2016 at 10:05:49PM +0100, k...@aspodata.se wrote:
> > > > Alec: Ten Harmsel:
> > > > > On Tue, Jan 19, 2016 at 08:01:19PM +0100, k...@aspodata.se wrote:
> > > > > >  Makefile:1318: recipe for target 'xinput.c' failed
> > > > > > when emerging x11-libs/libxcb-1.11.1, logs etc.:
> ...
> > > The problem is a python script that runs in the build process has a
> > > KeyError. I did notice that for you, that python script is running on
> > > files in `/usr/local/share/xcb', while it runs on files in
> > > `/usr/share/xcb' on mine. These are a part of the `x11-proto/xcb-proto'
> > > package. Do you have a version of xcb-proto installed in /usr/local? It
> > > is possible that the libxcb configure script is picking an old version
> > > of xcb-proto that is installed in `/usr/local' over the correct version
> > > installed in `/usr'.
> > 
> > Yes, that's probably it, thanks for the look.
> > 
> > > I would recommend removing `/usr/local/share/xcb' and trying to install
> > > libxcb again.
> > 
> > I mv'ed /usr/local/share but it didn't help.
> 
> emerge -C'd x*/* thing, and reemerged, didn't help.
> 
> Restarting the installation of gentoo from the very beginning helped.
> Wasn't aware of that /usr/local could affect installing gentoo 
> packages, havn't had that experience with binary distributions.
> Well, case closed.

Ideally, it shouldn't. However, sometimes configure scripts and/or
portage's environment somehow gets polluted by stuff in `/usr/local'.

Alec



Re: [gentoo-user] emerge libxcb fails

2016-01-23 Thread karl
Karl Hammar:
> Alec Ten Harmsel:
> > On Tue, Jan 19, 2016 at 10:05:49PM +0100, k...@aspodata.se wrote:
> > > Alec: Ten Harmsel:
> > > > On Tue, Jan 19, 2016 at 08:01:19PM +0100, k...@aspodata.se wrote:
> > > > >  Makefile:1318: recipe for target 'xinput.c' failed
> > > > > when emerging x11-libs/libxcb-1.11.1, logs etc.:
...
> > The problem is a python script that runs in the build process has a
> > KeyError. I did notice that for you, that python script is running on
> > files in `/usr/local/share/xcb', while it runs on files in
> > `/usr/share/xcb' on mine. These are a part of the `x11-proto/xcb-proto'
> > package. Do you have a version of xcb-proto installed in /usr/local? It
> > is possible that the libxcb configure script is picking an old version
> > of xcb-proto that is installed in `/usr/local' over the correct version
> > installed in `/usr'.
> 
> Yes, that's probably it, thanks for the look.
> 
> > I would recommend removing `/usr/local/share/xcb' and trying to install
> > libxcb again.
> 
> I mv'ed /usr/local/share but it didn't help.

emerge -C'd x*/* thing, and reemerged, didn't help.

Restarting the installation of gentoo from the very beginning helped.
Wasn't aware of that /usr/local could affect installing gentoo 
packages, havn't had that experience with binary distributions.
Well, case closed.

Regards,
/Karl Hammar

---
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57





Re: [gentoo-user] emerge libxcb fails

2016-01-20 Thread Peter Humphrey
On Tuesday 19 January 2016 22:40:31 k...@aspodata.se wrote:
> Alec Ten Harmsel:
> > In general (someone else, correct me if I'm wrong) this list would much
> > rather have you attach a compressed build.log when you mail in the
> > problem. That way, there is no chance of permissions problems, and
> > years from now, the logs will still be here for posterity.
> 
> They were kindof big, so I didn't want to swamp the mailing list.

Well, you can always gzip them and attach them.

-- 
Rgds
Peter




Re: [gentoo-user] emerge libxcb fails

2016-01-19 Thread karl
Alec Ten Harmsel:
> On Tue, Jan 19, 2016 at 10:05:49PM +0100, k...@aspodata.se wrote:
> > Alec: Ten Harmsel:
> > > On Tue, Jan 19, 2016 at 08:01:19PM +0100, k...@aspodata.se wrote:
> > > > I'm getting
> > > > 
> > > >  Makefile:1318: recipe for target 'xinput.c' failed
> > > > 
> > > > when emerging x11-libs/libxcb-1.11.1, logs etc.:
> > > > 
> > > >  http://turkos.aspodata.se/tmp/gentoo/
> > > 
> > > I can't read build.log - 403 permission denied.
> > 
> > Ok, fixed. I did not check emerge's log permission.
> 
> In general (someone else, correct me if I'm wrong) this list would much
> rather have you attach a compressed build.log when you mail in the
> problem. That way, there is no chance of permissions problems, and years
> from now, the logs will still be here for posterity.

They were kindof big, so I didn't want to swamp the mailing list.

> The problem is a python script that runs in the build process has a
> KeyError. I did notice that for you, that python script is running on
> files in `/usr/local/share/xcb', while it runs on files in
> `/usr/share/xcb' on mine. These are a part of the `x11-proto/xcb-proto'
> package. Do you have a version of xcb-proto installed in /usr/local? It
> is possible that the libxcb configure script is picking an old version
> of xcb-proto that is installed in `/usr/local' over the correct version
> installed in `/usr'.

Yes, that's probably it, thanks for the look.

> I would recommend removing `/usr/local/share/xcb' and trying to install
> libxcb again.

I mv'ed /usr/local/share but it didn't help.

Is there some make clean or similar for emerge, tried --fail-clean a 
couple of times, but that didn't help. Perhaps if I change some use var
and run emerge -auDN @system, would that help. Well that would be a
thing for tomorrow.

Regards,
/Karl Hammar

---
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57





Re: [gentoo-user] emerge libxcb fails

2016-01-19 Thread karl
Alec: Ten Harmsel:
> On Tue, Jan 19, 2016 at 08:01:19PM +0100, k...@aspodata.se wrote:
> > I'm getting
> > 
> >  Makefile:1318: recipe for target 'xinput.c' failed
> > 
> > when emerging x11-libs/libxcb-1.11.1, logs etc.:
> > 
> >  http://turkos.aspodata.se/tmp/gentoo/
> 
> I can't read build.log - 403 permission denied.

Ok, fixed. I did not check emerge's log permission.

> > I get similar errors with:
> > 
> >  emerge =libxcb-1.10
> >  emerge =libxcb-1.9.1
> > 
> > Have anyone seen anything similar, maybe there something missing here ?
> 
> Nope, installed fine here.

Ok, I'll try from X git sources tomorrow.
Thanks for your answer anyhow.

Regards,
/Karl Hammar

---
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57





Re: [gentoo-user] emerge libxcb fails

2016-01-19 Thread Alec Ten Harmsel
On Tue, Jan 19, 2016 at 10:05:49PM +0100, k...@aspodata.se wrote:
> Alec: Ten Harmsel:
> > On Tue, Jan 19, 2016 at 08:01:19PM +0100, k...@aspodata.se wrote:
> > > I'm getting
> > > 
> > >  Makefile:1318: recipe for target 'xinput.c' failed
> > > 
> > > when emerging x11-libs/libxcb-1.11.1, logs etc.:
> > > 
> > >  http://turkos.aspodata.se/tmp/gentoo/
> > 
> > I can't read build.log - 403 permission denied.
> 
> Ok, fixed. I did not check emerge's log permission.

In general (someone else, correct me if I'm wrong) this list would much
rather have you attach a compressed build.log when you mail in the
problem. That way, there is no chance of permissions problems, and years
from now, the logs will still be here for posterity.

The problem is a python script that runs in the build process has a
KeyError. I did notice that for you, that python script is running on
files in `/usr/local/share/xcb', while it runs on files in
`/usr/share/xcb' on mine. These are a part of the `x11-proto/xcb-proto'
package. Do you have a version of xcb-proto installed in /usr/local? It
is possible that the libxcb configure script is picking an old version
of xcb-proto that is installed in `/usr/local' over the correct version
installed in `/usr'.

I would recommend removing `/usr/local/share/xcb' and trying to install
libxcb again.

Alec



Re: [gentoo-user] emerge libxcb fails

2016-01-19 Thread Alec Ten Harmsel
On Tue, Jan 19, 2016 at 08:01:19PM +0100, k...@aspodata.se wrote:
> I'm getting
> 
>  Makefile:1318: recipe for target 'xinput.c' failed
> 
> when emerging x11-libs/libxcb-1.11.1, logs etc.:
> 
>  http://turkos.aspodata.se/tmp/gentoo/

I can't read build.log - 403 permission denied.

> I get similar errors with:
> 
>  emerge =libxcb-1.10
>  emerge =libxcb-1.9.1
> 
> Have anyone seen anything similar, maybe there something missing here ?

Nope, installed fine here.

Alec