From owner-freebsd-arm@freebsd.org Tue Nov 17 09:08:26 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 44EB2A3030A for ; Tue, 17 Nov 2015 09:08:26 +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 072451CB2 for ; Tue, 17 Nov 2015 09:08:26 +0000 (UTC) (envelope-from mikael.urankar@gmail.com) Received: by ykdv3 with SMTP id v3so2469763ykd.0 for ; Tue, 17 Nov 2015 01:08:25 -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=yOzqN1WiE7rmO8UtiSjA1LmvOR4LLNbj2VZVStDLTaI=; b=BMyk9g+h+5WWverpKcxDAHJR5mCH5SBSZ5KRm24tuGq7zIGjGUBOevUvXb95i4WXp7 1/dtmOAR+y/SwVkyJdJBuG8e3ypVImo5eodqF960cjM2A8PJKjk/zf5x8jxQHiCz8Ilb Wzy/eEVALYrJrP7iJaKYgv5MSlE/Sylyej6orW5NbW7Cej/SZA1+cMQtVhPZzWTwMU1w 7kqyyGTyTXyLzYhVEGYvEYXxbCmYrUNV7wA0L3XPZF9qLbJeHFsA0tBzrHCmMtgVLnBy WNtwrXR3vMoJfoxQl5nYQjrQK3Jv2jHsf0lxZiTdfUlLfRfujCauHE7cp2S9hIC6fxG6 hkXQ== X-Received: by 10.129.55.197 with SMTP id e188mr20467133ywa.332.1447751305311; Tue, 17 Nov 2015 01:08:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.217.17 with HTTP; Tue, 17 Nov 2015 01:07:45 -0800 (PST) In-Reply-To: <56499558.9020100@norma.perm.ru> References: <56474100.2050505@norma.perm.ru> <56499558.9020100@norma.perm.ru> From: =?UTF-8?Q?Mika=C3=ABl_Urankar?= Date: Tue, 17 Nov 2015 10:07:45 +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: Tue, 17 Nov 2015 09:08:26 -0000 2015-11-16 9:35 GMT+01:00 Eugene M. Zheganin : > Hi. > > On 14.11.2015 19:41, Mika=C3=ABl Urankar wrote: >> 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 qe= mu [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.patc= h