/bin/sh /var/tmp/portage/dev-util/subversion-1.5.0_rc4/work/subversion-1.5.0-rc4/libtool --tag=CXX --silent --mode=compile i686-pc-linux-gnu-g++ -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.5 -I/usr/include/mysql -march=prescott -O2 -ggdb -fno-strict-aliasing -I./subversion/include -I./subversion -I/usr/include/neon -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.5 -I/usr/include/mysql -I/usr/local/include -I/opt/blackdown-jdk-1.4.2.03/include -I/opt/blackdown-jdk-1.4.2.03/include -I/opt/blackdown-jdk-1.4.2.03/include/linux -I/var/tmp/portage/dev-util/subversion-1.5.0_rc4/work/subversion-1.5.0-rc4/subversion/bindings/javahl/include -o subversion/bindings/javahl/native/DiffSummaryReceiver.lo -c /var/tmp/portage/dev-util/subversion-1.5.0_rc4/work/subversion-1.5.0-rc4/subversion/bindings/javahl/native/DiffSummaryReceiver.cpp make: *** No rule to make target `subversion/bindings/javahl/include/org_tigris_subversion_javahl_ConflictDescriptor_Action.h', needed by `subversion/bindings/javahl/native/EnumMapper.lo'. Stop. * * ERROR: dev-util/subversion-1.5.0_rc4 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 5703: Called die * The specific snippet of code: * make JAVAC_FLAGS="$(java-pkg_javac-args) -encoding iso8859-1" javahl || die "Building of Subversion JavaHL library failed"; * The die message: * Building of Subversion JavaHL library failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/dev-util:subversion-1.5.0_rc4:20080501-161427.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/subversion-1.5.0_rc4/temp/environment'. * !!! 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="" This is not a parallel build issue. Looks like it would not build headers for nested classes. I could reproduce it with sun-jdk-1.4 whereas sun-jdk-1.5 works. Therefore a workaround is "JAVA_PKG_FORCE_VM=sun-jdk-1.5 emerge subversion".
Created attachment 151595 [details, diff] Patch providing header files Patch to provide header files for nested classes. This is needed as javah from jdk 1.4 doesn't seem to generate these. The patch also adds comments to the header files where these constants originated. This ensures that the patch will fail when constants are modified. With this patch applied, subversion-1.5.0_rc4 compiled cleanly with my blackdown-jdk-1.4.2.
(In reply to comment #1) > Created an attachment (id=151595) [edit] > Patch providing header files > > Patch to provide header files for nested classes. > This is needed as javah from jdk 1.4 doesn't seem to generate these. > The patch also adds comments to the header files where these constants > originated. This ensures that the patch will fail when constants are > modified. > > With this patch applied, subversion-1.5.0_rc4 compiled cleanly with my > blackdown-jdk-1.4.2. IMO it's better to raise dependency versions.
fixed in 1.5.0_rc5
I still see this same error message with subversion-1.5.2, but in my case it does seem to be a parallel make issue. With -j3 the error occurs, with -j1 it does not. Is this a different bug?