Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 181151 - x11-wm/fluxbox-1.0_rc3-r3 failed patch
Summary: x11-wm/fluxbox-1.0_rc3-r3 failed patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Jim Ramsay (lack) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-07 00:02 UTC by Scott Short
Modified: 2007-06-07 15:20 UTC (History)
5 users (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 Scott Short 2007-06-07 00:02:03 UTC
fluxbox-1.0_rc3-r3 fails to build. Can't apply patch  "startfluxbox_doesnt.patch"

Reproducible: Always




>>> Emerging (2 of 2) x11-wm/fluxbox-1.0_rc3-r3 to /
 * fluxbox-1.0rc3.tar.bz2 RMD160 ;-) ...                                                                                                                                        [ ok ]
 * fluxbox-1.0rc3.tar.bz2 SHA1 ;-) ...                                                                                                                                          [ ok ]
 * fluxbox-1.0rc3.tar.bz2 SHA256 ;-) ...                                                                                                                                        [ ok ]
 * fluxbox-1.0rc3.tar.bz2 size ;-) ...                                                                                                                                          [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                            [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                           [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                          [ ok ]
 * checking fluxbox-1.0rc3.tar.bz2 ;-) ...                                                                                                                                      [ ok ]
>>> Unpacking source...
>>> Unpacking fluxbox-1.0rc3.tar.bz2 to /var/tmp/portage/x11-wm/fluxbox-1.0_rc3-r3/work
 * Applying fluxbox-1.0_rc3-our-styles-go-over-here.patch ...                                                                                                                   [ ok ]
 * Applying fluxbox-1.0_rc3-textproperties_segfault.patch ...                                                                                                                   [ ok ]
 * Applying fluxbox-1.0_rc3-flicker.patch ...                                                                                                                                   [ ok ]
 * Applying fluxbox-1.0_rc3-generate_menu_icon_fix.patch ...                                                                                                                    [ ok ]
 * Applying startfluxbox_doesnt.patch ...

 * Failed Patch: startfluxbox_doesnt.patch !
 *  ( /usr/portage/x11-wm/fluxbox/files/1.0_rc3/startfluxbox_doesnt.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/x11-wm/fluxbox-1.0_rc3-r3/temp/startfluxbox_doesnt.patch-13516.out


!!! ERROR: x11-wm/fluxbox-1.0_rc3-r3 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_unpack
  ebuild.sh, line 753:   Called qa_call 'src_unpack'
  ebuild.sh, line 44:   Called src_unpack
  fluxbox-1.0_rc3-r3.ebuild, line 77:   Called epatch '/usr/portage/x11-wm/fluxbox/files/1.0_rc3/startfluxbox_doesnt.patch'
  eutils.eclass, line 341:   Called die

!!! Failed Patch: startfluxbox_doesnt.patch!
Comment 1 Scott Short 2007-06-07 00:14:04 UTC
node1 sss # cat /var/tmp/portage/x11-wm/fluxbox-1.0_rc3-r3/temp/startfluxbox_doesnt.patch-13516.out
***** startfluxbox_doesnt.patch *****

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

PATCH COMMAND:   patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/x11-wm/fluxbox/files/1.0_rc3/startfluxbox_doesnt.patch

=====================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- fluxbox-1.0rc3/util/startfluxbox.in        2007-03-19 13:57:15.000000000 -0600
|+++ fluxbox-1.0rc3-svn-4917/util/startfluxbox.in       2007-03-27 20:56:21.000000000 -0600
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
=====================================

PATCH COMMAND:   patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/x11-wm/fluxbox/files/1.0_rc3/startfluxbox_doesnt.patch

=====================================
patching file util/startfluxbox.in
Hunk #1 FAILED at 1.
1 out of 2 hunks FAILED -- saving rejects to file util/startfluxbox.in.rej
=====================================

PATCH COMMAND:   patch -p2 -g0 -E --no-backup-if-mismatch < /usr/portage/x11-wm/fluxbox/files/1.0_rc3/startfluxbox_doesnt.patch

=====================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- fluxbox-1.0rc3/util/startfluxbox.in        2007-03-19 13:57:15.000000000 -0600
|+++ fluxbox-1.0rc3-svn-4917/util/startfluxbox.in       2007-03-27 20:56:21.000000000 -0600
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
=====================================

PATCH COMMAND:   patch -p3 -g0 -E --no-backup-if-mismatch < /usr/portage/x11-wm/fluxbox/files/1.0_rc3/startfluxbox_doesnt.patch

=====================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- fluxbox-1.0rc3/util/startfluxbox.in        2007-03-19 13:57:15.000000000 -0600
|+++ fluxbox-1.0rc3-svn-4917/util/startfluxbox.in       2007-03-27 20:56:21.000000000 -0600
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
=====================================

PATCH COMMAND:   patch -p4 -g0 -E --no-backup-if-mismatch < /usr/portage/x11-wm/fluxbox/files/1.0_rc3/startfluxbox_doesnt.patch

=====================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- fluxbox-1.0rc3/util/startfluxbox.in        2007-03-19 13:57:15.000000000 -0600
|+++ fluxbox-1.0rc3-svn-4917/util/startfluxbox.in       2007-03-27 20:56:21.000000000 -0600
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
Comment 2 Hilco 2007-06-07 04:05:44 UTC
I have the same problem.
Comment 3 Neil 2007-06-07 07:17:03 UTC
Ditto, same problem here.
Comment 4 Vsevolod Kozlov 2007-06-07 08:32:02 UTC
Same problem.
Comment 5 Takayuki Horimoto 2007-06-07 12:50:12 UTC
I have the same problem under x86. 

emerge --info

Portage 2.1.2.9 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r3, 2.6.21-suspend2-r5 i686)
=================================================================
System uname: 2.6.21-suspend2-r5 i686 Intel(R) Celeron(R) M processor         1.50GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Thu, 07 Jun 2007 12:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO/"
LINGUAS="ja"
MAKEOPTS="-j2"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/xeffects /usr/portage/local/layman/enlightenment"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acpi aiglx alsa apache2 berkdb bitmap-fonts cjk cli cracklib crypt cups dri dvd dvdr emacs encode ffmpeg flac fortran ftp gdbm gif gpm gtk gtk2 i810 iconv intel ipv6 isdnlog jpeg libg++ lm_sensors mad madwifi midi mmx mmx2 mp3 mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre perl php png ppds pppd python readline reflection sdl session spl sse sse2 ssl svg tcpd theora tiff timidity truetype truetype-fonts type1-fonts unicode vorbis win32codecs wma x86 xcomposite xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ja" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Jim Ramsay (lack) (RETIRED) gentoo-dev 2007-06-07 15:20:14 UTC
ARGH!  I tested this before I commited but not after... then CVS changed the $ID...$ that was in the patch, thereby breaking it.

Hurrah.  But I have fixed it now, and tested even *after* commiting this time :)

My apologies to all for CVS's indescressions.  I've always disliked this CVS variable expansion magic for exactly this reason.