Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65861 - KDE 3.3.0 emerge failed with !!! Invalid token (not "=") /usr/kde/3.3/shutdown while compiling arts (first package of the whole KDE 3.3.0 distribution), and since this failure every other package fails with same error message refferring this KDE ivalid...
Summary: KDE 3.3.0 emerge failed with !!! Invalid token (not "=") /usr/kde/3.3/shutdow...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-29 17:45 UTC by Robert Velisav Miciovici
Modified: 2004-10-17 13:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Velisav Miciovici 2004-09-29 17:45:48 UTC
compilation of kde (arts) started with these parameters
[ebuild  N    ] kde-base/arts-1.3.0  +alsa +arts +artswrappersuid -debug -debug +esd +jack +mad +oggvorbis  0 kB
that failed with
/bin/sh ../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpoin
ter-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-c
ommon  -ftemplate-depth-99    -o artsplay  artsplay.o libsoundserver_idl.la
/var/tmp/portage/arts-1.3.0/work/arts-1.3.0/flow/.libs/libartsflow.so: undefined reference to `jack_ringbuffer_read(jack_ringbuffer_t*, char*, unsigned int)'
/var/tmp/portage/arts-1.3.0/work/arts-1.3.0/flow/.libs/libartsflow.so: undefined reference to `jack_ringbuffer_read_space(jack_ringbuffer_t*)'
/var/tmp/portage/arts-1.3.0/work/arts-1.3.0/flow/.libs/libartsflow.so: undefined reference to `jack_ringbuffer_write(jack_ringbuffer_t*, char*, unsigned int)'
/var/tmp/portage/arts-1.3.0/work/arts-1.3.0/flow/.libs/libartsflow.so: undefined reference to `jack_ringbuffer_write_space(jack_ringbuffer_t*)'
/var/tmp/portage/arts-1.3.0/work/arts-1.3.0/flow/.libs/libartsflow.so: undefined reference to `jack_ringbuffer_create(unsigned int)'
collect2: ld returned 1 exit status
make[2]: *** [artsplay] Error 1
make[2]: *** Waiting for unfinished jobs....
../flow/.libs/libartsflow.so: undefined reference to `jack_ringbuffer_read(jack_ringbuffer_t*, char*, unsigned int)'
../flow/.libs/libartsflow.so: undefined reference to `jack_ringbuffer_read_space(jack_ringbuffer_t*)'
../flow/.libs/libartsflow.so: undefined reference to `jack_ringbuffer_write(jack_ringbuffer_t*, char*, unsigned int)'
../flow/.libs/libartsflow.so: undefined reference to `jack_ringbuffer_write_space(jack_ringbuffer_t*)'
../flow/.libs/libartsflow.so: undefined reference to `jack_ringbuffer_create(unsigned int)'
collect2: ld returned 1 exit status
make[2]: *** [artsd] Error 1
make[2]: Leaving directory `/var/tmp/portage/arts-1.3.0/work/arts-1.3.0/soundserver'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/arts-1.3.0/work/arts-1.3.0'
make: *** [all] Error 2

!!! ERROR: kde-base/arts-1.3.0 failed.
!!! Function kde_src_compile, Line 135, Exitcode 2
!!! died running emake, kde_src_compile:make

root@ooo ~/EMERGEs #
then I disabled jack compilation option
[ebuild  N    ] kde-base/arts-1.3.0  +alsa +arts +artswrappersuid -debug -debug +esd -jack +mad +oggvorbis  0 kB

and then the arts compilation was successful but it gave this error at install
>>> /usr/kde/3.3/lib/libqtmcop.so -> libqtmcop.so.1.0.0
artswrappersuid
!!! Invalid token (not "=") /usr/kde/3.3/shutdown
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2604, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1560, in merge
    retval=portage.doebuild(y,"merge",myroot,self.pkgsettings,edebug)
  File "/usr/lib/portage/pym/portage.py", line 2365, in doebuild
    return merge(mysettings["CATEGORY"],mysettings["PF"],mysettings["D"],mysettings["BUILDDIR"]+"/build-info",myroot,mysettings,myebuild=mysettings["EBUILD"])
  File "/usr/lib/portage/pym/portage.py", line 2487, in merge
    return mylink.merge(pkgloc,infloc,myroot,myebuild)
  File "/usr/lib/portage/pym/portage.py", line 5929, in merge
    return self.treewalk(mergeroot,myroot,inforoot,myebuild,cleanup=cleanup)
  File "/usr/lib/portage/pym/portage.py", line 5649, in treewalk
    env_update(makelinks=0)
  File "/usr/lib/portage/pym/portage.py", line 625, in env_update
    myconfig=getconfig(root+"etc/env.d/"+x)
  File "/usr/lib/portage/pym/portage.py", line 941, in getconfig
    raise Exception("ParseError: Invalid token (not '='): "+str(mycfg)+": line "+str(lex.lineno))
Exception: ParseError: Invalid token (not '='): /etc/env.d/47kdepaths-3.3.0: line 5
root@ooo ~/EMERGEs #
and stopped the KDE 3.3.0 installation process and since then every other package I try to emerge gives me the same error message



Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~x86" emerge -pv kde
2. ACCEPT_KEYWORDS="~x86" emerge -pv (any other ebuild/package name)
3.

Actual Results:  
KDE 3.3.0 emerge failed while compiling artsd (first package of the KDE 3.3.0 
distribution)
Unfortunately any other packages (even non-kde: gaim, bochs, gcc, etc) seem to 
fail finishing emerge/install with this same error message

!!! Invalid token (not "=") /usr/kde/3.3/shutdown
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2604, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1560, in merge
    retval=portage.doebuild(y,"merge",myroot,self.pkgsettings,edebug)
  File "/usr/lib/portage/pym/portage.py", line 2365, in doebuild
    return merge(mysettings["CATEGORY"],mysettings["PF"],mysettings["D"],
mysettings["BUILDDIR"]+"/build-info",myroot,mysettings,
myebuild=mysettings["EBUILD"])
  File "/usr/lib/portage/pym/portage.py", line 2487, in merge
    return mylink.merge(pkgloc,infloc,myroot,myebuild)
  File "/usr/lib/portage/pym/portage.py", line 5929, in merge
    return self.treewalk(mergeroot,myroot,inforoot,myebuild,cleanup=cleanup)
  File "/usr/lib/portage/pym/portage.py", line 5649, in treewalk
    env_update(makelinks=0)
  File "/usr/lib/portage/pym/portage.py", line 625, in env_update
    myconfig=getconfig(root+"etc/env.d/"+x)
  File "/usr/lib/portage/pym/portage.py", line 941, in getconfig
    raise Exception("ParseError: Invalid token (not '='): "+str(mycfg)+": line 
"+str(lex.lineno))
Exception: ParseError: Invalid token (not '='): /etc/env.d/47kdepaths-3.3.0: 
line 5



Expected Results:  
install KDE 3.3.0 correctly and not break the installation of other non-kde 
packages

please reply to me on robert@lug.ro
and thank you very much for your patience and support
Comment 1 Robert Velisav Miciovici 2004-09-29 18:07:39 UTC
sorry mistakenly I typed "p" at "Steps to reproduce" section
should read:
Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~x86" emerge -v kde
2. ACCEPT_KEYWORDS="~x86" emerge -v (any other ebuild/package name)
3.

...without the "-p, pretend" option
Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2004-09-30 01:30:25 UTC
Make sure you have a recent emerge sync, remove /etc/env.d/47kdepaths-3.3.0 
(or fix it manually, see bug 63454), run env-update and reemerge arts.

The failure with jack is unrelated, if you didn't sync in a lot of time it 
could be bug 62358.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2004-10-17 13:18:24 UTC
should be not an issue (anymore), please reopen if you still face problems
Comment 4 Robert Velisav Miciovici 2011-03-07 00:06:50 UTC
The original summary for this bug was longer than 255 characters, and so it was truncated when Bugzilla was upgraded. The original summary was:

KDE 3.3.0 emerge failed with !!! Invalid token (not "=") /usr/kde/3.3/shutdown while compiling arts (first package of the whole KDE 3.3.0 distribution), and since this failure every other package fails with same error message refferring this KDE ivalid token...