Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 238766

Summary: sys-apps/portage-2.2_rc10 mirror usage removes SRC_URI components
Product: Portage Development Reporter: Mike Auty (RETIRED) <ikelos>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: chad.simmons
Priority: High Keywords: InVCS, REGRESSION
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 210077    

Description Mike Auty (RETIRED) gentoo-dev 2008-09-26 13:13:29 UTC
So I just updated to portage-2.2_rc10 and tried out an ebuild from the gnome overlay (intltool).  It said it couldn't fetch it, and the URIs it was trying looked wrong.

A quick check between the two versions showed the following:

portage-2.2_rc9 # emerge -pf intltool

http://distfiles.gentoo.org/distfiles/intltool-0.40.4.tar.bz2 http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/intltool-0.40.4.tar.bz2 ftp://ftp.no.gnome.org/pub/GNOME/sources/intltool/0.40/intltool-0.40.4.tar.bz2 ftp://ftp.gnome.org/pub/gnome/sources/intltool/0.40/intltool-0.40.4.tar.bz2 ftp://ftp.gnome.org/pub/gnome/2.0.0/sources/intltool/0.40/intltool-0.40.4.tar.bz2 ftp://ftp.sunet.se/pub/X11/GNOME/sources/intltool/0.40/intltool-0.40.4.tar.bz2 http://ftp.gnome.org/pub/gnome/sources/intltool/0.40/intltool-0.40.4.tar.bz2 

portage-2.2_rc10 # emerge -pf intltool

http://distfiles.gentoo.org/distfiles/intltool-0.40.4.tar.bz2 http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/intltool-0.40.4.tar.bz2 ftp://ftp.no.gnome.org/pub/GNOME/intltool-0.40.4.tar.bz2 ftp://ftp.gnome.org/pub/gnome/intltool-0.40.4.tar.bz2 http://ftp.gnome.org/pub/gnome/intltool-0.40.4.tar.bz2 ftp://ftp.sunet.se/pub/X11/GNOME/intltool-0.40.4.tar.bz2 ftp://ftp.gnome.org/pub/gnome/2.0.0/intltool-0.40.4.tar.bz2 

The gnome.org eclass contains the following for SRC_URI:

SRC_URI="mirror://gnome/sources/${PN}/${PVP[0]}.${PVP[1]}/${P}.tar.${GNOME_TARBALL_SUFFIX}"

Evidently, the components between the name of the mirror and the actual source file itself are being removed.  Couldn't figure out what was going wrong in the rc10 patch myself, but I'll be happy to provide any more information if it'd be of use?
Comment 1 Zac Medico gentoo-dev 2008-09-26 16:14:08 UTC
Thanks, this is fixed in 2.2_rc11.