Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Nov 2015 15:41:36 +0100
From:      =?UTF-8?Q?Mika=C3=ABl_Urankar?= <mikael.urankar@gmail.com>
To:        "Eugene M. Zheganin" <emz@norma.perm.ru>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: poudriere and java/openjdk8
Message-ID:  <CAJwjRmR%2BjF_pBuf1eE3NXdC2dKvzzApt=igd8bopvuEFuBTsVw@mail.gmail.com>
In-Reply-To: <56474100.2050505@norma.perm.ru>
References:  <56474100.2050505@norma.perm.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
2015-11-14 15:11 GMT+01:00 Eugene M. Zheganin <emz@norma.perm.ru>:
> Hi,
>
> I'm trying to build multimedia/kodi for raspberry pi using multimedia.
> However, java/openjdk8 fails to build:
>
> [...]
> checking headful support... include support for both headful and headless
> configure: Found potential Boot JDK using configure arguments
> configure: Potential Boot JDK found at /usr/local/bootstrap-openjdk is
> incorrect JDK version (Error: could not find libj
> ava.so); ignoring
> configure: (Your Boot JDK must be version 7 or 8)
> configure: error: The path given by --with-boot-jdk does not contain a
> valid Boot JDK
> configure exiting with result code 1
> =3D=3D=3D>  Script "../../configure" failed unexpectedly.
> Please report the problem to java@FreeBSD.org [maintainer] and attach the
> "/wrkdirs/usr/ports/java/openjdk8/work/openjdk/common/autoconf/config.log=
"
> including the output of the failure of your make command. Also, it might =
be
> a good idea to provide an overview of all packages installed on your syst=
em
> (e.g. a /usr/local/sbin/pkg-static info -g -Ea).
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/java/openjdk8
>
> However, when building java/openjdk8 on an actual device (with all
> dependencies installed from private pkg repo, - i.e. even same
> java/bootstrap-openjdk port) it's able to pass that point (only this
> took way long). Who's bug is that, and is that a bug ? Ports, poudriere
> itself, or may be I am doing something wrong ?
>
> Right now I'm trying to build openjdk on raspberry pi using actual
> board, I hope I will be able to build the rest using a package created
> from it.

Hi,
If you build java with poudriere/qemu you need to put USE_PROCFS=3Dno in
/usr/local/etc/poudriere.conf.
You also need to lower down the memory requirement to build java with qemu =
[1]
If you use poudriere with native-xtools you'll need this upstream
patch [2] or the one that sbruno@ submitted [3]

I've started to work on kodi, you can find my work in progress (and
hackish) patch at [4]
You'll need to recompile multimedia/libass without harfbuzz option
(otherwise it will deinstall misc/raspberrypi-userland)

If you need a prebuilt package for openjdk8 -> [5]

[1] http://mikael.urankar.free.fr/FreeBSD/arm/patches/java_openjdk8_qemu.pa=
tch
[2] http://hg.openjdk.java.net/jdk9/jdk9/rev/56c1a2adf6c4
[3] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203747
[4] http://mikael.urankar.free.fr/FreeBSD/arm/patches/kodi.patch
[5] http://mikael.urankar.free.fr/FreeBSD/arm/openjdk8-8.60.24.txz

HTH,
Mika=C3=ABl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJwjRmR%2BjF_pBuf1eE3NXdC2dKvzzApt=igd8bopvuEFuBTsVw>