• [gentoo-user] permission denied while fetching distfile using ebuild

    From Anatoly Oreshkin@21:1/5 to All on Thu Mar 10 14:10:01 2022
    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&#39;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=&quot;Exchange data between PUM and OUTSS&quot;</div><div>HOMEPAGE=&quot;<a href="https://domain.org/strela-project/pum-outss">https://
    domain.org/strela-project/pum-outss</a>&quot;</div><div>SRC_URI=&quot;<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>&quot;</div><div>#S=&quot;${WORKDIR}/$
    {P}&quot;</div><div>LICENSE=&quot;GPLv3.0&quot;</div><div>SLOT=&quot;0&quot;</div><div>KEYWORDS=&quot;~amd64&quot;</div><div>RDEPEND=&quot;dev-python/confluent-kafka&quot;</div><div>#DEPEND=&quot;${RDEPEND}&quot;</div><div>#BDEPEND=&quot;virtual/
    pkgconfig&quot;</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&#39;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&#39;ve created the file /etc/make.conf with such lines:</div><div><br></div><div>FETCHCOMMAND=&quot;/usr/bin/wget --no-check-certificate  \${URI} &
    quot;<br>RESUMECOMMAND=&quot;/usr/bin/wget -c --no-check-certificate  \${URI} &quot;</div><div><br></div><div>Then I&#39;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 &#39;/etc/make.conf&#39; and &#39;/etc/portage/make.conf&#39;<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>&gt;&gt;&gt; Downloading &#39;<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>&#39;<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>&gt;&gt;&gt;
    Downloading &#39;<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>&#39;<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>&#39;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&#39;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&#39;t download &#39;pum-outss-1.0.0.tar.gz&#39;. Aborting.<br>!!! Fetch failed for pum-outss-1.0.0.tar.gz, can&#39;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>&#39;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&#39;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                        [ &lt;=&gt;                                                                                 ] �
    �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)
  • From Anatoly Oreshkin@21:1/5 to All on Thu Mar 10 15:20:01 2022
    I've corrected the file /etc/make.conf as follows:
    FETCHCOMMAND="/usr/bin/wget --no-check-certificate -P \${DISTDIR}
    \${URI}"
    RESUMECOMMAND="/usr/bin/wget -c --no-check-certificate -P \${DISTDIR}
    \${URI}"

    After that I've run command:
    ebuild ./pum-outss-1.0.0.ebuild manifest clean unpack

    This time file pum-outss-1.0.0.tar.gz is downloaded and saved pum-outss-1.0.0.tar.gz [ <=>
    ] 26.47K --.-KB/s
    in 0.05s

    2022-03-10 14:00:00 (559 KB/s) - ‘/var/cache/distfiles/pum-outss-1.0.0.tar.gz’ saved [27103]
    But I've got the following errors:

    pum-outss-1.0.0.tar.gz [ <=>
    ] 26.47K --.-KB/s
    in 0.05s

    2022-03-10 14:00:00 (559 KB/s) - ‘/var/cache/distfiles/pum-outss-1.0.0.tar.gz’ saved [27103]

    !!! Stating source file failed... movefile()
    !!! [Errno 2] No such file or directory: b'/var/cache/distfiles/pum-outss-1.0.0.tar.gz.__download__'
    Traceback (most recent call last):
    File "/usr/lib/python-exec/python3.9/ebuild", line 349, in <module>
    a = portage.doebuild(ebuild, arg, settings=tmpsettings,
    File
    "/usr/lib/python3.9/site-packages/portage/package/ebuild/doebuild.py", line 1376, in doebuild
    return not digestgen(mysettings=mysettings, myportdb=mydbapi)
    File
    "/usr/lib/python3.9/site-packages/portage/package/ebuild/digestgen.py",
    line 161, in digestgen
    if not fetch({myfile: uris}, mysettings):
    File "/usr/lib/python3.9/site-packages/portage/package/ebuild/fetch.py",
    line 1959, in fetch
    _movefile(
    File "/usr/lib/python3.9/site-packages/portage/__init__.py", line 599, in _movefile
    raise portage.exception.PortageException("mv '%s' '%s'" % (src, dest)) portage.exception.PortageException: mv '/var/cache/distfiles/pum-outss-1.0.0.tar.gz.__download__' '/var/cache/distfiles/pum-outss-1.0.0.tar.gz'

    What is wrong ? Any ideas ?










    чт, 10 мар. 2022 г. в 16:07, Anatoly Oreshkin <[email protected]>:


    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>I&#39;ve corrected the file /etc/make.conf as follows:</div><div>FETCHCOMMAND=&quot;/usr/bin/wget --no-check-certificate -P  \${DISTDIR}    \${URI}&quot;<br>RESUMECOMMAND=&quot;/usr/bin/wget -c --no-check-certificate -P  \${
    DISTDIR} \${URI}&quot;</div><div><br></div><div>After that I&#39;ve run command:</div><div>ebuild ./pum-outss-1.0.0.ebuild manifest clean unpack</div><div><br></div><div>This time file pum-outss-1.0.0.tar.gz is downloaded and saved  <br></div><div>pum-
    outss-1.0.0.tar.gz                        [ &lt;=&gt;                                                                                 ]  26.47K  --.-KB/s    in 0.05s   <br><br>2022-03-10 14:00:00 (
    559 KB/s) - ‘/var/cache/distfiles/pum-outss-1.0.0.tar.gz’ saved [27103]</div><div>But  I&#39;ve got the following errors:</div><div><br></div><div> pum-outss-1.0.0.tar.gz                        [ &lt;=&gt;                      
                                                              ]  26.47K  --.-KB/s    in 0.05s   <br><br>2022-03-10 14:00:00 (559 KB/s) - ‘/var/cache/distfiles/pum-outss-1.0.0.tar.gz’ saved [27103]<br><br>!!! Stating
    source file failed... movefile()<br>!!! [Errno 2] No such file or directory: b&#39;/var/cache/distfiles/pum-outss-1.0.0.tar.gz.__download__&#39;<br>Traceback (most recent call last):<br>  File &quot;/usr/lib/python-exec/python3.9/ebuild&quot;, line 349,
    in &lt;module&gt;<br>    a = portage.doebuild(ebuild, arg, settings=tmpsettings,<br>  File &quot;/usr/lib/python3.9/site-packages/portage/package/ebuild/doebuild.py&quot;, line 1376, in doebuild<br>    return not digestgen(mysettings=mysettings,
    myportdb=mydbapi)<br>  File &quot;/usr/lib/python3.9/site-packages/portage/package/ebuild/digestgen.py&quot;, line 161, in digestgen<br>    if not fetch({myfile: uris}, mysettings):<br>  File &quot;/usr/lib/python3.9/site-packages/portage/package/
    ebuild/fetch.py&quot;, line 1959, in fetch<br>    _movefile(<br>  File &quot;/usr/lib/python3.9/site-packages/portage/__init__.py&quot;, line 599, in _movefile<br>    raise portage.exception.PortageException(&quot;mv &#39;%s&#39; &#39;%s&#39;&quot; %
    (src, dest))<br>portage.exception.PortageException: mv &#39;/var/cache/distfiles/pum-outss-1.0.0.tar.gz.__download__&#39; &#39;/var/cache/distfiles/pum-outss-1.0.0.tar.gz&#39;</div><div><br></div><div>What is wrong ?  Any ideas ?</div><div><br></div><
    <br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">чт, 10 мар. 2022 г. в 16:07, Anatoly Oreshkin &lt;<a href="mailto:
    [email protected]">[email protected]</a>&gt;:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>Hello,</div><div><br></
    <div>I am trying to create my first  package using ebuild.</div><div>I&#39;ve created ebuild file pum-outss-1.0.0.ebuild in directory</div><div>/var/db/repos/pum-outss/dev-python/pum-outss</div><div><br></div><div>The file pum-outss-1.0.0.ebuild 
    has following content:</div><div>EAPI=7</div><div>DESCRIPTION=&quot;Exchange data between PUM and OUTSS&quot;</div><div>HOMEPAGE=&quot;<a href="https://domain.org/strela-project/pum-outss" target="_blank">https://domain.org/strela-project/pum-outss</a>&
    quot;</div><div>SRC_URI=&quot;<a href="https://domain.org/strela-project/pum-outss/pum-outss-1.0.0.tar.gz" target="_blank">https://domain.org/strela-project/pum-outss/pum-outss-1.0.0.tar.gz</a>&quot;</div><div>#S=&quot;${WORKDIR}/${P}&quot;</div><div>
    LICENSE=&quot;GPLv3.0&quot;</div><div>SLOT=&quot;0&quot;</div><div>KEYWORDS=&quot;~amd64&quot;</div><div>RDEPEND=&quot;dev-python/confluent-kafka&quot;</div><div>#DEPEND=&quot;${RDEPEND}&quot;</div><div>#BDEPEND=&quot;virtual/pkgconfig&quot;</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&#39;ve created  my repository pum-outss by the command</div><div>eselect repository create pum-outss</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" target="_blank">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><div>To
    fetch pum-outss-1.0.0.tar.gz using wget  with parameter --no-check-certificate</div><div>I&#39;ve created the file /etc/make.conf with such lines:</div><div><br></div><div>FETCHCOMMAND=&quot;/usr/bin/wget --no-check-certificate  \${URI} &quot;<br>
    RESUMECOMMAND=&quot;/usr/bin/wget -c --no-check-certificate  \${URI} &quot;</div><div><br></div><div>Then I&#39;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 &#39;/etc/make.conf&#39; and &#39;/etc/portage/make.conf&#39;<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>&gt;&
    gt;&gt; Downloading &#39;<a href="http://distfiles.gentoo.org/distfiles/8e/pum-outss-1.0.0.tar.gz" target="_blank">http://distfiles.gentoo.org/distfiles/8e/pum-outss-1.0.0.tar.gz</a>&#39;<br>--2022-03-10 12:45:01--  <a href="http://distfiles.gentoo.org/
    distfiles/8e/pum-outss-1.0.0.tar.gz" target="_blank">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" target="_blank">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>&gt;&gt;&gt; Downloading &#39;<a href="https://domain.org/strela-project/pum-outss/pum-outss-1.0.0.tar.gz" target="_blank">https://domain.org/strela-project/pum-outss/pum-outss-1.0.0.tar.gz</a>&#39;<br>--2022-03-10 12:45:03--  <a href="
    https://domain.org/strela-project/pum-outss/pum-outss-1.0.0.tar.gz" target="_blank">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" target="_blank">
    domain.org</a>|x.x.x.x|:443... connected.<br>WARNING: cannot verify <a href="http://domain.org" target="_blank">domain.org</a>&#39;s certificate, issued by ‘CN=GeoTrust RSA CA 2018,OU=<a href="http://www.digicert.com" target="_blank">www.digicert.com</
    ,O=DigiCert Inc,C=US’:<br>  Unable to locally verify the issuer&#39;s authority.<br>HTTP request sent, awaiting response... 302 Found<br>Location: <a href="https://domain.org/users/sign_in" target="_blank">https://domain.org/users/sign_in</a> [
    following]<br>--2022-03-10 12:45:04--  <a href="https://domain.org/users/sign_in" target="_blank">https://domain.org/users/sign_in</a><br>Reusing existing connection to <a href="http://domain.org:443" target="_blank">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&#39;t
    download &#39;pum-outss-1.0.0.tar.gz&#39;. Aborting.<br>!!! Fetch failed for pum-outss-1.0.0.tar.gz, can&#39;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" target="_blank">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" target="_blank">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" target="_blank">domain.org</a> x.x.
    x.x|:443... connected.<br>WARNING: cannot verify <a href="http://domain.org" target="_blank">domain.org</a>&#39;s certificate, issued by ‘CN=GeoTrust RSA CA 2018,OU=<a href="http://www.digicert.com" target="_blank">www.digicert.com</a>,O=DigiCert Inc,C=
    US’:<br>  Unable to locally verify the issuer&#39;s authority.<br>HTTP request sent, awaiting response... 302 Found<br>Location: <a href="https://domain.org/users/sign_in" target="_blank">https://domain.org/users/sign_in</a> [following]<br>--2022-03-
    10 12:55:30--  <a href="https://domain.org/users/sign_in" target="_blank">https://domain.org/users/sign_in</a><br>Reusing existing connection to <a href="http://domain.org:443" target="_blank">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                        [ &lt;=&gt;                                                             �
    �                   ]  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>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><br></div></div>
    </blockquote></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)