Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151102 - net-im/gaim-2.0.0_beta3-r3 fails to build because of broken ICQ patch
Summary: net-im/gaim-2.0.0_beta3-r3 fails to build because of broken ICQ patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
: 151103 151197 151237 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-12 23:41 UTC by Priit Laes (IRC: plaes)
Modified: 2006-10-14 03:55 UTC (History)
7 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 Priit Laes (IRC: plaes) 2006-10-12 23:41:58 UTC
[ebuild     U ] net-im/gaim-2.0.0_beta3-r3 [2.0.0_beta3-r2] USE="avahi* dbus* eds gnutls msn nls spell ssl startup-notification xscreensaver* -audiofile -bonjour -cjk -custom-flags -debug -doc -gadu -meanwhile -mono -nas -perl -silc -tcl -tk"

....
 * Applying gaim-2.0.0_beta3-as-needed.patch ...                          [ ok ]
 * Applying gaim-2.0.0_beta3-avahi-compat.patch ...                       [ ok ]
 * Applying gaim-2.0.0_beta3-gtkconv.diff ...                             [ ok ]
 * Applying gaim-2.0.0_beta3-icq.patch ...

 * Failed Patch: gaim-2.0.0_beta3-icq.patch !
 *  ( /usr/portage/net-im/gaim/files/gaim-2.0.0_beta3-icq.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/net-im/gaim-2.0.0_beta3-r3/temp/gaim-2.0.0_beta3-icq.patch-2851.out


!!! ERROR: net-im/gaim-2.0.0_beta3-r3 failed.
Call stack:
  ebuild.sh, line 1548:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  gaim-2.0.0_beta3-r3.ebuild, line 144:   Called epatch '/usr/portage/net-im/gaim/files/gaim-2.0.0_beta3-icq.patch'
  eutils.eclass, line 341:   Called die

!!! Failed Patch: gaim-2.0.0_beta3-icq.patch!
!!! If you need support, post the topmost build error, and the call stack if relevant.


cat /var/tmp/portage/net-im/gaim-2.0.0_beta3-r3/temp/gaim-2.0.0_beta3-icq.patch-2851.out

***** gaim-2.0.0_beta3-icq.patch *****

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

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/net-im/gaim/files/gaim-2.0.0_beta3-icq.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:
--------------------------
|--- family_feedbag.c   2006-07-25 00:13:56.000000000 +0200
|+++ family_feedbag.c.old       2006-07-25 00:13:46.000000000 +0200
--------------------------
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/gaim/files/gaim-2.0.0_beta3-icq.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:
--------------------------
|--- family_feedbag.c   2006-07-25 00:13:56.000000000 +0200
|+++ family_feedbag.c.old       2006-07-25 00:13:46.000000000 +0200
--------------------------
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/gaim/files/gaim-2.0.0_beta3-icq.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:
--------------------------
|--- family_feedbag.c   2006-07-25 00:13:56.000000000 +0200
|+++ family_feedbag.c.old       2006-07-25 00:13:46.000000000 +0200
--------------------------
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/gaim/files/gaim-2.0.0_beta3-icq.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:
--------------------------
|--- family_feedbag.c   2006-07-25 00:13:56.000000000 +0200
|+++ family_feedbag.c.old       2006-07-25 00:13:46.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
======================================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch < /usr/portage/net-im/gaim/files/gaim-2.0.0_beta3-icq.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:
--------------------------
|--- family_feedbag.c   2006-07-25 00:13:56.000000000 +0200
|+++ family_feedbag.c.old       2006-07-25 00:13:46.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored


Btw, the xscreensaver USE flag doesn't make sense because it's built anyway with modular X.org.
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2006-10-12 23:47:18 UTC
*** Bug 151103 has been marked as a duplicate of this bug. ***
Comment 2 Victor Trac 2006-10-13 04:46:14 UTC
Same problem:

***** gaim-2.0.0_beta3-icq.patch *****

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

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/net-im/gaim/files/gaim-2.0.0_beta3-icq.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:
--------------------------
|--- family_feedbag.c   2006-07-25 00:13:56.000000000 +0200
|+++ family_feedbag.c.old       2006-07-25 00:13:46.000000000 +0200
--------------------------
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/gaim/files/gaim-2.0.0_beta3-icq.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:
--------------------------
|--- family_feedbag.c   2006-07-25 00:13:56.000000000 +0200
|+++ family_feedbag.c.old       2006-07-25 00:13:46.000000000 +0200
--------------------------
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/gaim/files/gaim-2.0.0_beta3-icq.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:
--------------------------
|--- family_feedbag.c   2006-07-25 00:13:56.000000000 +0200
|+++ family_feedbag.c.old       2006-07-25 00:13:46.000000000 +0200
--------------------------
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/gaim/files/gaim-2.0.0_beta3-icq.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:
--------------------------
|--- family_feedbag.c   2006-07-25 00:13:56.000000000 +0200
|+++ family_feedbag.c.old       2006-07-25 00:13:46.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
======================================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch < /usr/portage/net-im/gaim/files/gaim-2.0.0_beta3-icq.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:
--------------------------
|--- family_feedbag.c   2006-07-25 00:13:56.000000000 +0200
|+++ family_feedbag.c.old       2006-07-25 00:13:46.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Comment 3 Thomas Pani 2006-10-13 05:11:02 UTC
This is because the diff header of the patches contains an incomplete path.
It has to be relative to $WORKDIR.
Comment 4 Mihai Moldovan 2006-10-13 05:15:39 UTC
Changed the header, output is now
------------------------------------------------------------------
19 PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/net-im/gaim/files/gaim-2.0.0_beta3-icq.patch
20
21 ======================================
22 patching file src/protocols/oscar/family_feedbag.c
23 Hunk #1 FAILED at 936.
24 1 out of 1 hunk FAILED -- saving rejects to file src/protocols/oscar/family_feedbag.c.rej
25 ======================================
------------------------------------------------------------------

But the patch applies fine, if I do it manually. What's wrong there?
Comment 5 Miles Robinson 2006-10-13 05:21:18 UTC
This patch seems unnecessary, ICQ support compiles and functions fine even without it being applied. I simply commented out the line for it in the ebuild, ran a digest, merged, and it's all good, able to login on my ICQ account fine. But then again, I don't really have more than 1 person on my ICQ account, and he's not on right now, but I do see my complete listing of long-inactive buddies in addition to him when I enable "Show Offline Buddies". Is the patch even necessary anymore?
Comment 6 Kathryn Kulick (RETIRED) gentoo-dev 2006-10-13 05:25:06 UTC
Terribly sorry for the trouble guys, I removed the patches after looking closer they were pointless....
Comment 7 Mihai Moldovan 2006-10-13 05:27:48 UTC
Right, thank you. The file that has to be patched is already in the right format.
No problem though. :)
Comment 8 Miles Robinson 2006-10-13 05:33:59 UTC
(In reply to comment #6)
> Terribly sorry for the trouble guys, I removed the patches after looking closer
> they were pointless....
> 

Thanks for being so quick, and it's no trouble at all.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-10-13 10:23:52 UTC
*** Bug 151197 has been marked as a duplicate of this bug. ***
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-10-13 15:25:22 UTC
*** Bug 151237 has been marked as a duplicate of this bug. ***