Opened 13 years ago

Closed 12 years ago

#516 closed defect (invalid)

Checksum Failure on mindi-2.0.7.5.tar.gz

Reported by: Gene Owned by: Bruno Cornec
Priority: highest Milestone: 3.0.0
Component: mindi Version: 2.2.9.7
Severity: blocker Keywords:
Cc:

Description (last modified by Bruno Cornec)

I am installing MondoRescue via porting in Gentoo... during the downloading of the source I get the following error:

>>> Downloading 'ftp://ftp.mondorescue.org/src/mindi-2.0.7.5.tar.gz'
--2011-10-20 11:28:57--  ftp://ftp.mondorescue.org/src/mindi-2.0.7.5.tar.gz
           => `/usr/portage/distfiles/mindi-2.0.7.5.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 /src ... done.
==> SIZE mindi-2.0.7.5.tar.gz ... 191338
==> PASV ... done.    ==> RETR mindi-2.0.7.5.tar.gz ... done.
Length: 191338 (187K)

^M 0% [                                                                                                                                                                      ] 0           --.-K/s              ^M 7% [===========>                                                                                                                                                          ] 14,480      58.4K/s              ^M32% [====>                                                                                                                ] 62,264       125K/s              ^M100%[====>] 191,338      304K/s   in 0.6s

2011-10-20 11:29:02 (304 KB/s) - `/usr/portage/distfiles/mindi-2.0.7.5.tar.gz' saved [191338]

('Filesize does not match recorded size', 191338, 191326)
!!! Fetched file: mindi-2.0.7.5.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      191338
!!! Expected: 191326
Refetching... File renamed to '/usr/portage/distfiles/mindi-2.0.7.5.tar.gz._checksum_failure_.E4sa2o'

!!! Couldn't download 'mindi-2.0.7.5.tar.gz'. Aborting.

Change History (4)

comment:1 by Bruno Cornec, 13 years ago

Description: modified (diff)
Status: newassigned

I wonder why you use mindi 2.0.7.5, as for mondo 2.2.9.7 you need mindi 2.0.7.8.

the tar file on the ftp server is 191338 in size:

$ ll mindi-2.0.7.5.tar.gz 
68727 -rw-r--r-- 1 bruno bruno 191338 2011-01-20 00:34 mindi-2.0.7.5.tar.gz

So wget is right. Now, I don't know why gentoo think it should be another size, and I'm not that much a gentoo specialist.

Maybe it's linked to the fact that in my gentoo directory I have:

mindi.ebuild -> mindi-2.0.7.8-r1.ebuild

corresponding to the fact that the latest is indeed not 2.0.7.5 which may create the problem on your side. HTH.

comment:2 by Gene, 12 years ago

So... what is the next step? Do you need more info from me?

comment:3 by Gene, 12 years ago

Here is a little info that might be useful:

$ emerge -s mondo
Searching...
[ Results for search key : mondo ]
[ Applications found : 1 ]

*  app-backup/mondo-rescue
      Latest version available: 2.2.9.2
      Latest version installed: [ Not Installed ]
      Size of files: 2,419 kB
      Homepage:      http://www.mondorescue.org
      Description:   The premier GPL disaster recovery solution.
      License:       GPL-2
$ sudo emerge -pv mondo-rescue

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ~] sys-apps/mindi-2.0.7.5  187 kB [1]
[ebuild  N    ~] app-backup/mondo-rescue-2.2.9.2  0 kB [1]

Total: 2 packages (2 new), Size of downloads: 187 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /var/lib/layman/zugaina

Here are the ebuilds being used:

$ cat /var/lib/layman/zugaina/sys-apps/mindi/mindi-2.0.7.5.ebuild
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="A program that creates emergency boot disks/CDs using your kernel, tools and modules"
HOMEPAGE="http://www.mondorescue.org"
SRC_URI="ftp://ftp.mondorescue.org/src/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ia64 ~amd64"
IUSE=""
DEPEND="virtual/libc"
RDEPEND=">=app-arch/bzip2-0.9
                sys-libs/ncurses
                sys-devel/binutils
                sys-fs/dosfstools
                sys-block/parted
                sys-apps/gawk
                sys-apps/busybox"


src_install() {
        export HEAD="${D}"
        export PREFIX="/usr"
        export CONFDIR="/etc"
        export CACHEDIR="/var/cache/mindi"
        export MANDIR="${PREFIX}/share/man"
        export DOCDIR="${PREFIX}/share/doc"
        export LIBDIR="${PREFIX}/lib"
        export DONT_RELINK=1
        export PKGBUILDMINDI="true"
        "${WORKDIR}"/"${P}"/install.sh
}

pkg_postinst() {
        einfo "${P} was successfully installed."
        einfo "Please read the associated docs for help."
        einfo "Or visit the website @ ${HOMEPAGE}"
        echo
        ewarn "Please report bugs to http://bugs.gentoo.org/"
        ewarn "However, please do an advanced query to search for bugs"
        ewarn "before reporting. This will keep down on duplicates."
        echo
}
$ cat /var/lib/layman/zugaina/app-backup/mondo-rescue/mondo-rescue-2.2.9.2.ebuild
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# Nonofficial ebuild by Ycarus. For new version look here : http://gentoo.zugaina.org/
# This ebuild is a small modification of the official mondo-rescue ebuild

inherit libtool

DESCRIPTION="The premier GPL disaster recovery solution."
HOMEPAGE="http://www.mondorescue.org"
SRC_URI="ftp://ftp.mondorescue.org/src/${PN/-rescue/}-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ia64 ~amd64"
IUSE=""
DEPEND="virtual/libc
        >=sys-libs/slang-1.4.1
        >=dev-libs/newt-0.50"
RDEPEND="app-arch/afio
        sys-block/buffer
        sys-devel/binutils
        >=app-arch/bzip2-0.9
        virtual/cdrtools
        >=sys-apps/mindi-2.0.0
        >=dev-libs/newt-0.50
        >=sys-libs/slang-1.4.1
        sys-block/parted
        >=sys-boot/syslinux-1.52"

S="${WORKDIR}/${PN/-rescue/}-${PV}"

src_compile() {
        elibtoolize
        chmod 750 configure
        econf || die "Configuration failed"
        emake VERSION=${PV} || die "Make failed"
}

src_install() {
        make install DESTDIR="${D}" || die "make install failed"
        mkdir -p "${D}"/var/cache/mondo
        exeinto /usr/share/mondo
        doexe src/autorun
}

pkg_postinst() {
        einfo "${PN} was successfully installed."
        einfo "Please read the associated docs for help."
        einfo "Or visit the website @ ${HOMEPAGE}"
        echo
        ewarn "Please report bugs to http://bugs.gentoo.org/"
        ewarn "However, please do an advanced query to search for bugs"
        ewarn "before reporting. This will keep down on duplicates."
        echo
        einfo "Prior to running mondo, ensure /boot is mounted."
        ewarn "Grub users need to have a symlink like this:"
        ewarn "ln -s /boot/grub/menu.lst /etc/grub.conf"
        einfo "Unless you want to have mondo backup your distfiles,"
        einfo "append \"-E ${DISTDIR}\" to your mondoarchive command."
        echo
}
Version 0, edited 12 years ago by Gene (next)

comment:4 by Bruno Cornec, 12 years ago

Resolution: invalid
Status: assignedclosed

Sorry I modified your comment, instead of adding one. Mistake on my side, but the feedback is the same.

Note: See TracTickets for help on using tickets.