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

Bug 377227

Summary: sys-kernel/xen-sources-2.6.38 fails to download
Product: Gentoo Linux Reporter: CaptainBlood <luc_pierard_de_maujouy>
Component: New packagesAssignee: Gentoo Xen Devs <xen>
Status: VERIFIED UPSTREAM    
Severity: trivial CC: dancho, etienne.buira
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: self titled
successful xen-sources-2.6.24-r4 emerge in plain text - previous self-titled is lzma

Description CaptainBlood 2011-08-01 06:56:46 UTC
End of emerge log:
>>> Downloading 'http://gentoo.ussg.indiana.edu/distfiles/genpatches-2.6.38-4.base.tar.bz2'
--2011-08-01 10:39:30--  http://gentoo.ussg.indiana.edu/distfiles/genpatches-2.6.38-4.base.tar.bz2
Résolution de gentoo.ussg.indiana.edu... 156.56.247.195
Connexion vers gentoo.ussg.indiana.edu|156.56.247.195|:80...connecté.
requête HTTP transmise, en attente de la réponse...404 Not Found
2011-08-01 10:39:30 ERREUR 404: Not Found.

!!! Couldn't download 'genpatches-2.6.38-4.base.tar.bz2'. Aborting.
 * Fetch failed for 'sys-kernel/xen-sources-2.6.38', Log file:
 *  '/var/tmp/portage/sys-kernel/xen-sources-2.6.38/temp/build.log'

>>> Failed to emerge sys-kernel/xen-sources-2.6.38, Log file:

>>>  '/var/tmp/portage/sys-kernel/xen-sources-2.6.38/temp/build.log'

My understanding is that "genpatches-2.6.38-4.base.tar.bz2" doesn't exist.

Seems like closest existing references are:
"genpatches-2.6.38-2.base.tar.bz2" and "genpatches-2.6.38-5.base.tar.bz2"

Ebuild :

ETYPE="sources"
UNIPATCH_STRICTORDER="1"
K_WANT_GENPATCHES="base extras"
K_GENPATCHES_VER="4"
inherit kernel-2
detect_version

DESCRIPTION="Full sources for a dom0/domU Linux kernel to run under Xen"
HOMEPAGE="http://xen.org/"
IUSE=""

KEYWORDS="~x86 ~amd64"

XENPATCHES_VER="2"
XENPATCHES="xen-patches-${PV}-${XENPATCHES_VER}.tar.bz2"
XENPATCHES_URI="http://gentoo-xen-kernel.googlecode.com/files/${XENPATCHES}"

SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${XENPATCHES_URI}"

UNIPATCH_LIST="${DISTDIR}/${XENPATCHES}"

DEPEND="${DEPEND} >=sys-devel/binutils-2.17"

Guess its the 'K_GENPATCHES_VER="4"' line causing all that mess.
Comment 1 Agostino Sarubbo gentoo-dev 2011-08-01 09:19:57 UTC
Please change your mirror
Comment 2 CaptainBlood 2011-08-01 10:43:40 UTC
Formerly I had
GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo/ ftp://mirrors.linuxant.fr/dist$
now substitued by
GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
in /etc/make.conf

But no changes:

Emerging (1 of 1) sys-kernel/xen-sources-2.6.38
 * linux-2.6.38.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                  [ ok ]
>>> Downloading 'ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/distfiles/genpatches-2.6.38-4.base.tar.bz2'
--2011-08-01 14:32:00--  ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/distfiles/genpatches-2.6.38-4.base.tar.bz2
           => «/usr/portage/distfiles/genpatches-2.6.38-4.base.tar.bz2»
Résolution de ftp.ucsb.edu... 128.111.24.43
Connexion vers ftp.ucsb.edu|128.111.24.43|:21...connecté.
Ouverture de session en anonymous...Session établie!
==> SYST ... complété.    ==> PWD ... complété.
==> TYPE I ... complété.  ==> CWD (1) /pub/mirrors/linux/gentoo/distfiles ... complété.
==> SIZE genpatches-2.6.38-4.base.tar.bz2 ... complété.
==> PASV ... complété.    ==> RETR genpatches-2.6.38-4.base.tar.bz2 ... 
Fichier «genpatches-2.6.38-4.base.tar.bz2» inexistant.

>>> Downloading 'http://gentoo-distfiles.mirrors.tds.net/distfiles/genpatches-2.6.38-4.base.tar.bz2'
--2011-08-01 14:32:02--  http://gentoo-distfiles.mirrors.tds.net/distfiles/genpatches-2.6.38-4.base.tar.bz2
Résolution de gentoo-distfiles.mirrors.tds.net... 216.165.129.135
Connexion vers gentoo-distfiles.mirrors.tds.net|216.165.129.135|:80...connecté.
requête HTTP transmise, en attente de la réponse...404 Not Found
2011-08-01 14:32:02 ERREUR 404: Not Found.

>>> Downloading 'http://ftp.halifax.rwth-aachen.de/gentoo/genpatches-2.6.38-4.base.tar.bz2'
--2011-08-01 14:32:02--  http://ftp.halifax.rwth-aachen.de/gentoo/genpatches-2.6.38-4.base.tar.bz2
Résolution de ftp.halifax.rwth-aachen.de... 137.226.34.42
Connexion vers ftp.halifax.rwth-aachen.de|137.226.34.42|:80...connecté.
requête HTTP transmise, en attente de la réponse...404 Not Found
2011-08-01 14:32:03 ERREUR 404: Not Found.

>>> Downloading 'http://gentoo.ussg.indiana.edu/distfiles/genpatches-2.6.38-4.base.tar.bz2'
--2011-08-01 14:32:03--  http://gentoo.ussg.indiana.edu/distfiles/genpatches-2.6.38-4.base.tar.bz2
Résolution de gentoo.ussg.indiana.edu... 156.56.247.195
Connexion vers gentoo.ussg.indiana.edu|156.56.247.195|:80...connecté.
requête HTTP transmise, en attente de la réponse...404 Not Found
2011-08-01 14:32:03 ERREUR 404: Not Found.

>>> Downloading 'http://gentoo.osuosl.org/distfiles/genpatches-2.6.38-4.base.tar.bz2'
--2011-08-01 14:32:03--  http://gentoo.osuosl.org/distfiles/genpatches-2.6.38-4.base.tar.bz2
Résolution de gentoo.osuosl.org... 64.50.236.52, 64.50.233.100
Connexion vers gentoo.osuosl.org|64.50.236.52|:80...connecté.
requête HTTP transmise, en attente de la réponse...404 Not Found
2011-08-01 14:32:03 ERREUR 404: Not Found.

>>> Downloading 'http://mirrors.kernel.org/gentoo/distfiles/genpatches-2.6.38-4.base.tar.bz2'
--2011-08-01 14:32:03--  http://mirrors.kernel.org/gentoo/distfiles/genpatches-2.6.38-4.base.tar.bz2
Résolution de mirrors.kernel.org... 149.20.20.135, 149.20.4.71
Connexion vers mirrors.kernel.org|149.20.20.135|:80...connecté.
requête HTTP transmise, en attente de la réponse...404 Not Found
2011-08-01 14:32:04 ERREUR 404: Not Found.

!!! Couldn't download 'genpatches-2.6.38-4.base.tar.bz2'. Aborting.
 * Fetch failed for 'sys-kernel/xen-sources-2.6.38', Log file:
 *  '/var/tmp/portage/sys-kernel/xen-sources-2.6.38/temp/build.log'

>>> Failed to emerge sys-kernel/xen-sources-2.6.38, Log file:

>>>  '/var/tmp/portage/sys-kernel/xen-sources-2.6.38/temp/build.log'

As for now first ftp is the only one declared in /etc/make.conf. I can not tell where rhe latter are from.
Comment 3 CaptainBlood 2011-08-01 11:00:22 UTC
Created attachment 281717 [details]
self titled

Latest mirror configuration unchanged.
Comment 4 CaptainBlood 2011-08-01 11:19:46 UTC
Created attachment 281719 [details]
successful xen-sources-2.6.24-r4 emerge in plain text - previous self-titled is lzma
Comment 5 blackd 2011-08-01 12:27:15 UTC
I have the same issue here.

I maintain the telepoint.bg gentoo mirror and the genpatches-2.6.38-4.base.tar.bz2 file is not in distfiles from 27-05-2011
Comment 6 Étienne Buira 2011-08-01 13:48:19 UTC
Seems a global failure, as "sys-kernel/xen-sources-2.6.38 	genpatches-2.6.38-4.extras.tar.bz2 	no fetchable uris" is listed in failed fetches on http://dev.gentoo.org/~zmedico/infra/distfiles/failure.xml?style=printable
Comment 7 CaptainBlood 2011-08-02 17:14:50 UTC
Plz excuse my poor knowledge, but what should be next?
Comment 8 Dancho 2011-08-04 14:16:03 UTC
I have the same issue here.
Comment 9 MMS 2011-08-04 16:31:27 UTC
Still same issue here after more than 3 days.
Can someone pls. either suply missing patch or remove ebuild from portage.
Comment 10 MMS 2011-08-04 17:02:59 UTC
After some research I found the the following web page:
http://archives.gentoo.org/gentoo-kernel/msg_d938971c7242940db425a0132d927d97.xml

With that I could solve the issue by manually downloading:
wget -P /usr/portage/distfiles/ http://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-2.6.38-4.base.tar.bz2
wget -P /usr/portage/distfiles/ http://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-2.6.38-4.extras.tar.bz2

maybe it helps someone else as well...
Comment 11 CaptainBlood 2011-08-05 19:22:53 UTC
Works fine in console mode on both sides dom0 & domU. Thanks MMS, as well as for the little teach aside.
Now
make oldconfig
doesn't give fully operational X11 on dom0 side, but that's another story. X11 untested on domU though. Thks again.
Good luck to all of you.
Comment 12 CaptainBlood 2011-08-14 17:11:14 UTC
Just editing status for visibility sake. A reminder for fixer(s) as well as a workaround for users.