Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 192899
Alias:
Product:
Component:
Status: CLOSED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: It's me <mai98fhw@informatik.uni-leipzig.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 192899 depends on: Show dependency tree
Bug 192899 blocks:
Votes: 1    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.




View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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

------- Comment #1 From DEMAINE BenoƮt-Pierre, aka DoubleHP 2007-09-18 18:23:31 0000 -------
please run
emerge --sync

and try again. If still happens, please confirm so, and attach 
emerge --info

------- Comment #2 From SpanKY 2007-09-20 05:34:28 0000 -------
manifest rebuilt

------- Comment #3 From Jakub Moc (RETIRED) 2007-10-11 08:20:11 0000 -------
*** Bug 195475 has been marked as a duplicate of this bug. ***

------- Comment #4 From Jakub Moc (RETIRED) 2007-10-11 09:14:58 0000 -------
*** Bug 195480 has been marked as a duplicate of this bug. ***

------- Comment #5 From Jakub Moc (RETIRED) 2007-10-11 09:16:19 0000 -------
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.

------- Comment #6 From Jeroen Roovers 2007-10-11 17:42:20 0000 -------
Fixed again for now.

------- Comment #7 From Jeroen Roovers 2007-10-11 17:53:59 0000 -------
(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

------- Comment #8 From skelter 2007-10-11 22:29:01 0000 -------
 * 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

------- Comment #9 From Jakub Moc (RETIRED) 2007-10-12 09:40:12 0000 -------
(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}.

------- Comment #10 From Michael Shurtleff 2007-10-12 11:43:31 0000 -------
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

------- Comment #11 From Jakub Moc (RETIRED) 2007-10-12 11:50:11 0000 -------
(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.

------- Comment #12 From Andrey Grozin 2007-10-12 12:02:21 0000 -------
I had to
ebuild libpng-1.2.21-r3.ebuild digest
after that libpng emerged OK. Please update the digest in the tree.

------- Comment #13 From SpanKY 2007-10-12 14:49:40 0000 -------
people can fetch the file themselves; dropped

------- Comment #14 From Oliver Schoett 2007-10-12 15:45:55 0000 -------
(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?

------- Comment #15 From Peter `MathFox' Roozemaal 2007-10-12 16:10:52 0000 -------
(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>

------- Comment #16 From Michael Shurtleff 2007-10-12 16:43:23 0000 -------
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.

------- Comment #17 From Jakub Moc (RETIRED) 2007-10-12 17:21:19 0000 -------
(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.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug