<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>192899</bug_id>
          
          <creation_ts>2007-09-18 07:37 0000</creation_ts>
          <short_desc>libpng-manual.txt updated breaking digests plus USE=doc broken</short_desc>
          <delta_ts>2007-10-12 17:21:19 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <votes>1</votes>
          <everconfirmed>1</everconfirmed>
          <reporter>mai98fhw@informatik.uni-leipzig.de</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          <cc>dhp_gentoo@doublehp.org</cc>
    
    <cc>jakub@gentoo.org</cc>
    
    <cc>jer@gentoo.org</cc>
    
    <cc>kroemmelbein@gmx.de</cc>
    
    <cc>mathfox@xs4all.nl</cc>
    
    <cc>shur@videotron.ca</cc>
    
    <cc>skelter@skelter.net</cc>
    
    <cc>tais.hansen@osd.dk</cc>

      

      
          <long_desc isprivate="0">
            <who>mai98fhw@informatik.uni-leipzig.de</who>
            <bug_when>2007-09-18 07:37:58 0000</bug_when>
            <thetext>&gt;&gt;&gt; Emerging (1 of 213) media-libs/libpng-1.2.18-r1 to /
!!! No write access to &apos;/usr/portage/distfiles&apos;
!!! Previously fetched file: &apos;libpng-manual.txt&apos;
!!! Reason: Failed on RMD160 verification
!!! Got:      e8d684bc04363879d9731ae1c5515c7e1aae5361
!!! Expected: f019974f931327e6d9d332d306e07dce71ff031b
!!! File libpng-manual.txt isn&apos;t fetched but unable to get it.
 * Fetch failed for &apos;media-libs/libpng-1.2.18-r1&apos;

 * Messages for package media-libs/libpng-1.2.18-r1:

 * Fetch failed for &apos;media-libs/libpng-1.2.18-r1&apos;


Reproducible: Always</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dhp_gentoo@doublehp.org</who>
            <bug_when>2007-09-18 18:23:31 0000</bug_when>
            <thetext>please run
emerge --sync

and try again. If still happens, please confirm so, and attach 
emerge --info</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2007-09-20 05:34:28 0000</bug_when>
            <thetext>manifest rebuilt</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-10-11 08:20:11 0000</bug_when>
            <thetext>*** Bug 195475 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-10-11 09:14:58 0000</bug_when>
            <thetext>*** Bug 195480 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-10-11 09:16:19 0000</bug_when>
            <thetext>And again... and again and again until we finally drop this from the ebuild, start to mirror this as a versioned file or until upstream finally sticks it into the darned tarball as everyone else does.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jer@gentoo.org</who>
            <bug_when>2007-10-11 17:42:20 0000</bug_when>
            <thetext>Fixed again for now.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jer@gentoo.org</who>
            <bug_when>2007-10-11 17:53:59 0000</bug_when>
            <thetext>(In reply to comment #5)
&gt; And again... 

The problem is actually worse than that! :)

&gt;&gt;&gt; Unpacking libpng-manual.txt to /dev/shm/portage/media-libs/libpng-1.2.21-r3/
work
unpack libpng-manual.txt: file format not recognized. Ignoring.
cp: cannot stat `/dev/shm/portage/media-libs/libpng-1.2.21-r3/work/libpng-manual
.txt&apos;: No such file or directory
...
&gt;&gt;&gt; Install libpng-1.2.21-r3 into /dev/shm/portage/media-libs/libpng-1.2.21-r3/image/ category media-lib
...
dodoc: libpng-manual.txt does not exist</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>skelter@skelter.net</who>
            <bug_when>2007-10-11 22:29:01 0000</bug_when>
            <thetext> * libpng-1.2.21.tar.bz2 RMD160 ;-) ...                                   [ ok ]
 * libpng-1.2.21.tar.bz2 SHA1 ;-) ...                                     [ ok ]
 * libpng-1.2.21.tar.bz2 SHA256 ;-) ...                                   [ ok ]
 * libpng-1.2.21.tar.bz2 size ;-) ...                                     [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking libpng-1.2.21.tar.bz2 ;-) ...                                 [ ok ]
 * checking libpng-manual.txt ;-) ...                                     [ !! ]

!!! Digest verification failed:
!!! /usr/portage/distfiles/libpng-manual.txt
!!! Reason: Filesize does not match recorded size
!!! Got: 128284
!!! Expected: 128288
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-10-12 09:40:12 0000</bug_when>
            <thetext>(In reply to comment #7)
&gt; The problem is actually worse than that! :)

&gt; unpack libpng-manual.txt: file format not recognized. Ignoring.

Harmless warning...

&gt; cp: cannot stat
&gt; `/dev/shm/portage/media-libs/libpng-1.2.21-r3/work/libpng-manual
&gt; .txt&apos;: No such file or directory

Well, because it should be like this:

-use doc &amp;&amp; cp &quot;${WORKDIR}&quot;/${PN}-manual.txt .
+use doc &amp;&amp; cp &quot;${DISTDIR}&quot;/${PN}-manual.txt .

(In reply to comment #8)
&gt; !!! Got: 128284
&gt; !!! Expected: 128288

rm -f /usr/portage/distfiles/libpng-manual.txt (but then you&apos;ll get the original bug mentioned in comment #0). Regenerating the digests over and over again is definitely not a solution here, even with a correct one you get issues like in comment #8 when people have old file in ${DISTDIR}.



</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>shur@videotron.ca</who>
            <bug_when>2007-10-12 11:43:31 0000</bug_when>
            <thetext>This is what I get: (an RMD check failure for libpng-manual.txt)

Connecting to distfiles.gentoo.org|216.165.129.135|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 128,284 (125K) [text/plain]

100%[====================================&gt;] 128,284 161.93K/s
[ebuild U ] media-libs/libpng-1.2.21-r3 [1.2.18-r1] USE=&quot;doc&quot; 726 kB

15:05:35 (161.51 KB/s) - `/usr/portage/distfiles/libpng-manual.txt&apos; saved [128284/128284]

* libpng-1.2.21.tar.bz2 RMD160 ;-) ... [ ok ]
* libpng-1.2.21.tar.bz2 SHA1 ;-) ... [ ok ]
* libpng-1.2.21.tar.bz2 SHA256 ;-) ... [ ok ]
* libpng-1.2.21.tar.bz2 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking libpng-1.2.21.tar.bz2 ;-) ... [ ok ]
* checking libpng-manual.txt ;-) ... [ !! ]

!!! Digest verification failed:
!!! /usr/portage/distfiles/libpng-manual.txt
!!! Reason: Failed on RMD160 verification
!!! Got: f019974f931327e6d9d332d306e07dce71ff031b
!!! Expected: 8f6262b838769ae342f2930c8ab1bee5e4fc1ef2</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-10-12 11:50:11 0000</bug_when>
            <thetext>(In reply to comment #10)
&gt; This is what I get: (an RMD check failure for libpng-manual.txt)

As noted in Comment #9. That&apos;s because people keep redigesting the old file on stabilization.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>grozin@gentoo.org</who>
            <bug_when>2007-10-12 12:02:21 0000</bug_when>
            <thetext>I had to
ebuild libpng-1.2.21-r3.ebuild digest
after that libpng emerged OK. Please update the digest in the tree.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2007-10-12 14:49:40 0000</bug_when>
            <thetext>people can fetch the file themselves; dropped</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>oschoett@arcor.de</who>
            <bug_when>2007-10-12 15:45:55 0000</bug_when>
            <thetext>(In reply to comment #13)
&gt; people can fetch the file themselves; dropped
&gt; 

Could you be a bit less cryptic please - how exactly do we obtain a matching doc file and ebuild?  I tried to delete the doc file and emerge just fetched a non-matching version again.  So either my gentoo mirror or the checksum is wrong (or both), which is it?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mathfox@xs4all.nl</who>
            <bug_when>2007-10-12 16:10:52 0000</bug_when>
            <thetext>(In reply to comment #13)
&gt; people can fetch the file themselves; dropped
&gt; 
But how do you prevent someone like you from signing an older copy of the file that happens to live on his harddisk?

&lt;b&gt;PLEASE REOPEN&lt;/b&gt;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>shur@videotron.ca</who>
            <bug_when>2007-10-12 16:43:23 0000</bug_when>
            <thetext>See comment 12 for the short-term solution. But obviously something is wrong. Either there is a bug in the current libpng ebuild, or there is a bug in the ebuild application. Other ebuilds don&apos;t do this. Seems to me that there is some obfuscation going on.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-10-12 17:21:19 0000</bug_when>
            <thetext>(In reply to comment #14)

USE=doc removed, the ebuild does NOT fetch and install the manual any more. Download it from http://www.libpng.org/pub/png/libpng-manual.txt if you need it.

FIXED, closed, nothing more to do here.
</thetext>
          </long_desc>
      
    </bug>

</bugzilla>