Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84711 - mm-sources fails to patch (Docbook Makefile)
Summary: mm-sources fails to patch (Docbook Makefile)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High blocker
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-10 00:09 UTC by Fabio Coatti
Modified: 2005-03-10 09:39 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 Fabio Coatti 2005-03-10 00:09:53 UTC
It seems that bug #84189 is here again; I've tried to emerge mm-sources (2.6.11-mm[1,2]) and the build fails with this error:
>>> Unpacking linux-2.6.11.tar.bz2 to /var/tmp/portage/mm-sources-2.6.11-r2/work
 * Applying 2.6.11-mm2.patch (-p0+) ...
patch: pch.c:621: intuit_diff_type: Assertion `i0 != NONE' failed.   

That boils down to 
patching file Documentation/DocBook/Makefile
Hunk #5 FAILED at 98.
Hunk #6 FAILED at 106.
Hunk #7 FAILED at 117.
3 out of 10 hunks FAILED -- saving rejects to file Documentation/DocBook/Makefile.rej


I've also looked at CVS, but the version here is the same as the one on my portage. (If I've picked the wrong version, please forgive me adn point me to a mor recent build, thanks..)

(last sync 08:00 CET 10/03/05)

Reproducible: Always
Steps to Reproduce:
1.emerge mm-sources
2.
3.

Actual Results:  
hobbes ~ # emerge mm-sources
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-kernel/mm-sources-2.6.11-r2 to /
>>> md5 src_uri ;-) linux-2.6.11.tar.bz2
>>> md5 src_uri ;-) 2.6.11-mm2.bz2
>>> Preparing to unpack ...
>>> Unpacking source...
>>> Unpacking linux-2.6.11.tar.bz2 to /var/tmp/portage/mm-sources-2.6.11-r2/work
 * Applying 2.6.11-mm2.patch (-p0+) ...
patch: pch.c:621: intuit_diff_type: Assertion `i0 != NONE' failed.             
              [ !! ]
 * Please attach /var/tmp/portage/mm-sources-2.6.11-r2/temp/2.6.11-mm2.err to
any bug you may post.

!!! ERROR: sys-kernel/mm-sources-2.6.11-r2 failed.
!!! Function unipatch, Line 561, Exitcode 0
!!! Unable to dry-run patch.
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
merging of kernel 2.6.11-mm2

hobbes ~ # emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20050125-r0,
2.6.11-rc5-mm1 i686)
=================================================================
System uname: 2.6.11-rc5-mm1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4,dev-lang/python-2.4-r2 [2.4 (#1, Feb
10 2005, 00:20:17)]
dev-lang/python:     2.3.4, 2.4-r2
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r5
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo
http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="it_IT.utf8"
LC_ALL="it_IT.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi aim alsa apache2 apm arts audiofile avi
bash-completion berkdb bitmap-fonts bluetooth bonobo cdparanoia cdr cjk crypt
cups curl dba divx4linux dvb dvd dvdr emboss encode esd ethereal exif faad fam
fbcon ffmpeg fftw flac foomaticdb fortran ftp gd gdbm gif gmp gnome gpm
gstreamer gtk gtk2 guile hal iconv icq imagemagick imap imlib innodb ipv6
ithreads jabber jack javascript jpeg kde lcms ldap libcaca libg++ libwww live
lm_sensors lzo mad maildir mhash mikmod mime mmap mmx mng motif mozilla mp3 mpeg
msn nas ncurses network nfsv4 nls nptl offensive ofx ogg oggvorbis openal opengl
oscar oss pam pcre pdflib perl php plotutils png python qt quicktime readline
rtc samba sasl sdl slang slp sndfile snmp sox spell sse ssl svg symlink tcpd
theora threads tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd
videos wmf wxwindows xface xft xine xml xml2 xmms xosd xpm xsl xv xvid yahoo
zlib zpm linguas_it linguas_en"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2005-03-10 01:41:37 UTC
Works for me :)
Comment 2 Fabio Coatti 2005-03-10 01:45:45 UTC
ouch..:)
do you see any relevant difference between your and my setup?
say LC_ALL content portage version...something like this?

Thanks
Comment 3 John Mylchreest (RETIRED) gentoo-dev 2005-03-10 09:39:26 UTC
this was fixed in cvs some days ago (a week maybe)
please emerge sync and try again
Comment 4 John Mylchreest (RETIRED) gentoo-dev 2005-03-10 09:39:35 UTC
closing