Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131906 - legends missing legends.png
Summary: legends missing legends.png
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High minor
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-01 07:31 UTC by Qypea
Modified: 2006-05-05 12:16 UTC (History)
3 users (show)

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


Attachments
legends.png needed (legends.png,4.97 KB, image/png)
2006-05-01 07:32 UTC, Qypea
Details
exempt uris that begin with mirror://gentoo/ (nomirror-exemptions.patch,1.45 KB, patch)
2006-05-03 14:40 UTC, Zac Medico
Details | Diff
exempt any uri beginning with mirror:// (exempt-all.patch,946 bytes, patch)
2006-05-03 14:56 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Qypea 2006-05-01 07:31:54 UTC
games-fps/legends-0.4.1.39 is missing a file "legends.png" on the servers. I eventually was able to get it from an out of date mirror. If we could add it back in, that would be great.
Comment 1 Qypea 2006-05-01 07:32:59 UTC
Created attachment 85932 [details]
legends.png needed
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2006-05-01 08:11:41 UTC
If it doesn't fall back to http://dev.gentoo.org/~wolf31o2/sources/dump/legends.png there's something wrong with your portage setup.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2006-05-01 14:24:19 UTC
Thsi is like the 5th time I've copied the stupid thing to the mirrors and it keeps disappearing... I'm starting to get a bit frustrated with this.

Infra:  Is there any scripts running that is cleaning the mirrors that could be affecting this?
Comment 4 Lance Albertson (RETIRED) gentoo-dev 2006-05-01 16:03:07 UTC
Zach: What is mirror-dist pissed off about with this file?

I noticed the logs on osprey mentioned this:

general.log:file legends.png was moved onto the death watch- last owner- 'unknown'

Thanks-
Comment 5 Zac Medico gentoo-dev 2006-05-01 18:15:02 UTC
(In reply to comment #4)
> general.log:file legends.png was moved onto the death watch- last owner-
> 'unknown'

It's not making it into the list of owned files for some reason.  I do some debugging...
Comment 6 Zac Medico gentoo-dev 2006-05-01 20:33:57 UTC
When the ebuild contains RESTRICT="mirror", appears that mirror-dist doesn't correctly exempt files that have a mirror:// uri.  I make a patch to correct that...
Comment 7 Zac Medico gentoo-dev 2006-05-03 14:40:10 UTC
Created attachment 86091 [details, diff]
exempt uris that begin with mirror://gentoo/

This patch will fix the existing (broken and unused) --nomirror-exemptions option for mirror-dist so that files having a uri that begins with mirror://gentoo/ will be exempt from RESTRICT="mirror".

Alternatively, we can exempt any uri that begins with mirror:// (include all thirdpartymirrors as well as the gentoo mirrors).  Perhaps this should be the default behavior, and then we won't need the --nomirror-exemptions option.
Comment 8 Zac Medico gentoo-dev 2006-05-03 14:56:23 UTC
Created attachment 86092 [details, diff]
exempt any uri beginning with mirror://

This patch will have undesirable behavior if there are mirror restricted files that should only be mirrored by a third party mirror (other than gentoo).
Comment 9 Zac Medico gentoo-dev 2006-05-03 14:59:33 UTC
I think we should go with the first patch which only exempts uris beginning with mirror://gentoo/.  Feedback?
Comment 10 Chris Gianelloni (RETIRED) gentoo-dev 2006-05-04 07:07:52 UTC
This should only be necessary for files with mirror://gentoo, sicne any other mirror:// would still have the file/be reachable.  This is essentially only a problem for files where the only mirror *is* the Gentoo mirrors.
Comment 11 Zac Medico gentoo-dev 2006-05-04 11:57:54 UTC
I've applied the patch, so files that have a uri beginning with mirror://gentoo/ will be exempt from RESTRICT="mirror" from now on.  I'll monitor the logs to make sure that the patch works as expected.
Comment 12 Zac Medico gentoo-dev 2006-05-04 13:45:12 UTC
The patch seems to be working well.  From ~/distfiles/logs/general.log:

file legends.png was moved off the death watch: claimed by 'games-fps/legends-0.4.1.39'
Comment 13 Chris Gianelloni (RETIRED) gentoo-dev 2006-05-05 12:16:28 UTC
Thanks... Games is probably the only people around that use both nomirror and mirror://gentoo in the same ebuilds, so I know I will definitely appreciate the work on this.  =]