Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 112534

Summary: gnu-classpath 0.19 - Failed Patch: 0.19-dssi.patch
Product: Gentoo Linux Reporter: Federico Fissore <federico>
Component: New packagesAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal CC: vapier
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: epatch ouput

Description Federico Fissore 2005-11-14 11:33:51 UTC
when emerging gnu-classpath 0.19
USE="debug cairo examples" ACCEPT_KEYWORDS="~x86" emerge gnu-classpath
portage complains about this:
>>> Unpacking classpath-0.19.tar.gz to /var/tmp/portage/gnu-classpath-0.19/work
 * Applying 0.19-dssi.patch ...

 * Failed Patch: 0.19-dssi.patch !
 *  ( /usr/portage/dev-java/gnu-classpath/files/0.19-dssi.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/gnu-classpath-0.19/temp/0.19-dssi.patch-21203.out


!!! ERROR: dev-java/gnu-classpath-0.19 failed.
!!! Function epatch, Line 363, Exitcode 0
!!! Failed Patch: 0.19-dssi.patch!
!!! If you need support, post the topmost build error, NOT this status message.

I'm using patch 2.5.9 and portage 2.0.51.22-r3

Reproducible: Always
Steps to Reproduce:
1. run the command USE="debug cairo examples" ACCEPT_KEYWORDS="~x86" emerge
gnu-classpath
Actual Results:  
gnu-classpath do not compile

Expected Results:  
successfully apply patch, compile and install

Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.11-gentoo-r5 i686)
=================================================================
System uname: 2.6.11-gentoo-r5 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.ngi.it/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac aalib acl acpi alsa apm audiofile avi berkdb
bitmap-fonts bzip2 cdr crypt cups curl dts dvd dvdr eds emboss encode esd
ethereal exif expat fam ffmpeg flac foomaticdb fortran gd gdbm gif glut gnome
gpm gstreamer gtk gtk2 howl idn imagemagick imlib ipv6 java jpeg junit lcms
libcaca libg++ libwww lua mad mhash mikmod mmx mng motif mozilla mp3 mpeg mysql
nas nautilus ncurses nls nvidia ogg oggvorbis openal opengl pam pcre pdflib perl
png postgres python quicktime readline real recode ruby samba sdl spell sse ssl
svg svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts vorbis
win32codecs wmf xine xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
Comment 1 Federico Fissore 2005-11-14 11:35:54 UTC
Created attachment 72887 [details]
epatch ouput
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2005-11-14 12:51:36 UTC
It seems that the stable patch does not like the dssi patch file. I added a
dependency on the latest version of patch. Thanks for reporting.
Comment 3 SpanKY gentoo-dev 2005-11-14 13:26:23 UTC
no, the 0.19-dssi.patch is fubar
'

run `dos2unix` on the file and that should fix it
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2005-11-14 13:37:41 UTC
Patch fixed.