Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200554 - net-im/gajim-0.11.3-r1 dies while trying to apply a patch
Summary: net-im/gajim-0.11.3-r1 dies while trying to apply a patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Peter Weller (RETIRED)
URL:
Whiteboard:
Keywords:
: 200869 200896 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-11-27 21:15 UTC by Santiago Gala
Modified: 2007-12-09 21:45 UTC (History)
4 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 Santiago Gala 2007-11-27 21:15:26 UTC
* Failed Patch: 0.11.3-keyTabswitch-fix.patch !
 *  ( /usr/portage/net-im/gajim/files/0.11.3-keyTabswitch-fix.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/net-im/gajim-0.11.3-r1/temp/0.11.3-keyTabswitch-fix.patch-22371.out


$ cat /var/tmp/portage/net-im/gajim-0.11.3-r1/temp/0.11.3-keyTabswitch-fix.patch-22371.out
***** 0.11.3-keyTabswitch-fix.patch *****

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

PATCH COMMAND:   patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/net-im/gajim/files/0.11.3-keyTabswitch-fix.patch

=========================================
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: /branches/gajim_0.11.3-bugfixes/src/message_window.py
|===================================================================
|--- /branches/gajim_0.11.3-bugfixes/src/message_window.py (revision 8991)
|+++ /branches/gajim_0.11.3-bugfixes/src/message_window.py (revision 9020)
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=========================================

PATCH COMMAND:   patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/net-im/gajim/files/0.11.3-keyTabswitch-fix.patch

=========================================
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: /branches/gajim_0.11.3-bugfixes/src/message_window.py
|===================================================================
|--- /branches/gajim_0.11.3-bugfixes/src/message_window.py (revision 8991)
|+++ /branches/gajim_0.11.3-bugfixes/src/message_window.py (revision 9020)
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=========================================

PATCH COMMAND:   patch -p2 -g0 -E --no-backup-if-mismatch < /usr/portage/net-im/gajim/files/0.11.3-keyTabswitch-fix.patch

=========================================
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: /branches/gajim_0.11.3-bugfixes/src/message_window.py
|===================================================================
|--- /branches/gajim_0.11.3-bugfixes/src/message_window.py (revision 8991)
|+++ /branches/gajim_0.11.3-bugfixes/src/message_window.py (revision 9020)
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=========================================

PATCH COMMAND:   patch -p3 -g0 -E --no-backup-if-mismatch < /usr/portage/net-im/gajim/files/0.11.3-keyTabswitch-fix.patch

=========================================
patching file src/message_window.py
Hunk #1 FAILED at 577.
1 out of 1 hunk FAILED -- saving rejects to file src/message_window.py.rej
=========================================

PATCH COMMAND:   patch -p4 -g0 -E --no-backup-if-mismatch < /usr/portage/net-im/gajim/files/0.11.3-keyTabswitch-fix.patch

=========================================
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: /branches/gajim_0.11.3-bugfixes/src/message_window.py
|===================================================================
|--- /branches/gajim_0.11.3-bugfixes/src/message_window.py (revision 8991)
|+++ /branches/gajim_0.11.3-bugfixes/src/message_window.py (revision 9020)
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored


Reproducible: Always

Steps to Reproduce:
1.emerge gajim
2.
3.

Actual Results:  
error because a patch fails to apply

Expected Results:  
patch applies

 $ emerge --info
Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.6.1-r0, 2.6.23-hrt3 x86_64)
=================================================================
System uname: 2.6.23-hrt3 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
Timestamp of tree: Tue, 27 Nov 2007 08:30:03 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.4.4-r7, 2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
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/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -ftree-vectorize"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="es_ES.UTF-8"
LINGUAS="es es_ES en"
MAKEOPTS=""
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/voip /usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi aiglx alsa amd64 apache2 arts avahi avi bash-completion berkdb bitmap-fonts bluetooth bonjour cairo cdr cli cracklib crypt cups curl dbus dlloader dri dvd dvdr dvdread eds emboss encode esd evdev evo fam firefox fortran galago gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv icu iproute2 ipv6 isdnlog java jpeg kde kdehiddenvisibility kerberos lcms ldap libg++ libnotify logrotate lucene mad midi mikmod mmx mono mouse mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin obex ogg opengl openmp oss pam pcre pdf pdflib perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode v4l v4l2 vorbis xinerama xml xorg xrandr xv xvid zlib" ALSA_CARDS="hda-intel" 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" DVB_CARDS="usb-wt220u" ELIBC="glibc" INPUT_DEVICES="synaptics mouse evdev keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en" USERLAND="GNU" VIDEO_CARDS="vesa i810 intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Peter Weller (RETIRED) gentoo-dev 2007-11-28 08:15:05 UTC
Uuuh, I'm sure I tested those patches. Meh. I see what the problem is though, fixed locally, gotta run to school, so I'll commit the fixes later, thanks!
Comment 2 Peter Weller (RETIRED) gentoo-dev 2007-11-28 16:06:23 UTC
Should be fixed in CVS now.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-11-30 21:10:04 UTC
*** Bug 200869 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-12-01 07:14:36 UTC
*** Bug 200896 has been marked as a duplicate of this bug. ***
Comment 5 Santiago Gala 2007-12-01 14:43:14 UTC
After sync today (2 days after the "resolution") the exact same problem is happening here.
Comment 6 Tomasz Męciński 2007-12-02 13:26:43 UTC
Same for me. The same problem still persists.
Comment 7 Tomasz G 2007-12-02 13:53:29 UTC
(In reply to comment #4)
> *** Bug 200896 has been marked as a duplicate of this bug. ***
> 

And this is why I sent this bug report ;)
It's no change for about week ;/
Comment 8 Santiago Gala 2007-12-04 08:31:35 UTC
Now it emerges, but one of the patches has a typo:

$ grep -r false /usr/portage/net-im/gajim/files
/usr/portage/net-im/gajim/files/0.11.3-misc-fixes.patch:+                      return false

It is "False" or it gives a:

NameError: global name 'false' is not defined
Traceback (most recent call last):
  File "/usr/share/gajim/src/message_window.py", line 582, in _on_notebook_key_press
    return false
NameError: global name 'false' is not defined

Comment 9 Santiago Gala 2007-12-09 21:45:40 UTC
I'd say it is working now, including bump to 0.11.4