Solved poudriere error depends on nonexistent origin '/usr/local/sbin/pkg'

Hi,

I got the following error when I issue the command poudriere bulk -j 10_2v1 -C devel/cmake

Code:
[00:00:00] ====>> Creating the reference jail... done
[00:00:05] ====>> Mounting system devices for 10_2v1-default
[00:00:06] ====>> Mounting ports/packages/distfiles
[00:00:06] ====>> Using packages from previously failed build
[00:00:06] ====>> Mounting packages from: /usr/local/poudriere/data/packages/10_2v1-default
/etc/resolv.conf -> /usr/local/poudriere/data/.m/10_2v1-default/ref/etc/resolv.conf
[00:00:06] ====>> Starting jail 10_2v1-default
[00:00:06] ====>> Logs: /usr/local/poudriere/data/logs/bulk/10_2v1-default/2016-04-08_10h56m56s
[00:00:06] ====>> Loading MOVED
[00:00:06] ====>> Calculating ports order and dependencies
[00:00:07] ====>> Error: devel/cmake depends on nonexistent origin '/usr/local/sbin/pkg';
Please contact maintainer of the port to fix this.
[00:00:07] ====>> Error: Fatal errors encountered calculating dependencies

I have no problem when building ports-mgmt/pkg. Any inputs are welcome, thanks very much!
 
I fixed this error by updating my year-old poudriere package.
Code:
pkg install poudriere

FWIW, on a 10.1 box, it updated
Code:
pkg: 1.4.1 -> 1.7.2
poudriere: 3.1.1 -> 3.1.12_1
 
I fixed this error by updating my year-old poudriere package.
Code:
pkg install poudriere

FWIW, on a 10.1 box, it updated
Code:
pkg: 1.4.1 -> 1.7.2
poudriere: 3.1.1 -> 3.1.12_1
Thanks flebel. It turns out that the issue was the mismatching version of the host FreeBSD and jail. Once I synced those, problem solved.
 
FWIW, on a 10.1 box, it updated
Code:
pkg: 1.4.1 -> 1.7.2
poudriere: 3.1.1 -> 3.1.12_1
All supported versions of FreeBSD use the same ports tree and will therefor have the same versions. Versions of ports/packages are not depending on the version of FreeBSD as is usually common on Linux. A new version of Ubuntu for example has different versions for Apache, PHP, etc. compared to the previous version.
 
Back
Top