Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317697 - app-arch/rpm Digest verification failed
Summary: app-arch/rpm Digest verification failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Stanislav Ochotnicky (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-29 03:03 UTC by Jianwen Wei
Modified: 2010-04-29 05:06 UTC (History)
1 user (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 Jianwen Wei 2010-04-29 03:03:37 UTC
Digest verification failed when I tried to emerged app-arch/rpm-4.4.6-r7.

$ sudo emerge -v rpm

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

Calculating dependencies... done!
[ebuild  N    ] dev-libs/elfutils-0.131-r2  1,380 kB
[ebuild  N    ] dev-libs/beecrypt-4.1.2-r1  USE="python threads -java -nocxx" 757 kB
[ebuild  N    ] app-arch/rpm-4.4.6-r7  USE="nls perl python -doc -sqlite" 16,756 kB

Total: 3 packages (3 new), Size of downloads: 18,891 kB


>>> Verifying ebuild manifests

!!! Digest verification failed:
!!! /usr/portage/app-arch/rpm/metadata.xml
!!! Reason: Filesize does not match recorded size
!!! Got: 426
!!! Expected: 396

Reproducible: Always

Steps to Reproduce:
1. emerge app-arch/rpm-4.4.6-r6 or app-arch/rpm-4.4.6-r7

Actual Results:  
It said that Digest verification failed, and intallation terminated. 

Expected Results:  
Installation finished sucessfully.

Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-i686-Intel-R-_Core-TM-2_CPU_T5500_@_1.66GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 29 Apr 2010 02:15:03 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA dlj-1.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://202.38.97.230/gentoo   # ftp://ftp.sjtu.edu.cn/gentoo http://61.135.158.199 http://mirror.averse.net/pub/gentoo http://mirro.gentoo.gr.jp"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="zh_CN zh en_US en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/layman/gentoo-china /usr/local/portage/myportage"
SYNC="rsync://mirrors.xmu.edu.cn/gentoo-portage"
USE="# 2D 3D ABL Audio CPU Compress Cosole Desktop Environment Features GNOME Graphic Hardware Library Locale Management Media Netwrok Other POSIX Player Power System System: Thread Window X acl acpi alsa apm are avahi bash-completion berkdb branding bzip2 cdr cjk cleartype cli cracklib crypt cups cxx dbus dri dvd dvdr editor emacs en_US esd essential fontconfig fortran gdbm gif gnome gpm gtk hal iconv ipv6 jpeg jpeg2k latex libnotify lm_sensors longer lzma mmx mmx2 modules mplayer mudflap ncurses nls no nptl nptlonly nvidia opengl openmp oss pam pcmcia pcre pdf perl pmu png pppd python readline reflection samba session smp spell spl sse sse2 sse3 ssl ssse3 svga sysfs tcpd threads tiff truetype udev unicode usb wifi x86 xft xorg xscreensaver zh_CN zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 proxy" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN zh en_US en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-04-29 05:04:03 UTC
Confirmed.

jeroen@astrid /keeps/gentoo/cvs/gentoo-x86/sci-libs/hdf5 $ teleportage rpm
 > /keeps/gentoo/cvs/gentoo-x86/app-arch/rpm
P metadata.xml
 * RPM Package Manager *
 * http://rpm5.org/ *
Keywords in /keeps/gentoo/cvs/gentoo-x86 for app-arch/rpm :
         
         | a a a a h i m m p p s s s s x x
         | l m m r p a 6 i p p 3 h p p 8 8
         | p d d m p 6 8 p c c 9   a a 6 6
         | h 6 6   a 4 k s   6 0   r r   -
         | a 4 4             4     c c   f
         |     -                     -   b
         |     f                     f   s
         |     b                     b   d
         |     s                     s  
         |     d                     d  
---------+--------------------------------
4.4.6-r6 | + +   + + +     + + + + +   +
4.4.6-r7 | + +   + + +     + + + + +   +
4.4.7-r4 | ~ ~   ~ ~ ~   ~ ~ ~ ~ ~ ~   ~
5.1.6    | ~ ~   ~ ~ ~   ~ ~ ~ ~ ~ ~   ~ ~
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
  <email>sochotnicky@gentoo.org</email>
  <name>Stanislav Ochotnicky</name>
</maintainer>
<use>
  <flag name='magic'>Add magic file support (<pkg>sys-apps/file</pkg>)</flag>
  <flag name='neon'>Include support for <pkg>net-misc/neon</pkg></flag>
</use>
</pkgmetadata>
jeroen@astrid /keeps/gentoo/cvs/gentoo-x86/app-arch/rpm $ ebuild rpm-5.1.6.ebuild manifest
Appending /keeps/gentoo/cvs/gentoo-x86 to PORTDIR_OVERLAY...
cvs d>>> Creating Manifest for /keeps/gentoo/cvs/gentoo-x86/app-arch/rpm
iffjeroen@astrid /keeps/gentoo/cvs/gentoo-x86/app-arch/rpm $ cvs diff
Index: Manifest
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-arch/rpm/Manifest,v
retrieving revision 1.118
diff -u -B -r1.118 Manifest
--- Manifest    22 Apr 2010 20:59:57 -0000      1.118
+++ Manifest    29 Apr 2010 05:02:54 -0000
@@ -16,4 +16,4 @@
 EBUILD rpm-4.4.7-r4.ebuild 3083 RMD160 c5c835de374335f3cd2847aaf1a72d07e1fba37a SHA1 b183ebe5f6ffa6979045b2f406772a76de13cc43 SHA256 f0204575b60ef2e97963d1951f43869e4c7814a99b64ac1980453ead7e737022
 EBUILD rpm-5.1.6.ebuild 2946 RMD160 ceba21a3805e60ac63e12046eeaa58d4961f21a6 SHA1 e9d8c000729f4fca443904a9859864a13546acfe SHA256 c5dfd0023beffbedd16248aa27a439bc53ff22abc9f89d804480a0fe6b5a372f
 MISC ChangeLog 16768 RMD160 ea683d023904633d30ba278ed6bae948d97e4bd0 SHA1 3bd25700e9fb065f15750d5db51f3ddec31a0714 SHA256 00af63b8dd7fbcf03f08b48bbf41a2a00594e75dbf9e597830016fdfd7554e34
-MISC metadata.xml 396 RMD160 5370081b5c621536cf1043f44c0b6d45051dc895 SHA1 b5dbf8427940398fef39ed6ecf44fc40ab79a261 SHA256 c202b9189a05829f811129efd19db92cdc3ea04161472e4bb1011be344b4935d
+MISC metadata.xml 426 RMD160 4a2ba17676985343eb58428d850a789b5dd68e88 SHA1 63ed9659d9cafb9d3b88d64d923546f1ee535033 SHA256 48b9482bf3276901e869348f451ef75129291db60be308fb66e18dce8a74a7a6
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2010-04-29 05:06:36 UTC
I quickly fixed it. Please use `repoman commit' instead of `cvs commit' next time to commit your changes.