Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79158 - dev-util/subversion-1.1.1-r3 fails to build on amd64 with USE=java
Summary: dev-util/subversion-1.1.1-r3 fails to build on amd64 with USE=java
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-22 16:43 UTC by Jaco Kroon
Modified: 2006-08-26 23:17 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 Jaco Kroon 2005-01-22 16:43:37 UTC
subversion fails to build, it fails with:

BlameCallback.lo -c /var/tmp/portage/subversion-1.1.1-r3/work/subversion-1.1.1/subversion/bindings/java/javahl/native/BlameCallback.cpp
In file included from /var/tmp/portage/subversion-1.1.1-r3/work/subversion-1.1.1/subversion/bindings/java/javahl/native/BlameCallback.cpp:23:
/var/tmp/portage/subversion-1.1.1-r3/work/subversion-1.1.1/subversion/bindings/java/javahl/native/JNIUtil.h:28:16: list: No such file or directory
/var/tmp/portage/subversion-1.1.1-r3/work/subversion-1.1.1/subversion/bindings/java/javahl/native/JNIUtil.h:35:19: fstream: No such file or directory
/var/tmp/portage/subversion-1.1.1-r3/work/subversion-1.1.1/subversion/bindings/java/javahl/native/JNIUtil.h:37:18: string: No such file or directory
In file included from /var/tmp/portage/subversion-1.1.1-r3/work/subversion-1.1.1/subversion/bindings/java/javahl/native/BlameCallback.cpp:23:
/var/tmp/portage/subversion-1.1.1-r3/work/subversion-1.1.1/subversion/bindings/java/javahl/native/JNIUtil.h:74: error: `std::string' has not been declared
/var/tmp/portage/subversion-1.1.1-r3/work/subversion-1.1.1/subversion/bindings/java/javahl/native/JNIUtil.h:74: error: ISO C++ forbids declaration of `buffer' with no type
/var/tmp/portage/subversion-1.1.1-r3/work/subversion-1.1.1/subversion/bindings/java/javahl/native/JNIUtil.h:87: error: ISO C++ forbids declaration of `list' with no type
/var/tmp/portage/subversion-1.1.1-r3/work/subversion-1.1.1/subversion/bindings/java/javahl/native/JNIUtil.h:87: error: invalid use of `::'
/var/tmp/portage/subversion-1.1.1-r3/work/subversion-1.1.1/subversion/bindings/java/javahl/native/JNIUtil.h:87: error: expected `;' before '<' token
/var/tmp/portage/subversion-1.1.1-r3/work/subversion-1.1.1/subversion/bindings/java/javahl/native/JNIUtil.h:116: error: ISO C++ forbids declaration of `ofstream' with no type
/var/tmp/portage/subversion-1.1.1-r3/work/subversion-1.1.1/subversion/bindings/java/javahl/native/JNIUtil.h:116: error: invalid use of `::'
/var/tmp/portage/subversion-1.1.1-r3/work/subversion-1.1.1/subversion/bindings/java/javahl/native/JNIUtil.h:116: error: expected `;' before "g_logStream"
make: *** [subversion/bindings/java/javahl/native/BlameCallback.lo] Error 1


I'm not sure whether it's related (or of any use for that matter) but libtool also issues quite a few warnings of libraries that "seems to have moved".

compiling with USE="-java" resolves the problem (which is fine for me).  I've got blackdown-jdk-1.4.2.01 installed.

Reproducible: Always
Steps to Reproduce:
1. emerge subversion with java USE flag set.




Portage 2.0.51-r14 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20040808-r1, 2.6.10 x86_64)
=================================================================
System uname: 2.6.10 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 11 2004, 01:14:36)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.90.0.1.1-r3
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa berkdb bitmap-fonts cdr crypt cups directfb
emul-linux-x86 f77 fam font-server gif gpm imagemagick imlib java jp2 jpeg
libwww lzw lzw-tiff motif mozilla multilib mysql ncurses nptl opengl pam png
python readline sdl ssl tiff truetype truetype-fonts type1-fonts usb userlocales
xml xml2 xmms xpm xrandr xv zlib"
Unset:  LDFLAGS

In addition I have

dev-util/subversion apache2 bash-completion

in /etc/portage/package.use
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2005-01-25 12:16:45 UTC
It seems that the system can not find what appear to be c++ headers. Have you got any kind of strange environment? It might also help if you attach the full build output (I cannot really dignose the problem further).
Comment 2 Jaco Kroon 2005-01-25 21:13:01 UTC
I'll try to capture it this evening.  My guess is simply that Java on amd64 isn't working 100% correctly yet (I don't recall explicitly installing a JVM, so why is the java use flag set by default in the first place ...?).  Also, I forgot to check what happens with MAKEOPTS="-j1" to disable parallel building.  But it failed too concistently imho to be a concurrency issue.
Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2005-01-26 02:23:17 UTC
The error is definately in c++ code. For some reason the compiler can not find the header files. As your capture does not include the compiler command I cannot begin to speculate why this goes wrong. The easiest guess would be that your c++ compiler is fucked up.
Comment 4 Jaco Kroon 2005-01-26 04:02:33 UTC
Whoa.  Watch the language there.

I'll check into it, but my C++ compiler is working for everything else.  I'll retry on that particular machine.
Comment 5 Jaco Kroon 2005-03-11 03:44:28 UTC
Managed to solve this, can't remember exactly how but I think it was something with the java 1.4 vs 1.5 issues.  I'm going to close this for now.
Comment 6 Jaco Kroon 2006-08-26 23:17:19 UTC
No longer applicable.