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 ?

Reply via email to