Bug#347775: subversion: Debian build patches to ease back-porting
Andrew Vaughan
ajv-lists at netspace.net.au
Tue Jan 17 19:30:08 UTC 2006
On Fri, 13 Jan 2006 02:56, Blair Zajac wrote:
> Package: subversion
> Version: 1.2.0-1ubuntu1
> Severity: normal
> Tags: patch
>
> I'm a Subversion committer and working on taking the Debian Etch
> Subversion packages and back-porting them for Ubuntu Breezy Badger.
> This is a small patch to Debian's build system to make it easier and
> to document issues I ran into.
>
> It does the following:
>
> * Depend upon kaffe >= 1.1.6 as the Java bindings do not compile
> with kaffe 1.1.5.
> * Add junit to BuildDepends and pass --with-junit to configure so
> that 'make check-javahl' can be run. However, do run run the
> check during the build since it core dumps with the gij,
> java-gcj-compat and kaffe-pthreads JVMs. Sun's 1.5.0_06 JVM does
> not crash and passes the tests succesfully.
> * Have libsvn0 depend upon libapr0 (>= 2.0.55-3) so that the
> packages meet Subversion's requirement for APR 0.9.7.
> * Pass CLEANUP=true to 'make check' so directories will be removed
> after successfully passing a test, saving a large amount of disk
> space.
>
> I don't have the error handy, but g++ refuses to compile the Java
> bindings in one file because it can't cast a string to a Java string.
> Using kaffe 1.1.6 fixed this problem.
>
> Regards,
> Blair
>
I've been sitting on this reply, meaning to turn it into a patch. Blair's
recent post to #347942 has caused me to send this anyway.
Javahl 1.3.0 (pristine upstream, built from the tag) builds fine on my
Debian Etch/Sid with the latest kaffe (2:1.1.6.91-1) from unstable.
(1.2.1 also built on Sarge with a couple of minor patches, which I sent to
#271125.)
kaffe is still unable to run 'make check-javahl'.
'FATAL ERROR: No more room for local references' which is a kaffe faq [1].
Sablevm and jamvm both run the javahl tests, so the javahl tests could be
enable for the debian packages using sablevm/jamvm. However I haven't
(yet) found time to hack^W^W^W^Wpatch the svn build script to use separate
jdks for building and testing.
Also note that javahl tests fail when run as root/with fakeroot [2]. This
applies even with suns jdks. So you'll either need to fix/drop the buggy
test, or run 'make check-javahl' as an unprivileged user.
[1] http://www.kaffe.org/doc/kaffe/FAQ.references
[2] http://svn.haxx.se/dev/archive-2006-01/0365.shtml
> -- System Information:
> Debian Release: testing/unstable
> APT prefers breezy-updates
> APT policy: (500, 'breezy-updates'), (500, 'breezy-security'), (500,
> 'breezy-backports'), (500, 'breezy') Architecture: i386 (i686)
> Shell: /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.12-10-686-smp
> Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
>
> Versions of packages subversion depends on:
> ii db4.2-util 4.2.52-19ubuntu4 Berkeley v4.2 Database
> Utilities ii libapr0 2.0.55-3zajac1 the Apache
> Portable Runtime ii libc6 2.3.5-1ubuntu12 GNU C
> Library: Shared libraries an ii libdb4.2 4.2.52-19ubuntu4
> Berkeley v4.2 Database Libraries [ ii libexpat1 1.95.8-3
> XML parsing C library - runtime li ii libldap2
> 2.1.30-12 OpenLDAP libraries
> ii libneon24 0.24.7.dfsg-2 An HTTP and WebDAV client
> library ii libssl0.9.7 0.9.7g-1ubuntu1.1 SSL shared libraries
> ii libsvn0 1.2.0-1ubuntu1 shared libraries used by
> Subversio ii libxml2 2.6.21-0ubuntu1 GNOME XML library
> ii patch 2.5.9-2 Apply a diff file to an
> original ii zlib1g 1:1.2.3-3ubuntu4 compression library
> - runtime
>
> subversion recommends no packages.
>
> -- no debconf information
More information about the pkg-subversion-maintainers
mailing list