poudriere and java/openjdk8
mikael.urankar at gmail.com
Sat Nov 14 14:42:17 UTC 2015
2015-11-14 15:11 GMT+01:00 Eugene M. Zheganin <emz at norma.perm.ru>:
> 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
> ===> Script "../../configure" failed unexpectedly.
> Please report the problem to java at FreeBSD.org [maintainer] and attach the
> 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 system
> (e.g. a /usr/local/sbin/pkg-static info -g -Ea).
> *** Error code 1
> 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.
If you build java with poudriere/qemu you need to put USE_PROCFS=no in
You also need to lower down the memory requirement to build java with qemu 
If you use poudriere with native-xtools you'll need this upstream
patch  or the one that sbruno@ submitted 
I've started to work on kodi, you can find my work in progress (and
hackish) patch at 
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 -> 
More information about the freebsd-arm