Build of jjtraveler-0.4.3 ebuild fails during make with a sed error message. Reproducible: Always Steps to Reproduce: 1. emerge jjtraveler Actual Results: ... make[1]: Entering directory `/var/tmp/portage/dev-java/jjtraveler-0.4.3/work/JJTraveler-0.4.3/scripts' sed 's@__PREFIX__@/usr@g;\ s@__VERSION__@0.4.3@g;' < jjtraveler-config.sh.src > jjtraveler-config && chmod +x jjtraveler-config sed: -e expression #1, char 57: unterminated address regex make[1]: *** [jjtraveler-config] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-java/jjtraveler-0.4.3/work/JJTraveler-0.4.3/scripts' make: *** [all-recursive] Error 1 Expected Results: Compile cleanly and install
Created attachment 111289 [details] Output of emerge --info
Created attachment 111291 [details, diff] Source patch to fix build problem Applying this patch in src_unpack fixes build problems for me. It changes line endings in bash that is contained in two Makefile.am files
a similar problem exists with shared-objects-1.4.ebuild
Created attachment 111320 [details] Updated ebuild to use newer java build system
Created attachment 111322 [details] Ant buildfile To be used with previously attached ebuild. Adapted from dev-java/dbunit build file.
+*jjtraveler-0.4.3-r1 (02 Apr 2007) + + 02 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> + +files/0.4.3-makefile.am.patch, +jjtraveler-0.4.3-r1.ebuild: + Migrate to generation 2 and make this compile again. Thanks to Mike Smith + <mas3f@alumni.virginia.edu>. + I decided to go with their build system as it always reduces the chance that our custom build.xml misses something. Thanks for the work. Let's get -r1 stable because the current stable does not build. Also please note that you shouldn't increase the SLOT when they are binary compatible and you only need to drop KEYWORDS with major version bumps which are likely to break.
cp: cannot stat `/usr/portage/dev-java/jjtraveler/files/0.4.3-build.xml': No such file or directory Possible you forgot the build.xml in ${FILESDIR}?
(In reply to comment #7) > cp: cannot stat `/usr/portage/dev-java/jjtraveler/files/0.4.3-build.xml': No > such file or directory > > Possible you forgot the build.xml in ${FILESDIR}? > My mind wasn't in it it seems. I used to use it but decided to go with the upstream build system and forgot to remove the cp. Fixed now.
dev-java/jjtraveler-0.4.3-r1 USE="doc source" 1. emerges on x86 2. passes test suite 3. passes collision test 4. dev-java/aterm-java-1.6 doesn't emerge (not sure if this is an aterm or jjtraveler problem): Making all in aterm make[1]: Entering directory `/var/tmp/portage/dev-java/aterm-java-1.6/work/aterm-java-1.6/aterm' Making all in . make[2]: Entering directory `/var/tmp/portage/dev-java/aterm-java-1.6/work/aterm-java-1.6/aterm' CLASSPATH=..:`/usr/bin/shared-objects-config`:`/usr/bin/jjtraveler-config` javac -d .. AFun.java ATerm.java ATermAppl.java ATermBlob.java ATermFactory.java ATermInt.java ATermList.java ATermPlaceholder.java ATermReal.java Fwd.java Visitable.java Identifiable.java Visitor.java ParseError.java Could not find package jjtraveler-0 * Home for VM 'sun-jdk-1.4' does not exist: /usr/lib/jvm/sun-jdk-1.4/ * Invalid value for GENTOO_VM: sun-jdk-1.4 make[2]: *** [classjava.stamp] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-java/aterm-java-1.6/work/aterm-java-1.6/aterm' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-java/aterm-java-1.6/work/aterm-java-1.6/aterm' make: *** [all-recursive] Error 1 !!! ERROR: dev-java/aterm-java-1.6 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 2182: Called src_compile aterm-java-1.6.ebuild, line 22: Called die Portage 2.1.2.2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19.7 i686) ================================================================= System uname: 2.6.19.7 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz Gentoo Base System release 1.12.9 Timestamp of tree: Thu, 05 Apr 2007 13:00:08 +0000 dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.3.5-r3, 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.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer" CHOST="i686-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/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--nospinner" FEATURES="collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox" GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://gentoo.inode.at/" LINGUAS="en de en_GB de_CH" MAKEOPTS="-j3" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acpi alsa apache2 asf berkdb bitmap-fonts cairo cdr cdrom cli cracklib crypt cups dbus divx dri dts dvd dvdr dvdread eds emboss encode fam ffmpeg firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde kdeenablefinal ldap libg++ mad midi mikmod mmx mono mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection rtsp ruby samba sdl session smp spell spl sse sse2 sse3 ssl svg tcpd test tetex theora threads truetype truetype-fonts type1-fonts unicode vcd vorbis wifi win32codecs wxwindows x264 x86 xine xml xorg xprint xv xvid zlib" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="en de en_GB de_CH" USERLAND="GNU" VIDEO_CARDS="i810 fbdev vesa" Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
I also get for aterm-java: Making all in config make[1]: Entering directory `/var/tmp/portage/dev-java/aterm-java-1.6/work/aterm-java-1.6/config' sed 's@__PREFIX__@/usr@g;\ s@__EXTERNAL_JARS__@`/usr/bin/shared-objects-config`:`/usr/bin/jjtraveler-config`@g;\ s@__VERSION__@1.6@g' < aterm-java-config.sh.src > aterm-java-config && chmod +x aterm-java-config sed: -e expression #1, char 145: unterminated address regex make[1]: *** [aterm-java-config] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-java/aterm-java-1.6/work/aterm-java-1.6/config' make: *** [all-recursive] Error 1
(In reply to comment #9) > Could not find package jjtraveler-0 This is problem of jjtraveler-config installed by jjtraveler, so should be fixed with revbump... > * Home for VM 'sun-jdk-1.4' does not exist: /usr/lib/jvm/sun-jdk-1.4/ > * Invalid value for GENTOO_VM: sun-jdk-1.4 Not sure about this one...
x86 stable, Java team will handle aterm java
(In reply to comment #12) > x86 stable, Java team will handle aterm java > aterm-java package.masked marked -r2 stable on amd64 and x86: + 06 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> + jjtraveler-0.4.3-r2.ebuild: + Mark 0.4.3-r2 stable on amd64 and x86 as it is identical to -r1 and makes + sure jjtraveler-config is in order (bug #168466). +