Summary: | emerge crashes when unmerging muine-0.8.3 | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Brandon Caesar <bcaesar> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Stack trace
muine CONTENTS file |
Description
Brandon Caesar
2005-10-10 23:31:57 UTC
Created attachment 70339 [details]
Stack trace
your contents file is corrupted... wc -l it, chop lines to where it states, and try again. (In reply to comment #2) > your contents file is corrupted... wc -l it, chop lines to where it states, and > try again. I don't know what you mean by corrupted. As far as I can tell the file contains exactly the same content as the stack trace that gets printed out. wc -l reports 41 line breaks, which is correct. I'm going to edit the attachment (just re-copy the stack trace output). Let me know if that helps. Comment on attachment 70339 [details] Stack trace >>> Unmerging media-sound/muine-0.8.3... No package files given... Grabbing a set. Traceback (most recent call last): File "/usr/bin/emerge", line 2954, in ? if 1==unmerge(myaction, myfiles): File "/usr/bin/emerge", line 2251, in unmerge retval=portage.unmerge(mysplit[0],mysplit[1],portage.root,mysettings,unmerge_ac tion not in ["clean","prune"]) File "/usr/lib/portage/pym/portage.py", line 2901, in unmerge mylink.unmerge(trimworld=mytrimworld,cleanup=1) File "/usr/lib/portage/pym/portage.py", line 6119, in unmerge spawn("bzip2 -d "+self.dbdir+"/environment.bz2",self.settings,free=1) File "/usr/lib/portage/pym/portage.py", line 1603, in spawn return portage_exec.spawn_bash(mystring,env=env,**keywords) File "/usr/lib/portage/pym/portage_exec.py", line 48, in spawn_bash return spawn(args,env=env,opt_name=opt_name,**keywords) File "/usr/lib/portage/pym/portage_exec.py", line 164, in spawn raise str(e)+":\n "+myc+" "+string.join(myargs) execve() arg 3 contains a non-string value: /bin/bash [muine-0.8.3] bash -c bzip2 -d /var/db/pkg/media-sound/muine-0.8.3/environment.bz2 close failed: [Errno 9] Bad file descriptor Traceback (most recent call last): File "/usr/bin/emerge", line 2954, in ? if 1==unmerge(myaction, myfiles): File "/usr/bin/emerge", line 2251, in unmerge retval=portage.unmerge(mysplit[0],mysplit[1],portage.root,mysettings,unmerge_ac tion not in ["clean","prune"]) File "/usr/lib/portage/pym/portage.py", line 2901, in unmerge mylink.unmerge(trimworld=mytrimworld,cleanup=1) File "/usr/lib/portage/pym/portage.py", line 6130, in unmerge a=doebuild(myebuildpath,"prerm",self.myroot,self.settings,cleanup=cleanup,use_c ache=0,tree="vartree") File "/usr/lib/portage/pym/portage.py", line 2611, in doebuild return spawn(EBUILD_SH_BINARY+" "+mydo,mysettings,debug=debug,free=1,logfile=logfile) File "/usr/lib/portage/pym/portage.py", line 1603, in spawn return portage_exec.spawn_bash(mystring,env=env,**keywords) File "/usr/lib/portage/pym/portage_exec.py", line 48, in spawn_bash return spawn(args,env=env,opt_name=opt_name,**keywords) File "/usr/lib/portage/pym/portage_exec.py", line 164, in spawn raise str(e)+":\n "+myc+" "+string.join(myargs) execve() arg 3 contains a non-string value: /bin/bash [muine-0.8.3] bash -c /usr/lib/portage/bin/ebuild.sh prerm close failed: [Errno 9] Bad file descriptor !!! FAILED prerm: 1 attach /var/db/pkg/media-sound/muine-0.8.3/CONTENTS Created attachment 70426 [details]
muine CONTENTS file
mehhhhhh. the exception you're hitting is from weird chars being in an env var (the settings dict handed in), which has always been via CONTENTS corruption. Posted contents file looks fine, which is annoying, but neh. please run tar -jcf muine-0.8.3-vdb.tar.bz2 /var/db/pkg/media-sound/muine-0.8.3 and attach the tarball. So... for some reason the the LICENSE file in /var/db/pkg/media-sound/muine-0.8.3 was listed as being 64 gigabytes in size. I deleted that file and the unmerge went fairly smooth. To make sure everything worked, I emerged muine again then unmerged it. Everything seems to be okay. I have no clue why the LICENSE file was so large (64GB is larger than the partition that /var is on). Thanks for your help. Jason... thoughts on an emaint check here for files that are corrupted in some fashion? |