Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270171 - dev-java/jdbc-mysql-5.1.6 fails to build with gcj
Summary: dev-java/jdbc-mysql-5.1.6 fails to build with gcj
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Java team
Depends on:
Reported: 2009-05-17 12:03 UTC by Aleksandr Yakimov
Modified: 2009-05-17 13:00 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 Aleksandr Yakimov 2009-05-17 12:03:37 UTC
[echo] Compiling class files to ./build/mysql-connector-java-5.1.6...

     [echo] This version of MySQL Connector/J requires a compiler from Java-1.4 or Java-1.5 to be used, set your JAVA_HOME property to point to one of these versions of the JDK.
     [echo] Compiling this version also requires Java-6 for compiling the JDBC-4.0 implementation, please set the full path to the javac executable with the property "com.mysql.jdbc.java6.javac"
     [echo] and the full path to the rt.jar from Java-6 with the property "com.mysql.jdbc.java6.rtjar".

Reproducible: Always

Steps to Reproduce:
emerge -av dev-java/jdbc-mysql

GENTOO_VM=gcj-jdk  CLASSPATH="" JAVA_HOME="/usr/lib/gcj-jdk-4.3"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"

Portage 2.2_rc33 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r2 x86_64)
System uname: Linux-2.6.28-gentoo-r2-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-gentoo-2.0.0
Timestamp of tree: Sat, 16 May 2009 17:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.6.2
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-O3 -pipe -march=native -mtune=native"
CONFIG_PROTECT="/etc /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -pipe -march=native -mtune=native"
FEATURES="candy ccache distlocks fixpackages multilib-strict parallel-fetch prelink preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
LINGUAS="ru en"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/usr/local/portage/layman/kde-testing /usr/local/portage/layman/science /usr/local/portage/layman/java-overlay /usr/local/portage/layman/sunrise /usr/local/portage/layman/voip /usr/local/portage"
USE="3dnow 3dnowext 7zip R X Xaw3d a52 aac acl acpi additions akode alsa amarok amd64 amr amrnb amrwb ansi ao aotuv apache2 async audiofile audit automount bash-completion beagle berkdb bidi bl blas boost branding bzip2 cairo caps catalogs ccache cdda cddb cdio cdparanoia cdr chm clearcase cli console consolekit context cracklib crypt cscope css ctype cups cupsddk curl cvs cyrillic d dbus dbx dga dhcp dia divx djvu doc double-precision dri dts dv dvd dvdr dvdread dx dynamicplugin ebook elf emboss emerald emovix enca encode evo exif expat extensions extra extrafilters extramodules extras fam fame fbcon fbcondecor ffmpeg fftw firefox flac flexresp flexresp2 fontconfig foomaticdb fortran fpx ftp fuse galago games gcl gdbm geoip ggi gif gimp glep glib glitz glut gmail gmedia gmp gnuplot gnutls google-gadgets gphoto2 gpm graphics graphviz gs gsl gtk h323 hal hdri hipe humanities hyperestraier iconv id3 idea idn ieee1394 image imagemagick imlib inkjar inotify int64 iproute2 ipv6 isdnlog ithreads jadetex java java5 java6 jbig jce jpeg jpeg2k justify kde kdehiddenvisibility kexi kpathsea kpoll lame lapack largeterminal latex lcms libffi libnotify linux-smp-stats live lm_sensors logrotate lyx lzo mad mailwrapper math mbox md5sum mecab midi mikmod mjpeg mktemp mmap mmx mmxext mng mod_muc mod_pubsub modplug moonlight motif mp2 mp3 mp3rtp mp4 mpeg mpi mpi-threads mplayer mudflap multilib musepack music mysql ncurses neXt nemesi nethack network network-cron nfs nls nptl nptlonly nsplugin numeric nxclient oav objc objc++ ogg ole omega openal openexr opengl openmp openssl oscar pam pango pascal passwdqc paste64 pch pcre pda pdf perforce perfprofiling perl php pic plasma plotutils plugins png pnm posix postscript povray ppds pppd prelude pstricks publishers python q32 q8 qt3support qt4 quicktime radio radius rar rdesktop react readline realmedia reflection resolvconf restrict rle rtc ruby samba sasl science sdl sendmail sensord server session silc slang slp smp sndfile snmp solver sound soundex soup sox speex spell spl spoof-source sql sqlite srt sse sse2 ssl startup-notification subversion svg swat sysfs syslog tcl tcpd tcpwrapper teamarena tex4ht tga theora threads threadsonly thunderbird tidy tiff timestats tk tools tracker truetype ucs2 unicode urandom usb utempter vcd verse vhosts vim vim-pager vim-syntax vim-with-x vorbis vorbis-psy wavpack web webinterface winbind wma wmf wmp wxwindows x264 x86emu xanim xattr xcb xcomposite xetex xine xml xmldoclet xorg xpm xscreensaver xulrunner xv xvid xvmc yv12 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="event" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2009-05-17 12:06:52 UTC
Please test using something else than gcj. It's known not to be able to emerge everything.
Comment 2 Aleksandr Yakimov 2009-05-17 12:35:04 UTC
(In reply to comment #1)
> Please test using something else than gcj. It's known not to be able to emerge
> everything.
With dev-java/sun-jdk:1.5 it works, but I suppose that IcedTea6 should be enough.
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2009-05-17 13:00:38 UTC
Feel free to submit patches that fix it for gcj but I am afraid we in the Java team won't have time to look into fixing it for gcj any time soon.