Emerge bitbake fails when applying a patch Reproducible: Always Steps to Reproduce: 1.emerge bitbake 2. 3. Actual Results: 17:33:36 (34.47 KB/s) - `/usr/portage/distfiles/bbcow9b.patch' saved [11706/11706] >>> md5 files ;-) bitbake-0.ebuild >>> md5 files ;-) ChangeLog >>> md5 files ;-) metadata.xml >>> md5 files ;-) files/0-gentoo-paths.patch >>> md5 files ;-) files/digest-bitbake-0 >>> md5 src_uri ;-) bbcow9b.patch >>> Unpacking source... >>> Unpacking bbcow9b.patch to /var/tmp/portage/bitbake-0/work unpack bbcow9b.patch: file format not recognized. Ignoring. * subversion check out start --> * checkout from: svn://svn.berlios.de/bitbake/trunk/bitbake A bitbake/contrib A bitbake/contrib/vim A bitbake/contrib/vim/syntax A bitbake/contrib/vim/syntax/bitbake.vim A bitbake/contrib/vim/ftplugin A bitbake/contrib/bbdev.sh A bitbake/contrib/README A bitbake/AUTHORS A bitbake/conf A bitbake/conf/bitbake.conf A bitbake/doc A bitbake/doc/COPYING.MIT A bitbake/doc/COPYING.GPL A bitbake/doc/manual A bitbake/doc/manual/html.css A bitbake/doc/manual/usermanual.xml A bitbake/doc/manual/Makefile A bitbake/lib A bitbake/lib/bb A bitbake/lib/bb/data.py A bitbake/lib/bb/fetch.py A bitbake/lib/bb/data_dict.py A bitbake/lib/bb/make.py A bitbake/lib/bb/__init__.py A bitbake/lib/bb/build.py A bitbake/lib/bb/data_smart.py A bitbake/lib/bb/event.py A bitbake/lib/bb/parse A bitbake/lib/bb/parse/__init__.py A bitbake/lib/bb/parse/BBHandler.py A bitbake/lib/bb/parse/ConfHandler.py A bitbake/lib/bb/manifest.py A bitbake/MANIFEST A bitbake/setup.py A bitbake/ChangeLog A bitbake/bin A bitbake/bin/bbread A bitbake/bin/bitbake A bitbake/bin/bbimage A bitbake/classes A bitbake/classes/base.bbclass U bitbake Checked out revision 176. * checkouted in: /usr/portage/distfiles/svn-src/bitbake/bitbake * copied to: /var/tmp/portage/bitbake-0/work/bitbake-0 * Applying 0-gentoo-paths.patch ... [ ok ] * Applying bbcow9b.patch ... * Failed Patch: bbcow9b.patch ! * ( /usr/portage/distfiles/bbcow9b.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/bitbake-0/temp/bbcow9b.patch-27961.out !!! ERROR: dev-embedded/bitbake-0 failed. !!! Function epatch, Line 358, Exitcode 0 !!! Failed Patch: bbcow9b.patch! !!! If you need support, post the topmost build error, NOT this status message. Expected Results: done? Portage 2.0.51.19 (default-linux/x86/2005.0/2.4, gcc-3.3.5-20050130, glibc-2.2.5-r2,glibc-2.3.4.20041102-r1, 2.4.28 i686) ================================================================= System uname: 2.4.28 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 3 2005, 15:36:41)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.8.5-r3, 1.9.5, 1.5, 1.6.3, 1.7.9, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.4.18, 2.4.19-r1, 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=i686 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"CXXFLAGS="-march=i686 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acpi acpi4linux adns alsa autofs avi berkdb bitmap-fonts bluetooth bonobo cdr crypt cscope cups curl eds emboss encode esd fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 jack java jpeg kde libg++ libwww mad mbox mikmod motif mozilla mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis xine xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Content of bbcow9b.patch-28245.out ***** bbcow9b.patch ***** ========================= PATCH COMMAND: patch -p0 -g0 --no-backup-if-mismatch < /usr/portage/distfiles/bbcow9b.patch ========================= can't find file to patch at input line 11 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- | |# This is a cumulative patch consisting of: |# |# bbcow9a.patch |# |# Patch managed by http://www.holgerschurig.de/patcher.html |# | |--- bitbake/bin/bbimage~bbcow9a |+++ bitbake/bin/bbimage -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 25 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- bitbake/classes/base.bbclass~bbcow9a |+++ bitbake/classes/base.bbclass -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 45 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- bitbake/lib/bb/data.py~bbcow9a |+++ bitbake/lib/bb/data.py -------------------------- No file to patch. Skipping patch. 14 out of 14 hunks ignored can't find file to patch at input line 352 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- bitbake/lib/bb/fetch.py~bbcow9a |+++ bitbake/lib/bb/fetch.py -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored can't find file to patch at input line 388 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- bitbake/lib/bb/make.py~bbcow9a |+++ bitbake/lib/bb/make.py -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 400 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- bitbake/lib/bb/parse/BBHandler.py~bbcow9a |+++ bitbake/lib/bb/parse/BBHandler.py -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ========================= PATCH COMMAND: patch -p1 -g0 --no-backup-if-mismatch < /usr/portage/distfiles/bbcow9b.patch ========================= patching file bin/bbimage Hunk #1 FAILED at 110. 1 out of 1 hunk FAILED -- saving rejects to file bin/bbimage.rej patching file classes/base.bbclass Hunk #1 FAILED at 54. Hunk #2 FAILED at 63. 2 out of 2 hunks FAILED -- saving rejects to file classes/base.bbclass.rej patching file lib/bb/data.py Hunk #1 succeeded at 26 (offset 1 line). Hunk #2 FAILED at 46. Hunk #3 FAILED at 119. Hunk #4 FAILED at 147. Hunk #5 FAILED at 205. Hunk #6 FAILED at 217. Hunk #7 FAILED at 236. Hunk #8 FAILED at 257. Hunk #9 FAILED at 272. Hunk #10 FAILED at 294. Hunk #11 FAILED at 367. Hunk #12 FAILED at 402. Hunk #13 FAILED at 477. Hunk #14 FAILED at 541. 13 out of 14 hunks FAILED -- saving rejects to file lib/bb/data.py.rej patching file lib/bb/fetch.py Hunk #1 FAILED at 202. Hunk #2 FAILED at 290. Hunk #3 FAILED at 513. 3 out of 3 hunks FAILED -- saving rejects to file lib/bb/fetch.py.rej patching file lib/bb/make.py Hunk #1 FAILED at 108. 1 out of 1 hunk FAILED -- saving rejects to file lib/bb/make.py.rej patching file lib/bb/parse/BBHandler.py Hunk #1 FAILED at 156. 1 out of 1 hunk FAILED -- saving rejects to file lib/bb/parse/BBHandler.py.rej ========================= PATCH COMMAND: patch -p2 -g0 --no-backup-if-mismatch < /usr/portage/distfiles/bbcow9b.patch ========================= can't find file to patch at input line 11 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- | |# This is a cumulative patch consisting of: |# |# bbcow9a.patch |# |# Patch managed by http://www.holgerschurig.de/patcher.html |# | |--- bitbake/bin/bbimage~bbcow9a |+++ bitbake/bin/bbimage -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 25 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- bitbake/classes/base.bbclass~bbcow9a |+++ bitbake/classes/base.bbclass -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 45 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- bitbake/lib/bb/data.py~bbcow9a |+++ bitbake/lib/bb/data.py -------------------------- No file to patch. Skipping patch. 14 out of 14 hunks ignored can't find file to patch at input line 352 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- bitbake/lib/bb/fetch.py~bbcow9a |+++ bitbake/lib/bb/fetch.py -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored can't find file to patch at input line 388 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- bitbake/lib/bb/make.py~bbcow9a |+++ bitbake/lib/bb/make.py -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 400 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- bitbake/lib/bb/parse/BBHandler.py~bbcow9a |+++ bitbake/lib/bb/parse/BBHandler.py -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ========================= PATCH COMMAND: patch -p3 -g0 --no-backup-if-mismatch < /usr/portage/distfiles/bbcow9b.patch ========================= missing header for unified diff at line 11 of patch can't find file to patch at input line 11 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- | |# This is a cumulative patch consisting of: |# |# bbcow9a.patch |# |# Patch managed by http://www.holgerschurig.de/patcher.html |# | |--- bitbake/bin/bbimage~bbcow9a |+++ bitbake/bin/bbimage -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 25 of patch can't find file to patch at input line 25 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- bitbake/classes/base.bbclass~bbcow9a |+++ bitbake/classes/base.bbclass -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 45 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- bitbake/lib/bb/data.py~bbcow9a |+++ bitbake/lib/bb/data.py -------------------------- No file to patch. Skipping patch. 14 out of 14 hunks ignored can't find file to patch at input line 352 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- bitbake/lib/bb/fetch.py~bbcow9a |+++ bitbake/lib/bb/fetch.py -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored can't find file to patch at input line 388 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- bitbake/lib/bb/make.py~bbcow9a |+++ bitbake/lib/bb/make.py -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 400 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- bitbake/lib/bb/parse/BBHandler.py~bbcow9a |+++ bitbake/lib/bb/parse/BBHandler.py -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ========================= PATCH COMMAND: patch -p4 -g0 --no-backup-if-mismatch < /usr/portage/distfiles/bbcow9b.patch ========================= missing header for unified diff at line 11 of patch can't find file to patch at input line 11 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- | |# This is a cumulative patch consisting of: |# |# bbcow9a.patch |# |# Patch managed by http://www.holgerschurig.de/patcher.html |# | |--- bitbake/bin/bbimage~bbcow9a |+++ bitbake/bin/bbimage -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 25 of patch can't find file to patch at input line 25 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- bitbake/classes/base.bbclass~bbcow9a |+++ bitbake/classes/base.bbclass -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored missing header for unified diff at line 45 of patch can't find file to patch at input line 45 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- bitbake/lib/bb/data.py~bbcow9a |+++ bitbake/lib/bb/data.py -------------------------- No file to patch. Skipping patch. 14 out of 14 hunks ignored missing header for unified diff at line 352 of patch can't find file to patch at input line 352 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- bitbake/lib/bb/fetch.py~bbcow9a |+++ bitbake/lib/bb/fetch.py -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored missing header for unified diff at line 388 of patch can't find file to patch at input line 388 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- bitbake/lib/bb/make.py~bbcow9a |+++ bitbake/lib/bb/make.py -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 400 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- bitbake/lib/bb/parse/BBHandler.py~bbcow9a |+++ bitbake/lib/bb/parse/BBHandler.py -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored
seems like patch has been integrated upstream removed from ebuild, thanks for the bug