View previous topic :: View next topic |
Author |
Message |
Sir_Stinksalot Apprentice
Joined: 26 Jul 2002 Posts: 195 Location: Behind you. BOO!!!
|
Posted: Thu Nov 20, 2003 10:41 pm Post subject: cant emerge -U world (crashes on make kdemultimedia) |
|
|
I tried to do an emerge -U world which I tend to do about once a month or so. Not on a regular schedule but when I see the emerge -Up world get big enough to warrant it:)
Anyway this is the first time I have had a problem like this and I hope you guys can help me.
emerge -U world crashes while making kdemultimedia-3.1.4-r1 this is the tail end of what I see before the crash. If more is needed just ask as I do not know what any of this stuff means
Code: | Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
/usr/qt/3/bin/uic -L /usr/kde/3.1/lib/kde3/plugins/designer -nounload -o encoderconfig.h ./encoderconfig.ui
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
/usr/qt/3/bin/uic -L /usr/kde/3.1/lib/kde3/plugins/designer -nounload -o queconfig.h ./queconfig.ui
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
/usr/qt/3/bin/uic -L /usr/kde/3.1/lib/kde3/plugins/designer -nounload -o ripconfig.h ./ripconfig.ui
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
/usr/qt/3/bin/uic -L /usr/kde/3.1/lib/kde3/plugins/designer -nounload -o tracksconfig.h ./tracksconfig.ui
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
/usr/qt/3/bin/uic -L /usr/kde/3.1/lib/kde3/plugins/designer -nounload -o id3tagdialog.h ./id3tagdialog.ui
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
/usr/qt/3/bin/uic -L /usr/kde/3.1/lib/kde3/plugins/designer -nounload -o wizard.h ./wizard.ui
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -static -Wall -DDATADIR=\"/usr/kde/3.1/share/apps/kaudiocreator\" -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -mfpmath=sse -msse -mmmx -m3dnow -fomit-frame-pointer -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -c -o kmacroexpander.o `test -f 'kmacroexpander.cpp' || echo './'`kmacroexpander.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -static -Wall -DDATADIR=\"/usr/kde/3.1/share/apps/kaudiocreator\" -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -mfpmath=sse -msse -mmmx -m3dnow -fomit-frame-pointer -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -c -o cddb.o `test -f 'cddb.cpp' || echo './'`cddb.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -static -Wall -DDATADIR=\"/usr/kde/3.1/share/apps/kaudiocreator\" -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -mfpmath=sse -msse -mmmx -m3dnow -fomit-frame-pointer -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp
/usr/qt/3/bin/moc ./kaudiocreator.h -o kaudiocreator.moc
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -static -Wall -DDATADIR=\"/usr/kde/3.1/share/apps/kaudiocreator\" -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -mfpmath=sse -msse -mmmx -m3dnow -fomit-frame-pointer -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -c -o kaudiocreator.o `test -f 'kaudiocreator.cpp' || echo './'`kaudiocreator.cpp
/usr/qt/3/bin/moc ./cdconfigimp.h -o cdconfigimp.moc
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -static -Wall -DDATADIR=\"/usr/kde/3.1/share/apps/kaudiocreator\" -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -mfpmath=sse -msse -mmmx -m3dnow -fomit-frame-pointer -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -c -o cdconfigimp.o `test -f 'cdconfigimp.cpp' || echo './'`cdconfigimp.cpp
In file included from /usr/include/linux/cdrom.h:14,
from cdconfigimp.cpp:79:
/usr/include/asm/byteorder.h:38: error: syntax error before `(' token
/usr/include/asm/byteorder.h:42: error: '__u64' is used as a type, but is not
defined as a type.
/usr/include/asm/byteorder.h:43: error: parse error before `}' token
/usr/include/asm/byteorder.h:44: error: syntax error before `.' token
/usr/include/asm/byteorder.h:50: error: syntax error before `.' token
/usr/include/asm/byteorder.h:51: error: syntax error before `.' token
/usr/include/asm/byteorder.h:52: error: parse error before `:' token
cdconfigimp.cpp:82: error: parse error before `}' token
make[3]: *** [cdconfigimp.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.4-r1/work/kdemultimedia-3.1.4/kaudiocreator'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.4-r1/work/kdemultimedia-3.1.4/kaudiocreator'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.4-r1/work/kdemultimedia-3.1.4'
make: *** [all] Error 2
!!! ERROR: kde-base/kdemultimedia-3.1.4-r1 failed.
!!! Function kde_src_compile, Line 137, Exitcode 2
!!! died running emake, kde_src_compile:make
|
thanks for any help you can give me |
|
Back to top |
|
|
paul.lercher n00b
Joined: 11 Sep 2003 Posts: 8
|
Posted: Fri Nov 21, 2003 5:45 pm Post subject: |
|
|
I have the same problem. I guess there is a problem with
/usr/include/asm/byteorder.h and ANSI mode.
I changed __inline__, asm to __asm__ in byteorder.h and I'm currently
compiliing with these changes. I'll let you know how it works.
paul |
|
Back to top |
|
|
paul.lercher n00b
Joined: 11 Sep 2003 Posts: 8
|
Posted: Fri Nov 21, 2003 7:11 pm Post subject: |
|
|
compiled without problems.
HTH |
|
Back to top |
|
|
qarce n00b
Joined: 28 Mar 2003 Posts: 18 Location: us - california
|
Posted: Fri Nov 21, 2003 8:33 pm Post subject: what was that about __asm__ ? |
|
|
So what did you change....
I changed out __inline__ for __asm__ and I get the same error.
? Is the platform spec. error? I'm on an 1G, AMD Durron.
Thanks,
Q |
|
Back to top |
|
|
Sir_Stinksalot Apprentice
Joined: 26 Jul 2002 Posts: 195 Location: Behind you. BOO!!!
|
Posted: Fri Nov 21, 2003 11:53 pm Post subject: |
|
|
ok this is way over my head
is what you changed in the ebuild file or what is this inline asm stuff sorry I know nothing of compiling. And so far thanks to the ease of gentoo I havent needed to know anything.
It don't hurt to learn a few things along the way.
I am having problems making my gentoo system useable again and would seriously appreciate any more step by step instructions you could give. And if you have time a little explaination so I might better understand what I did so that next time I can better fix my own errors.
[edit]oops on reading your post again I get that its in the byteorder file but am having a little problem figuring out what you mean exactly
my file looks like this
Code: |
#ifndef _I386_BYTEORDER_H
#define _I386_BYTEORDER_H
#include <asm/types.h>
#ifdef __GNUC__
/* For avoiding bswap on i386 */
#ifdef __KERNEL__
#include <linux/config.h>
#endif
static __inline__ __const__ __u32 ___arch__swab32(__u32 x)
{
#ifdef CONFIG_X86_BSWAP
__asm__("bswap %0" : "=r" (x) : "0" (x));
#else
__asm__("xchgb %b0,%h0\n\t" /* swap lower bytes */
"rorl $16,%0\n\t" /* swap words */
"xchgb %b0,%h0" /* swap higher bytes */
:"=q" (x)
: "0" (x));
#endif
return x;
}
/* gcc should generate this for open coded C now too. May be worth switching to
it because inline assembly cannot be scheduled. -AK */
static __inline__ __const__ __u16 ___arch__swab16(__u16 x)
{
__asm__("xchgb %b0,%h0" /* swap bytes */
: "=q" (x)
: "0" (x));
return x;
}
static inline __u64 ___arch__swab64(__u64 val)
{
union {
struct { __u32 a,b; } s;
__u64 u;
} v;
v.u = val;
#ifdef CONFIG_X86_BSWAP
asm("bswapl %0 ; bswapl %1 ; xchgl %0,%1"
: "=r" (v.s.a), "=r" (v.s.b)
: "0" (v.s.a), "1" (v.s.b));
#else
v.s.a = ___arch__swab32(v.s.a);
v.s.b = ___arch__swab32(v.s.b);
asm("xchgl %0,%1" : "=r" (v.s.a), "=r" (v.s.b) : "0" (v.s.a), "1" (v.s.b));
#endif
return v.u;
}
#define __arch__swab64(x) ___arch__swab64(x)
#define __arch__swab32(x) ___arch__swab32(x)
#define __arch__swab16(x) ___arch__swab16(x)
#define __BYTEORDER_HAS_U64__
#endif /* __GNUC__ */
#include <linux/byteorder/little_endian.h>
#endif /* _I386_BYTEORDER_H */
|
I see a couple of "__inline__" do I change any I see? [/edit] |
|
Back to top |
|
|
paul.lercher n00b
Joined: 11 Sep 2003 Posts: 8
|
Posted: Sat Nov 22, 2003 1:00 am Post subject: |
|
|
what i changed was /usr/include/asm/byteorder.h
Near the end of thatile there is a static inline function named
__arch_swab64(__u64 val). Cange the "inline" at that line to
read "__inline__".
Go down some lines and you'll find two "asm" statements. Change
"asm" to read "__asm__" in both.
HTH paul |
|
Back to top |
|
|
Sir_Stinksalot Apprentice
Joined: 26 Jul 2002 Posts: 195 Location: Behind you. BOO!!!
|
Posted: Sat Nov 22, 2003 1:31 pm Post subject: |
|
|
well I still get the same error thanks for trying though |
|
Back to top |
|
|
irf2003 Veteran
Joined: 10 Sep 2003 Posts: 1078
|
Posted: Sun Nov 23, 2003 11:31 am Post subject: |
|
|
edit /usr/portage/kde-base/kdemultimedia/kdemultimedia-3.1.4-r1.ebuild
after:
Code: |
myconf="$myconf --with-xine-prefix=/usr"
|
add the following line
Code: |
myconf="$myconf --disable-strict --disable-warnings"
|
HTH
Update:
another solution is to emerge sys-kernel/linux-headers-2.4.21-r1 which fixes the problem:
Code: |
ACCEPT_KEYWORDS="~x86" emerge linux-headers
|
please refer to https://bugs.gentoo.org/show_bug.cgi?id=32246
for more info about this bug |
|
Back to top |
|
|
|