Opened 13 years ago

Closed 13 years ago

#460 closed defect (invalid)

Position on repository of source files

Reported by: Talamona Francesco Owned by: Bruno Cornec
Priority: normal Milestone: 2.2.9.6
Component: mondo Version: 2.2.9.4
Severity: normal Keywords:
Cc:

Description

This issue is relative to Gentoo: the ebuild name is used to build the file path of the source to retrieve. So, now that #458 is fixed, there should be a 1:1 relation for the source file and ebuild version

This is the line from the ebuilds that tells where to find the sources:

SRC_URI="ftp://ftp.mondorescue.org/src/${P}.tar.gz"
>>> Downloading 'ftp://ftp.mondorescue.org/src/mondo-2.2.9.5_p20110202123354.tar.gz'
--2011-02-05 18:58:00--  ftp://ftp.mondorescue.org/src/mondo-2.2.9.5_p20110202123354.tar.gz
           => “/usr/portage/distfiles/mondo-2.2.9.5_p20110202123354.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 mondo-2.2.9.5_p20110202123354.tar.gz ... done.
==> PASV ... done.    ==> RETR mondo-2.2.9.5_p20110202123354.tar.gz ... 
No such file “mondo-2.2.9.5_p20110202123354.tar.gz”.

!!! Couldn't download 'mondo-2.2.9.5_p20110202123354.tar.gz'. Aborting.
!!! Fetch failed for mondo-2.2.9.5_p20110202123354.tar.gz, can't update Manifest
>>> Downloading 'ftp://ftp.mondorescue.org/src/mindi-2.0.7.6_p20110202123354.tar.gz'
--2011-02-05 19:00:33--  ftp://ftp.mondorescue.org/src/mindi-2.0.7.6_p20110202123354.tar.gz
           => “/usr/portage/distfiles/mindi-2.0.7.6_p20110202123354.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 mindi-2.0.7.6_p20110202123354.tar.gz ... done.
==> PASV ... done.    ==> RETR mindi-2.0.7.6_p20110202123354.tar.gz ... 
No such file “mindi-2.0.7.6_p20110202123354.tar.gz”.

!!! Couldn't download 'mindi-2.0.7.6_p20110202123354.tar.gz'. Aborting.
!!! Fetch failed for mindi-2.0.7.6_p20110202123354.tar.gz, can't update Manifest

Attachments (1)

mondo-2.2.9.5_p20110202123354.ebuild (1.8 KB ) - added by Talamona Francesco 13 years ago.
Horribly hacked ebuild to work around the fact that the extract path is changed

Download all attachments as: .zip

Change History (7)

by Talamona Francesco, 13 years ago

Horribly hacked ebuild to work around the fact that the extract path is changed

comment:1 by Talamona Francesco, 13 years ago

Please use the attached ebuild just as a reference.

comment:2 by Bruno Cornec, 13 years ago

Status: newassigned

Thanks for this report. the ebuild files were not using the correct macro in my build system up to now, to provide the pointer to the right repository structure. This should be fixed with rev [1195].

I'm regenrating the ebuild files for you to test. They will be dated 20110216 and be available later today.

comment:4 by Talamona Francesco, 13 years ago

I tried, but the mindi and mondo sources are named in a way different from the name of the ebuild itself.

[root@aemaeth:/usr/local/portage/standard/sys-apps/mindi]$ wget ftp://ftp.mondorescue.org/test/gentoo/nover/mindi-2.0.7.6_p20110217014409.ebuild
--2011-02-20 20:34:39--  ftp://ftp.mondorescue.org/test/gentoo/nover/mindi-2.0.7.6_p20110217014409.ebuild
           => “mindi-2.0.7.6_p20110217014409.ebuild”
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) /test/gentoo/nover ... done.
==> SIZE mindi-2.0.7.6_p20110217014409.ebuild ... 1319
==> PASV ... done.    ==> RETR mindi-2.0.7.6_p20110217014409.ebuild ... done.
Length: 1319 (1.3K) (unauthoritative)

100%[===================================================================================================================>] 1,319       --.-K/s   in 0.006s  

2011-02-20 20:34:42 (219 KB/s) - “mindi-2.0.7.6_p20110217014409.ebuild” saved [1319]


[root@aemaeth:/usr/local/portage/standard/sys-apps/mindi]$ ebuild mindi-2.0.7.6_p20110217014409.ebuild  digest
>>> Downloading 'ftp://ftp.mondorescue.org/test/src/mindi-2.0.7.6_p20110217014409.tar.gz'
--2011-02-20 20:37:45--  ftp://ftp.mondorescue.org/test/src/mindi-2.0.7.6_p20110217014409.tar.gz
           => “/usr/portage/distfiles/mindi-2.0.7.6_p20110217014409.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) /test/src ... done.
==> SIZE mindi-2.0.7.6_p20110217014409.tar.gz ... done.
==> PASV ... done.    ==> RETR mindi-2.0.7.6_p20110217014409.tar.gz ... 
No such file “mindi-2.0.7.6_p20110217014409.tar.gz”.

!!! Couldn't download 'mindi-2.0.7.6_p20110217014409.tar.gz'. Aborting.
!!! Fetch failed for mindi-2.0.7.6_p20110217014409.tar.gz, can't update Manifest
[root@aemaeth:/usr/local/portage/standard/app-backup/mondo]$ wget ftp://ftp.mondorescue.org/test/gentoo/nover/mondo-2.2.9.5_p20110217014409.ebuild
--2011-02-20 20:42:01--  ftp://ftp.mondorescue.org/test/gentoo/nover/mondo-2.2.9.5_p20110217014409.ebuild
           => “mondo-2.2.9.5_p20110217014409.ebuild”
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) /test/gentoo/nover ... done.
==> SIZE mondo-2.2.9.5_p20110217014409.ebuild ... 1738
==> PASV ... done.    ==> RETR mondo-2.2.9.5_p20110217014409.ebuild ... done.
Length: 1738 (1.7K) (unauthoritative)

100%[===================================================================================================================>] 1,738       --.-K/s   in 0.004s  

2011-02-20 20:42:04 (380 KB/s) - “mondo-2.2.9.5_p20110217014409.ebuild” saved [1738]


[root@aemaeth:/usr/local/portage/standard/app-backup/mondo]$ ebuild mondo-2.2.9.5_p20110217014409.ebuild digest
>>> Downloading 'ftp://ftp.mondorescue.org/test/src/mondo-2.2.9.5_p20110217014409.tar.gz'
--2011-02-20 20:42:52--  ftp://ftp.mondorescue.org/test/src/mondo-2.2.9.5_p20110217014409.tar.gz
           => “/usr/portage/distfiles/mondo-2.2.9.5_p20110217014409.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) /test/src ... done.
==> SIZE mondo-2.2.9.5_p20110217014409.tar.gz ... done.
==> PASV ... done.    ==> RETR mondo-2.2.9.5_p20110217014409.tar.gz ... 
No such file “mondo-2.2.9.5_p20110217014409.tar.gz”.

!!! Couldn't download 'mondo-2.2.9.5_p20110217014409.tar.gz'. Aborting.
!!! Fetch failed for mondo-2.2.9.5_p20110217014409.tar.gz, can't update Manifest

For every ebuild a digest is created with the command "ebuild program.ebuild digest" where is recorded a checksum of the source. If a source file changes while keeping its name, an "hijacking danger" is encountered and portage refuses to emerge the packet: this is how the "Manifest" file appears:

[root@aemaeth:/usr/local/portage/standard/app-backup/mondo]$ cat Manifest 
DIST mondo-2.2.9.5.tar.gz 2520124 RMD160 872e2a2a7e7c342bed201f54f8ca3d2ae943e8c7 SHA1 eceb62945b12525bd6820336905d5897d82dc9b6 SHA256 0d92bebb45995c55bac9f12c98d4dffa59d11ed8a7269fee0d36f9c7b8aec411
DIST mondo-2.2.9.5_p20110202123354.tar.gz 2520112 RMD160 b1a0ef0de720081013d60bb29e294b4e5efa30cd SHA1 8cee84ce138527c5e167a81f59d7c2d165a2e5ce SHA256 c138a5347c20f7abd4452e6cb7db36fce326704467899909b9c754d9ed2aab97
EBUILD mondo-2.2.9.5.ebuild 1738 RMD160 1dc45a42b7cfbfe57a7c06379a5271f12246b1ca SHA1 2f0e8f48fe6a6df09eda8714069139574733d634 SHA256 85c42b036ae374c0493179050c3a9f9497187c9caaeefc591e6118c7302af05a
EBUILD mondo-2.2.9.5_p20110202123354.ebuild 1797 RMD160 4d9b1a6e64e83431c32ce3f98149fffe2eb0c557 SHA1 4f49af504ec149aae7b731c38dada45804a90105 SHA256 17d152264ac3eacf986a672103872154f4070fa3232a3c0a33d25d16b89d0bba

comment:5 by Bruno Cornec, 13 years ago

Milestone: 2.2.9.52.2.9.6

comment:6 by Bruno Cornec, 13 years ago

Resolution: invalid
Status: assignedclosed

Ok, this is not a mondo bug, but a project-builder.org bug. Cf: http://trac.project-builder.org/ticket/99

So closing here.

Note: See TracTickets for help on using tickets.