Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23440 - portage give problems after I upgraded it to 2.0.48-r1
Summary: portage give problems after I upgraded it to 2.0.48-r1
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-25 00:41 UTC by Dade V
Modified: 2011-10-30 22:18 UTC (History)
0 users

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 Dade V 2003-06-25 00:41:17 UTC
I upgraded portage to 2.0.48-r1 (actually I don't remember what was my versione
before, I just followed prelink howto in gentoo docs) to enable prelink. I
followed gentoo prelink howto and enabled it. 
After that I started to get strange messages from portage when I install any
packages and after I upgrade portage:



if i upgrade portage i get:

Recalculating the counter... Counter updated successfully.
>>> Clearing invalid entries in dependancy cache... ...done!
ccache
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1943, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1203, in merge
    retval=portage.doebuild(y,"merge",myroot,edebug)
  File "/usr/lib/python2.2/site-packages/portage.py", line 1712, in doebuild
    return
merge(settings["CATEGORY"],settings["PF"],settings["D"],settings["BUILDDIR"]+"/build-info",myroot,myebuild=settings["EBUILD"])
  File "/usr/lib/python2.2/site-packages/portage.py", line 1820, in merge
    return mylink.merge(pkgloc,infloc,myroot,myebuild)
  File "/usr/lib/python2.2/site-packages/portage.py", line 4563, in merge
    return self.treewalk(mergeroot,myroot,inforoot,myebuild)
  File "/usr/lib/python2.2/site-packages/portage.py", line 4331, in treewalk
    env_update(makelinks=0)
  File "/usr/lib/python2.2/site-packages/portage.py", line 409, in env_update
    myconfig=getconfig(root+"etc/env.d/"+x)
  File "/usr/lib/python2.2/site-packages/portage.py", line 653, in getconfig
    val=lex.get_token()
  File "/usr/lib/python2.2/shlex.py", line 74, in get_token
    raw = self.read_token()
  File "/usr/lib/python2.2/shlex.py", line 144, in read_token
    raise ValueError, "No closing quotation"
ValueError: No closing quotation



and after updating any packages I get:

root@host root # emerge -u world
Calculating world dependencies ...done!
>>> emerge (1 of 6) x11-base/xfree-drm-4.3.0-r2 to /
>>> Downloading
rsync://linux.rz.ruhr-uni-bochum.de/gentoo//distfiles/xfree-drm-4.3.0-r2-gentoo.tar.bz2
rsync://linux.rz.ruhr-uni-bochum.de/gentoo//distfiles/xfree-drm-4.3.0-r2-gentoo.tar.bz2:
Unsupported scheme.
>>> Downloading
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror//distfiles/xfree-drm-4.3.0-r2-gentoo.tar.bz2
--11:35:59-- 
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/distfiles/xfree-drm-4.3.0-r2-gentoo.tar.bz2
           => `/usr/portage/distfiles/xfree-drm-4.3.0-r2-gentoo.tar.bz2'
Resolving linux.rz.ruhr-uni-bochum.de... done.
Connecting to linux.rz.ruhr-uni-bochum.de[134.147.32.57]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /gentoo-mirror/distfiles ... done.
==> PASV ... done.    ==> RETR xfree-drm-4.3.0-r2-gentoo.tar.bz2 ... done.
Length: 24,240 (unauthoritative)

100%[===============================================================================================>]
24,240       251.83K/s    ETA 00:00

11:35:59 (251.83 KB/s) -
`/usr/portage/distfiles/xfree-drm-4.3.0-r2-gentoo.tar.bz2' saved [24240]

>>> md5 src_uri ;-) linux-drm-4.3.0-kernelsource-20030306.tar.gz
>>> md5 src_uri ;-) xfree-drm-4.3.0-r2-gentoo.tar.bz2
>>> Unpacking source...
>>> Unpacking linux-drm-4.3.0-kernelsource-20030306.tar.gz to
/var/tmp/portage/xfree-drm-4.3.0-r2/work
>>> Unpacking xfree-drm-4.3.0-r2-gentoo.tar.bz2 to
/var/tmp/portage/xfree-drm-4.3.0-r2/work
 * Applying xfree-drm-4.3.0-r2-gentoo-Makefile-fixup.patch...                  
                                                     [ ok ]
 * Applying xfree-drm-4.3.0-r2-drm-ioremap.patch...                            
                                                     [ ok ]
 * Applying xfree-drm-4.3.0-r2-radeon-resume-v8.patch...                       
                                                     [ ok ]
 * Applying xfree-drm-4.3.0-r2-dristat.patch...                                
                                                     [ ok ]
>>> Source unpacked.
 * Building DRM...
=== KERNEL HEADERS IN /usr/src/linux/include
=== SMP=0 MODULES=1 MODVERSIONS=1 AGP=1
=== Compiling for machine i686
=== WARNING
=== WARNING Use 2.4.x kernels ONLY !
=== WARNING
gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer
-fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
-DEXPORT_SYMTAB -I/usr/src/linux/include -c gamma_drv.c -o gamma_drv.o
gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer
-fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
-I/usr/src/linux/include -c gamma_dma.c -o gamma_dma.o
ld -r gamma_drv.o gamma_dma.o -o gamma.o
gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer
-fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
-DEXPORT_SYMTAB -I/usr/src/linux/include -c tdfx_drv.c -o tdfx_drv.o
ld -r tdfx_drv.o -o tdfx.o
gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer
-fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
-DEXPORT_SYMTAB -I/usr/src/linux/include -c r128_drv.c -o r128_drv.o
gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer
-fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
-I/usr/src/linux/include -c r128_cce.c -o r128_cce.o
gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer
-fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
-I/usr/src/linux/include -c r128_state.c -o r128_state.o
gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer
-fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
-I/usr/src/linux/include -c r128_irq.c -o r128_irq.o
ld -r r128_drv.o r128_cce.o r128_state.o r128_irq.o -o r128.o
gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer
-fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
-DEXPORT_SYMTAB -I/usr/src/linux/include -c radeon_drv.c -o radeon_drv.o
gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer
-fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
-I/usr/src/linux/include -c radeon_cp.c -o radeon_cp.o
gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer
-fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
-I/usr/src/linux/include -c radeon_state.c -o radeon_state.o
gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer
-fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
-I/usr/src/linux/include -c radeon_mem.c -o radeon_mem.o
radeon_mem.c:134: warning: `print_heap' defined but not used
gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer
-fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
-I/usr/src/linux/include -c radeon_irq.c -o radeon_irq.o
ld -r radeon_drv.o radeon_cp.o radeon_state.o radeon_mem.o radeon_irq.o -o radeon.o
gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer
-fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
-DEXPORT_SYMTAB -I/usr/src/linux/include -c mga_drv.c -o mga_drv.o
gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer
-fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
-I/usr/src/linux/include -c mga_dma.c -o mga_dma.o
gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer
-fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
-I/usr/src/linux/include -c mga_state.c -o mga_state.o
gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer
-fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
-I/usr/src/linux/include -c mga_warp.c -o mga_warp.o
gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer
-fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
-I/usr/src/linux/include -c mga_irq.c -o mga_irq.o
ld -r mga_drv.o mga_dma.o mga_state.o mga_warp.o mga_irq.o -o mga.o
gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer
-fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
-I/usr/src/linux/include -c sis_drv.c -o sis_drv.o
gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer
-fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
-I/usr/src/linux/include -c sis_mm.c -o sis_mm.o
gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer
-fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
-I/usr/src/linux/include -c sis_ds.c -o sis_ds.o
ld -r sis_drv.o sis_mm.o sis_ds.o -o sis.o
gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer
-fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
-DEXPORT_SYMTAB -I/usr/src/linux/include -c i810_drv.c -o i810_drv.o
gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer
-fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
-I/usr/src/linux/include -c i810_dma.c -o i810_dma.o
ld -r i810_drv.o i810_dma.o -o i810.o
gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer
-fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
-DEXPORT_SYMTAB -I/usr/src/linux/include -c i830_drv.c -o i830_drv.o
gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer
-fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
-I/usr/src/linux/include -c i830_dma.c -o i830_dma.o
gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer
-fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
-I/usr/src/linux/include -c i830_irq.c -o i830_irq.o
ld -r i830_drv.o i830_dma.o i830_irq.o -o i830.o
gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -g -ansi -pedantic -DPOSIX_C_SOURCE=199309L
-D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE
-I../../../../../../include -I../../../../../../../../include
-I../../../../../../../../programs/Xserver/hw/xfree86/common -I. -I../../..
-I../../../../../../../../lib/X11 dristat.c -o dristat
nostrip

>>> Install xfree-drm-4.3.0-r2 into /var/tmp/portage/xfree-drm-4.3.0-r2/image/
category x11-base
 * installing DRM...
install -d -m 0755
/var/tmp/portage/xfree-drm-4.3.0-r2/image//lib/modules/2.4.20-gentoo-r5/kernel/drivers/char/drm
man:
>>> Completed installing into /var/tmp/portage/xfree-drm-4.3.0-r2/image/

>>> Merging x11-base/xfree-drm-4.3.0-r2 to /
--- /lib/
--- /lib/modules/
--- /lib/modules/2.4.20-gentoo-r5/
--- /lib/modules/2.4.20-gentoo-r5/kernel/
--- /lib/modules/2.4.20-gentoo-r5/kernel/drivers/
--- /lib/modules/2.4.20-gentoo-r5/kernel/drivers/char/
--- /lib/modules/2.4.20-gentoo-r5/kernel/drivers/char/drm/
>>> /lib/modules/2.4.20-gentoo-r5/kernel/drivers/char/drm/mga.o
>>> /lib/modules/2.4.20-gentoo-r5/kernel/drivers/char/drm/sis.o
>>> /lib/modules/2.4.20-gentoo-r5/kernel/drivers/char/drm/radeon.o
>>> /lib/modules/2.4.20-gentoo-r5/kernel/drivers/char/drm/gamma.o
>>> /lib/modules/2.4.20-gentoo-r5/kernel/drivers/char/drm/i810.o
>>> /lib/modules/2.4.20-gentoo-r5/kernel/drivers/char/drm/i830.o
>>> /lib/modules/2.4.20-gentoo-r5/kernel/drivers/char/drm/r128.o
>>> /lib/modules/2.4.20-gentoo-r5/kernel/drivers/char/drm/tdfx.o
--- /usr/
--- /usr/X11R6/
--- /usr/X11R6/bin/
>>> /usr/X11R6/bin/dristat
--- /usr/share/
--- /usr/share/doc/
>>> /usr/share/doc/xfree-drm-4.3.0-r2/
>>> /usr/share/doc/xfree-drm-4.3.0-r2/README.drm.gz

depmod: *** Unresolved symbols in
/lib/modules/2.4.20-gentoo-r5/kernel/drivers/char/drm/gamma.o
depmod: *** Unresolved symbols in
/lib/modules/2.4.20-gentoo-r5/kernel/drivers/char/drm/sis.o
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1943, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1203, in merge
    retval=portage.doebuild(y,"merge",myroot,edebug)
  File "/usr/lib/python2.2/site-packages/portage.py", line 1712, in doebuild
    return
merge(settings["CATEGORY"],settings["PF"],settings["D"],settings["BUILDDIR"]+"/build-info",myroot,myebuild=settings["EBUILD"])
  File "/usr/lib/python2.2/site-packages/portage.py", line 1820, in merge
    return mylink.merge(pkgloc,infloc,myroot,myebuild)
  File "/usr/lib/python2.2/site-packages/portage.py", line 4563, in merge
    return self.treewalk(mergeroot,myroot,inforoot,myebuild)
  File "/usr/lib/python2.2/site-packages/portage.py", line 4331, in treewalk
    env_update(makelinks=0)
  File "/usr/lib/python2.2/site-packages/portage.py", line 409, in env_update
    myconfig=getconfig(root+"etc/env.d/"+x)
  File "/usr/lib/python2.2/site-packages/portage.py", line 653, in getconfig
    val=lex.get_token()
  File "/usr/lib/python2.2/shlex.py", line 74, in get_token
    raw = self.read_token()
  File "/usr/lib/python2.2/shlex.py", line 144, in read_token
    raise ValueError, "No closing quotation"
ValueError: No closing quotation






anyway it emerge packages correctly, but stop after that; if I emerge world, it
give me that error after the first packages and go back to bash.

Reproducible: Always
Steps to Reproduce:
1. emerge portage-2.0.48-r1
2. emerge rsync
3. emerge -u world
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-06-29 16:30:31 UTC
You have a bad config file in /etc/env.d

Did you change one yourself? If not, please post the last successful
set of packages that you merged. (/var/log/emerge.log)
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2003-09-19 14:54:46 UTC
Is it still an issue or can this bug be closed ?
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2003-10-09 16:04:02 UTC
no feedback, so closing now