Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48402 - emerge libxklavier-1.02 fails at "Applying sun-keymaps.patch"
Summary: emerge libxklavier-1.02 fails at "Applying sun-keymaps.patch"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: Sparc Linux
: High normal (vote)
Assignee: Sparc Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-19 13:55 UTC by Rich Hampton
Modified: 2004-04-24 08:54 UTC (History)
0 users

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 Rich Hampton 2004-04-19 13:55:03 UTC
When trying to emerge gnome, libxklavier-1.02 fails like this:

# emerge gnome
Calculating dependencies ...done!
>>> emerge (1 of 18) x11-libs/libxklavier-1.02 to /
>>> md5 src_uri ;-) libxklavier-1.02.tar.gz
>>> Unpacking source...
>>> Unpacking libxklavier-1.02.tar.gz to /var/tmp/portage/libxklavier-1.02/work
 * Applying sun-keymaps.patch...

 * Failed Patch: sun-keymaps.patch!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/libxklavier-1.02/temp/sun-keymaps.patch-21776.out


!!! ERROR: x11-libs/libxklavier-1.02 failed.
!!! Function epatch, Line 322, Exitcode 0
!!! Failed Patch: sun-keymaps.patch!



Reproducible: Always
Steps to Reproduce:
1.emerge gnome
2.
3.

Actual Results:  
# emerge gnome
Calculating dependencies ...done!
>>> emerge (1 of 18) x11-libs/libxklavier-1.02 to /
>>> md5 src_uri ;-) libxklavier-1.02.tar.gz
>>> Unpacking source...
>>> Unpacking libxklavier-1.02.tar.gz to /var/tmp/portage/libxklavier-1.02/work
 * Applying sun-keymaps.patch...

 * Failed Patch: sun-keymaps.patch!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/libxklavier-1.02/temp/sun-keymaps.patch-21776.out


!!! ERROR: x11-libs/libxklavier-1.02 failed.
!!! Function epatch, Line 322, Exitcode 0
!!! Failed Patch: sun-keymaps.patch!

And here's the contents of
/var/tmp/portage/libxklavier-1.02/temp/sun-keymaps.patch-21776.out

cat /var/tmp/portage/libxklavier-1.02/temp/sun-keymaps.patch-21776.
***** sun-keymaps.patch *****

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

PATCH COMMAND:  patch -p0 -g0 <
/usr/portage/x11-libs/libxklavier/files/sun-keymaps.patch

=============================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nura libxklavier-1.00/libxklavier/xklavier_config_xkb.c
libxklavier-1.00.sun/libxklavier/xklavier_config_xkb.c
|--- libxklavier-1.00/libxklavier/xklavier_config_xkb.c 2004-01-20
20:28:22.000000000 -0300
|+++ libxklavier-1.00.sun/libxklavier/xklavier_config_xkb.c     2004-03-23
11:56:10.000000000 -0300
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=============================

PATCH COMMAND:  patch -p1 -g0 <
/usr/portage/x11-libs/libxklavier/files/sun-keymaps.patch

=============================
patching file libxklavier/xklavier_config_xkb.c
Hunk #1 FAILED at 16.
1 out of 1 hunk FAILED -- saving rejects to file
libxklavier/xklavier_config_xkb.c.rej
=============================

PATCH COMMAND:  patch -p2 -g0 <
/usr/portage/x11-libs/libxklavier/files/sun-keymaps.patch

=============================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nura libxklavier-1.00/libxklavier/xklavier_config_xkb.c
libxklavier-1.00.sun/libxklavier/xklavier_config_xkb.c
|--- libxklavier-1.00/libxklavier/xklavier_config_xkb.c 2004-01-20
20:28:22.000000000 -0300
|+++ libxklavier-1.00.sun/libxklavier/xklavier_config_xkb.c     2004-03-23
11:56:10.000000000 -0300
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=============================

PATCH COMMAND:  patch -p3 -g0 <
/usr/portage/x11-libs/libxklavier/files/sun-keymaps.patch

=============================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nura libxklavier-1.00/libxklavier/xklavier_config_xkb.c
libxklavier-1.00.sun/libxklavier/xklavier_config_xkb.c
|--- libxklavier-1.00/libxklavier/xklavier_config_xkb.c 2004-01-20
20:28:22.000000000 -0300
|+++ libxklavier-1.00.sun/libxklavier/xklavier_config_xkb.c     2004-03-23
11:56:10.000000000 -0300
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=============================

PATCH COMMAND:  patch -p4 -g0 <
/usr/portage/x11-libs/libxklavier/files/sun-keymaps.patch

=============================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nura libxklavier-1.00/libxklavier/xklavier_config_xkb.c
libxklavier-1.00.sun/libxklavier/xklavier_config_xkb.c
|--- libxklavier-1.00/libxklavier/xklavier_config_xkb.c 2004-01-20
20:28:22.000000000 -0300
|+++ libxklavier-1.00.sun/libxklavier/xklavier_config_xkb.c     2004-03-23
11:56:10.000000000 -0300
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored



Expected Results:  
sun-keymaps.patch should have bee applied without error.

root # emerge info
Portage 2.0.50-r6 (default-sparc64-2004.0, gcc-3.3.3,
glibc-2.3.3_pre20040207-r0, 2.4.25-sparc)
=================================================================
System uname: 2.4.25-sparc sparc64 sun4u
Gentoo Base System version 1.4.9
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="sparc ~sparc"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=ultrasparc -pipe -fomit-frame-pointer"
CHOST="sparc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/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="-O2 -mcpu=ultrasparc -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apache2 audiofile autofs avi berkdb bonobo crypt cscope cups encode
escreen esd evo fam fbcon foomaticdb gd gdbm gif gimpprint glade gnome gnomedb
gpm gstreamer gtk gtk2 gtkhtml guile imlib java javascript jikes jpeg libgda
libwww mad md5sum mikmod motif mozcalendar mozilla mpeg mysql ncurses nls nogcj
oggvorbis openal opengl oss pam pdflib perl png python quicktime readline samba
sdl slang sparc spell ssl tcltk tcpd tiff truetype unicode vim-with-x xml2 xmms
xv zlib"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-04-19 18:25:34 UTC
sun-keymaps.patch needs an update because the source changed.
Comment 2 Todd Sunderlin (RETIRED) gentoo-dev 2004-04-24 08:54:41 UTC
The new version has the proper patch now.