From: | James <wireless@×××××××××××.com> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | [gentoo-user] Re: SRC_URISRC_URI.mirror | ||
Date: | Sat, 20 Sep 2014 17:56:00 | ||
Message-Id: | loom.20140920T194738-483@post.gmane.org | ||
In Reply to: | Re: [gentoo-user] SRC_URISRC_URI.mirror by Michael Orlitzky |
1 | Michael Orlitzky <mjo <at> gentoo.org> writes: |
2 | |
3 | |
4 | |
5 | > The entries of the SRC_URI variable are all logical-ANDed together |
6 | > rather than logical-OR. In other words, every entry is downloaded and |
7 | > considered part of the source. You only need the first one (from |
8 | > apache.org); Gentoo will ultimately take care of mirroring it if the |
9 | > ebuild makes its way into the tree. |
10 | |
11 | OK, now it is simplified to: |
12 | |
13 | MY_PV=${PV/_/} |
14 | |
15 | SRC_URI="http://www.apache.org/dist/spark/${PV}/${P}.tgz" |
16 | |
17 | But I get this error: |
18 | |
19 | 'ebuild spark-1.1.0.ebuild manifest' |
20 | |
21 | Downloading 'http://www.apache.org/dist/spark/1.1.0/spark-1.1.0.tgz' |
22 | --2014-09-20 13:54:17-- http://www.apache.org/dist/spark/1.1.0/spark-1.1.0.tgz |
23 | |
24 | |
25 | |
26 | ERROR 404: Not Found. |
27 | |
28 | !!! Couldn't download 'spark-1.1.0.tgz'. Aborting. |
29 | !!! Fetch failed for spark-1.1.0.tgz, can't update Manifest |
30 | |
31 | |
32 | But th file is in: |
33 | http://www.apache.org/dist/spark/spark-1.1.0/ |
34 | |
35 | so PV is not forming correctly in the download, and I've tried everything |
36 | to fix it? |
37 | |
38 | Downloading 'http://www.apache.org/dist/spark/1.1.0/spark-1.1.0.tgz' |
39 | |
40 | should be: |
41 | |
42 | Downloading 'http://www.apache.org/dist/spark/spark-1.1.0/spark-1.1.0.tgz' |
43 | or |
44 | Downloading 'http://www.apache.org/dist/spark/spark-1.1.0.tgz |
45 | |
46 | |
47 | ???? |
48 | |
49 | |
50 | James |
Subject | Author |
---|---|
Re: [gentoo-user] Re: SRC_URISRC_URI.mirror | Michael Orlitzky <mjo@g.o> |