Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177438 - emerge jogl fails: Expected "</target>" to terminate element starting on line 35.
Summary: emerge jogl fails: Expected "</target>" to terminate element starting on line...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-07 10:34 UTC by Christopher Schwan
Modified: 2007-05-07 11:55 UTC (History)
0 users

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 Christopher Schwan 2007-05-07 10:34:26 UTC
emerge jogl (ebuild from java-overlay) fails with following error:

BUILD FAILED
/var/tmp/portage/dev-java/jogl-1.1.0/work/jogl/make/build.xml:1313: The following error occurred while executing this line:
/var/tmp/portage/dev-java/jogl-1.1.0/work/jogl/make/build.xml:743: The following error occurred while executing this line:
/var/tmp/portage/dev-java/jogl-1.1.0/work/jogl/make/build.xml:694: /usr/X11R6/lib64 not found.

Total time: 1 minute 55 seconds

!!! ERROR: dev-java/jogl-1.1.0 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4870:   Called src_compile
  jogl-1.1.0.ebuild, line 64:   Called eant '-Dgentoo.classpath=/usr/share/ant-core/lib/ant-launcher.jar:/usr/share/ant-core/lib/ant.jar:/usr/share/ant-core/lib/ant-bootstrap.jar:/opt/blackdown-jdk-1.4.2.03/lib/tools.jar' '-Dantlr.jar=/usr/share/antlr/lib/antlr.jar -Djogl.cg=1 -Dx11.cg.lib=/usr/lib' '-Dgluegen.jar=/usr/share/gluegen/lib/gluegen.jar' '-Dgluegen-rt.jar=/usr/share/gluegen/lib/gluegen-rt.jar' 'all'
  java-utils-2.eclass, line 1815:   Called die

!!! eant 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/dev-java/jogl-1.1.0/temp/build.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=blackdown-jdk-1.4.2  CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"
and of course, the output of emerge --info
!!! This ebuild is from an overlay: '/usr/portage/local/layman/java-overlay'

I have added a symlink /usr/X11R6 -> /usr, which fixes this problem - but unfortunately i get another one:

BUILD FAILED
/var/tmp/portage/dev-java/jogl-1.1.0/work/jogl/make/build.xml:1313: The following error occurred while executing this line:
/var/tmp/portage/dev-java/jogl-1.1.0/work/jogl/make/build.xml:793: The following error occurred while executing this line:
/var/tmp/portage/dev-java/jogl-1.1.0/work/jogl/make/build.xml:40: Expected "</target>" to terminate element starting on line 35.

Total time: 2 minutes 2 seconds

!!! ERROR: dev-java/jogl-1.1.0 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4870:   Called src_compile
  jogl-1.1.0.ebuild, line 64:   Called eant '-Dgentoo.classpath=/usr/share/ant-core/lib/ant-launcher.jar:/usr/share/ant-core/lib/ant.jar:/usr/share/ant-core/lib/ant-bootstrap.jar:/opt/blackdown-jdk-1.4.2.03/lib/tools.jar' '-Dantlr.jar=/usr/share/antlr/lib/antlr.jar' '-Dgluegen.jar=/usr/share/gluegen/lib/gluegen.jar' '-Dgluegen-rt.jar=/usr/share/gluegen/lib/gluegen-rt.jar' 'all'
  java-utils-2.eclass, line 1815:   Called die

!!! eant 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/dev-java/jogl-1.1.0/temp/build.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=blackdown-jdk-1.4.2  CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"
and of course, the output of emerge --info
!!! This ebuild is from an overlay: '/usr/portage/local/layman/java-overlay'

Reproducible: Always

Steps to Reproduce:
1. layman -a java-overlay
2. echo "source /usr/portage/local/layman/make.conf" >> /etc/make.conf
3. emerge jogl



Portage 2.1.2.2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r2, 2.6.20-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 07 May 2007 07:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
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.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="de"
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/java-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 arts berkdb bitmap-fonts cli cracklib crypt cups dlloader dri emerald gdbm gif glitz hal iconv kde kdeenablefinal libg++ midi ncurses nls no-old-linux nptl nptlonly nvidia opengl pam pcre pdf perl ppds pppd python qt3 readline reflection samba session spl ssl svg symlink tcpd truetype truetype-fonts type1-fonts udev unicode xorg 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alistair Bush (RETIRED) gentoo-dev 2007-05-07 10:56:35 UTC
Thank you for the bug report.

I was able to reproduce the first issue.  
Will have a fix shortly (hopefully).
Comment 2 Alistair Bush (RETIRED) gentoo-dev 2007-05-07 11:31:41 UTC
jogl-1.1.0-r1 is now available in the overlay.

Hopefully it will solve your first issue with /usr/X11R6

As for the second I am unable to reproduce this.

It should also be noted that the latest ebuild now has a dependency on gluegen instead of bundling it.

Please re-open if the second issue remains. thanks
Comment 3 Christopher Schwan 2007-05-07 11:55:53 UTC
Thanks for the fix - I think i got the second issue, because i used "emerge --resume", without resuming the package emerges well.