| Summary: | rsync mirror broke !? | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Ewen Cheslack-Postava <echeslack> |
| Component: | Current packages | Assignee: | Sascha Schwabbauer (RETIRED) <cybersystem> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | am, loial |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
My cvs.eclass file as requested
My rsync output |
||
could you `emerge rsync` and then see if it works ? and if it doesnt, post this file as an attachement: /usr/portage/eclass/cvs.eclass Created attachment 7788 [details]
My cvs.eclass file as requested
Sorry, I forgot to mention that I did rsync and try again, but it still didn't
work. Here is my cvs.eclass file.
what server are you rsycing from ? does your rsync end in error ? Created attachment 7806 [details]
My rsync output
Okay, well, I thought my rsyncing was working fine, but there are these extra
sets of numbers showing up near the end of the rsync. I was not aware of them
before. Perhaps something is borked with rsync on my computer (or maybe I just
had never noticed that it did that before). I just rsync to the round robbin,
so it gives me a different one each time.
Ok, well, I have investigated more and it seems to just be a problem on the mirrors, but I don't know how widespread it is. I found a reference to the same problem in the forums, <a href=http://forums.gentoo.org/viewtopic.php?t=30559&highlight=giftcvs> here </a> (aobut 1/3 of the way down), and that apparantly the solution is to grab the cvs.eclass file through webbased cvs. Apparantly nobody bothered to report it here. I can't check if that solves the problem now since the cvs site is still pointing at 3jane.net for me since its been moved. I think the question now is how widespread is this file error? How did this get broken in the first place? Shouldn't the procedure used to mirror the tree protect against something like this? Anyway, this seems like it should have a higher priority since it probably blocks a lot of cvs builds for a lot of people. -ewen well, i found a copy of the cvs.eclass file that seems to work on one of the mirrors. Somehow it needs to be checked that all mirrors have the correct file and are not distributing faulty ones. -ewen *** Bug 15216 has been marked as a duplicate of this bug. *** If you've found the correct cvs.eclass shouldn't it be a couple of minutes/hours before every mirror has been updated? Hehe, I'm curious ;-) Any idea what could have caused this in the first place? well, it could just spread correctly if it gets fixed, but i synced again and it reverted back to the old one. Is there a list of all the rsync mirrors? Has anybody checked if it is broken on the main server? Is there a tree of how the mirrors get updated so it could be traced back to the original and maybe we could find out what is going on? Anyway, I am not syncing to any place specific, but whenever I sync I will check it to report any broken mirrors. But this is pretty important, I think it needs to be resolved asap as it blocks any cvs builds from working. I noticed on the web-cvs that it's only the last 4 lines that are missing. It looks like web-cvs is updated differently than the other mirrors. Hmm... ;-) well, the corrupted file that I had only had the last 4 lines missing, so apparantly it has spread to the web-cvs too. Sorry, I think I didn't make myself clear ;-) The cvs.eclass on my machine after an 'emerge rsync' is 4 lines shorter than the one on the web-cvs. So the web-cvs version is correct and the rsync-version is not. Therefor solving this bug seems trivial. Put the web-cvs version of cvs.eclass on the mirrors and rdy ;-) Perhaps someone has to change this bugs priority so it is noticed ? ;-) or it's title... I think someone sort of fixed it, 'cause when i delete my /usr/portage/eclass/cvs.eclass file and do an emerge rsync i get a decent eclass file! Go bugfixer go! This looks like finished, but not closed. |
User-Agent: Build Identifier: I tried to remerge gift-cvs recently and it fails on inherit. The exact message it gives is: Calculating dependencies ...done! >>> emerge (1 of 1) net-p2p/gift-cvs-0.10.0 to / /usr/sbin/ebuild.sh: /usr/portage/eclass/cvs.eclass: line 323: syntax error: unexpected end of file !!! ERROR: net-p2p/gift-cvs-0.10.0 failed. !!! Function inherit, Line 896, Exitcode 1 !!! died sourcing /usr/portage/eclass/cvs.eclass in inherit() I don't know enough about inherit to track the bug any further. As far as I know, this was not affected by anything else I have emerged recently. All other emerges have worked fine. Reproducible: Always Steps to Reproduce: 1. emerge gift-cvs Actual Results: I got the error message that I posted in the "Details" section. Expected Results: Compiled and installed gift-cvs I already had gift-cvs emerged, so it worked at some point. The ebuild looks ok, so it seems like it is probably a problem with portage (the cvs component I guess).