public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Neither klibc nor splashutils will emerge
@ 2006-08-23 21:11 Mick
  2006-08-24  6:07 ` [gentoo-user] " Mick
  0 siblings, 1 reply; 11+ messages in thread
From: Mick @ 2006-08-23 21:11 UTC (permalink / raw
  To: gentoo-user

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

Hi All,

I can't emerge either of these packages.  I have remerged gcc to no avail.  
How do I troubleshoot this?

These are the error messages for klibc:
=============================================
 KLIBCAS klibc/syscalls/__reboot.o 
  KLIBCAS klibc/syscalls/sysinfo.o 
  KLIBCAS klibc/syscalls/klogctl.o 
  KLIBCAS klibc/syscalls/iopl.o 
  KLIBCAS klibc/syscalls/ioperm.o 
  KLIBCAS klibc/syscalls/vm86.o 
  KLIBCLD klibc/syscalls/syscalls.o 
make[1]: *** [all] Error 2 
make: *** [klibc] Error 2 

!!! ERROR: dev-libs/klibc-1.2.1-r2 failed. 
Call stack: 
  ebuild.sh, line 1539:   Called dyn_compile 
  ebuild.sh, line 939:   Called src_compile 
  klibc-1.2.1-r2.ebuild, line 138:   Called die 

!!! Compile failed!
=============================================

and these for splashutils:
=============================================
/usr/lib/klibc/include/linux/device.h: In function `dev_get_drvdata': 
/usr/lib/klibc/include/linux/device.h:348: error: dereferencing pointer to 
incomplete type 
/usr/lib/klibc/include/linux/device.h: In function `dev_set_drvdata': 
/usr/lib/klibc/include/linux/device.h:354: error: dereferencing pointer to 
incomplete type 
/usr/lib/klibc/include/linux/device.h: In function `device_is_registered': 
/usr/lib/klibc/include/linux/device.h:359: error: dereferencing pointer to 
incomplete type 
In file included from /usr/lib/klibc/include/linux/notifier.h:13, 
                 from /usr/lib/klibc/include/linux/backlight.h:12, 
                 from /usr/lib/klibc/include/linux/fb.h:4, 
                 from kernel.c:16: 
/usr/lib/klibc/include/linux/mutex.h: At top level: 
/usr/lib/klibc/include/linux/mutex.h:51: error: field `wait_list' has 
incomplete type 
/usr/lib/klibc/include/linux/mutex.h:67: error: field `list' has incomplete 
type 
In file included from /usr/lib/klibc/include/linux/backlight.h:12, 
                 from /usr/lib/klibc/include/linux/fb.h:4, 
                 from kernel.c:16: 
/usr/lib/klibc/include/linux/notifier.h:47: error: field `rwsem' has 
incomplete type 
In file included from /usr/lib/klibc/include/linux/fb.h:4, 
                 from kernel.c:16: 
/usr/lib/klibc/include/linux/backlight.h:47: error: field `sem' has incomplete 
type 
kernel.c: In function `handle_init': 
kernel.c:191: error: `MAX_NR_CONSOLES' undeclared (first use in this function) 
kernel.c: At top level: 
/usr/lib/klibc/include/linux/device.h:332: error: storage size of `dma_pools' 
isn't known 
/usr/lib/klibc/include/linux/device.h:338: error: storage size of `node' isn't 
known 
make: *** [kernel/kernel.o] Error 1 

!!! ERROR: media-gfx/splashutils-1.1.9.10-r1 failed. 
Call stack: 
  ebuild.sh, line 1539:   Called dyn_compile 
  ebuild.sh, line 939:   Called src_compile 
  splashutils-1.1.9.10-r1.ebuild, line 141:   Called die 

!!! failed to build splashutils
=============================================

The reason I tried to remerge klibc was to solve the spashutils problem in the 
first instance, but now I'm stuck.  :(
-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* [gentoo-user] Re: Neither klibc nor splashutils will emerge
  2006-08-23 21:11 [gentoo-user] Neither klibc nor splashutils will emerge Mick
@ 2006-08-24  6:07 ` Mick
  2006-08-24  6:12   ` Donnie Berkholz
  2006-08-24  6:24   ` Richard Fish
  0 siblings, 2 replies; 11+ messages in thread
From: Mick @ 2006-08-24  6:07 UTC (permalink / raw
  To: gentoo-user

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

Any ideas at all, please?

On Wednesday 23 August 2006 22:11, Mick wrote:
> Hi All,
>
> I can't emerge either of these packages.  I have remerged gcc to no avail.
> How do I troubleshoot this?
>
> These are the error messages for klibc:
> =============================================
>  KLIBCAS klibc/syscalls/__reboot.o
>   KLIBCAS klibc/syscalls/sysinfo.o
>   KLIBCAS klibc/syscalls/klogctl.o
>   KLIBCAS klibc/syscalls/iopl.o
>   KLIBCAS klibc/syscalls/ioperm.o
>   KLIBCAS klibc/syscalls/vm86.o
>   KLIBCLD klibc/syscalls/syscalls.o
> make[1]: *** [all] Error 2
> make: *** [klibc] Error 2
>
> !!! ERROR: dev-libs/klibc-1.2.1-r2 failed.
> Call stack:
>   ebuild.sh, line 1539:   Called dyn_compile
>   ebuild.sh, line 939:   Called src_compile
>   klibc-1.2.1-r2.ebuild, line 138:   Called die
>
> !!! Compile failed!
> =============================================
>
> and these for splashutils:
> =============================================
> /usr/lib/klibc/include/linux/device.h: In function `dev_get_drvdata':
> /usr/lib/klibc/include/linux/device.h:348: error: dereferencing pointer to
> incomplete type
> /usr/lib/klibc/include/linux/device.h: In function `dev_set_drvdata':
> /usr/lib/klibc/include/linux/device.h:354: error: dereferencing pointer to
> incomplete type
> /usr/lib/klibc/include/linux/device.h: In function `device_is_registered':
> /usr/lib/klibc/include/linux/device.h:359: error: dereferencing pointer to
> incomplete type
> In file included from /usr/lib/klibc/include/linux/notifier.h:13,
>                  from /usr/lib/klibc/include/linux/backlight.h:12,
>                  from /usr/lib/klibc/include/linux/fb.h:4,
>                  from kernel.c:16:
> /usr/lib/klibc/include/linux/mutex.h: At top level:
> /usr/lib/klibc/include/linux/mutex.h:51: error: field `wait_list' has
> incomplete type
> /usr/lib/klibc/include/linux/mutex.h:67: error: field `list' has incomplete
> type
> In file included from /usr/lib/klibc/include/linux/backlight.h:12,
>                  from /usr/lib/klibc/include/linux/fb.h:4,
>                  from kernel.c:16:
> /usr/lib/klibc/include/linux/notifier.h:47: error: field `rwsem' has
> incomplete type
> In file included from /usr/lib/klibc/include/linux/fb.h:4,
>                  from kernel.c:16:
> /usr/lib/klibc/include/linux/backlight.h:47: error: field `sem' has
> incomplete type
> kernel.c: In function `handle_init':
> kernel.c:191: error: `MAX_NR_CONSOLES' undeclared (first use in this
> function) kernel.c: At top level:
> /usr/lib/klibc/include/linux/device.h:332: error: storage size of
> `dma_pools' isn't known
> /usr/lib/klibc/include/linux/device.h:338: error: storage size of `node'
> isn't known
> make: *** [kernel/kernel.o] Error 1
>
> !!! ERROR: media-gfx/splashutils-1.1.9.10-r1 failed.
> Call stack:
>   ebuild.sh, line 1539:   Called dyn_compile
>   ebuild.sh, line 939:   Called src_compile
>   splashutils-1.1.9.10-r1.ebuild, line 141:   Called die
>
> !!! failed to build splashutils
> =============================================
>
> The reason I tried to remerge klibc was to solve the spashutils problem in
> the first instance, but now I'm stuck.  :(

-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-user] Re: Neither klibc nor splashutils will emerge
  2006-08-24  6:07 ` [gentoo-user] " Mick
@ 2006-08-24  6:12   ` Donnie Berkholz
  2006-08-24  6:24   ` Richard Fish
  1 sibling, 0 replies; 11+ messages in thread
From: Donnie Berkholz @ 2006-08-24  6:12 UTC (permalink / raw
  To: gentoo-user

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

Mick wrote:
> Any ideas at all, please?

Tried bugs.gentoo.org? If you don't find it there yet, file a new bug.

Thanks,
Donnie


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

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

* Re: [gentoo-user] Re: Neither klibc nor splashutils will emerge
  2006-08-24  6:07 ` [gentoo-user] " Mick
  2006-08-24  6:12   ` Donnie Berkholz
@ 2006-08-24  6:24   ` Richard Fish
  2006-08-24  8:54     ` Mick
  1 sibling, 1 reply; 11+ messages in thread
From: Richard Fish @ 2006-08-24  6:24 UTC (permalink / raw
  To: gentoo-user

On 8/23/06, Mick <michaelkintzios@gmail.com> wrote:
> Any ideas at all, please?

I'm pretty sure both of these require configured kernel sources.  They
should have checks for this, but I guess those checks could be
confused.  Does /usr/src/linux point to a configured kernel?  Are you
using the "symlink" use flag?  (which could be the culprit in this
case)

-Richard
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Re: Neither klibc nor splashutils will emerge
  2006-08-24  6:24   ` Richard Fish
@ 2006-08-24  8:54     ` Mick
  2006-08-24  9:38       ` Richard Fish
  0 siblings, 1 reply; 11+ messages in thread
From: Mick @ 2006-08-24  8:54 UTC (permalink / raw
  To: gentoo-user

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

On Thursday 24 August 2006 07:24, Richard Fish wrote:

> I'm pretty sure both of these require configured kernel sources.  They
> should have checks for this, but I guess those checks could be
> confused.  Does /usr/src/linux point to a configured kernel?  Are you
> using the "symlink" use flag?  (which could be the culprit in this
> case)

Thanks Richard,

I am not using the symlink flag and just to make sure I removed 
the /usr/src/linux symlink and relinked it to the latest stable kernel 
sources.  The only thing I can think of is that I used make oldconfig, when I 
compiled a kernel with those sources - does it matter?
-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-user] Re: Neither klibc nor splashutils will emerge
  2006-08-24  8:54     ` Mick
@ 2006-08-24  9:38       ` Richard Fish
  2006-08-24 21:44         ` Mick
  2006-08-25 15:40         ` Mick
  0 siblings, 2 replies; 11+ messages in thread
From: Richard Fish @ 2006-08-24  9:38 UTC (permalink / raw
  To: gentoo-user

On 8/24/06, Mick <michaelkintzios@gmail.com> wrote:
> I am not using the symlink flag and just to make sure I removed
> the /usr/src/linux symlink and relinked it to the latest stable kernel
> sources.  The only thing I can think of is that I used make oldconfig, when I
> compiled a kernel with those sources - does it matter?

I wouldn't think so...

-Richard
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Re: Neither klibc nor splashutils will emerge
  2006-08-24  9:38       ` Richard Fish
@ 2006-08-24 21:44         ` Mick
  2006-08-25 15:40         ` Mick
  1 sibling, 0 replies; 11+ messages in thread
From: Mick @ 2006-08-24 21:44 UTC (permalink / raw
  To: gentoo-user

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

On Thursday 24 August 2006 10:38, Richard Fish wrote:
> On 8/24/06, Mick <michaelkintzios@gmail.com> wrote:
> > I am not using the symlink flag and just to make sure I removed
> > the /usr/src/linux symlink and relinked it to the latest stable kernel
> > sources.  The only thing I can think of is that I used make oldconfig,
> > when I compiled a kernel with those sources - does it matter?
>
> I wouldn't think so...

Thanks, I've filed a bug: http://bugs.gentoo.org/show_bug.cgi?id=145016

-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-user] Re: Neither klibc nor splashutils will emerge
  2006-08-24  9:38       ` Richard Fish
  2006-08-24 21:44         ` Mick
@ 2006-08-25 15:40         ` Mick
  2006-08-25 16:04           ` Peter Ruskin
  1 sibling, 1 reply; 11+ messages in thread
From: Mick @ 2006-08-25 15:40 UTC (permalink / raw
  To: gentoo-user

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

On Thursday 24 August 2006 10:38, Richard Fish wrote:
> On 8/24/06, Mick <michaelkintzios@gmail.com> wrote:
> > I am not using the symlink flag and just to make sure I removed
> > the /usr/src/linux symlink and relinked it to the latest stable kernel
> > sources.  The only thing I can think of is that I used make oldconfig,
> > when I compiled a kernel with those sources - does it matter?
>
> I wouldn't think so...

I've looked into it a bit more.  The error refers to autoconf.h:
===============================================
 KLIBCAS klibc/syscalls/umask.o
  KLIBCAS klibc/syscalls/chroot.o
In file included from linux/include/linux/linkage.h:4,
                 from linux/include/asm/signal.h:5,
                 from include/signal.h:13,
                 from klibc/fork.c:9:
linux/include/linux/config.h:6:28: warning: linux/include/linux/autoconf.h:
Permission denied
linux/include/linux/config.h:6:28: linux/autoconf.h: No such file or directory
  KLIBCAS klibc/syscalls/symlink.o
make[2]: *** [klibc/fork.o] Error 1
make[2]: *** Waiting for unfinished jobs....
===============================================

Looking at the access rights only root can play with it:
-rw-------  1 root root  47664 Aug 24 20:44 autoconf.h

Just in case, what's the autoconf.h access rights on your boxen?
-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-user] Re: Neither klibc nor splashutils will emerge
  2006-08-25 15:40         ` Mick
@ 2006-08-25 16:04           ` Peter Ruskin
  2006-08-25 17:46             ` Richard Fish
  0 siblings, 1 reply; 11+ messages in thread
From: Peter Ruskin @ 2006-08-25 16:04 UTC (permalink / raw
  To: gentoo-user

On Friday 25 August 2006 16:40, Mick wrote:
> linux/include/linux/config.h:6:28: warning:
> linux/include/linux/autoconf.h: Permission denied
> linux/include/linux/config.h:6:28: linux/autoconf.h: No such file
> or directory KLIBCAS klibc/syscalls/symlink.o
> make[2]: *** [klibc/fork.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> ===============================================
>
> Looking at the access rights only root can play with it:
> -rw-------  1 root root  47664 Aug 24 20:44 autoconf.h
>
> Just in case, what's the autoconf.h access rights on your boxen?

$ ll /usr/src/linux-2.6.17-gentoo-r5/include/linux/autoconf.h
-rw-r--r-- 1 root root 40K 19 Aug 2006 
13:25 /usr/src/linux-2.6.17-gentoo-r5/include/linux/autoconf.h

-- 
Peter
========================================================================
Gentoo Linux: Portage 2.1-r2.		kernel-2.6.17-gentoo-r5.
2006 i686 AMD Athlon(tm) 64.		gcc(GCC): 3.4.4.
KDE: 3.5.4.				Qt: 3.3.6.
========================================================================
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Re: Neither klibc nor splashutils will emerge
  2006-08-25 16:04           ` Peter Ruskin
@ 2006-08-25 17:46             ` Richard Fish
  2006-08-25 19:19               ` Mick
  0 siblings, 1 reply; 11+ messages in thread
From: Richard Fish @ 2006-08-25 17:46 UTC (permalink / raw
  To: gentoo-user

On 8/25/06, Peter Ruskin <peter.ruskin@dsl.pipex.com> wrote:
> > Just in case, what's the autoconf.h access rights on your boxen?
>
> $ ll /usr/src/linux-2.6.17-gentoo-r5/include/linux/autoconf.h
> -rw-r--r-- 1 root root 40K 19 Aug 2006
> 13:25 /usr/src/linux-2.6.17-gentoo-r5/include/linux/autoconf.h

ditto

-Richard
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Re: Neither klibc nor splashutils will emerge
  2006-08-25 17:46             ` Richard Fish
@ 2006-08-25 19:19               ` Mick
  0 siblings, 0 replies; 11+ messages in thread
From: Mick @ 2006-08-25 19:19 UTC (permalink / raw
  To: gentoo-user

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

On Friday 25 August 2006 18:46, Richard Fish wrote:
> On 8/25/06, Peter Ruskin <peter.ruskin@dsl.pipex.com> wrote:
> > > Just in case, what's the autoconf.h access rights on your boxen?
> >
> > $ ll /usr/src/linux-2.6.17-gentoo-r5/include/linux/autoconf.h
> > -rw-r--r-- 1 root root 40K 19 Aug 2006
> > 13:25 /usr/src/linux-2.6.17-gentoo-r5/include/linux/autoconf.h
>
> ditto

Thank you both.  I find this really odd.  I happen to have three kernel 
sources on this laptop.  This is what they show:
==========================================================
# ls -la /usr/src/linux-2.6.16-gentoo-r13/include/linux/autoconf.h 
-rw------- 1 root root 46596 Jul 19 
11:10 /usr/src/linux-2.6.16-gentoo-r13/include/linux/autoconf.h

# ls -la /usr/src/linux-2.6.17-gentoo-r4/include/linux/autoconf.h 
-rw------- 1 root root 47664 Aug 24 
20:44 /usr/src/linux-2.6.17-gentoo-r4/include/linux/autoconf.h

# ls -la /usr/src/linux-2.6.18-rc4/include/linux/autoconf.h 
-rw-r--r-- 1 root root 18921 Aug 15 
14:04 /usr/src/linux-2.6.18-rc4/include/linux/autoconf.h
==========================================================

Can anyone explain this . . . ?
-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2006-08-25 19:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-23 21:11 [gentoo-user] Neither klibc nor splashutils will emerge Mick
2006-08-24  6:07 ` [gentoo-user] " Mick
2006-08-24  6:12   ` Donnie Berkholz
2006-08-24  6:24   ` Richard Fish
2006-08-24  8:54     ` Mick
2006-08-24  9:38       ` Richard Fish
2006-08-24 21:44         ` Mick
2006-08-25 15:40         ` Mick
2006-08-25 16:04           ` Peter Ruskin
2006-08-25 17:46             ` Richard Fish
2006-08-25 19:19               ` Mick

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