Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219429 - [TRACKER] distfile digest discrepancies
Summary: [TRACKER] distfile digest discrepancies
Status: CONFIRMED
Alias: None
Product: Quality Assurance
Classification: Unclassified
Component: Trackers (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Quality Assurance Team
URL:
Whiteboard:
Keywords: Tracker
Depends on: 241856
Blocks:
  Show dependency tree
 
Reported: 2008-04-27 08:14 UTC by xeb
Modified: 2021-07-21 00:47 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 xeb 2008-04-27 08:14:01 UTC
scheme48-1.3.tgz: (dev-scheme/scheme48)
actual size:  2322178
size in Manifest: 19983

nsis-2.34-src.tar.bz2 (dev-util/nsis)
actual size: 1480868
size in Manifest: 980640

comparator-2.2.tar.gz: (dev-util/comparator)
actual size:  1459802
size in Manifest: 437032

and so on:
tintin-1.98.1.tar.gz
gnustep-gui-0.12.0.tar.gz
minicom-2.3.tar.gz
mustang_v.3.tgz
cluster-2.02.00.tar.gz
wulfstat.tgz
genpatches-2.6.18-3.base.tar.bz2


Reproducible: Always

Steps to Reproduce:
#!/bin/sh

find /usr/portage -name "Manifest" | (while read f; do
    grep -e '^DIST ' $f | awk '{print $2 " " $3}' | (while read fname fsize; do
        dsize=`stat -c '%s' /usr/portage/distfiles/$fname 2>&1`
        #echo $fsize $dsize
        if [ "$dsize" == "$fsize" ]; then continue; fi
        if [ -f /usr/portage/distfiles/$fname ]; then
            echo $fname $dsize $fsize > /dev/stderr
            #rm -f /usr/portage/distfiles/$fname
        fi
        exit 1
    done)
    if [ $? -eq 0 ]; then continue; fi
    dir=`echo $f | sed 's/\(.*\)\/.*/\1/'`
    grep -e '^EBUILD ' $f | awk '{print $2 }' | (while read fname; do echo #$dir/$fname; done)
done)




$ emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0/no-multilib, gcc-4.2.3, glibc-2.6.1-r0, 2.6.24-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5200+
Timestamp of tree: Sat, 26 Apr 2008 01:45:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -msse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="ru_RU.KOI8-R"
LINGUAS="ru"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X alsa amd64 arts berkdb bzip2 cli cracklib crypt doc dri fortran gdbm gif gpm iconv isdnlog jpeg kde kdeenablefinal kdehiddenvisibility midi mmx mmxext mudflap ncurses nls nptl nptlonly openmp pam pcre perl png pppd python readline reflection session spell spl sse sse2 ssl ssse3 threads xinerama xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ulrich Müller gentoo-dev 2008-04-27 10:27:05 UTC
The following ones are also listed in <http://dev.gentoo.org/~zmedico/infra/distfiles/failure.xml>:

scheme, araujo:
> scheme48-1.3.tgz: (dev-scheme/scheme48)

mrness, cedk:
> nsis-2.34-src.tar.bz2 (dev-util/nsis)

kumba:
> comparator-2.2.tar.gz: (dev-util/comparator)

gnustep:
> gnustep-gui-0.12.0.tar.gz (gnustep-base/gnustep-gui)

sci-chemistry:
> mustang_v.3.tgz (sci-chemistry/mustang)

maintainer-needed:
> wulfstat.tgz (sys-cluster/wulfstat)

hardened, kang:
> genpatches-2.6.18-3.base.tar.bz2 (sys-kernel/rsbac-sources)

For these I can't reproduce the failure:
> tintin-1.98.1.tar.gz (games-mud/tintin)
> minicom-2.3.tar.gz (net-dialup/minicom)

And for this file I can't identify the package:
> cluster-2.02.00.tar.gz
Comment 2 Ulrich Müller gentoo-dev 2008-04-27 10:45:55 UTC
(In reply to comment #1)
> And for this file I can't identify the package:
> > cluster-2.02.00.tar.gz

It is shared by (at least) the following packages, all belonging to ha-cluster:
sys-cluster/{ccs,cman,cman-lib,dlm,dlm-lib,fence,gfs-kernel,gnbd,gnbd-kernel,rgmanager} and sys-fs/gfs.

And size and checksum in their Manifest files are not consistent.
Comment 3 Cédric Krier gentoo-dev 2008-04-27 10:50:21 UTC
nsis-2.34 fixed
Comment 4 Marijn Schouten (RETIRED) gentoo-dev 2008-04-27 12:10:34 UTC
I've removed scheme48-1.3
Comment 5 Bernard Cafarelli gentoo-dev 2008-04-28 07:50:15 UTC
gnustep-gui-0.12.0 fixed
Comment 6 Markus Dittrich (RETIRED) gentoo-dev 2008-04-29 10:32:04 UTC
sci-chemistry/mustang fixed

Thanks,
Markus
Comment 7 Christian Zoffoli (RETIRED) gentoo-dev 2008-05-03 00:46:25 UTC
reply to #2

Are you sure?

this file ftp://sources.redhat.com/pub/cluster/releases/cluster-2.03.02.tar.gz
has this digests:

sha1sum: c86510ed8be84704271c10466cd5a4732eb5f6c9
sha256sum: 92117aa02d17cdde9ae7d6e71c2b12314a99e24e90f131c491e97d8fbda52196

and they are the same you can find in the Manifest.

At the beginning redhat released a different file and I had to fix all the digests but in the last weeks nothing changed so they are right.

Have I missed something?
Comment 8 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-05-23 23:19:46 UTC
(In reply to comment #1)

> maintainer-needed:
> > wulfstat.tgz (sys-cluster/wulfstat)

This package is being removed, in p.mask now. See bug 193635.
Comment 9 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-10-14 02:19:19 UTC
(In reply to comment #8)
> (In reply to comment #1)
> 
> > maintainer-needed:
> > > wulfstat.tgz (sys-cluster/wulfstat)
> 
> This package is being removed, in p.mask now. See bug 193635.

It is gone now. removing m-needed from CC. 
Comment 10 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-01-03 02:22:28 UTC
what stuff is left on this bug for action?
Comment 11 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-03-24 20:49:48 UTC
dev-util/comparator is not affected anymore
games-mud/tintin is not affected anymore
net-dialup/minicom is not affected anymore

no Manifest in sys-cluster references cluster-2.02.00.tar.gz
no Manifest in sys-kernel references genpatches-2.6.18-3.base.tar.bz2

running the script on my machine did not turn up new broken digests (but my distfiles is rather small).

All done. Leaving bug as TRACKER