Gentoo ebuild fails
Dan Vaida <[email protected]>
| Newsgroups | gmane.linux.mondo.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello everyone,
TL;DR ebuild is failing with "No such file '%{srcname}-%{version}.tar.gz’."
I’m wondering if this is happening only in my environment or is anyone else experiencing it.
I’m basically trying to install Mondo Rescue inside of a Docker container but that is not so relevant in this case. However, that enables me to share all of my environment with you:
$ docker create --name portage -v /usr/portage gentoo/portage
$ docker run -it --privileged -d --volumes-from portage gentoo/stage3-amd64 /sbin/init
$ DOCKER_CONTAINER_ID=$(docker ps | grep gentoo | awk '{print $1}')
$ docker exec -it $DOCKER_CONTAINER_ID /bin/bash -xec "mkdir -p /usr/local/portage/app-backup/mondorescue”
The following commands are all executed the same as the above one:
"echo 'PORTDIR_OVERLAY=/usr/local/portage' > /etc/make.conf"
"wget -O /usr/local/portage/app-backup/mondorescue/mondorescue-3.2.2.ebuild ftp://ftp.mondorescue.org/gentoo/nover/MondoRescue-3.2.2-r1.ebuild”
"cd /usr/local/portage/app-backup/mondorescue && ebuild mondorescue-3.2.2.ebuild digest”
The output to the ebuild command is:
!!! Found 2 make.conf files, using both '/etc/make.conf' and '/etc/portage/make.conf'
!!! Repository 'x-portage' is missing masters attribute in '/usr/local/portage/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
>>> Downloading 'http://distfiles.gentoo.org/distfiles/%{srcname}-%{version}.tar.gz'
--2017-01-23 16:32:57-- http://distfiles.gentoo.org/distfiles/%25%7Bsrcname%7D-%25%7Bversion%7D.tar.gz
Resolving distfiles.gentoo.org... 137.226.34.46, 140.211.166.134, 64.50.236.52, ...
Connecting to distfiles.gentoo.org|137.226.34.46|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-01-23 16:32:58 ERROR 404: Not Found.
>>> Downloading 'ftp://ftp.mondorescue.org//src/%{srcname}-%{version}.tar.gz'
--2017-01-23 16:32:58-- ftp://ftp.mondorescue.org//src/%25%7Bsrcname%7D-%25%7Bversion%7D.tar.gz
=> '/usr/portage/distfiles/%{srcname}-%{version}.tar.gz'
Resolving ftp.mondorescue.org... 213.30.161.23
Connecting to ftp.mondorescue.org|213.30.161.23|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /src ... done.
==> SIZE %{srcname}-%{version}.tar.gz ... done.
==> PASV ... done. ==> RETR %{srcname}-%{version}.tar.gz ...
No such file '%{srcname}-%{version}.tar.gz'.
!!! Couldn't download '%{srcname}-%{version}.tar.gz'. Aborting.
!!! Fetch failed for %{srcname}-%{version}.tar.gz, can't update Manifest
I am trying to respect the naming standard defined here: https://devmanual.gentoo.org/ebuild-writing/file-format/ <https://devmanual.gentoo.org/ebuild-writing/file-format/>
Any hints would be greatly appreciated.
Thanks.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mondo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mondo-devel