From owner-freebsd-stable@freebsd.org Sat Jan 14 19:27:07 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 23C88CAFA62; Sat, 14 Jan 2017 19:27:07 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay110.isp.belgacom.be (mailrelay110.isp.belgacom.be [195.238.20.137]) (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 57EC614E4; Sat, 14 Jan 2017 19:27:05 +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?A2CIBgCqenpY//s+sVtdGwEBAQMBAQEJA?= =?us-ascii?q?QEBgzkBAQEBAR9QgRiOSpEiJwGXD4YiAoIXRBQBAgEBAQEBAQFjKIRqAQU6HCM?= =?us-ascii?q?QCxgJJQ8qHgYTiQeyaIoFAQEBAQEFAQEBAQEjiyyKLAWbOpFSdJAGkmw2IYEnK?= =?us-ascii?q?giFJYFIPTWJGgEBAQ?= X-IPAS-Result: =?us-ascii?q?A2CIBgCqenpY//s+sVtdGwEBAQMBAQEJAQEBgzkBAQEBAR9?= =?us-ascii?q?QgRiOSpEiJwGXD4YiAoIXRBQBAgEBAQEBAQFjKIRqAQU6HCMQCxgJJQ8qHgYTi?= =?us-ascii?q?QeyaIoFAQEBAQEFAQEBAQEjiyyKLAWbOpFSdJAGkmw2IYEnKgiFJYFIPTWJGgE?= =?us-ascii?q?BAQ?= 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 20:27:03 +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 v0EJR24h029447; Sat, 14 Jan 2017 20:27:03 +0100 (CET) (envelope-from tijl@FreeBSD.org) Date: Sat, 14 Jan 2017 20:27:02 +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: <20170114202702.44add0f1@kalimero.tijl.coosemans.org> In-Reply-To: <20170114151142.205b9b4b@kalimero.tijl.coosemans.org> References: <82be98ff42ad41e6ba73927eb54ed2ce@ijs.si> <20170114151142.205b9b4b@kalimero.tijl.coosemans.org> 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 19:27:07 -0000 On Sat, 14 Jan 2017 15:11:42 +0100 Tijl Coosemans wrote: > 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. That should be linux_enable="YES" in /etc/rc.conf, not USE_LINUX.