Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287794 - app-office/openoffice-3.1.1 Error code 1, while making '../../../../../../unxlngx6.pro/misc/sdbc_hsqldb_dummy.java'
Summary: app-office/openoffice-3.1.1 Error code 1, while making '../../../../../../un...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-05 17:12 UTC by Randall Wald
Modified: 2011-02-13 17:44 UTC (History)
2 users (show)

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


Attachments
The last 900 KB of the build log for the failed ebuild (build.log.tail,900.00 KB, text/plain)
2009-10-05 17:22 UTC, Randall Wald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Randall Wald 2009-10-05 17:12:02 UTC
I'm not sure what's causing the build failure; I can attach the log (built using MAKEOPTS="-j1" sudo emerge -1 openoffice), but it's not really clear what's going on.

emerge --info
Portage 2.2_rc39 (default/linux/amd64/10.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 04 Oct 2009 17:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.gtlib.gatech.edu/pub/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.osuosl.org/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US en ja"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/local/portage/layman/java-overlay /usr/local/portage/layman/sunrise /usr/local/portage/layman/jokey /usr/local/portage/layman/serkan-overlay /usr/local/portage/layman/thpani /usr/local/portage/layman/haskell /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="64bit 7zip X a52 aac aalib acl acpi aim alsa amarok amazon amd64 animgif anthy audacious bash-completion berkdb bidi bittorrent bluetooth branding bzip2 cairo cdaudio cdda cddb cdparanoia cdr cjk cli console consolekit cracklib crypt css cups dbus dict directfb divx djvu dri dts dvd dvdnav dvdr dvi eds emboss encode exif fam fat fbcon fbcondecor fbsplash ffmpeg flac fortran ftp gdbm gif gimp gimpprint glitz glsa gmail gnome gpm gs gstreamer gtk hal hdaps hddtemp hfs ibmacpi iconv icq icu idea ieee1394 imagemagick immqt-bc ipv6 ipw4965 isdnlog jabber java javascript jingle john jpeg kerberos kpathsea lame laptop latex ldap libcaca libnotify lm_sensors lua mad matroska md5sum mikmod mmx mng modules mono mp3 mp4 mpeg mplayer msn mtp mudflap multilib musicbrainz mysql ncurses nethack nls nptl nptlonly nsplugin ntfs offensive ogg opengl openmp openssl opensslcrypt openvpn pam pcmcia pcre pdf perl pidgin png pop ppds pppd prediction prime python qt3support qt4 quicktime rar raw readline realmedia reflection reiserfs sdl server session smapi spell spl sse sse2 ssl stream svg sysfs tcpd theora threads thunar thunderbird tiff timidity tracker truetype uim unicode usb vim-syntax vim-with-x visualization vlm vorbis wav wifi wma wmp wordperfect wxwindows x264 xcb xcomposite xml xorg xscreensaver xulrunner xv xvid yahoo 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 mmap_emul 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="synaptics evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en ja" USERLAND="GNU" VIDEO_CARDS="vesa vga i810 i830 intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Randall Wald 2009-10-05 17:22:47 UTC
Created attachment 206151 [details]
The last 900 KB of the build log for the failed ebuild
Comment 2 Hanno Zysik (geki) 2009-10-09 11:04:05 UTC
StorageAccess.java:43: cannot access org.hsqldb.lib.Storage
bad class file: /usr/share/hsqldb/lib/hsqldb.jar(org/hsqldb/lib/Storage.class)
class file has wrong version 50.0, should be 49.0

I just heard about this in #gentoo-java last days. :)
Another round of java class version update errors ...

I wonder if there is a script to check consistency of java class version versus build jdk.
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-10-09 14:52:45 UTC
(In reply to comment #2)
> StorageAccess.java:43: cannot access org.hsqldb.lib.Storage
> bad class file: /usr/share/hsqldb/lib/hsqldb.jar(org/hsqldb/lib/Storage.class)
> class file has wrong version 50.0, should be 49.0

Mostly an instance of bug 161622
 
> I just heard about this in #gentoo-java last days. :)
> Another round of java class version update errors ...

I don't think this is related to removal of 1.4. Hsqldb was apparently built with java6 use flag (although it's not in the global USE posted). For some reason, 1.5 is selected to build openoffice. Either the user already unmerged all 1.6 jdk's or has some specific configuration in /etc/java-config-2/build
With defaults this should not occur.

> I wonder if there is a script to check consistency of java class version versus
> build jdk.

Don't think so :/ bug 161622
Comment 4 Randall Wald 2009-10-09 16:15:48 UTC
(In reply to comment #3)
> I don't think this is related to removal of 1.4. Hsqldb was apparently built
> with java6 use flag (although it's not in the global USE posted). For some
> reason, 1.5 is selected to build openoffice. Either the user already unmerged
> all 1.6 jdk's or has some specific configuration in /etc/java-config-2/build
> With defaults this should not occur.

I have a 1.6 JDK, namely icedtea6-1.6.1. The OpenOffice build might not like non-Sun JDKs, though.
Comment 5 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-10-12 08:09:26 UTC
I'm sorry, the java-config build defaults are wrong, icedtea6 is not there so it prefers sun-jdk which you have only in 1.5. I'll get it updated in future java-config.
Meanwhile, please put this in /etc/java-config-2/build/jdk.conf:
*=icedtea6
Comment 6 Manfred Knick 2009-11-04 10:58:19 UTC
(In reply to comment #3)

> ... Hsqldb ...
> with java6 use flag

Hints in

 http://bugs.gentoo.org/show_bug.cgi?id=271449#c6
Comment 7 Andreas Proschofsky (RETIRED) gentoo-dev 2009-11-28 21:34:57 UTC
Is this still considered a problem?
Comment 8 Andreas Proschofsky (RETIRED) gentoo-dev 2011-02-13 17:44:40 UTC
No feedback for like ever, closing