Bug 192899 - libpng-manual.txt updated breaking digests plus USE=doc broken
|
Bug#:
192899
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: CLOSED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: base-system@gentoo.org
|
Reported By: mai98fhw@informatik.uni-leipzig.de
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: libpng-manual.txt updated breaking digests plus USE=doc broken
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-09-18 07:37 0000
|
>>> Emerging (1 of 213) media-libs/libpng-1.2.18-r1 to /
!!! No write access to '/usr/portage/distfiles'
!!! Previously fetched file: 'libpng-manual.txt'
!!! Reason: Failed on RMD160 verification
!!! Got: e8d684bc04363879d9731ae1c5515c7e1aae5361
!!! Expected: f019974f931327e6d9d332d306e07dce71ff031b
!!! File libpng-manual.txt isn't fetched but unable to get it.
* Fetch failed for 'media-libs/libpng-1.2.18-r1'
* Messages for package media-libs/libpng-1.2.18-r1:
* Fetch failed for 'media-libs/libpng-1.2.18-r1'
Reproducible: Always
please run
emerge --sync
and try again. If still happens, please confirm so, and attach
emerge --info
*** Bug 195475 has been marked as a duplicate of this bug. ***
*** Bug 195480 has been marked as a duplicate of this bug. ***
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.
(In reply to comment #5)
> And again...
The problem is actually worse than that! :)
>>> 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': No such file or directory
...
>>> 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
* 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
(In reply to comment #7)
> The problem is actually worse than that! :)
> unpack libpng-manual.txt: file format not recognized. Ignoring.
Harmless warning...
> cp: cannot stat
> `/dev/shm/portage/media-libs/libpng-1.2.21-r3/work/libpng-manual
> .txt': No such file or directory
Well, because it should be like this:
-use doc && cp "${WORKDIR}"/${PN}-manual.txt .
+use doc && cp "${DISTDIR}"/${PN}-manual.txt .
(In reply to comment #8)
> !!! Got: 128284
> !!! Expected: 128288
rm -f /usr/portage/distfiles/libpng-manual.txt (but then you'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}.
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%[====================================>] 128,284 161.93K/s
[ebuild U ] media-libs/libpng-1.2.21-r3 [1.2.18-r1] USE="doc" 726 kB
15:05:35 (161.51 KB/s) - `/usr/portage/distfiles/libpng-manual.txt' 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
(In reply to comment #10)
> This is what I get: (an RMD check failure for libpng-manual.txt)
As noted in Comment #9. That's because people keep redigesting the old file on
stabilization.
I had to
ebuild libpng-1.2.21-r3.ebuild digest
after that libpng emerged OK. Please update the digest in the tree.
people can fetch the file themselves; dropped
(In reply to comment #13)
> people can fetch the file themselves; dropped
>
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?
(In reply to comment #13)
> people can fetch the file themselves; dropped
>
But how do you prevent someone like you from signing an older copy of the file
that happens to live on his harddisk?
<b>PLEASE REOPEN</b>
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't do this. Seems to me that there is some
obfuscation going on.