Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70003 - ebuild specifies incorrect file hash
Summary: ebuild specifies incorrect file hash
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
: 70531 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-03 20:28 UTC by Jonathan Leatherwood
Modified: 2004-11-13 14:00 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Leatherwood 2004-11-03 20:28:33 UTC
The ebuild's recorded digest for "install-crossover-standard-3.0.1.sh" does not match the vendor's published digest.

     ebuild digest: f1e943ea6d1bd29bcb633d48dd0e0f7b
     vendor digest: 068c109d50eee945fb022dd0782cbbf7

File size from the vendor is 11818406 bytes, but ebuild expects a file size of 11830013 bytes.

Reproducible: Always
Steps to Reproduce:
1. Download "install-crossover-standard-3.0.1.sh" from <http://www.codeweavers.com> and place in /usr/portage/distfiles.
2. emerge crossover-office-bin

Actual Results:  
!!! Digest verification Failed: 
!!!    /usr/portage/distfiles/install-crossover-standard-3.0.1.sh 
!!! Reason: Filesize does not match recorded size 

Expected Results:  
Emerge should have been successful. 

Portage 2.0.51-r2 (default-linux/x86/2004.2, gcc-3.4.2, 
glibc-2.3.4.20041021-r0, 2.6.8-gentoo-r8 i686) 
================================================================= 
System uname: 2.6.8-gentoo-r8 i686 AMD Athlon(tm) processor 
Gentoo Base System version 1.6.4 
Autoconf: sys-devel/autoconf-2.59-r5 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.15.92.0.2-r1 
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1 
Libtools: sys-devel/libtool-1.5.2-r5 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -march=athlon-tbird -funroll-loops -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O3 -march=athlon-tbird -funroll-loops -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs buildpkg ccache distlocks fixpackages sandbox sfperms 
userpriv usersandbox" 
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo 
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo 
http://open-systems.ufl.edu/mirrors/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X acpi alsa apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups 
encodef77 fam flac foomaticdb freetds gd gdbm gif gnome gpm gtk gtk2 
hardenedphp imlib innodb java jpeg junit kde libg++ libwww mad maildir mikmod 
mmx motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png pnp 
postgres ppds pythonqt quicktime readline samba scanner sdl slang spell ssl 
svga tcltk tcpd tiff truetype unicode usb videos wifi x86 xinerama xml xml2 
xmms xosd xv zlib"
Comment 1 SpanKY gentoo-dev 2004-11-04 08:45:01 UTC
the digest i used was the 'demo' version since i wasnt going to pay $$$ to get the 'full' version
Comment 2 SpanKY gentoo-dev 2004-11-09 08:02:32 UTC
*** Bug 70531 has been marked as a duplicate of this bug. ***
Comment 3 Jonathan Leatherwood 2004-11-10 10:16:37 UTC
The file names of both the evaluation and the fully-licensed editions are identical, making them indentifiable only by their digests and file sizes.  It would be helpful for the ebuild to specify which edition to download when it tells the user where to download the distfile.

Additionally, either this ebuild should install the fully-licensed edition or else a duplicate ebuild should be created for the fully-licensed edition.
Comment 4 John Harmony 2004-11-10 15:42:03 UTC
NO, I have the full version... The MD5 is wrong, it should be fixed, I did my own ebuild digest and installed the FULL standard version perfectly.
Comment 5 SpanKY gentoo-dev 2004-11-12 21:29:02 UTC
is anyone going to bother to tell me what the 'real' md5 is or you just going to keep complaining it's wrong ?

i told you already, i dont have access to the 'registered' version of the installer
Comment 6 John Harmony 2004-11-12 21:40:20 UTC
Uhhh yeh sorry about that... lemme get it... 
MD5 068c109d50eee945fb022dd0782cbbf7 install-crossover-standard-3.0.1.sh 11818406

This is whats in my files directory after I did the digest. File name is digest-crossover-office-bin-3.0.1; I think this is what you wanted. Keep me updated.
Comment 7 Jonathan Leatherwood 2004-11-13 10:14:40 UTC
(Note: the correct MD5 was in the original bug report.)
Comment 8 SpanKY gentoo-dev 2004-11-13 14:00:16 UTC
liar !

fixed in cvs ;)