6b18 build problems
Andrew John Hughes
gnu_andrew at member.fsf.org
Mon Mar 1 13:31:27 PST 2010
On 19 February 2010 23:28, Matthias Klose <doko at ubuntu.com> wrote:
> seen some build problems with 6b18
>
> - ant-1.8 returns an error code != 0 calling ant -diagnostics,
> breaking the build. if this is intended, then we need a
> workaround in openjdk.
>
1.8 works fine here. The Gentoo build had to request the xerces and
xalan tasks for 1.8 explicitly, but otherwise works. Looks like a
distro packaging issue or Ant bug rather than an OpenJDK or IcedTea
bug.
> - cacao build failure when configured with
> --with-openjdk=/usr/lib/jvm/java-6-openjdk
> --with-hotspot-build=original
> --with-additional-vms=cacao
> works with a two stage build using gcj.
>
Fixed. The build relied on the contents of lib/rt. What actually
ended up in there depended on the compiler and which classes it
compiled. In the case of OpenJDK builds, a speedup was added so these
bootstrap classes weren't build as they are already in the bootstrap
JDK. It now uses rt.jar, which will either be the OpenJDK symlinked
one or the updated version produced by rt.stamp for gcj builds. A
no-bootstrap --enable-cacao build worked for me with this fix, where
previously it crashed out unable to find java.lang.Object.
> details:
>
> http://launchpadlibrarian.net/39430688/buildlog_ubuntu-lucid-armel.openjdk-6_6b18~pre1-0ubuntu1_FAILEDTOBUILD.txt.gz
>
> - make jtregcheck starts rebuilding the whole openjdk again. apparently
> an out of date stamp, or a missing stamp. still searching for this one.
> any ideas?
>
Three problems, all on top of each other:
- icedtea-against-icedtea was a pseudo-target rather than a stamp and
so was always being rebuilt. It's now a stamp.
- Likewise, tools.jar is now tools.stamp. When tools.jar changed from
a regular file to a symlink, the timestamp of rt.jar was used by make,
which is updated after plugs.stamp is built. Having to rebuild plugs
causes a domino effect leading to icedtea being rebuilt.
- There was a typo in plugin.stamp so plugin.stamp was never created
but icedtea-plugin.stamp was.
All the above are now fixed and a make jtreg goes straight into building jtreg.
> Matthias
>
--
Andrew :-)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
More information about the distro-pkg-dev
mailing list