Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XGL failed patch
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
kry
n00b
n00b


Joined: 11 Oct 2006
Posts: 1

PostPosted: Sun Oct 29, 2006 11:17 pm    Post subject: XGL failed patch Reply with quote

Hi all.I searched forum but i couldn'T find any help for me..

i can't emerge xgl. i read all thing HOWTO XGL on Gentoo Linux wiki.

My first problem was about patchs.. When it was trying to emerge, it couldn't find the patchs. And then i found that msg from a forum

Quote:
In the file /usr/portage/local/layman/portage-xgl/x11-base/xgl/xgl-0.0.1_pre20060823.ebuild I had to change the PATCHES line to

PATCHES="${FILESDIR}/xgl-mesa-symlink-slang-pp-version.patch
${FILESDIR}/xgl-xinerama-20060823.patch"


and i changed as he said. (there is bug report https://bugs.gentoo.org/show_bug.cgi?id=145795 like that)

But then i had another problem.. like,


Code:
 #emerge --ask --verbose xgl compiz

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] x11-base/xgl-0.0.1_pre20061020-r1  USE="ipv6 -debug -xinerama" 0 kB [1]
[ebuild  N    ] x11-wm/compiz-0.2.0  USE="dbus svg -debug" 0 kB

Total size of downloads: 0 kB
Portage overlays:
 [1] /usr/portage/local/layman/xeffects
 [2] /usr/portage/local/layman/xeffects

Would you like to merge these packages? [Yes/No]
>>> starting parallel fetching

>>> Emerging (1 of 2) x11-base/xgl-0.0.1_pre20061020-r1 to /
 * Mesa-20061027.tar.bz2 MD5 ;-) ...                                                                              [ ok ] * Mesa-20061027.tar.bz2 RMD160 ;-) ...                                                                           [ ok ] * Mesa-20061027.tar.bz2 SHA1 ;-) ...                                                                             [ ok ] * Mesa-20061027.tar.bz2 SHA256 ;-) ...                                                                           [ ok ] * Mesa-20061027.tar.bz2 size ;-) ...                                                                             [ ok ] * xgl-20061020.tar.bz2 MD5 ;-) ...                                                                               [ ok ] * xgl-20061020.tar.bz2 RMD160 ;-) ...                                                                            [ ok ] * xgl-20061020.tar.bz2 SHA1 ;-) ...                                                                              [ ok ] * xgl-20061020.tar.bz2 SHA256 ;-) ...                                                                            [ ok ] * xgl-20061020.tar.bz2 size ;-) ...                                                                              [ ok ] * checking ebuild checksums ;-) ...                                                                              [ ok ] * checking auxfile checksums ;-) ...                                                                             [ ok ] * checking miscfile checksums ;-) ...                                                                            [ ok ] * checking Mesa-20061027.tar.bz2 ;-) ...                                                                         [ ok ] * checking xgl-20061020.tar.bz2 ;-) ...                                                                          [ ok ]>>> Unpacking source...
>>> Unpacking Mesa-20061027.tar.bz2 to /var/tmp/portage/xgl-0.0.1_pre20061020-r1/work
>>> Unpacking xgl-20061020.tar.bz2 to /var/tmp/portage/xgl-0.0.1_pre20061020-r1/work
 * Applying xgl-mesa-symlink-slang-pp-version.patch ...

 * Failed Patch: xgl-mesa-symlink-slang-pp-version.patch !
 *  ( /usr/portage/local/layman/xeffects/x11-base/xgl/files/xgl-mesa-symlink-slang-pp-version.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/xgl-0.0.1_pre20061020-r1/temp/xgl-mesa-symlink-slang-pp-version.patch-1245.out


!!! ERROR: x11-base/xgl-0.0.1_pre20061020-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  ebuild.sh, line 1255:   Called x-modular_src_unpack
  x-modular.eclass, line 271:   Called x-modular_patch_source
  x-modular.eclass, line 239:   Called epatch '/usr/portage/local/layman/xeffects/x11-base/xgl/files/xgl-mesa-symlink-slang-pp-version.patch'
  eutils.eclass, line 341:   Called die

!!! Failed Patch: xgl-mesa-symlink-slang-pp-version.patch!
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/portage/local/layman/xeffects'




The bugreport is;

Code:
***** xgl-mesa-symlink-slang-pp-version.patch *****

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

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/local/layman/xeffects/x11-base/xgl/files/xgl-mesa-symlink-slang-pp-version.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:
--------------------------
|--- xgl/GL/symlink-mesa.sh   2006-07-14 12:58:12.000000000 -0400
|+++ xgl/GL/symlink-mesa.sh.new   2006-08-26 10:22:30.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
===================================================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/local/layman/xeffects/x11-base/xgl/files/xgl-mesa-symlink-slang-pp-version.patch

===================================================
patching file GL/symlink-mesa.sh
Hunk #1 FAILED at 468.
1 out of 1 hunk FAILED -- saving rejects to file GL/symlink-mesa.sh.rej
===================================================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch < /usr/portage/local/layman/xeffects/x11-base/xgl/files/xgl-mesa-symlink-slang-pp-version.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:
--------------------------
|--- xgl/GL/symlink-mesa.sh   2006-07-14 12:58:12.000000000 -0400
|+++ xgl/GL/symlink-mesa.sh.new   2006-08-26 10:22:30.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
===================================================

PATCH COMMAND:  patch -p3 -g0 -E --no-backup-if-mismatch < /usr/portage/local/layman/xeffects/x11-base/xgl/files/xgl-mesa-symlink-slang-pp-version.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:
--------------------------
|--- xgl/GL/symlink-mesa.sh   2006-07-14 12:58:12.000000000 -0400
|+++ xgl/GL/symlink-mesa.sh.new   2006-08-26 10:22:30.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
===================================================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch < /usr/portage/local/layman/xeffects/x11-base/xgl/files/xgl-mesa-symlink-slang-pp-version.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:
--------------------------
|--- xgl/GL/symlink-mesa.sh   2006-07-14 12:58:12.000000000 -0400
|+++ xgl/GL/symlink-mesa.sh.new   2006-08-26 10:22:30.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored



/usr/portage/local/layman/xeffects/x11-base/xgl/files/xgl-mesa-symlink-slang-pp-version.patch

Code:
--- xgl/GL/symlink-mesa.sh      2006-07-14 12:58:12.000000000 -0400
+++ xgl/GL/symlink-mesa.sh.new  2006-08-26 10:22:30.000000000 -0400
@@ -468,7 +468,7 @@
     action slang_core_gc.h
     action slang_fragment_builtin_gc.h
     action slang_shader_syn.h
-    action slang_version_syn.h
+    action slang_pp_version_syn.h
     action slang_vertex_builtin_gc.h
 }



So, where is the problem.. what should i do?
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Mon Oct 30, 2006 12:34 am    Post subject: Reply with quote

That was for an older xgl ebuild... Please sync the overlay and don't modify it.. This also should be moved to Unsupported Software mods..
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Mon Oct 30, 2006 12:42 am    Post subject: Reply with quote

Moved from Desktop Environments to Unsupported Software.
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum