'mh-e.info' has a dash in its name. emerge cannot process it correctly. portage-2.0.27 /usr/bin/emerge:1089 (post_emerge) has: auxpat=re.compile('^([^-]*)(-\d+)?\.info(-\d+)?(\.gz)?') It should be: auxpat=re.compile('^(.*)(-\d+)?\.info(-\d+)?(\.gz)?')
what package is this for, exactly?
for example, emacs-21.2-r1 ebuild installs such info files: ada-mode.info.gz dired-x.info.gz emacs-mime.info.gz mh-e.info.gz pcl-cvs.info.gz I apologize for incorrect suggestion; the regular expression is wrong. This is worked for me: auxpat=re.compile('^[^-]*(-[^\d][^-]*)*(-\d+)?\.info(-\d+)?(\.gz)?')
daniel, what do you think?
I have an another solution. This also works fine for me. Thanks. --- /usr/bin/emerge 2002-09-26 11:17:53.000000000 +0900 +++ /tmp/myemerge 2002-11-01 18:52:34.000000000 +0900 @@ -1107,7 +1107,7 @@ return 1 def post_emerge(retval=0): - auxpat=re.compile('^([^-]*)(-\d+)?\.info(-\d+)?(\.gz)?') + auxpat=re.compile('(-\d+)?\.info(-\d+)?(\.gz)?') global myopts print if "--pretend" in myopts: @@ -1138,7 +1138,7 @@ if not aux: continue auxgroups=aux.groups() - if not (auxgroups[1] or auxgroups[2]): + if not (auxgroups[0] or auxgroups[1]): myso=commands.getstatusoutput("/usr/bin/install-info --dir-file="+root+"usr/share/info/dir "+root+"usr/share/info/"+x)[1] if myso!="": badcount=badcount+1
I also encountered the same situation. Then, I made the patch. Please check. --- emerge.orig 2003-07-15 03:12:01.000000000 +0900 +++ emerge 2003-07-15 03:10:17.000000000 +0900 @@ -1456,7 +1456,7 @@ def post_emerge(retval=0): - auxpat=re.compile('^([^-]*)(-\d+)?\.info(-\d+)?(\.gz)?') + auxpat=re.compile('^([^-]*)(-[^\d]+)?\.info(-\d+)?(\.gz)?') global myopts print if "--pretend" in myopts: @@ -1518,7 +1518,7 @@ if not aux: continue auxgroups=aux.groups() - if not (auxgroups[1] or auxgroups[2]): + if not (auxgroups[2]): myso=commands.getstatusoutput("/usr/bin/in stall-info --dir-file="+inforoot+"/dir "+inforoot+"/"+x)[1] if myso!="": badcount=badcount+1
Created attachment 17873 [details, diff] update a patche for emerge revision 1.224
I'm also waiting for this bug to be solved because many Japanese info files have -ja.info suffixes (thus not added to info dir).
We should include this patch.
The suggestions were all kinda off. They all broke something except the first one. Fix included for 49-r17
carpaski: Thanks for including this patch. But there's problem that portage fails to merge info. I just made a patch. Can you include this too?
Created attachment 20556 [details, diff] patch against emerge
Created attachment 20559 [details, diff] patch against emerge Sorry! I mistook about the patch. this patch works.
Created attachment 20560 [details, diff] patch against emerge This is final version! Actually, I didn't understand this process well. I understand right now :)
Ok. Should finally be taken care of. for -r17