From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EUjmH-0000aB-52 for garchives@archives.gentoo.org; Wed, 26 Oct 2005 11:49:09 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j9QBldZM020273; Wed, 26 Oct 2005 11:47:39 GMT Received: from psmtp02.wxs.nl (psmtp02.wxs.nl [195.121.247.11] (may be forged)) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j9QBcIg9018911 for ; Wed, 26 Oct 2005 11:38:19 GMT Received: from [10.0.0.150] (ip3e83ab52.speed.planet.nl [62.131.171.82]) by psmtp02.wxs.nl (iPlanet Messaging Server 5.2 HotFix 2.02 (built Oct 21 2004)) with ESMTP id <0IOY002LXTNU3R@psmtp02.wxs.nl> for gentoo-user@lists.gentoo.org; Wed, 26 Oct 2005 13:38:18 +0200 (MEST) Date: Wed, 26 Oct 2005 13:38:07 +0200 From: Holly Bostick Subject: Re: [gentoo-user] korganizer patch In-reply-to: <20051026112749.0bdbd966@hactar.digimed.co.uk> To: gentoo-user@lists.gentoo.org Message-id: <435F6A9F.2000208@planet.nl> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 7BIT X-Accept-Language: nl-NL, nl, en User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051025) X-Enigmail-Version: 0.92.0.0 References: <200510252051.14807.lists@ptfd.org> <20051026112749.0bdbd966@hactar.digimed.co.uk> X-Archives-Salt: f999aed3-ceaf-4550-9710-87a65d593e8c X-Archives-Hash: b9b9ecef05a95ea128a9cc9a437d3bc7 Neil Bothwick schreef: > On Tue, 25 Oct 2005 20:51:14 -0400, Michael W. Holdeman wrote: > > >> I then rearchive kdepim-3.4.92.tar.bz2 and run ebuild >> /usr/portage/kde-base/kdepim/kdepim-3.5.0_beta2.ebuild digest, >> which completes successfully but when attempting to emerge >> korganizer again I get !!! Digest verification Failed: !!! >> /usr/portage/distfiles/kdepim-3.4.92.tar.bz2 !!! Reason: Failed on >> MD5 verification > > > >> what did I miss? > > > Recreating the digest for the package. Portage uses MD5 checksums to > check that files have not been altered, as a security measure. You > need to regenerate the digest as you made the changes and want to > accept them. > > Either "ebuild /path/to/ebuild digest" or "emerge --digest > --other-options package" > > Should this be handled in /usr/portage in any case? Portage is going to overwrite the changed files (the digest) every time a sync is done, isn't it? I wonder if this digest being created in the real Portage tree rather than the overlay tree might not be the problem in the first place-- since changed files in the Portage tree itself 'should' automatically fail, since that's what the check function is designed to keep an eye on. It really doesn't do much good for a file to be changed in the official Portage tree and for Portage to just say "OK, that's fine." Suppose you'd been hacked? The overlay tree, on the other hand, is designed to accept modified files; that's what it's for. I'd copy *both* ebuilds to my overlay tree and digest the copies, and see if that helped. Does the digest for the parent application digest the hard dependencies? Silly question, of course it must. So that's what's failing, the korganizer digest of kdepim, not the kdepim digest itself; we never get that far. So korganizer has to be redigested as well. Holly -- gentoo-user@gentoo.org mailing list