Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237982 - ERROR: kde-base/qtjava-3.5.10 failed.
Summary: ERROR: kde-base/qtjava-3.5.10 failed.
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
: 237989 (view as bug list)
Depends on:
Reported: 2008-09-18 07:27 UTC by Kamen Dokov
Modified: 2008-09-24 20:19 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Kamen Dokov 2008-09-18 07:27:57 UTC
kde-base/qtjava-3.5.10 does not compile

Reproducible: Always

Steps to Reproduce:
1.emerge qtjava

Actual Results:  
make[4]: Leaving directory `/var/tmp/portage/kde-base/qtjava-3.5.10/work/qtjava-3.5.10/qtjava/javalib/qtjava' 
Making all in org 
make[4]: Entering directory `/var/tmp/portage/kde-base/qtjava-3.5.10/work/qtjava-3.5.10/qtjava/javalib/org' 
Making all in kde 
make[5]: Entering directory `/var/tmp/portage/kde-base/qtjava-3.5.10/work/qtjava-3.5.10/qtjava/javalib/org/kde' 
Making all in qt 
make[6]: Entering directory `/var/tmp/portage/kde-base/qtjava-3.5.10/work/qtjava-3.5.10/qtjava/javalib/org/kde/qt' 
CLASSPATH=../../..:./../../..:$CLASSPATH  -d ../../..  -classpath ./../../.. -source 1.4 -target 1.4 
/bin/sh: line 2: -d: command not found 
make[6]: *** [classnoinst.stamp] Error 127 
make[6]: Leaving directory `/var/tmp/portage/kde-base/qtjava-3.5.10/work/qtjava-3.5.10/qtjava/javalib/org/kde/qt' 
make[5]: *** [all-recursive] Error 1 
make[5]: Leaving directory `/var/tmp/portage/kde-base/qtjava-3.5.10/work/qtjava-3.5.10/qtjava/javalib/org/kde' 
make[4]: *** [all-recursive] Error 1 
make[4]: Leaving directory `/var/tmp/portage/kde-base/qtjava-3.5.10/work/qtjava-3.5.10/qtjava/javalib/org' 
make[3]: *** [all-recursive] Error 1 
make[3]: Leaving directory `/var/tmp/portage/kde-base/qtjava-3.5.10/work/qtjava-3.5.10/qtjava/javalib' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory `/var/tmp/portage/kde-base/qtjava-3.5.10/work/qtjava-3.5.10/qtjava' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/kde-base/qtjava-3.5.10/work/qtjava-3.5.10' 
make: *** [all] Error 2

Expected Results:  
should compile and install without errors

felis ~ # emerge --info :

Portage 2.2_rc8 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-zen2.1 x86_64) 
System uname: Linux-2.6.26-zen2.1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-glibc2.2.5 
Timestamp of tree: Wed, 17 Sep 2008 20:04:01 +0000 
app-shells/bash:     3.2_p39 
dev-java/java-config: 1.3.7, 2.1.6-r1 
dev-lang/python:     2.5.2-r7 
sys-apps/baselayout: 2.0.0 
sys-apps/openrc:     0.2.5 
sys-devel/autoconf:  2.13, 2.62-r1 
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:   2.2.4 
virtual/os-headers:  2.6.26 
ACCEPT_KEYWORDS="amd64 ~amd64" 
CFLAGS="-march=athlon64 -O2 -msse3 -pipe -fomit-frame-pointer -ftree-vectorize -ftree-loop-linear" 
CONFIG_PROTECT="/etc /etc/env.d /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/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=athlon64 -O2 -msse3 -pipe -fomit-frame-pointer -ftree-vectorize -ftree-loop-linear -fvisibility-inlines-hidden" 
FEATURES="candy ccache distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch" 
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags" 
LINGUAS="en_GB en_US en bg" 
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" 
USE="3dnow 3dnowext X acl acpi alsa amd64 berkdb bitmap-fonts branding cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gcj gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kdeenablefinal kdehiddenvisibility ldap mad midi mikmod mmx mmxext mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ocamlopt ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl ssse3 svg tcpd threads tiff truetype truetype-fonts type1-fonts unicode vorbis xcomposite xml xorg xv zlib" ALSA_CARDS="hda-nvidia 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en_US en bg" USERLAND="GNU" VIDEO_CARDS="nvidia" 

felis ~ # java-config -L :

The following VMs are available for generation-2: 
1)      Blackdown JDK [blackdown-jdk-1.4.2] 
2)      GCJ 4.3.1 [gcj-jdk] 
*)      OpenJDK6/IcedTea6 1.2 [icedtea6] 
4)      Sun JDK [sun-jdk-1.6]

felis ~ # java-check-environment :

 * === Java Environment Checker === 
 * The purpose of this script is to check the sanity of your Java Environment. 
 * We have significantly changed and improved the way Java is handled in many 
 * respects. 
 * Please refer to our upgrade guide for details: 
 * \t 

 * Checking fastjar ...                                                                                                                              [ ok ] 

 * Checking vm_environment_files ...                                                                                                                 [ ok ] 

 * Checking user_settings ... 
 * Running as root. Don't need to check user settings.                                                                                               [ ok ] 

 * Checking generation_1_system_vm ...                                                                                                               [ ok ] 

 * Checking virtual_provides ...                                                                                                                     [ ok ] 

 * Checking overlays_eclasses ...                                                                                                                    [ ok ] 

 * Checking package_env ...                                                                                                                          [ ok ] 

 * Java environment is sane. Congratulations!

My cflags or VM does not matter at all, the error is always the same.
Comment 1 Jorge Manuel B. S. Vicetto Gentoo Infrastructure gentoo-dev 2008-09-19 23:51:38 UTC
*** Bug 237989 has been marked as a duplicate of this bug. ***
Comment 2 Kamen Dokov 2008-09-24 20:19:01 UTC
Solved it!
it`s not a Gentoo bug!
It was leftover in my /etc/java-config-2/build/jdk.conf from gcj overlay.
I commented out line *=gcj-jdk and uncommented #1.5=sun-jdk and everything went smoothly.
Thank you for your cooperation :)