cannot emerge openoffice due to dependency dev-java/bsh-2.0_beta4-r3 emerge failing Reproducible: Always Steps to Reproduce: 1.emerge openoffice 2. 3. Actual Results: all dependencies will be satisfied with the exception of dev-java/bsh-2.0_beta4-r3: Expected Results: build without errors ZeusGentoo ~ # emerge --info Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64) ================================================================= System uname: 2.6.25-gentoo-r7 x86_64 Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz Timestamp of tree: Mon, 22 Sep 2008 14:45:05 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r14, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=nocona" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=nocona" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://192.168.1.222/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="nl" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://192.168.1.222/gentoo-portage" USE="X acl acpi alsa amd64 artworkextra berkdb bzip2 cairo cdda cddb cdr cli cracklib crypt cups dbus dri dvd dvdr exif fam firefox fltk fontconfig fortran gcdmaster gdbm gedit gnome gnomecd gphoto2 gpm gstreamer gtk hal iconv ipv6 isdnlog java javascript jpeg jpeg2k midi mmx mudflap multilib nautilus ncurses nls nptl nptlonly nsplugin opengl openmp pam pcre perl pppd python readline reflection session spell spl sse sse2 ssl svg sysfs tcpd unicode xml xorg zlib" ALSA_CARDS="intel-hda ca0106 mpu401" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="casio fuji konica minolta" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nl" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia vesa vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY emerge output: >>> Unpacking source... * Applying bsh2.0b4-build.patch ... * Failed Patch: bsh2.0b4-build.patch ! * ( /usr/portage/dev-java/bsh/files/bsh2.0b4-build.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/dev-java/bsh-2.0_beta4-r3/temp/bsh2.0b4-build.patch-21209.out * * ERROR: dev-java/bsh-2.0_beta4-r3 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 4040: Called epatch 'src_unpack' * environment, line 1474: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!"; * The die message: * Failed Patch: bsh2.0b4-build.patch! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-java/bsh-2.0_beta4-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/bsh-2.0_beta4-r3/temp/environment'. * !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.07" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" and of course, the output of emerge --info This leads me to guess that it's a patching problem, like with tiff.
I mean this bug: http://bugs.gentoo.org/show_bug.cgi?id=238248
This affects me too. Here is the contents of /var/tmp/portage/dev-java/bsh-2.0_beta4-r3/temp/bsh2.0b4-build.patch-14212.out which the original poster omitted: PATCH COMMAND: patch -p3 -g0 -E --no-backup-if-mismatch < /usr/portage/dev-java/bsh/files/bsh2.0b4-build.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: -------------------------- |--- build.xml 2005-06-22 18:01:39.000000000 +0200 |+++ /var/tmp/portage/bsh-2.0_beta4/work/BeanShell-2.0b4/build.xml 2005-06-22 18:02:48.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/dev-java/bsh/files/bsh2.0b4-build.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: -------------------------- |--- build.xml 2005-06-22 18:01:39.000000000 +0200 |+++ /var/tmp/portage/bsh-2.0_beta4/work/BeanShell-2.0b4/build.xml 2005-06-22 18:02:48.000000000 +0200 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored
Fixed in CVS. Thanks for reporting.
You're welcome! Solution confirmed.