From owner-freebsd-stable@freebsd.org Sat Jan 14 14:11:46 2017 Return-Path: Delivered-To: freebsd-stable@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 C3922CAFFF9; Sat, 14 Jan 2017 14:11:46 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay116.isp.belgacom.be (mailrelay116.isp.belgacom.be [195.238.20.143]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign Organization Validation CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 122661F2A; Sat, 14 Jan 2017 14:11:45 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2DoAgBOMXpY//s+sVteGwEBAQMBAQEJA?= =?us-ascii?q?QEBgzkBAQEBAR9QgRiNWHKRIicBlQSCC4YiAoIXQBgBAgEBAQEBAQFjKIRqAQU?= =?us-ascii?q?6HCMQCxgJJQ8qHgYTiQeyeYoQAQEBAQEFAQEBAQEjiyyKLAWbOpFSdJAGkmwfO?= =?us-ascii?q?IEnKgiFJYFIPTWJGgEBAQ?= X-IPAS-Result: =?us-ascii?q?A2DoAgBOMXpY//s+sVteGwEBAQMBAQEJAQEBgzkBAQEBAR9?= =?us-ascii?q?QgRiNWHKRIicBlQSCC4YiAoIXQBgBAgEBAQEBAQFjKIRqAQU6HCMQCxgJJQ8qH?= =?us-ascii?q?gYTiQeyeYoQAQEBAQEFAQEBAQEjiyyKLAWbOpFSdJAGkmwfOIEnKgiFJYFIPTW?= =?us-ascii?q?JGgEBAQ?= Received: from 251.62-177-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.177.62.251]) by relay.skynet.be with ESMTP; 14 Jan 2017 15:11:43 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id v0EEBgYg024344; Sat, 14 Jan 2017 15:11:43 +0100 (CET) (envelope-from tijl@FreeBSD.org) Date: Sat, 14 Jan 2017 15:11:42 +0100 From: Tijl Coosemans To: Mark Martinec Cc: ports@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Does building linux packages under poudriere require linux compatibility emulation? Message-ID: <20170114151142.205b9b4b@kalimero.tijl.coosemans.org> In-Reply-To: <82be98ff42ad41e6ba73927eb54ed2ce@ijs.si> References: <82be98ff42ad41e6ba73927eb54ed2ce@ijs.si> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jan 2017 14:11:46 -0000 On Sat, 14 Jan 2017 01:07:09 +0100 Mark Martinec wrote: > When building packages under poudriere on 11.0-RELEASE-p7 (from a > command line in a terminal window) I'm noticing occasional streams of > diagnostic: > > ELF binary type "3" not known. > > which seem to be related to building some linux packages (example below, > parallel builds). Poudriere still reports success for these builds. > > The host where poudriere is running does not have linux.ko loaded. > > Does building such packages really require linuxilator configured > on the build host ??? To build a package, its dependencies need to be installed and on installation some packages may need to run certain commands and for linux packages these commands may be linux programs. So, yes, if you need to build linux packages the build host should have USE_LINUX=yes in /etc/rc.conf.