Quantcast

[Mondo-devel] Gentoo ebuild fails

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Mondo-devel] Gentoo ebuild fails

Dan Vaida
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 '<a href="http://distfiles.gentoo.org/distfiles/%{srcname}-%{version}.tar.gz" class="">http://distfiles.gentoo.org/distfiles/%{srcname}-%{version}.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 '<a href="ftp://ftp.mondorescue.org//src/%{srcname}-%{version}.tar.gz" class="">ftp://ftp.mondorescue.org//src/%{srcname}-%{version}.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/

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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Mondo-devel] Gentoo ebuild fails

Bruno Cornec-4
Dan Vaida said on Mon, Jan 23, 2017 at 05:38:32PM +0100:
>    "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”

Ok, so the ebuild for the package MondoRescue (perl module used by mindi) has never been correctly done for Gentoo.
I'll work on it so you can have a working one (hopefully for 3.3.0).

Bruno.
--
HPE EMEA EG FLOSS Technology Strategist http://www.hpe.com/engage/opensource
Open Source Profession, WW Linux Community Lead    http://github.com/bcornec   
FLOSS projects:    http://mondorescue.org         http://project-builder.org
Musique ancienne?   http://www.musique-ancienne.org  http://www.medieval.org

------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
Mondo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Loading...