Michael Orlitzky <mjo <at> gentoo.org> writes:
> The entries of the SRC_URI variable are all logical-ANDed together
> rather than logical-OR. In other words, every entry is downloaded and
> considered part of the source. You only need the first one (from
> apache.org); Gentoo will ultimately take care of mirroring it if the
> ebuild makes its way into the tree.
OK, now it is simplified to:
MY_PV=${PV/_/}
SRC_URI="http://www.apache.org/dist/spark/${PV}/${P}.tgz"
But I get this error:
'ebuild spark-1.1.0.ebuild manifest'
Downloading 'http://www.apache.org/dist/spark/1.1.0/spark-1.1.0.tgz'
--2014-09-20 13:54:17-- http://www.apache.org/dist/spark/1.1.0/spark-1.1.0.tgz
ERROR 404: Not Found.
!!! Couldn't download 'spark-1.1.0.tgz'. Aborting.
!!! Fetch failed for spark-1.1.0.tgz, can't update Manifest
But th file is in:
http://www.apache.org/dist/spark/spark-1.1.0/
so PV is not forming correctly in the download, and I've tried everything
to fix it?
Downloading 'http://www.apache.org/dist/spark/1.1.0/spark-1.1.0.tgz'
should be:
Downloading 'http://www.apache.org/dist/spark/spark-1.1.0/spark-1.1.0.tgz'
or
Downloading 'http://www.apache.org/dist/spark/spark-1.1.0.tgz
????
James