From owner-freebsd-ports@freebsd.org Sat Jan 14 22:26:39 2017 Return-Path: Delivered-To: freebsd-ports@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 33162CB02BC for ; Sat, 14 Jan 2017 22:26:39 +0000 (UTC) (envelope-from timon@timon.net.nz) Received: from flare.plasmahost.ru (static.155.109.4.46.clients.your-server.de [46.4.109.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 83CE818BA for ; Sat, 14 Jan 2017 22:26:37 +0000 (UTC) (envelope-from timon@timon.net.nz) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=timon.net.nz; s=dkim; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:To:Subject:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=0nlghEIDuwfVaC48jJWofTTqhLDfoePIgNfytTMM8jM=; b=NOMdwqM2lt8l4wvDT81gEwzZiu eVb5Ds+SUvfKMc+VVbIXObUbF2YUaB8uwfIcZ+9ejEeLHlj8xxW8AXexADyNouumCD+b48EZPssZa tXzkhSn/fCbwE2mS8cJYPcjWAo1vLQtc4KdeFOzYA/1hTpCLDdF+J9/PttUwsgDifNIU=; Received: from [193.41.76.135] (helo=tim.timon.net.nz) by flare.plasmahost.ru with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.88 (FreeBSD)) (envelope-from ) id 1cSW8Z-000Nt0-0U for freebsd-ports@freebsd.org; Sat, 14 Jan 2017 21:45:23 +0000 Subject: Re: Does building linux packages under poudriere require linux compatibility emulation? To: freebsd-ports@freebsd.org References: <82be98ff42ad41e6ba73927eb54ed2ce@ijs.si> From: Timon Message-ID: Date: Sun, 15 Jan 2017 00:45:21 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <82be98ff42ad41e6ba73927eb54ed2ce@ijs.si> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jan 2017 22:26:39 -0000 On 14/01/2017 03:07, Mark Martinec wrote: > Does building such packages really require linuxilator configured > on the build host ??? No, it doesn't require linuxulator to be configured, but require linux.ko (and linux64.ko if your host is amd64) to be loaded. Poudriere load linux.ko, but doesn't load linux64. Try this patch: --- /usr/local/share/poudriere/common.sh.orig +++ /usr/local/share/poudriere/common.sh @@ -1686,6 +1686,9 @@ jail_start() { if [ "${arch}" = "i386" -o "${arch}" = "amd64" ]; then needfs="${needfs} linprocfs" sysctl -n compat.linux.osrelease >/dev/null 2>&1 || kldload linux + if [ "${arch}" = "amd64" ]; then + kldload linux64 + fi fi fi [ -n "${USE_TMPFS}" ] && needfs="${needfs} tmpfs" -- Aleksandr Matveev