poudriere and java/openjdk8

Mikaël Urankar mikael.urankar at gmail.com
Tue Nov 17 09:08:26 UTC 2015


2015-11-16 9:35 GMT+01:00 Eugene M. Zheganin <emz at norma.perm.ru>:
> Hi.
>
> On 14.11.2015 19:41, Mikaël Urankar wrote:
>> Hi,
>> If you build java with poudriere/qemu you need to put USE_PROCFS=no 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]
>>
> First of all, thanks a log for your help ! I really appreciate that.
> Second, I cannot figure out the relationship of
> misc/raspberrypi-userland with other ports: it's evident that it
> contains some RPi-optimized libraries, and thus conflicts with generic
> ports. But I'm able to launch xorg using generic ones, but with
> raspberrypi-userland I'm missing the X binary itself and its driver for
> xorg (they are deinstyalled when I install raspberrypi-userland). Can
> you clarify this a bit ?
> And finally, although java/openjdk8 is now able to pass the configure
> phase, it fails with signal 11 after 24 hours of cross-compiling. I'm
> using poudriere/qemu for this. How did you manage to build it ? I was
> under the impression that I can build multimedia/kodi with your package,
> but it seems that just downloading it and putting into the poudriere
> package directory doesn't do the trick.

Can you share the log file for java? I forgot that openjdk8 binary
crashes qemu and the post-build target uses a openjdk8 binary...
You will need this patch:
http://mikael.urankar.free.fr/FreeBSD/arm/patches/java_openjdk8_qemu_2.patch


More information about the freebsd-arm mailing list