Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 604840 - sys-fs/mdadm-3.4 fetch of ${PN}_3.3.4-${DEB_PR}.debian.tar.xz fails
Summary: sys-fs/mdadm-3.4 fetch of ${PN}_3.3.4-${DEB_PR}.debian.tar.xz fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-06 13:40 UTC by Mark Tomich
Modified: 2017-01-18 09:42 UTC (History)
1 user (show)

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


Attachments
mdadm-3.4-r1.ebuild (mdadm-3.4-r1.ebuild,2.26 KB, text/plain)
2017-01-06 13:40 UTC, Mark Tomich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Tomich 2017-01-06 13:40:26 UTC
Created attachment 458948 [details]
mdadm-3.4-r1.ebuild

mdadm-3.4 can't download a Debian dependency because it's been removed from their mirrors.  Fortunately, all that's needed is a pointer to the latest mdadm tarball from the Debian mirrors.  New ebuild is attached.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2017-01-06 14:27:38 UTC
Comment on attachment 458948 [details]
mdadm-3.4-r1.ebuild

--- mdadm-3.4.ebuild    2017-01-03 11:46:37.333152645 +0100
+++ -   2017-01-06 15:27:19.328559846 +0100
@@ -7,9 +7,8 @@

 DESCRIPTION="A useful tool for running RAID systems - it can be used as a replacement for the raidtools"
 HOMEPAGE="http://neil.brown.name/blog/mdadm"
-DEB_PR=1.1
 SRC_URI="mirror://kernel/linux/utils/raid/mdadm/${P}.tar.xz
-               mirror://debian/pool/main/m/mdadm/${PN}_3.3.4-${DEB_PR}.debian.tar.xz"
+               mirror://debian/pool/main/m/mdadm/${PN}_3.4-4.debian.tar.xz"

 LICENSE="GPL-2"
 SLOT="0"
Comment 2 Pierre-Olivier Mercier 2017-01-17 12:36:02 UTC
I ran into this issue on a brand new stable installation. The given fix works well.
Comment 3 SpanKY gentoo-dev 2017-01-18 09:42:15 UTC
update your GENTOO_MIRRORS settings to include up-to-date Gentoo mirrors.  changing the 3.4 tarball to use a diff deb patchset means bumping it.  and at this point, we already have newer versions available in the tree which will go stable.