Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143286 - ebuild <package> digest or manifest is buggy
Summary: ebuild <package> digest or manifest is buggy
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 145453 147190 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-08 22:18 UTC by Andreas Kari
Modified: 2006-09-11 07:42 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 Andreas Kari 2006-08-08 22:18:29 UTC
Hi,

with portage 2.1.1_pre4-r4 I receive after doing: 

slartibartfas <somewhere># ebuild <package.ebuild> digest

the following message:

>>> Creating Manifest for /usr/portage/<category>/<package>
Traceback (most recent call last):
  File "/usr/sbin/ebuild", line 109, in ?
    a = portage.doebuild(ebuild, arg, portage.root, tmpsettings, debug=debug, cleanup=("noauto" not in portage.features), tree=mytree)
  File "/usr/lib/portage/pym/portage.py", line 2868, in doebuild
    myportdb=mydbapi)
  File "/usr/lib/portage/pym/portage.py", line 2274, in digestgen
    assumeDistHashesAlways=("assume-digests" in mysettings.features))
  File "/usr/lib/portage/pym/portage_manifest.py", line 432, in create
    self.fhashdict[mytype][f] = perform_multiple_checksums(self.pkgdir+f, self.hashes)
  File "/usr/lib/portage/pym/portage_checksum.py", line 166, in perform_multiple_checksums
    raise portage_exception.DigestException, x+" hash function not available (needs dev-python/pycrypto)"
portage_exception.DigestException: 'RMD160 hash function not available (needs dev-python/pycrypto)'



Any clue? 

Same thing happens with doing ebuild <package> manifest. 

Best regards..
Gronf
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-08 23:32:29 UTC
emerge --info missing.
Comment 2 Andreas Kari 2006-08-09 00:04:09 UTC
Portage 2.1.1_pre4-r4 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.14-gentoo-r4 i686)
=================================================================
System uname: 2.6.14-gentoo-r4 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.4
Last Sync: Wed, 09 Aug 2006 05:30:08 +0000
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.intergenia.de"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 calendar cgi cli crypt cups dlloader dri eds elibc_glibc emboss encode esd filter foomaticdb fortran gd gdbm gif gpm gstreamer gtk2 imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kernel_linux latin1 ldap libg++ libwww linguas_de linguas_en mad mikmod motif mp3 mpeg mpm-worker mysql ncurses nls nptl ogg opengl oss pam pcre pdflib perl php png postfix ppds pppd python qt3 qt4 quicktime readline reflection sample sasl sdl session spell spl ssl tcpd threads tools truetype truetype-fonts type1-fonts udev userland_GNU vhosts vorbis xml xmms xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Zac Medico gentoo-dev 2006-08-09 01:09:09 UTC
Please rebuild pycrypto and try again.
Comment 4 Andreas Kari 2006-08-09 02:35:13 UTC
Thanks :)

I reemerged pycrypto and the effect remained.

After removing the old python-2.3 environment and switching to 2.4 another reemerge did it. 
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-08-29 02:20:55 UTC
*** Bug 145453 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-09-11 07:42:04 UTC
*** Bug 147190 has been marked as a duplicate of this bug. ***