Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225605 - sys-devel/gcc-4.3.1: gcj cannot find ecj1
Summary: sys-devel/gcc-4.3.1: gcj cannot find ecj1
Status: RESOLVED DUPLICATE of bug 220779
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-09 16:40 UTC by José Romildo Malaquias
Modified: 2008-07-23 14:03 UTC (History)
8 users (show)

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


Attachments
gcj -v out (debug.gcj.info,1.60 KB, text/plain)
2008-06-10 15:02 UTC, Sebastián Magrí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description José Romildo Malaquias 2008-06-09 16:40:10 UTC
I have just emerged gcc-4.3.1 with USE flag gcj. When trying to compiling a Java application with gcj, I get the follwoing error message:

$ gcj -o hello Hello.java 
gcj: error trying to exec 'ecj1': execvp: No such file or directory

Reproducible: Always

Steps to Reproduce:




Portage 2.1.5.4 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r4 i686)
=================================================================
System uname: 2.6.25-gentoo-r4 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz
Timestamp of tree: Mon, 09 Jun 2008 09:04:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
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.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS="x86 ~x86"
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/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS=" -march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/alt/portage.distfiles"
FEATURES="buildpkg collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pt_BR.ISO-8859-1"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en en_US pt_BR"
MAKEOPTS="-j3"
PKGDIR="/alt/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"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/enlightenment /alt/portage.local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X Xaw3d a52 aac aalib acl acpi alsa avi berkdb bluetooth branding bzip2 cairo cddb cdr cli cracklib crypt cups d dbus divx4linux djvu dlloader dri dts dvd dvdr dvdread emacs emboss encode exif fam fbcon ffmpeg fftw firefox gd gdbm gif gmp gnome gpm gtk gtk2 hal iconv imagemagick imap imlib isdnlog javascript jpeg kde kdeenablefinal kerberos libcaca libnotify mad matroska mbox midi mmx mmx2 mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre pdf plotutils png ppds pppd python qt3support quicktime readline reflection samba sdl session sound spell spl sse sse2 ssl startup-notification svg tcpd tetex threads tiff truetype unicode v4l v4l2 vim-syntax vorbis wifi win32codecs wma wmf x264 x86 xcomposite xface xft xml xml2 xorg xpm xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US pt_BR" LIRC_DEVICES="pixelview_pro" USERLAND="GNU" VIDEO_CARDS=" i810 vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-10 08:40:14 UTC
*** Bug 225709 has been marked as a duplicate of this bug. ***
Comment 2 Sebastián Magrí 2008-06-10 14:57:30 UTC
I can confirm this bug running amd64... after a revdep-rebuild and reemerge of eclipse-ecj but it's still failing.

It's similar to an upstream bug present in cygwin since 4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35923 .

Seen something in Debian and Ubuntu patches but I dont know if it could be related with this one...
"gcj-4.3: Hardcode libgcj-bc dependency, don't run dh_shlibdeps on ecj1"
It's referenced here http://patches.ubuntu.com/g/gcc-4.3/gcc-4.3_4.3.1-1ubuntu2.patchecj and here http://patches.ubuntu.com/g/gcj-4.3/gcj-4.3_4.3.0-3ubuntu2.patch
Comment 3 Sebastián Magrí 2008-06-10 15:02:37 UTC
Created attachment 156249 [details]
gcj -v out
Comment 4 Redeeman 2008-06-10 23:42:50 UTC
Here is some interresting information:
http://gcc.gnu.org/ml/java/2008-04/msg00027.html
Comment 5 Alexandre Ghisoli 2008-06-13 10:56:32 UTC
Same here, 

emerge dev-java/eclipse-ecj-3.4_rc4 and then gcc-4.3.1 did not solve the issue.
Comment 6 Matthieu Fillaud 2008-06-13 11:05:36 UTC
Same here, 
This bug also prevents the emerge of app-text/pdftk which fails with the same error.
Comment 7 Anton Romanov 2008-06-21 08:23:46 UTC
isn't it a duplicate of bug#220779 ?
Comment 8 SpanKY gentoo-dev 2008-06-22 15:05:50 UTC

*** This bug has been marked as a duplicate of bug 220779 ***