Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139611 - x11-proto/xextproto-7.0.2 tries to download from the wrong place
Summary: x11-proto/xextproto-7.0.2 tries to download from the wrong place
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 139613 139614 139615 139616 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-07 16:00 UTC by Chris Gianelloni (RETIRED)
Modified: 2006-08-03 13:10 UTC (History)
1 user (show)

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 Chris Gianelloni (RETIRED) gentoo-dev 2006-07-07 16:00:22 UTC
The summary pretty much says it all...

>>> Emerging (3 of 155) x11-proto/xextproto-7.0.2 to /
>>> Downloading http://xorg.freedesktop.org/releases/individual/lib/xextproto-7.0.2.tar.bz2
--18:44:47--  http://xorg.freedesktop.org/releases/individual/lib/xextproto-7.0.2.tar.bz2
           => `/usr/portage/distfiles/xextproto-7.0.2.tar.bz2'
Resolving xorg.freedesktop.org... 131.252.208.36
Connecting to xorg.freedesktop.org|131.252.208.36|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
18:44:47 ERROR 404: Not Found.

!!! Couldn't download xextproto-7.0.2.tar.bz2. Aborting.

!!! Fetch for /usr/portage/x11-proto/xextproto/xextproto-7.0.2.ebuild failed, continuing...

It should be trying to download from http://xorg.freedesktop.org/releases/individual/proto instead.
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2006-07-07 16:41:03 UTC
I cannot reproduce your issue.

donnie@comet ~ $ emerge -f xextproto
Calculating dependencies... done!

>>> Emerging (1 of 1) x11-proto/xextproto-7.0.2 to /
>>> Downloading http://xorg.freedesktop.org/releases/individual/proto/xextproto-7.0.2.tar.bz2
--16:39:38--  http://xorg.freedesktop.org/releases/individual/proto/xextproto-7.0.2.tar.bz2
           => `/usr/portage/distfiles/xextproto-7.0.2.tar.bz2'
Resolving xorg.freedesktop.org... 131.252.208.36
Connecting to xorg.freedesktop.org|131.252.208.36|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 68,323 (67K) [application/x-tar]

100%[====================================>] 68,323        --.--K/s

16:39:38 (981.13 KB/s) - `/usr/portage/distfiles/xextproto-7.0.2.tar.bz2' saved [68323/68323]

>>> xextproto-7.0.2.tar.bz2 MD5 ;-)
>>> xextproto-7.0.2.tar.bz2 RMD160 ;-)
>>> xextproto-7.0.2.tar.bz2 SHA1 ;-)
>>> xextproto-7.0.2.tar.bz2 SHA256 ;-)
>>> xextproto-7.0.2.tar.bz2 size ;-)
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking xextproto-7.0.2.tar.bz2 ;-)

Do you have a weird old x-modular.eclass lying around? I'm on Portage 2.1.1_pre2-r4 FWIW.
Comment 2 Joshua Baergen (RETIRED) gentoo-dev 2006-07-09 20:43:00 UTC
Post your emerge --info please.  I have a feeling you have a bad x-moduler.eclass sitting around somewhere, perhaps in an overlay.  Try re-syncing as well.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2006-07-10 09:24:46 UTC
No overlays...

This was happening during a catalyst build.  I can get you the emerge --info there, but it's all defaults for 2006.1.  The snapshot was taken on July 3rd.
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2006-07-10 11:23:52 UTC
Portage 2.1.1_pre2-r5 (and maybe earlier versions) had some sort of cache generation bug, if you're using it. I don't know how else you can manage to get the download from the completely wrong place -- the location is determined using $CATEGORY.
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2006-07-10 14:33:57 UTC
It's 2.1-r1, and as you can see from the other bugs, I got it repeatedly.
Comment 6 Zac Medico gentoo-dev 2006-07-10 14:51:03 UTC
(In reply to comment #4)
> Portage 2.1.1_pre2-r5 (and maybe earlier versions) had some sort of cache
> generation bug

That $CATEGORY bug only existed in that one release.  This problem is different because the $CATEGORY bug would cause the SRC_URI to be empty. The cache containing the bad SRC_URI must have been generated with the older version x-modular.eclass.  The cache that's currently available via the master rsync mirrors has the correct SRC_URI, so a fresh `emerge --sync` should correct the problem.  If not, try `rm -rf /var/cache/edb/dep && emerge --metadata`.
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2006-07-11 07:47:38 UTC
OK.  YOu're missing that this is a catalyst build.  I can't do a fresh sync.  If there was an issue with the eclass, then I need to inject the newer version into the snapshot.  I can look into the metadata thing, but I'm not sure that we have any metadata in the stages or the portage snapshots, so that might be a moot point.

Again, this didn't cause SRC_URI to be empty, at all.  However, I have hit that bug, even with a fresh sync this morning.  I was actually going to file a bug about it, but it isn't as urgent to me since it doesn't affect the release stuff.
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2006-07-11 11:02:04 UTC
(In reply to comment #7)
> OK.  YOu're missing that this is a catalyst build.  I can't do a fresh sync. 
> If there was an issue with the eclass, then I need to inject the newer version
> into the snapshot.  I can look into the metadata thing, but I'm not sure that
> we have any metadata in the stages or the portage snapshots, so that might be a
> moot point.

There was never an issue with the eclass in this regard, it's entirely a cache/portage problem.
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2006-07-11 11:12:54 UTC
(In reply to comment #6)
> mirrors has the correct SRC_URI, so a fresh `emerge --sync` should correct the
> problem.  If not, try `rm -rf /var/cache/edb/dep && emerge --metadata`.

Will this fix the metadata under /usr/portage/metadata?
Comment 10 Zac Medico gentoo-dev 2006-07-11 12:06:57 UTC
(In reply to comment #9)
> Will this fix the metadata under /usr/portage/metadata?

Yes, `emerge --sync` will update all of that metadata so that it matches whatever is on the rsync mirrors.
Comment 11 Chris Gianelloni (RETIRED) gentoo-dev 2006-07-12 08:10:47 UTC
Zach, I understand that you aren't reading everything in this bug when answering, so I'm going to say this very plainly.

I can not and will not perform an emerge --sync as it will set back the release by a few weeks.

Now, how *else* can I ensure that the metadata will be correct, for the 2006.1 release snapshot?

With emerge --metadata work, or does that just do /var/cache/edb/dep?  Do I need to do an emerge --regen instead?
Comment 12 Chris Gianelloni (RETIRED) gentoo-dev 2006-07-12 08:11:09 UTC
*** Bug 139613 has been marked as a duplicate of this bug. ***
Comment 13 Chris Gianelloni (RETIRED) gentoo-dev 2006-07-12 08:11:25 UTC
*** Bug 139614 has been marked as a duplicate of this bug. ***
Comment 14 Chris Gianelloni (RETIRED) gentoo-dev 2006-07-12 08:11:39 UTC
*** Bug 139615 has been marked as a duplicate of this bug. ***
Comment 15 Chris Gianelloni (RETIRED) gentoo-dev 2006-07-12 08:11:59 UTC
*** Bug 139616 has been marked as a duplicate of this bug. ***
Comment 16 Zac Medico gentoo-dev 2006-07-12 09:12:25 UTC
(In reply to comment #11)
> Now, how *else* can I ensure that the metadata will be correct, for the 2006.1
> release snapshot?
> 
> With emerge --metadata work, or does that just do /var/cache/edb/dep?  Do I
> need to do an emerge --regen instead?

Well, emerge doesn't actually have the ability to update $PORTDIR/metadata/cache, but I have a separate tool that you can use.  Here are the steps:

rm -rf /var/cache/edb/dep/$PORTDIR
cache-tools.py --generate # same thing as --regen
cache-tools.py --transfer --reverse # the reverse of --metadata

You can get the separate tool here:

http://dev.gentoo.org/~zmedico/public_html/portage/branches/2.1/bin/cache-tools.py
Comment 17 Chris Gianelloni (RETIRED) gentoo-dev 2006-07-13 12:59:25 UTC
404 Error... =[
Comment 18 Donnie Berkholz (RETIRED) gentoo-dev 2006-07-13 16:55:04 UTC
Chris, remove the /public_html.
Comment 19 Chris Gianelloni (RETIRED) gentoo-dev 2006-07-14 09:26:36 UTC
Err... yeah... that helped...

Anyway, I've run this on my metadata... so here's hoping it fixes the problem.  I'm not sure what you want to do with this bug.  I'm still not sure if I really was hitting the CATEGORY bug, as you say it, since SRC_URI wasn't empty in this case, but if you think that's what it was, then I'm cool with it.  I just want to make sure whatever we have now in the tree and whatever I have for release are both going to be good.
Comment 20 Donnie Berkholz (RETIRED) gentoo-dev 2006-08-02 22:58:32 UTC
Are we fixed up here?
Comment 21 Chris Gianelloni (RETIRED) gentoo-dev 2006-08-03 11:44:29 UTC
I believe so
Comment 22 Donnie Berkholz (RETIRED) gentoo-dev 2006-08-03 13:10:44 UTC
k