Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jan 2017 11:26:45 -0500
From:      Paul Mather <paul@gromit.dlib.vt.edu>
To:        Tijl Coosemans <tijl@FreeBSD.org>
Cc:        Mark Martinec <Mark.Martinec+freebsd@ijs.si>, ports@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: Does building linux packages under poudriere require linux compatibility emulation?
Message-ID:  <308E7994-9C4F-462F-B7AD-8CB88D00B4B5@gromit.dlib.vt.edu>
In-Reply-To: <20170114151142.205b9b4b@kalimero.tijl.coosemans.org>
References:  <82be98ff42ad41e6ba73927eb54ed2ce@ijs.si> <20170114151142.205b9b4b@kalimero.tijl.coosemans.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 14, 2017, at 9:11 AM, Tijl Coosemans <tijl@FreeBSD.org> wrote:

> On Sat, 14 Jan 2017 01:07:09 +0100 Mark Martinec =
<Mark.Martinec+freebsd@ijs.si> wrote:
>> When building packages under poudriere on 11.0-RELEASE-p7 (from a=20
>> command line in a terminal window) I'm noticing occasional streams of
>> diagnostic:
>>=20
>>   ELF binary type "3" not known.
>>=20
>> which seem to be related to building some linux packages (example =
below,
>> parallel builds). Poudriere still reports success for these builds.
>>=20
>> The host where poudriere is running does not have linux.ko loaded.
>>=20
>> Does building such packages really require linuxilator configured
>> on the build host ???
>=20
> 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=3Dyes
> in /etc/rc.conf.


The only thing you need on the host is to have the linux kernel module =
loaded.  (You don't need to have any Linux packages installed there.)  =
The default setting in /usr/local/etc/poudriere.conf is to have =
NOLINUX=3Dyes commented out, i.e., Linux support in Poudriere is enabled =
unless you explicitly disable it.

The easiest way to load the linux kernel module on the host for use with =
Poudriere is to add it to the "kld_list" setting in /etc/rc.conf, e.g.,

	kld_list=3D"linux"


Cheers,

Paul.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?308E7994-9C4F-462F-B7AD-8CB88D00B4B5>