Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15064 - cvoicecontrol-0.9alpha has bad digest
Summary: cvoicecontrol-0.9alpha has bad digest
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-03 14:17 UTC by Rutger Hendriks
Modified: 2003-04-04 01:26 UTC (History)
0 users

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 Rutger Hendriks 2003-02-03 14:17:21 UTC
I have tried using 2 different mirrors and both give a file with a digest of
3668adb6e97b7cf2f81acfc244044abf and that isn't correct according to the ebuild.
See below:

CP10860-b cvoicecontrol # emerge cvoicecontrol-0.9_alpha.ebuild
Calculating dependencies ...done!
>>> emerge (1 of 1) media-sound/cvoicecontrol-0.9_alpha to /
>>> Downloading
http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/cvoicecontrol-0.9alpha.tar.bz2
--20:09:22-- 
http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/cvoicecontrol-0.9alpha.tar.bz2
           => `/usr/portage/distfiles/cvoicecontrol-0.9alpha.tar.bz2'
Resolving www.ibiblio.org... done.
Connecting to www.ibiblio.org[152.2.210.81]:80... connected.
HTTP request sent, awaiting response... 302 Found
Location:
http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/cvoicecontrol-0.9alpha.tar.bz2
[following]
--20:09:22-- 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/cvoicecontrol-0.9alpha.tar.bz2
           => `/usr/portage/distfiles/cvoicecontrol-0.9alpha.tar.bz2'
Resolving distro.ibiblio.org... done.
Connecting to distro.ibiblio.org[152.2.210.109]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 78,081 [application/x-tar]

100%[========================================================================================================================================================>]
78,081         4.76K/s    ETA 00:00

20:09:42 (4.76 KB/s) - `/usr/portage/distfiles/cvoicecontrol-0.9alpha.tar.bz2'
saved [78081/78081]


!!! cvoicecontrol-0.9alpha.tar.bz2: message digests do not match!
!!! cvoicecontrol-0.9alpha.tar.bz2 is corrupt or incomplete.
>>> our recorded digest: ebc82a6d15d5450b2b1c25486c2e1602
>>>  your file's digest: 3668adb6e97b7cf2f81acfc244044abf
>>> Please delete /usr/portage/distfiles/cvoicecontrol-0.9alpha.tar.bz2 and refetch.

CP10860-b cvoicecontrol # emerge info
Portage 2.0.46-r9 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 Pentium III (Coppermine)
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt encode gif jpeg mikmod mmx mpeg ncurses nls
pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang
readline arts svga java X sdl gpm pam libwww ssl perl python esd imlib oggvorbis
gtk qt kde motif opengl aalib cdr -cups dga directfb doc fbcon ggz -gnome
gphoto2 imap -libg++ mbox mozilla oav pic plotutils sse -tcpd tetex tiff wmf tcltk"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O3 -mcpu=pentium3 -march=pentium3 -fforce-addr -fomit-frame-pointer
-funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -pipe"
CXXFLAGS="-O3 -mcpu=pentium3 -march=pentium3 -fforce-addr -fomit-frame-pointer
-funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"

CP10860-b cvoicecontrol #
Comment 1 George Shapovalov (RETIRED) gentoo-dev 2003-02-05 12:13:15 UTC
Hi loial

Thanks for reporting this!
Looks like the source has been silently changed upstream, while maintaining the same file name. I redownloaded the source from the package maintainer site and it matches md5 from the mirrors but not the old digest. Also applied patch now succeeds with an offset...

I rechecked the package and updated the digest accordingly, please test.
The change is:

diff -ru cvoicecontrol-0.9alpha-orig/ cvoicecontrol-0.9alpha
diff -ru cvoicecontrol-0.9alpha-orig/cvoicecontrol/cvoicecontrol.c cvoicecontrol-0.9alpha/cvoicecontrol/cvoicecontrol.c
--- cvoicecontrol-0.9alpha-orig/cvoicecontrol/cvoicecontrol.c   2000-02-17 14:59:41.000000000 -0800
+++ cvoicecontrol-0.9alpha/cvoicecontrol/cvoicecontrol.c        2002-09-05 09:09:06.000000000 -0700
@@ -22,6 +22,7 @@
 #include<string.h>

 #include<math.h>
+#include<float.h>

 #include<pthread.h>

Seems to be legitimate and not a trojan...

George
Comment 2 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:21:41 UTC
db fix
Comment 3 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:26:33 UTC
db fix