1 |
Hello, |
2 |
|
3 |
I am trying to create my first package using ebuild. |
4 |
I've created ebuild file pum-outss-1.0.0.ebuild in directory |
5 |
/var/db/repos/pum-outss/dev-python/pum-outss |
6 |
|
7 |
The file pum-outss-1.0.0.ebuild has following content: |
8 |
EAPI=7 |
9 |
DESCRIPTION="Exchange data between PUM and OUTSS" |
10 |
HOMEPAGE="https://domain.org/strela-project/pum-outss" |
11 |
SRC_URI="https://domain.org/strela-project/pum-outss/pum-outss-1.0.0.tar.gz" |
12 |
#S="${WORKDIR}/${P}" |
13 |
LICENSE="GPLv3.0" |
14 |
SLOT="0" |
15 |
KEYWORDS="~amd64" |
16 |
RDEPEND="dev-python/confluent-kafka" |
17 |
#DEPEND="${RDEPEND}" |
18 |
#BDEPEND="virtual/pkgconfig" |
19 |
#src_unpack() { |
20 |
# unpack ${P}.tar.gz |
21 |
#} |
22 |
|
23 |
The rest of the file are comments. |
24 |
|
25 |
I've created my repository pum-outss by the command |
26 |
eselect repository create pum-outss |
27 |
... |
28 |
Adding pum-outss to /etc/portage/repos.conf/eselect-repo.conf ... |
29 |
Repository pum-outss created and added |
30 |
|
31 |
The file /etc/portage/repos.conf/eselect-repo.conf content: |
32 |
[guru] |
33 |
location = /var/db/repos/guru |
34 |
sync-type = git |
35 |
sync-uri = https://github.com/gentoo-mirror/guru.git |
36 |
|
37 |
[pum-outss] |
38 |
location = /var/db/repos/pum-outss |
39 |
|
40 |
To fetch pum-outss-1.0.0.tar.gz using wget with parameter |
41 |
--no-check-certificate |
42 |
I've created the file /etc/make.conf with such lines: |
43 |
|
44 |
FETCHCOMMAND="/usr/bin/wget --no-check-certificate \${URI} " |
45 |
RESUMECOMMAND="/usr/bin/wget -c --no-check-certificate \${URI} " |
46 |
|
47 |
Then I've run the following commands: |
48 |
|
49 |
cd /var/db/repos/pum-outss/dev-python/pum-outss |
50 |
ebuild ./pum-outss-1.0.0.ebuild manifest clean unpack |
51 |
|
52 |
!!! Found 2 make.conf files, using both '/etc/make.conf' and |
53 |
'/etc/portage/make.conf' |
54 |
!!! FEATURES=fakeroot is enabled, but the fakeroot binary is not installed. |
55 |
!!! FETCHCOMMAND does not contain the required ${FILE} parameter. |
56 |
!!! RESUMECOMMAND does not contain the required ${FILE} parameter. |
57 |
!!! Refer to the make.conf(5) man page for information about how to |
58 |
!!! correctly specify FETCHCOMMAND and RESUMECOMMAND. |
59 |
>>> Downloading ' |
60 |
http://distfiles.gentoo.org/distfiles/8e/pum-outss-1.0.0.tar.gz' |
61 |
--2022-03-10 12:45:01-- |
62 |
http://distfiles.gentoo.org/distfiles/8e/pum-outss-1.0.0.tar.gz |
63 |
Resolving distfiles.gentoo.org... 195.181.175.49, 195.181.175.45, |
64 |
195.181.174.7, ... |
65 |
Connecting to distfiles.gentoo.org|195.181.175.49|:80... connected. |
66 |
HTTP request sent, awaiting response... 404 Not Found |
67 |
2022-03-10 12:45:03 ERROR 404: Not Found. |
68 |
|
69 |
No digest file available and download failed. |
70 |
|
71 |
!!! FETCHCOMMAND does not contain the required ${FILE} parameter. |
72 |
!!! RESUMECOMMAND does not contain the required ${FILE} parameter. |
73 |
!!! Refer to the make.conf(5) man page for information about how to |
74 |
!!! correctly specify FETCHCOMMAND and RESUMECOMMAND. |
75 |
>>> Downloading ' |
76 |
https://domain.org/strela-project/pum-outss/pum-outss-1.0.0.tar.gz' |
77 |
--2022-03-10 12:45:03-- |
78 |
https://domain.org/strela-project/pum-outss/pum-outss-1.0.0.tar.gz |
79 |
Resolving domain.org... x.x.x.x |
80 |
Connecting to domain.org|x.x.x.x|:443... connected. |
81 |
WARNING: cannot verify domain.org's certificate, issued by ‘CN=GeoTrust RSA |
82 |
CA 2018,OU=www.digicert.com,O=DigiCert Inc,C=US’: |
83 |
Unable to locally verify the issuer's authority. |
84 |
HTTP request sent, awaiting response... 302 Found |
85 |
Location: https://domain.org/users/sign_in [following] |
86 |
--2022-03-10 12:45:04-- https://domain.org/users/sign_in |
87 |
Reusing existing connection to domain.org:443. |
88 |
HTTP request sent, awaiting response... 200 OK |
89 |
Length: unspecified [text/html] |
90 |
pum-outss-1.0.0.tar.gz: Permission denied |
91 |
|
92 |
Cannot write to ‘pum-outss-1.0.0.tar.gz’ (Success) |
93 |
No digest file available and download failed. |
94 |
|
95 |
!!! Couldn't download 'pum-outss-1.0.0.tar.gz'. Aborting. |
96 |
!!! Fetch failed for pum-outss-1.0.0.tar.gz, can't update Manifest |
97 |
|
98 |
However using wget by hand I can download the file pum-outss-1.0.0.tar.gz |
99 |
|
100 |
/usr/bin/wget --no-check-certificate |
101 |
https://domain.org/strela-project/pum-outss/pum-outss-1.0.0.tar.gz |
102 |
--2022-03-10 12:55:30-- |
103 |
https://domain.org/strela-project/pum-outss/pum-outss-1.0.0.tar.gz |
104 |
Resolving domain.org... x.x.x.x |
105 |
Connecting to domain.org x.x.x.x|:443... connected. |
106 |
WARNING: cannot verify domain.org's certificate, issued by ‘CN=GeoTrust RSA |
107 |
CA 2018,OU=www.digicert.com,O=DigiCert Inc,C=US’: |
108 |
Unable to locally verify the issuer's authority. |
109 |
HTTP request sent, awaiting response... 302 Found |
110 |
Location: https://domain.org/users/sign_in [following] |
111 |
--2022-03-10 12:55:30-- https://domain.org/users/sign_in |
112 |
Reusing existing connection to domain.org:443. |
113 |
HTTP request sent, awaiting response... 200 OK |
114 |
Length: unspecified [text/html] |
115 |
Saving to: ‘pum-outss-1.0.0.tar.gz’ |
116 |
|
117 |
pum-outss-1.0.0.tar.gz [ <=> |
118 |
] 26.47K --.-KB/s |
119 |
in 0s |
120 |
|
121 |
2022-03-10 12:55:30 (51.8 MB/s) - ‘pum-outss-1.0.0.tar.gz’ saved [27103] |
122 |
|
123 |
|
124 |
Why is pum-outss-1.0.0.tar.gz: Permission denied ? |
125 |
What may be the cause ? Any ideas ? |