Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163969 - dev-util/eclipse-sdk-3.2.1-r1 - failed eclipse-sdk-3.2.1-build.patch
Summary: dev-util/eclipse-sdk-3.2.1-r1 - failed eclipse-sdk-3.2.1-build.patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Development Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-26 19:44 UTC by Amine Haddad
Modified: 2007-01-29 18:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
eclipse-sdk-3.2.1-build.patch-12604.out (eclipse-sdk-3.2.1-build.patch-12604.out,3.18 KB, text/plain)
2007-01-26 19:47 UTC, Amine Haddad
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Amine Haddad 2007-01-26 19:44:54 UTC
When attempting to install eclipse, it fails to apply the patch eclipse-sdk-3.2.1-build.patch.


Reproducible: Always

Steps to Reproduce:
1. emerge eclipse or emerge -uDN eclipse
2.
3.

Actual Results:  
>>> Emerging (5 of 5) dev-util/eclipse-sdk-3.2.1-r1 to /
 * eclipse-sourceBuild-srcIncluded-3.2.1.zip MD5 ;-) ...                  [ ok ]
 * eclipse-sourceBuild-srcIncluded-3.2.1.zip RMD160 ;-) ...               [ ok ]
 * eclipse-sourceBuild-srcIncluded-3.2.1.zip SHA1 ;-) ...                 [ ok ]
 * eclipse-sourceBuild-srcIncluded-3.2.1.zip SHA256 ;-) ...               [ ok ]
 * eclipse-sourceBuild-srcIncluded-3.2.1.zip size ;-) ...                 [ ok ]
 * eclipse-sdk-3.2.1-r1-patches.tar.bz2 MD5 ;-) ...                       [ ok ]
 * eclipse-sdk-3.2.1-r1-patches.tar.bz2 RMD160 ;-) ...                    [ ok ]
 * eclipse-sdk-3.2.1-r1-patches.tar.bz2 SHA1 ;-) ...                      [ ok ]
 * eclipse-sdk-3.2.1-r1-patches.tar.bz2 SHA256 ;-) ...                    [ ok ]
 * eclipse-sdk-3.2.1-r1-patches.tar.bz2 size ;-) ...                      [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking eclipse-sourceBuild-srcIncluded-3.2.1.zip ;-) ...             [ ok ]
 * checking eclipse-sdk-3.2.1-r1-patches.tar.bz2 ;-) ...                  [ ok ]
 * Checking for at least 768MBytes RAM ...                                [ !! ]
 * Don't have at least 768MBytes RAM


 * Bad things may happen! You may abort the build by pressing ctrl+c in
 * the next 15 seconds.
 *
 * To make this kind of warning a fatal error, add a line to /etc/make.conf
 * setting CHECKREQS_ACTION="error". To skip build requirements checking,
 * set CHECKREQS_ACTION="ignore".
 * Using: blackdown-jdk-1.4.2
>>> Unpacking source...
>>> Unpacking eclipse-sourceBuild-srcIncluded-3.2.1.zip to /var/tmp/portage/dev-
util/eclipse-sdk-3.2.1-r1/work
>>> Unpacking eclipse-sdk-3.2.1-r1-patches.tar.bz2 to /var/tmp/portage/dev-util/
eclipse-sdk-3.2.1-r1/work
 * Applying eclipse-sdk-3.2.1-gentoo-libswt-enableallandO2.patch ...      [ ok ]
 * Enabling CAIRO support
 * Enabling OpenGL support
 * Applying eclipse-sdk-3.2.1-build.patch ...

 * Failed Patch: eclipse-sdk-3.2.1-build.patch !
 *  ( /var/tmp/portage/dev-util/eclipse-sdk-3.2.1-r1/work/eclipse-sdk-3.2.1-buil
d.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/dev-util/eclipse-sdk-3.2.1-r1/temp/eclipse-sdk-3.2.1-build
.patch-12604.out


!!! ERROR: dev-util/eclipse-sdk-3.2.1-r1 failed.
Call stack:
  ebuild.sh, line 1611:   Called dyn_unpack
  ebuild.sh, line 748:   Called qa_call 'src_unpack'
  environment, line 4809:   Called src_unpack
  eclipse-sdk-3.2.1-r1.ebuild, line 96:   Called apply-patchset
  eclipse-sdk-3.2.1-r1.ebuild, line 157:   Called epatch '/var/tmp/portage/dev-u                                                                                                  til/eclipse-sdk-3.2.1-r1/work/eclipse-sdk-3.2.1-build.patch'
  eutils.eclass, line 341:   Called die

!!! Failed Patch: eclipse-sdk-3.2.1-build.patch!
!!! If you need support, post the topmost build error, and the call stack if rel                                                                                                  evant.
!!! A complete build log is located at '/var/tmp/portage/dev-util/eclipse-sdk-3.                                                                                                  2.1-r1/temp/build.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=blackdown-jdk-1.4.2  CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.                                                                                                  03"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info



systek ~ # emerge --info
Portage 2.1.2-r4 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-ck2-r3 i686)
=================================================================
System uname: 2.6.19-ck2-r3 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 26 Jan 2007 04:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ "
MAKEOPTS="-j2"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aac aalib acpi aim alsa animgif berkdb bitmap-fonts cairo cdr cli cracklib crypt css cups divx dlloader dri dvd dvdr dvdread ffmpeg fortran gdbm gif gpm iconv icq id3 imagemagick ipod ipv6 isdnlog jpeg jpeg2k kde kdeenablefinal lame libg++ mmx mmxext mp3 mp4 mp4live mpeg mpeg2 mplayer msn ncurses nls nptl nptlonly nvidia ogg opengl pam pcre pdf perl png ppds pppd python qt3 qt4 rar readline reflection rt2500pci session spell spl ssl subtitles tcpd truetype truetype-fonts type1-fonts udev unicode win32codecs wma wmp x86 xine xinerama xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

-----

!!! When you file a bug report, please include the following information:
GENTOO_VM=blackdown-jdk-1.4.2  CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.                                                                                                  03"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
Comment 1 Amine Haddad 2007-01-26 19:47:00 UTC
Created attachment 108227 [details]
eclipse-sdk-3.2.1-build.patch-12604.out
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2007-01-28 00:16:06 UTC
The weirdest thing is that this has not been touched in a while:
http://viewcvs.gentoo.org/viewcvs.py/gentoo-x86/dev-util/eclipse-sdk/
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2007-01-28 13:22:19 UTC
Ok. I found a workaround. For some reason the behaviour of popd ad pushd has changed in the ebuild. Might have something to do with a newer bash version etc. Will leave this open to investigate why it actually fails.
Comment 4 Amine Haddad 2007-01-28 18:15:08 UTC
I have also tried to install previous version of eclipse and they also fail upon using their own patches. I figured it was the patch program being corrupt, so I ran emerge -1 patch and it was still failing to apply the patch.
Comment 5 Felix Wieczorek 2007-01-29 08:21:46 UTC
It's strange, yesterday (28.1.07) I got the same error... Today (29.1.07) it works, although nothing changed in portage concerning eclipse or java, I even made no update.
Comment 6 Amine Haddad 2007-01-29 08:34:00 UTC
The ebuild was updated around 19 hours ago, an emerge --sync would have downloaded the latest ebuild (although no eclipse version change has occured), which applies the patch just fine. The problem had something to do with popd not going back to the working directory (for more information, check the cvs repo that Petteri pointed out earlier).
Comment 7 Petteri Räty (RETIRED) gentoo-dev 2007-01-29 18:36:51 UTC
Ok. The cause was recent a change breaking java-pkg-jar-from. There was one conditional return which did not call popd before the return.