From owner-freebsd-arm@freebsd.org Sat Nov 14 14:42:17 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 28668A2F10A for ; Sat, 14 Nov 2015 14:42:17 +0000 (UTC) (envelope-from mikael.urankar@gmail.com) Received: from mail-yk0-x235.google.com (mail-yk0-x235.google.com [IPv6:2607:f8b0:4002:c07::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DDEEC1805 for ; Sat, 14 Nov 2015 14:42:16 +0000 (UTC) (envelope-from mikael.urankar@gmail.com) Received: by ykdr82 with SMTP id r82so186152492ykd.3 for ; Sat, 14 Nov 2015 06:42:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=IkKwHgvBV7wEeBHB5YP10J8rQ0siBde8Z48yYWSpO6s=; b=eimwvOMJ8wDIPf2F0zs+bKM+hfuU/BzvvgiOTpZLIC3sk2OkhfClfsoVGLQISHbcrP qwc99ykbalqJIr6nMbPtD3CUEAwwPfjvXZnfR8lKeX2GVPAatviuTuI1Rs9urUDL4RC/ LL6YFRH65j20wam9gIPGWjOs/B3jXAV1wf/K/+OPNYoYCptR7s1+fJTxMynONH5Z90ZG SXSQOB4zKGaXcLRlOtH3EtMqqUDpExO3qIeqhNG2XsTeOcvDXn3fTN+VdJs2pTIxKfJN rzImGJN5NMu55ju7rPifdOpzUw0h5ykPQ9M/lrVyCWxdvTmjmWcTpBdzGzBv+3Q05ZEl mKMQ== X-Received: by 10.129.55.197 with SMTP id e188mr7896376ywa.332.1447512135965; Sat, 14 Nov 2015 06:42:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.217.17 with HTTP; Sat, 14 Nov 2015 06:41:36 -0800 (PST) In-Reply-To: <56474100.2050505@norma.perm.ru> References: <56474100.2050505@norma.perm.ru> From: =?UTF-8?Q?Mika=C3=ABl_Urankar?= Date: Sat, 14 Nov 2015 15:41:36 +0100 Message-ID: Subject: Re: poudriere and java/openjdk8 To: "Eugene M. Zheganin" Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Nov 2015 14:42:17 -0000 2015-11-14 15:11 GMT+01:00 Eugene M. Zheganin : > 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