Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177835 - app-office/openoffice-2.2.0 build do not provide correct -source parameter
Summary: app-office/openoffice-2.2.0 build do not provide correct -source parameter
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-09 17:37 UTC by Maciej Piechotka
Modified: 2011-07-25 12:50 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Piechotka 2007-05-09 17:37:52 UTC
When I build openoffice it showed:
rm -f ../../../../unxlngi6.pro/misc/com_jclark_xsl_dummy.java >& /dev/null
rm -f ../../../../unxlngi6.pro/misc/com_jclark_xsl_dummy.java >& /dev/null
/usr/lib/gcj-4.3.0_alpha20070406/bin/javac -source  -target  -classpath ".:../../../../unxlngi6.pro/class::../../../../unxlngi6.pro/class/xt.jar" -d ../../../../unxlngi6.pro/class  dom/XmlSearchTransform.java       dom/XmlSearchXSLTransformEngine.java
source level should be comprised in between '1.3' and '1.6' (or '5', '5.0', ..., '7' or '7.0'): -target
dmake:  Error code 255, while making '../../../../unxlngi6.pro/misc/com_jclark_xsl_dummy.java'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-2.2.0/work/ooo/build/OOF680_m14/xt/src/com/jclark/xsl
make: *** [stamp/build] Error 1

Previous java files it builded correctly.

Reproducible: Always

Steps to Reproduce:
1. emerge openoffice
2.
3.




I'm using gcj but I don't think it was a root of problem(it should not affect parameters given to javac).
Tail of output: http://monoport.com/2589
Emerge --info: http://monoport.com/2590
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-09 17:41:58 UTC
Reopen once you've attached all relevant info here; never ever refer to third-party temporary links when reporting bugs. Thanks.
Comment 2 Maciej Piechotka 2007-05-09 17:45:26 UTC
As you wish - on some sites (Gentoo Forum) even to bugs they ask to do it by pastebin (I'll no use it for Gentoo Bugzilla any more).

Full tail:
399. WARNING in /var/tmp/portage/app-office/openoffice-2.2.0/work/ooo/build/OOF680_m14/xt/unxlngi6.p
ro/misc/build/xt-20051206/src/xt/java/com/jclark/xsl/trax/XTwice.java (at line 28)
        import java.net.URL;
               ^^^^^^^^^^^^
The import java.net.URL is never used
----------
----------
400. WARNING in /var/tmp/portage/app-office/openoffice-2.2.0/work/ooo/build/OOF680_m14/xt/unxlngi6.pro/misc/build/xt-20051206/src/xt/java/com/jclark/xsl/util/TextComparator.java
 (at line 23)
        locale = locale.getDefault();
                 ^^^^^^^^^^^^^^^^^^^
The static method getDefault() from the type Locale should be accessed in a static way
----------
400 problems (400 warnings)
Building jar: /var/tmp/portage/app-office/openoffice-2.2.0/work/ooo/build/OOF680_m14/xt/unxlngi6.pro/misc/build/xt-20051206/stage/xt.jar
Copying 1 file to /var/tmp/portage/app-office/openoffice-2.2.0/work/ooo/build/OOF680_m14/xt/unxlngi6.pro/class

BUILD SUCCESSFUL
Total time: 14 seconds
touch ./unxlngi6.pro/misc/build/so_installed_xt
touch ./unxlngi6.pro/misc/build/so_predeliver_xt
/var/tmp/portage/app-office/openoffice-2.2.0/work/ooo/build/OOF680_m14/xt/src/com/jclark/xsl
dmake: Executing shell macro: -+ls -1 $(JARDIR) | $(GREP) "^$i"
Making dpj...
rm -f ../../../../unxlngi6.pro/misc/com_jclark_xsl_dummy.java >& /dev/null
rm -f ../../../../unxlngi6.pro/misc/com_jclark_xsl_dummy.java >& /dev/null
/usr/lib/gcj-4.3.0_alpha20070406/bin/javac -source  -target  -classpath ".:../../../../unxlngi6.pro/class::../../../../unxlngi6.pro/class/xt.jar" -d ../../../../unxlngi6.pro/class  dom/XmlSearchTransform.java       dom/XmlSearchXSLTransformEngine.java
source level should be comprised in between '1.3' and '1.6' (or '5', '5.0', ..., '7' or '7.0'): -target
dmake:  Error code 255, while making '../../../../unxlngi6.pro/misc/com_jclark_xsl_dummy.java'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-2.2.0/work/ooo/build/OOF680_m14/xt/src/com/jclark/xsl
make: *** [stamp/build] Error 1

!!! ERROR: app-office/openoffice-2.2.0 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  openoffice-2.2.0.ebuild, line 327:   Called die

!!! Build failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/app-office/openoffice-2.2.0/temp/build.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=gcj-jdk-4.3  CLASSPATH="" JAVA_HOME="/usr/lib/gcj-4.3.0_alpha20070406"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info

$ emerge --info
Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.19-suspend2-r3 i686)
=================================================================
System uname: 2.6.19-suspend2-r3 i686 Intel(R) Celeron(R) M processor 1.50GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Wed, 09 May 2007 00:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -mmmx -msse -msse2 -mfpmath=sse -pipe -momit-leaf-frame-pointer -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -mmmx -msse -msse2 -mfpmath=sse -pipe -momit-leaf-frame-pointer -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,--as-needed -Wl,-O1"
LINGUAS="en_GB en_US pl"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/gentopia /usr/portage/local/layman/java-gcj-overlay /usr/portage/local/layman/ecatmur /usr/portage/local/layman/gnome-experimental /usr/portage/local/layman/java-overlay /usr/portage/local/layman/break-my-gentoo-main /usr/portage/local/layman/custom-kernels /usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://router.piechotka.com.pl/gentoo-portage"
USE="X aac acl acpi aiglx alsa applet avahi avalon bash-completion beagle berkdb bitmap-fonts bluetooth boo browseplugin bzip2 cairo calendar caps cddb cdparanoia cdr cli cracklib crypt cups curl curlwrappers d daap dbus devhelp disk-partition djvu doc dri dvd dvdr dvdread eclipse eds emacs emboss emerald encode esd evo evolution exif expat fam ffmpeg firefox flac flash fortran fuse galago gcj gconf gdbm gdl gedit gif gimp glut gmail gmp gnome gnutls gphoto2 gpm gsf gstreamer gtk gtkhtml hal iconv idle imap ipod iproute2 ipv6 isdnlog jabber java jpeg jpeg2k jython kerberos keyring libburn libg++ libgda libnotify libsexy logrotate lucene mad madwifi maildir mhash midi mikmod mmap mmx mono mozilla mp3 mpeg mule musicbrainz nautilus ncurses network networkmanager nfs nls nntp no-old-linux nptl nptlonly nsplugin ntpl ogg oggvorbis openal opengl pam pango pbm pcmcia pcre pdf perl png pop postgres pppd python quicktime readline reflection reiserfs rhino ruby samba scanner sdl session soap sourceview spell spl sqlite sse sse2 ssh ssl subversion svg symlink syslog tcpd tetex theora threads tiff timidity totem trayicon truetype truetype-fonts type1-fonts unicode usb vorbis vte wifi x86 xcomposite xforms xhtml xml xml2 xorg xsl xv zlib" ALSA_CARDS="atiixp" 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" CAMERAS="panasonic" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en_US pl" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Hanno Zysik (geki) 2007-05-09 18:58:21 UTC
duplicate of bug 171274
Comment 4 Maciej Piechotka 2007-05-09 19:36:39 UTC
(In reply to comment #3)
> duplicate of bug 171274
> 

Sorry - I can't see anything in common except it touch gcj and openoffice. The problem is not that it generates incorrect bytecode - it do not generate bytecode at all - the script gives wrong parameters.
Comment 5 Hanno Zysik (geki) 2007-05-09 19:41:42 UTC
Well, you cannot. I can. You use ecj to compile and openoffice is missing one configure flag discussed in that bug. ;)

Plus gcj needs another tweak that is fixed in my ebuild.
Comment 6 Maciej Piechotka 2007-05-09 19:48:16 UTC
(In reply to comment #5)
> Well, you cannot. I can. You use ecj to compile and openoffice is missing one
> configure flag discussed in that bug. ;)
> 
> Plus gcj needs another tweak that is fixed in my ebuild.
> 

Possibly - I know too less about ooo but why scrip add incorrect -source and -target?

> /usr/lib/gcj-4.3.0_alpha20070406/bin/javac -source  -target  -classpath

I guess that orginal sun will crash as well (in 171274 it has eighter syntax correct give -source and -target or it is not given at all).

However EOT - I know too less.
Comment 7 Andreas Proschofsky (RETIRED) gentoo-dev 2007-09-20 07:25:20 UTC
Not supporting gcj at this time, might do that later, closing until then
Comment 8 Tomáš Chvátal (RETIRED) gentoo-dev 2011-07-25 12:50:27 UTC
Move deprecated bugs still being marked as LATER to Fixed.