Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 316905 - docbook-dsssl-stylesheets/ChangeLog has broken digest
Summary: docbook-dsssl-stylesheets/ChangeLog has broken digest
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-24 11:32 UTC by Joerg Schaible
Modified: 2010-04-25 13:54 UTC (History)
1 user (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 Joerg Schaible 2010-04-24 11:32:46 UTC
Digest of ChangeLog broken

Reproducible: Always

Steps to Reproduce:
1. emerge -1 docbook-dsssl-stylesheets
2.
3.

Actual Results:  
>>> Verifying ebuild manifests

!!! Digest verification failed:
!!! /mnt/portage/tree/central/app-text/docbook-dsssl-stylesheets/ChangeLog
!!! Reason: Failed on RMD160 verification
!!! Got: b199957e3a9ff4204e8b8e5eab42d884e7d9ed73
!!! Expected: d7865fd8b46f14f813e33f46c5325e25298f8585


Expected Results:  
emerged package
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-04-25 08:56:01 UTC
Please sync your tree. I wasn't able to reproduce that and app-text/docbook-dsssl-stylesheets/ChangeLog and Manifest haven't been touched for past 4 weeks.

If the problem persists please reopen.
Best regards,
Kacper Kowalik
Comment 2 Joerg Schaible 2010-04-25 13:50:00 UTC
I synced the tree since friday multiple times and even 5 minutes ago I got:

==================== %< =================
$ sudo emerge -1 docbook-dsssl-stylesheets
Password:
Calculating dependencies... done!

>>> Verifying ebuild manifests

!!! Digest verification failed:
!!! /var/db/portage/tree/central/app-text/docbook-dsssl-stylesheets/ChangeLog
!!! Reason: Failed on RMD160 verification
!!! Got: b199957e3a9ff4204e8b8e5eab42d884e7d9ed73
!!! Expected: d7865fd8b46f14f813e33f46c5325e25298f8585
==================== %< =================

I know that ChangeLog/Manifest have not been touched in CVS for 4 months, but I can reproduce this problem on 3 different machines and the file dates tell me something different:

==================== %< =================
$ ll /var/db/portage/tree/central/app-text/docbook-dsssl-stylesheets
total 40
drwxr-xr-x   3 root root 4096 Mar 22 21:35 ./
drwxr-xr-x 261 root root 8192 Apr 25 14:37 ../
-rw-r--r--   1 root root 5662 Mar 22 21:35 ChangeLog
-rw-r--r--   1 root root 1601 Apr  5  2009 docbook-dsssl-stylesheets-1.77-r2.ebuild
-rw-r--r--   1 root root 1807 Mar 22 21:35 docbook-dsssl-stylesheets-1.79.ebuild
drwxr-xr-x   2 root root   52 Jan 31  2008 files/
-rw-r--r--   1 root root 1432 Mar 22 21:35 Manifest
-rw-r--r--   1 root root  159 Mar 12  2007 metadata.xml
==================== %< =================

and if I copy app-test/docbook-dsssl-stylesheets into my local repository and recreate the Manifest I get something different for this RMD160 hash value:

================= %< ====================
$ sudo ebuild docbook-dsssl-stylesheets-1.79.ebuild manifest
>>> Creating Manifest for /var/db/portage/local/app-text/docbook-dsssl-stylesheets
$ cd ../../..
$ diff -u local/app-text/docbook-dsssl-stylesheets/Manifest tree/central/app-text/docbook-dsssl-stylesheets/Manifest
--- local/app-text/docbook-dsssl-stylesheets/Manifest   2010-04-25 15:38:08.273029781 +0200
+++ tree/central/app-text/docbook-dsssl-stylesheets/Manifest    2010-03-22 21:35:52.000000000 +0100
@@ -3,5 +3,5 @@
 DIST docbook-dsssl-1.79.tar.bz2 277650 RMD160 711c688901b33413868c06a10e5700ebdcb8b9fb SHA1 0ee935247c9f850e930f3b5c162dbc03915469cd SHA256 2f329e120bee9ef42fbdd74ddd60e05e49786c5a7953a0ff4c680ae6bdf0e2bc
 EBUILD docbook-dsssl-stylesheets-1.77-r2.ebuild 1601 RMD160 3fe76474bba184467feb0668f2652f663792c1de SHA1 e3b1b916e907e834222cf494ea4ad986e40f5374 SHA256 d4fd902151722084e1f7deeb5f1a26dec1670a49f7ddff986507936f778a3f88
 EBUILD docbook-dsssl-stylesheets-1.79.ebuild 1807 RMD160 631bf0dd3a598ab4edaa57b959a5ab2dff540506 SHA1 cc96032e0f572425b23261a806f6d76b70eda84a SHA256 fc0c899c775675090c0ff5c6fc3a368b86d71d26d279a9f7faa40f864defab90
-MISC ChangeLog 5662 RMD160 b199957e3a9ff4204e8b8e5eab42d884e7d9ed73 SHA1 ccd5eb994a39956f369df153bb8c6baf68e51357 SHA256 3c11bd14b1256d46c16eba41acd3f92c296f42006f6d97d9e3b02c36b10ebbbf
+MISC ChangeLog 5662 RMD160 d7865fd8b46f14f813e33f46c5325e25298f8585 SHA1 74f6beddb7dba2908de335032af14b7604015588 SHA256 8a160830f648de0a8d33b19160fdd428b96d7c05c69d3d0d6d56f44536c537c3
 MISC metadata.xml 159 RMD160 a94e7b2c191d1593b8bc416d266571e001c2f673 SHA1 3c1d0831d8acacef390234d20d7711cabded861a SHA256 52cf1b9dda72e2d61fef95515c8a124ac9f1196e5509e5636e269f396fcba8a3
================= %< ====================

Possibly you're imply using the wrong OS? See:

==================== %< =================
$ file app-text/docbook*/ChangeLog
app-text/docbook2X/ChangeLog:                  UTF-8 Unicode English text
app-text/docbook-dsssl-stylesheets/ChangeLog:  data
app-text/docbook-sgml/ChangeLog:               UTF-8 Unicode English text
app-text/docbook-sgml-dtd/ChangeLog:           UTF-8 Unicode English text
app-text/docbook-sgml-utils/ChangeLog:         UTF-8 Unicode English text
app-text/docbook-xml-dtd/ChangeLog:            UTF-8 Unicode English text
app-text/docbook-xml-simple-dtd/ChangeLog:     UTF-8 Unicode English text
app-text/docbook-xsl-ns-stylesheets/ChangeLog: UTF-8 Unicode English text
app-text/docbook-xsl-stylesheets/ChangeLog:    UTF-8 Unicode English text
==================== %< =================

Not surprising the hash values differ on different machines resp. different native encoding. If you open the file it contains simply garbage in the beginning:

==================== %< =================
$ od -t a app-text/docbook-dsssl-stylesheets/ChangeLog
0000000 nul nul nul nul   h  si nul nul nul nul nul nul nul nul nul nul                          
0000020 nul nul nul nul nul nul nul nul   s enq soh nul   - ack soh nul                          
0000040 nul   L   $   ,   t soh nul nul enq nul   P nul   0  si nul nul                          
0000060   s enq soh nul   J  nl soh nul nul nul nul nul nul nul nul nul                          
0000100 del del   , nul eot  si soh nul   s enq soh nul   J  nl soh nul                          
0000120 soh nul nul nul nul nul nul  sp del del can  so   l nul soh nul                          
0000140 ack  nl soh nul   ^   h soh nul nul nul nul nul   #  sp   C   o                          
0000160   p   y   r   i   g   h   t  sp   1   9   9   9   -   2   0   1                          
0000200   0  sp   G   e   n   t   o   o  sp   F   o   u   n   d   a   t                          
0000220   i   o   n  nl   #  sp   D   i   s   t   r   i   b   u   t   e                          
0000240   d  sp   u   n   d   e   r  sp   t   h   e  sp   t   e   r   m
==================== %< =================


Comment 3 Joerg Schaible 2010-04-25 13:54:46 UTC
Interesting. I deleted the file now and synced again. This time it is in proper format. Must have a closer eye to my hard disk now.