Does building linux packages under poudriere require linux compatibility emulation?

Tijl Coosemans tijl at FreeBSD.org
Sat Jan 14 19:27:07 UTC 2017


On Sat, 14 Jan 2017 15:11:42 +0100 Tijl Coosemans <tijl at FreeBSD.org> wrote:
> On Sat, 14 Jan 2017 01:07:09 +0100 Mark Martinec <Mark.Martinec+freebsd at ijs.si> 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.


More information about the freebsd-ports mailing list