Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge icedtea failes - gcj: No such file or directory
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
bookwood
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2005
Posts: 76
Location: Dortmund

PostPosted: Mon Jul 29, 2013 10:59 am    Post subject: emerge icedtea failes - gcj: No such file or directory Reply with quote

I tried to emerge icedtea on a fresh installed Gentoo KVM guest. It failed to compile package dev-java/ecj-gcj-3.6-r1
Code:
>>> Unpacking source...
>>> Unpacking ecjsrc-3.6.zip to /var/tmp/portage/dev-java/ecj-gcj-3.6-r1/work
>>> Source unpacked in /var/tmp/portage/dev-java/ecj-gcj-3.6-r1/work
>>> Preparing source in /var/tmp/portage/dev-java/ecj-gcj-3.6-r1/work ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-java/ecj-gcj-3.6-r1/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-java/ecj-gcj-3.6-r1/work ...
 * bootstrapping ecj with /usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3/gcj -C --encoding=ISO-8859-1 ...
/var/tmp/portage/dev-java/ecj-gcj-3.6-r1/temp/environment: line 3887: /usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3/gcj: No such file or directory
 * ERROR: dev-java/ecj-gcj-3.6-r1 failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 3887:  Called die
 * The specific snippet of code:
 *       ${javac} ${javac_opts} $(find org/ -name '*.java') || die;
 *
 * If you need support, post the output of `emerge --info '=dev-java/ecj-gcj-3.6-r1'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/ecj-gcj-3.6-r1'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =ecj-gcj-3.6
 * The complete build log is located at '/var/tmp/portage/dev-java/ecj-gcj-3.6-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/ecj-gcj-3.6-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-java/ecj-gcj-3.6-r1/work/bootstrap'
 * S: '/var/tmp/portage/dev-java/ecj-gcj-3.6-r1/work'

>>> Failed to emerge dev-java/ecj-gcj-3.6-r1, Log file:

>>>  '/var/tmp/portage/dev-java/ecj-gcj-3.6-r1/temp/build.log'

 * Messages for package dev-java/ecj-gcj-3.6-r1:

 * ERROR: dev-java/ecj-gcj-3.6-r1 failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 3887:  Called die
 * The specific snippet of code:
 *       ${javac} ${javac_opts} $(find org/ -name '*.java') || die;
 *
 * If you need support, post the output of `emerge --info '=dev-java/ecj-gcj-3.6-r1'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/ecj-gcj-3.6-r1'`.
 * The complete build log is located at '/var/tmp/portage/dev-java/ecj-gcj-3.6-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/ecj-gcj-3.6-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-java/ecj-gcj-3.6-r1/work/bootstrap'
 * S: '/var/tmp/portage/dev-java/ecj-gcj-3.6-r1/work'
localhost ~ #


here is my emerge --info
Code:

localhost ~ # emerge --info
Portage 2.1.12.2 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.15-r3, 3.8.13-gentoo x86_64)
=================================================================
System uname: Linux-3.8.13-gentoo-x86_64-Intel_Xeon_E312xx_-Sandy_Bridge-with-gentoo-2.2
KiB Mem:     1024740 total,    219716 free
KiB Swap:    1048572 total,   1048188 free
Timestamp of tree: Mon, 29 Jul 2013 09:15:02 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5, 3.2.5-r1
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3, 4.7.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.netcologne.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://192.168.100.1/gentoo-portage"
USE="X acl amd64 berkdb bindist bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 java mmx modules mudflap multilib native ncurses nls nptl openmp pam pcre readline session sse sse2 ssl tcpd unicode zlib" ABI_X86="64" 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" APACHE2_MODULES="alias autoindex auth_basic rewrite proxy proxy_ajp proxy_balancer proxy_connect proxy_http authz_host dir mime negotiation" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON



Whats wrong?
Thanks in advance
Back to top
View user's profile Send private message
DaggyStyle
Advocate
Advocate


Joined: 22 Mar 2006
Posts: 4883

PostPosted: Mon Jul 29, 2013 11:20 am    Post subject: Reply with quote

is gcc is compiled with the gcj flag?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 1559
Location: Berlin, Germany

PostPosted: Mon Jul 29, 2013 12:53 pm    Post subject: Reply with quote

Code:
 sys-devel/gcc:            4.6.3, 4.7.3
and especially, is the gcc version which is currently selected in gcc-config built with gcj USE flag?
Back to top
View user's profile Send private message
bookwood
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2005
Posts: 76
Location: Dortmund

PostPosted: Wed Aug 14, 2013 3:03 pm    Post subject: Reply with quote

I solved the problem. I tried to save diskspace and mount /var/tmp/portage as an nfs share into my kvm guest. I created a new disk and mount it in the kvm guest, everything is fine now.

Portage on nfs is not a good idea. :?
Back to top
View user's profile Send private message
DaggyStyle
Advocate
Advocate


Joined: 22 Mar 2006
Posts: 4883

PostPosted: Wed Aug 14, 2013 5:59 pm    Post subject: Reply with quote

bookwood wrote:
I solved the problem. I tried to save diskspace and mount /var/tmp/portage as an nfs share into my kvm guest. I created a new disk and mount it in the kvm guest, everything is fine now.

Portage on nfs is not a good idea. :?

worked ok for me when I used it as binhost.

it depends on what you are trying to do
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum