First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 142186
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andrey Kolbasenko <edge@smtn.stavropol.ru>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
full.log full log text/plain Andrey Kolbasenko 2006-07-30 11:15 0000 9.43 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 142186 depends on: Show dependency tree
Bug 142186 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-07-30 07:43 0000
101: cannot find symbol
    [javac] symbol  : method warn(java.lang.Object)
    [javac] location: interface com.mysql.jdbc.log.Log
    [javac]            
this.logger.warn(LogUtils.expandProfilerEventIfNecessary(msg));
    [javac]                 ^
    [javac]
/var/tmp/portage/jdbc-mysql-3.1.13-r1/work/mysql-connector-java-3.1.13/build/mysql-connector-java-3.1.13/com/mysql/jdbc/log/CommonsLogger.java:105:
cannot find symbol
    [javac] symbol  : method warn(java.lang.Object,java.lang.Throwable)
    [javac] location: interface com.mysql.jdbc.log.Log
    [javac]            
this.logger.warn(LogUtils.expandProfilerEventIfNecessary(msg), thrown);
    [javac]                 ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 15 errors

BUILD FAILED
/var/tmp/portage/jdbc-mysql-3.1.13-r1/work/mysql-connector-java-3.1.13/build.xml:474:
Compile failed; see the compiler error output for details.

Total time: 5 seconds

!!! ERROR: dev-java/jdbc-mysql-3.1.13-r1 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  jdbc-mysql-3.1.13-r1.ebuild, line 51:   Called eant 'dist'
  java-utils-2.eclass, line 1224:   Called die

!!! eant failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.

!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.07"
JAVACFLAGS="-source 1.3 -target 1.3" COMPILER="javac"
and of course, the output of emerge --info


gate ~ # emerge --info
Portage 2.1.1_pre4 (default-linux/x86/2005.1, gcc-4.1.1/vanilla, glibc-2.4-r3,
2.6.17-gentoo-r1 i686)
=================================================================
System uname: 2.6.17-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.1
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler
/etc/gconf /etc/java-config/vms/ /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.KOI8-R"
LC_ALL=""
LINGUAS="ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apache2 apm authdaemond berkdb bitmap-fonts cgi cli crypt cups dba
dlloader dri eds emboss encode foomaticdb fortran gd gdbm gif gpm gstreamer
gtk2 iconv ipv6 isdnlog java jpeg libg++ libwww mad mikmod mmx mp3 mysql mysqli
ncurses nls nptl nptlonly ogg oss pam pcre pdflib pear perl php5 png pop3d pppd
python qt3 qt4 quicktime readline reflection session sms spell spl sse ssl tcpd
truetype truetype-fonts type1-fonts vorbis xml xml2 xmms xorg xsl xv zlib
elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev
kernel_linux linguas_ru userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

------- Comment #1 From Josh Nichols (RETIRED) 2006-07-30 10:17:06 0000 -------
I think you truncated part of the output. Please post the full log.

------- Comment #2 From Andrey Kolbasenko 2006-07-30 11:15:55 0000 -------
Created an attachment (id=93072) [edit]
full log

------- Comment #3 From Jiří Vyskočil 2006-08-02 04:21:02 0000 -------
I have the same problem with the new -r2 revision (~x86 as well). I believe
it's related to the new java subsystem as that was the first time I noticed it
- the java fixer script (don't remember the exact name) wanted to rebuild the
package, but emerge failed (and since then it keeps failing)

------- Comment #4 From Vlastimil Babka (Caster) 2006-08-02 04:43:40 0000 -------
Looks like missing commons-logging dep. You don't hit this error if you have
commons-logging installed already, because ant startup script has it in its
CLASSPATH (it's meant for running ant with ant-tasks but it's there even
without ant-tasks installed). So it works then but the dep doesn't get
recorded...

BTW, the resulting env for this is SOURCE=TARGET="1.3" and VM=">=jre-1.2", that
doesn't seem correct to me? The jre dep should be raised to >=1.3? 

------- Comment #5 From Andrey Kolbasenko 2006-08-02 04:58:55 0000 -------
Thanks! With common-logging it builded.
I think need add dependence in ebuild..

------- Comment #6 From Josh Nichols (RETIRED) 2006-08-02 05:46:40 0000 -------
Good catch Caster. Fixed in CVS. Thanks for reporting!

------- Comment #7 From Vlastimil Babka (Caster) 2006-08-02 08:06:05 0000 -------
Actually, I think adding dep is not enough, it will still work only just
because ant will load it itself. There should be java-pkg_jar-from to get
commons-logging jar and record the deps. The same applies for at least log4j,
also provided by ant. And when it's all fixed, revbump to make people have
updated dependendies in env. I've thought how to prevent this in the future,
and came up with bug 142538.

First Last Prev Next    No search results available      Search page      Enter new bug