Poudriere is a BSD-licensed utility for creating and testing FreeBSD packages. It uses FreeBSD jails to set up isolated compilation environments. These jails can be used to build packages for versions of FreeBSD that are different from the system on which it is installed, and also to build packages for i386 if the host is an amd64 system. Once the packages are built, they are in a layout identical to the official mirrors. These packages are usable by pkg(8) and other package management tools.
-a armv5
, if build error occures -a arm.armv5
.I have very little exposure to arm and don't know the difference between armv5 and armv6... is it like the difference between i386 and amd64? I don't suppose armv6 pkgs could run on armv5...Building ARMV6 Ports on FreeBSD with Poudriere
It’s an older how to, Poudriere on a FreeBSD 10.1 installation, but it might come handy.
poudriere jail -c -j 101arm -m svn -a arm.arm -v release/11.0.0
pkg install qemu-user-static
Are you sure this is the entire message ? I would expect the following message :tells me that I need to install
The binmiscctl(8) step is explained in the blog post given by T-Daemon.You need to install the qemu-user-static package or setup an emulator with binmiscctl(8)
You don’t need to. You can select which packages to build. See EXAMPLES section of poudriere(0)
[Specify a list of ports you want to build]
Create a flat text file in which you put the ports you want to see built
by poudriere.
echo 'sysutils/screen' > ~/pkglist
echo 'editors/vim' >> ~/pkglist
test a single port
This second example show how to use poudriere for a single port.
Let's take the example of building a single port;
poudriere testport -o category/port -j myjail
This posting might be helpfull.tells me that I need to install
pkg install qemu-user-static
which I have previously installed and I'm told the most recent version of the package is already installed.
poudriere jail -c -j 110arm -m svn -a arm.arm -v release/11.0.0
This was because lint was not found. It has been removed from 12.0.Failed to 'make buildworld'
Never use any of the /release/* tags. Use /releng/11.0 for 11.0-RELEASE.
poudriere jail -c -j 110arm -m svn -a arm.arm -v releng/11.0
Failed to 'make buildworld'
Yes, I can't get 11.2 or 12.0 working on my GoFlexHome unit. I can build both, but get kernel panics as soon as I login, or interrupt storms which make the system unusable, and have no way of diagnosing the problems. Those problems do not appear on 11.0.Have you any particular reasons to try using releng/11.0 (EoL since November 30, 2017) instead of releng/11.2 ?
% svn checkout https://svn.FreeBSD.org/base/releng/11.0 /some/path/freebsd-src
% cd /some/path/freebsd-src
% patch -p0 -i lint.patch
% rm lint.patch
# poudriere jail -x -m src=/some/path/freebsd-src -b -c -j 110arm -a arm.arm
-- snip --
[00:17:50] Recording filesystem state for clean... done
[00:17:50] Jail 110arm 11.0-RELEASE-p16 1100122 arm is ready to be used
-b
option to force building from source. -x
flag added (see this post)