Hello,
I am trying to create my first package using ebuild.
I've created ebuild file pum-outss-1.0.0.ebuild in directory /var/db/repos/pum-outss/dev-python/pum-outss
The file pum-outss-1.0.0.ebuild has following content:
EAPI=7
DESCRIPTION="Exchange data between PUM and OUTSS" HOMEPAGE="
https://domain.org/strela-project/pum-outss" SRC_URI="
https://domain.org/strela-project/pum-outss/pum-outss-1.0.0.tar.gz" #S="${WORKDIR}/${P}"
LICENSE="GPLv3.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="dev-python/confluent-kafka"
#DEPEND="${RDEPEND}"
#BDEPEND="virtual/pkgconfig"
#src_unpack() {
# unpack ${P}.tar.gz
#}
The rest of the file are comments.
I've created my repository pum-outss by the command
eselect repository create pum-outss
...
Adding pum-outss to /etc/portage/repos.conf/eselect-repo.conf ...
Repository pum-outss created and added
The file /etc/portage/repos.conf/eselect-repo.conf content:
[guru]
location = /var/db/repos/guru
sync-type = git
sync-uri =
https://github.com/gentoo-mirror/guru.git
[pum-outss]
location = /var/db/repos/pum-outss
To fetch pum-outss-1.0.0.tar.gz using wget with parameter --no-check-certificate
I've created the file /etc/make.conf with such lines:
FETCHCOMMAND="/usr/bin/wget --no-check-certificate \${URI} " RESUMECOMMAND="/usr/bin/wget -c --no-check-certificate \${URI} "
Then I've run the following commands:
cd /var/db/repos/pum-outss/dev-python/pum-outss
ebuild ./pum-outss-1.0.0.ebuild manifest clean unpack
!!! Found 2 make.conf files, using both '/etc/make.conf' and '/etc/portage/make.conf'
!!! FEATURES=fakeroot is enabled, but the fakeroot binary is not installed.
!!! FETCHCOMMAND does not contain the required ${FILE} parameter.
!!! RESUMECOMMAND does not contain the required ${FILE} parameter.
!!! Refer to the make.conf(5) man page for information about how to
!!! correctly specify FETCHCOMMAND and RESUMECOMMAND.
Downloading ' http://distfiles.gentoo.org/distfiles/8e/pum-outss-1.0.0.tar.gz'
--2022-03-10 12:45:01--
http://distfiles.gentoo.org/distfiles/8e/pum-outss-1.0.0.tar.gz
Resolving distfiles.gentoo.org... 195.181.175.49, 195.181.175.45, 195.181.174.7, ...
Connecting to distfiles.gentoo.org|195.181.175.49|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-03-10 12:45:03 ERROR 404: Not Found.
No digest file available and download failed.
!!! FETCHCOMMAND does not contain the required ${FILE} parameter.
!!! RESUMECOMMAND does not contain the required ${FILE} parameter.
!!! Refer to the make.conf(5) man page for information about how to
!!! correctly specify FETCHCOMMAND and RESUMECOMMAND.
Downloading ' https://domain.org/strela-project/pum-outss/pum-outss-1.0.0.tar.gz' --2022-03-10 12:45:03-- https://domain.org/strela-project/pum-outss/pum-outss-1.0.0.tar.gz
Resolving domain.org... x.x.x.x
Connecting to domain.org|x.x.x.x|:443... connected.
WARNING: cannot verify domain.org's certificate, issued by ‘CN=GeoTrust RSA CA 2018,OU=www.digicert.com,O=DigiCert Inc,C=US’:
Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 302 Found
Location:
https://domain.org/users/sign_in [following]
--2022-03-10 12:45:04--
https://domain.org/users/sign_in
Reusing existing connection to domain.org:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
pum-outss-1.0.0.tar.gz: Permission denied
Cannot write to ‘pum-outss-1.0.0.tar.gz’ (Success)
No digest file available and download failed.
!!! Couldn't download 'pum-outss-1.0.0.tar.gz'. Aborting.
!!! Fetch failed for pum-outss-1.0.0.tar.gz, can't update Manifest
However using wget by hand I can download the file pum-outss-1.0.0.tar.gz
/usr/bin/wget --no-check-certificate
https://domain.org/strela-project/pum-outss/pum-outss-1.0.0.tar.gz
--2022-03-10 12:55:30--
https://domain.org/strela-project/pum-outss/pum-outss-1.0.0.tar.gz
Resolving domain.org... x.x.x.x
Connecting to domain.org x.x.x.x|:443... connected.
WARNING: cannot verify domain.org's certificate, issued by ‘CN=GeoTrust RSA CA 2018,OU=www.digicert.com,O=DigiCert Inc,C=US’:
Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 302 Found
Location:
https://domain.org/users/sign_in [following]
--2022-03-10 12:55:30--
https://domain.org/users/sign_in
Reusing existing connection to domain.org:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘pum-outss-1.0.0.tar.gz’
pum-outss-1.0.0.tar.gz [ <=>
] 26.47K --.-KB/s
in 0s
2022-03-10 12:55:30 (51.8 MB/s) - ‘pum-outss-1.0.0.tar.gz’ saved [27103]
Why is pum-outss-1.0.0.tar.gz: Permission denied ?
What may be the cause ? Any ideas ?
<div dir="ltr"><div><br></div><div>Hello,</div><div><br></div><div>I am trying to create my first package using ebuild.</div><div>I've created ebuild file pum-outss-1.0.0.ebuild in directory</div><div>/var/db/repos/pum-outss/dev-python/pum-outss</
<div><br></div><div>The file pum-outss-1.0.0.ebuild has following content:</div><div>EAPI=7</div><div>DESCRIPTION="Exchange data between PUM and OUTSS"</div><div>HOMEPAGE="<a href="https://domain.org/strela-project/pum-outss">https://
domain.org/strela-project/pum-outss</a>"</div><div>SRC_URI="<a href="
https://domain.org/strela-project/pum-outss/pum-outss-1.0.0.tar.gz">https://domain.org/strela-project/pum-outss/pum-outss-1.0.0.tar.gz</a>"</div><div>#S="${WORKDIR}/$
{P}"</div><div>LICENSE="GPLv3.0"</div><div>SLOT="0"</div><div>KEYWORDS="~amd64"</div><div>RDEPEND="dev-python/confluent-kafka"</div><div>#DEPEND="${RDEPEND}"</div><div>#BDEPEND="virtual/
pkgconfig"</div><div>#src_unpack() {<br># unpack ${P}.tar.gz<br>#}</div><div><br></div><div>The rest of the file are comments.<br></div><div><br></div><div>I've created my repository pum-outss by the command</div><div>eselect
repository create pum-outss</div><div>...</div><div>Adding pum-outss to /etc/portage/repos.conf/eselect-repo.conf ...<br>Repository pum-outss created and added</div><div><br></div><div>The file /etc/portage/repos.conf/eselect-repo.conf content:</div><div>
[guru]<br>location = /var/db/repos/guru<br>sync-type = git<br>sync-uri = <a href="
https://github.com/gentoo-mirror/guru.git">https://github.com/gentoo-mirror/guru.git</a><br><br>[pum-outss]<br>location = /var/db/repos/pum-outss<br></div><div><br></div><
<div>To fetch pum-outss-1.0.0.tar.gz using wget with parameter --no-check-certificate</div><div>I've created the file /etc/make.conf with such lines:</div><div><br></div><div>FETCHCOMMAND="/usr/bin/wget --no-check-certificate \${URI} &
quot;<br>RESUMECOMMAND="/usr/bin/wget -c --no-check-certificate \${URI} "</div><div><br></div><div>Then I've run the following commands:</div><div><br></div><div>cd /var/db/repos/pum-outss/dev-python/pum-outss</div><div>ebuild ./pum-outss-
1.0.0.ebuild manifest clean unpack</div><div><br></div><div>!!! Found 2 make.conf files, using both '/etc/make.conf' and '/etc/portage/make.conf'<br>!!! FEATURES=fakeroot is enabled, but the fakeroot binary is not installed.<br>!!!
FETCHCOMMAND does not contain the required ${FILE} parameter.<br>!!! RESUMECOMMAND does not contain the required ${FILE} parameter.<br>!!! Refer to the make.conf(5) man page for information about how to<br>!!! correctly specify FETCHCOMMAND and
RESUMECOMMAND.<br>>>> Downloading '<a href="
http://distfiles.gentoo.org/distfiles/8e/pum-outss-1.0.0.tar.gz">http://distfiles.gentoo.org/distfiles/8e/pum-outss-1.0.0.tar.gz</a>'<br>--2022-03-10 12:45:01-- <a href="
http://distfiles.
gentoo.org/distfiles/8e/pum-outss-1.0.0.tar.gz">
http://distfiles.gentoo.org/distfiles/8e/pum-outss-1.0.0.tar.gz</a><br>Resolving distfiles.gentoo.org... 195.181.175.49, 195.181.175.45, 195.181.174.7, ...<br>Connecting to <a href="
http://distfiles.gentoo.
org">distfiles.gentoo.org</a>|195.181.175.49|:80... connected.<br>HTTP request sent, awaiting response... 404 Not Found<br>2022-03-10 12:45:03 ERROR 404: Not Found.<br><br>No digest file available and download failed.<br><br>!!! FETCHCOMMAND does not
contain the required ${FILE} parameter.<br>!!! RESUMECOMMAND does not contain the required ${FILE} parameter.<br>!!! Refer to the make.conf(5) man page for information about how to<br>!!! correctly specify FETCHCOMMAND and RESUMECOMMAND.<br>>>>
Downloading '<a href="
https://domain.org/strela-project/pum-outss/pum-outss-1.0.0.tar.gz">https://domain.org/strela-project/pum-outss/pum-outss-1.0.0.tar.gz</a>'<br>--2022-03-10 12:45:03-- <a href="
https://domain.org/strela-project/pum-outss/
pum-outss-1.0.0.tar.gz">
https://domain.org/strela-project/pum-outss/pum-outss-1.0.0.tar.gz</a><br>Resolving domain.org... x.x.x.x<br>Connecting to <a href="
http://domain.org">domain.org</a>|x.x.x.x|:443... connected.<br>WARNING: cannot verify <a href="
http://domain.org">domain.org</a>'s certificate, issued by ‘CN=GeoTrust RSA CA 2018,OU=<a href="
http://www.digicert.com">www.digicert.com</a>,O=DigiCert Inc,C=US’:<br> Unable to locally verify the issuer's authority.<br>HTTP request sent,
awaiting response... 302 Found<br>Location: <a href="
https://domain.org/users/sign_in">https://domain.org/users/sign_in</a> [following]<br>--2022-03-10 12:45:04-- <a href="
https://domain.org/users/sign_in">https://domain.org/users/sign_in</a><br>
Reusing existing connection to <a href="
http://domain.org:443">domain.org:443</a>.<br>HTTP request sent, awaiting response... 200 OK<br>Length: unspecified [text/html]<br>pum-outss-1.0.0.tar.gz: Permission denied<br><br>Cannot write to ‘pum-outss-1.0.0.
tar.gz’ (Success)<br>No digest file available and download failed.<br><br>!!! Couldn't download 'pum-outss-1.0.0.tar.gz'. Aborting.<br>!!! Fetch failed for pum-outss-1.0.0.tar.gz, can't update Manifest</div><div><br></div><div>However
using wget by hand I can download the file pum-outss-1.0.0.tar.gz</div><div><br></div><div>/usr/bin/wget --no-check-certificate <a href="
https://domain.org/strela-project/pum-outss/pum-outss-1.0.0.tar.gz">https://domain.org/strela-project/pum-outss/
pum-outss-1.0.0.tar.gz</a><br>--2022-03-10 12:55:30-- <a href="
https://domain.org/strela-project/pum-outss/pum-outss-1.0.0.tar.gz">https://domain.org/strela-project/pum-outss/pum-outss-1.0.0.tar.gz</a><br>Resolving domain.org... x.x.x.x<br>Connecting
to <a href="
http://domain.org">domain.org</a> x.x.x.x|:443... connected.<br>WARNING: cannot verify <a href="
http://domain.org">domain.org</a>'s certificate, issued by ‘CN=GeoTrust RSA CA 2018,OU=<a href="
http://www.digicert.com">www.digicert.com</a>
,O=DigiCert Inc,C=US’:<br> Unable to locally verify the issuer's authority.<br>HTTP request sent, awaiting response... 302 Found<br>Location: <a href="
https://domain.org/users/sign_in">https://domain.org/users/sign_in</a> [following]<br>--2022-03-
10 12:55:30-- <a href="
https://domain.org/users/sign_in">https://domain.org/users/sign_in</a><br>Reusing existing connection to <a href="
http://domain.org:443">domain.org:443</a>.<br>HTTP request sent, awaiting response... 200 OK<br>Length: unspecified
[text/html]<br>Saving to: ‘pum-outss-1.0.0.tar.gz’<br><br>pum-outss-1.0.0.tar.gz [ <=> ] �
�26.47K --.-KB/s in 0s <br><br>2022-03-10 12:55:30 (51.8 MB/s) - ‘pum-outss-1.0.0.tar.gz’ saved [27103]<br></div><div><br></div><div><br></div><div>Why is pum-outss-1.0.0.tar.gz: Permission denied ?</div><div>What may be the cause ?
Any ideas ?<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)