cookiemonster ~ # emerge --deep jboss Calculating dependencies... done! >>> Emerging (1 of 1) www-servers/jboss-3.2.5 to / * jboss-3.2.5-src.tar.bz2 MD5 ;-) ... [ ok ] * jboss-3.2.5-src.tar.bz2 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking jboss-3.2.5-src.tar.bz2 ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking jboss-3.2.5-src.tar.bz2 to /var/tmp/portage/jboss-3.2.5/work tar: A lone zero block at 135037 >>> Source unpacked. >>> Compiling source in /var/tmp/portage/jboss-3.2.5/work/jboss-3.2.5-src ... Searching for build.xml ... Buildfile: /var/tmp/portage/jboss-3.2.5/work/jboss-3.2.5-src/build/build.xml _buildmagic:init: Trying to override old definition of task property _buildmagic:init:local-properties: [copy] Copying 1 file to /var/tmp/portage/jboss-3.2.5/work/jboss-3.2.5-src/build _buildmagic:init:buildlog: configure: [echo] groups: all [echo] modules: common,jmx,system,j2ee,naming,remoting,jmx-remoting,transaction,server,security,messaging,connector,cluster,varia,jboss.net,iiop,management,cache,tomcat,console,compatible xdoclet-task-classpath-check: init: _buildmagic:modules:most: ====================================================================== == Executing 'most' in module 'common'... == _buildmagic:init: configure: _default:task-init: xdoclet-task-classpath-check: init: _buildmagic:build-bypass-checker: _buildmagic:build-bypass-notice: _buildmagic:build-bypass-check: jars: _buildmagic:init: init: _buildmagic:mbean-bypass-checker: _default:compile-mbean-sources: [mkdir] Created dir: /var/tmp/portage/jboss-3.2.5/work/jboss-3.2.5-src/common/output/gen-src [execmodules] (XDocletMain.start 47 ) Running <mbeaninterface/> [execmodules] (TemplateSubTask.engineStarted 791 ) Generating output for 'org.jboss.util.property.jmx.SystemPropertyClassValue' using template file 'jar:file:/var/tmp/portage/jboss-3.2.5/work/jboss-3.2.5-src/thirdparty/xdoclet/xdoclet/lib/xdoclet-jmx-module-1.2.jar!/xdoclet/modules/jmx/resources/mbean.xdt'. [touch] Creating /var/tmp/portage/jboss-3.2.5/work/jboss-3.2.5-src/common/output/mbean-marker _default:compile-classes: [mkdir] Created dir: /var/tmp/portage/jboss-3.2.5/work/jboss-3.2.5-src/common/output/classes [javac] Compiling 221 source files to /var/tmp/portage/jboss-3.2.5/work/jboss-3.2.5-src/common/output/classes [execmodules] javac: target release 1.2 conflicts with default source release 1.5 BUILD FAILED /var/tmp/portage/jboss-3.2.5/work/jboss-3.2.5-src/tools/etc/buildmagic/buildmagic.ent:406: Compile failed; see the compiler error output for details. Total time: 11 seconds !!! ERROR: www-servers/jboss-3.2.5 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile jboss-3.2.5.ebuild, line 32: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. cookiemonster ~ # emerge --info Portage 2.1.1 (default-linux/ppc/ppc32/2006.1/G4, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 ppc) ================================================================= System uname: 2.6.17-gentoo-r7 ppc 7447A, altivec supported Gentoo Base System version 1.12.5 Last Sync: Tue, 19 Sep 2006 07:30:08 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.6-r1, 2.0.28-r1 dev-lang/python: 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.17 sys-devel/autoconf: 2.13, 2.59-r7 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.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe" CHOST="powerpc-unknown-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/terminfo" CXXFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LINGUAS="" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=600" 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="ppc X alsa altivec apache2 arts berkdb bitmap-fonts bonobo cdr clamav cli crypt cups curl dlloader dri dvd dvdr eds elibc_glibc emboss encode esd fam firefox fortran freetds gdbm gif gnome gpm gstreamer gtk gtkhtml iconv ieee1394 imap input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kde kernel_linux ldap libg++ libwww mad mikmod mono mozilla mp3 mpeg mysql ncurses nls nptl nptlonly objc odbc ogg opengl pam pcre pdf pdflib perl php png pppd python qt3 qt4 quicktime readline reflection ruby samba sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_fbdev video_cards_radeon video_cards_vesa vorbis xml xorg xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTDIR_OVERLAY
running ant manually in /var/tmp/portage/jboss-3.2.5/work/jboss-3.2.5-src/build yeilds this error message: [javac] WARNING [javac] The -source switch defaults to 1.5 in JDK 1.5. [javac] If you specify -target 1.2 you now must also specify -source 1.2. [javac] Ant will implicitly add -source 1.2 for you. Please change your build file. I think i know what needs to be changed just havent really got any idea of how to produce a patch file etc, its abit out of my depth (i think) though i dont mind learning how...
OK so in tools/etc/buildmagic/task.properties the following variables are set javac.target=1.2 javac.source=1.3 Is the new java layout thing preventing ant from picking these up or overriding them?
The ebuild seems to be missing java-pkg in inherit, so the env is not properly set for gen-1 JDK.
so how do i go about altering the ebuild, and any idea what to put in there or should i just wait in hope that someone will commit an updated ebuild.
Just edit the .ebuild file and change the "inherit eutils" line to "inherit eutils java-pkg". Redigest after editing. Or wait few hours and sync, as the fixed ebuilds were just commited.