Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144650 - sys-apps/man-1.6d bad digest/patch failed
Summary: sys-apps/man-1.6d bad digest/patch failed
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Highest major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-21 08:30 UTC by Tomasz G
Modified: 2006-08-23 08:59 UTC (History)
0 users

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 Tomasz G 2006-08-21 08:30:47 UTC
My emerge --info:
Portage 2.1-r2 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.4
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -funroll-loops"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=pentium4 -O3 -pipe -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp.roedu.net/pub/mirrors/gentoo.org/ http://gentoo.prz.rzeszow.pl http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://gentoo.ynet.sk/pub http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.inf.elte.hu/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.po.opole.pl"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
LINGUAS="pl"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apm arts avi bash-completion berkdb bitmap-fonts bzip2 cdr cli crypt dlloader dri dvd dvdr emboss encode fam flac foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 idn imlib isdnlog jpeg kde lcms libg++ libwww logrotate mad mikmod mmx mmxext motif mp3 mpeg musepack ncurses nls nptl nvidia ogg oggvorbis opengl oss pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl tcpd tetex tiff truetype truetype-fonts type1-fonts unicode utf8 v4l2 vorbis xml2 xmms xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_pl userland_GNU video_cards_nvidia video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

I have a problem when merging man-1.6d version:

>>> checking ebuild checksums ;-)
>>> checking auxfile checksums
!!! Digest verification failed:
!!! /usr/portage/sys-apps/man/files/man-1.6b-more-sections.patch
!!! Reason: Failed on MD5 verification
!!! Got: dc30309781dc98cce673a1a2091b7954
!!! Expected: cc5bb9ed7778c068c9154f0f8c6a5e07
Error in sys.exitfunc:

Firstly I've tried deleteion of files in /usr/portage/distfiles and syncing again. But I still have the same problem.
I tried to digest files running:
# ebuild /usr/portage/sys-apps/man/man-1.6d.ebuild digest

but then I have another error:
>>> starting parallel fetching
>>> Emerging (1 of 9) sys-apps/man-1.6d to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking man-1.6d.tar.gz ;-)
>>> Unpacking source...
>>> Unpacking man-1.6d.tar.gz to /var/tmp/portage/man-1.6d/work
 * Applying man-1.6-cross-compile.patch ...                                                                                                                                                  [ ok ]
 * Applying man-1.5p-search-order.patch ...                                                                                                                                                  [ ok ]
 * Applying man-1.5m-groff-1.18.patch ...                                                                                                                                                    [ ok ]
 * Applying man-1.5p-defmanpath-symlinks.patch ...                                                                                                                                           [ ok ]
 * Applying man-1.6a-makewhatis-config.patch ...                                                                                                                                             [ ok ]
 * Applying man-1.6b-more-sections.patch ...

 * Failed Patch: man-1.6b-more-sections.patch !
 *  ( /usr/portage/sys-apps/man/files/man-1.6b-more-sections.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/man-1.6d/temp/man-1.6b-more-sections.patch-18199.out


!!! ERROR: sys-apps/man-1.6d failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_unpack
  ebuild.sh, line 711:   Called src_unpack
  man-1.6d.ebuild, line 48:   Called epatch '/usr/portage/sys-apps/man/files/man-1.6b-more-sections.patch'
  eutils.eclass, line 341:   Called die

!!! Failed Patch: man-1.6b-more-sections.patch!
!!! If you need support, post the topmost build error, and the call stack if relevant.

Error in sys.exitfunc:

This is a content of man-1.6b-more-sections.patch-18199.out:
***** man-1.6b-more-sections.patch *****

========================================

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/sys-apps/man/files/man-1.6b-more-sections.patch

========================================
patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.
========================================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/sys-apps/man/files/man-1.6b-more-sections.patch

========================================
patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.
========================================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch < /usr/portage/sys-apps/man/files/man-1.6b-more-sections.patch

========================================
patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.
========================================

PATCH COMMAND:  patch -p3 -g0 -E --no-backup-if-mismatch < /usr/portage/sys-apps/man/files/man-1.6b-more-sections.patch

========================================
patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.
========================================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch < /usr/portage/sys-apps/man/files/man-1.6b-more-sections.patch

========================================
patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.
Comment 1 SpanKY gentoo-dev 2006-08-21 16:08:03 UTC
as the errors should have indicated, the file is probably corrupt on your disk

delete it and sync again
Comment 2 Tomasz G 2006-08-21 23:44:48 UTC
I've tried that a few times. Firstly I deleted the file and fetched it again, but errors occurs. Then I changed mirror serwer (two times, mayby file on serwer was corrupted, I want to test it) and have same error.
Now I tested fetching and merging on my flatmate's gentoo - everything goes good.
It seems that this is problem of my specyfic configuration. I have no idea why md5  checksum fails.
Comment 3 Tomasz G 2006-08-23 04:07:26 UTC
I'm syncing my portage many times but this didn't solve the problem. MD5 verification fails on man-1.6b-more-sections.patch file:
I put
# cat /usr/portage/sys-apps/man/files/man-1.6b-more-sections.patch
in to shell, this is what I saw:
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ ... many times

So I downloaded patch again from:
# wget http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/sys-apps/man/files/man-1.6b-more-sections.patch?rev=1.1

And replace that in my portage:
# mv man-1.6b-more-sections.patch\?rev\=1.1 /usr/portage/sys-apps/man/files/man-1.6b-more-sections.patch

Then man-1.6d compiles clearly.
My problem hav been solved but why portage download bad man-1.6b-more-sections.patch file?

Comment 4 SpanKY gentoo-dev 2006-08-23 07:09:03 UTC
either the rsync mirror you're using is corrupted, or your network screwed it up
Comment 5 Tomasz G 2006-08-23 08:59:07 UTC
It is not possible. I tried with 3 different serwers with no effect. Only that file was corrupted.

After succesful merge problem dissapeared. This is first time  I have such problem. If it was network many other files should be corrupted. I thing it was configuration of my system.

It should be a good idea to close this bug if there are no other reports.