poudriere ports -c ... checks out the base system instead of the ports

Matthias Apitz guru at unixarea.de
Wed Dec 30 14:22:55 UTC 2015


Hello,

I run into the following problem:

# poudriere version
3.2-pre

(installed from ports)

# pkg info
dialog4ports-0.1.5_2           Console Interface to configure ports
pkg-1.6.2                      Package manager
poudriere-devel-3.1.99.20151204 Port build and test system

# uname -a
FreeBSD poudriere-amd64 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r292778:
Mon Dec 28 05:45:37 CET 2015
root at poudriere-amd64:/usr/local/r292778/obj/usr/local/r292778/src/sys/GENERIC
amd64

When I now want to creat the ports it does not checkout the ports tree, but
the base system:

# poudriere ports -c -v -p ports-20151230 -m svn+http
[00:00:00] ====>> Checking out the ports tree...
A    usr/local/poudriere/ports/ports-20151230/sys
A    usr/local/poudriere/ports/ports-20151230/sys/kern
A    usr/local/poudriere/ports/ports-20151230/sys/kern/kern_ktr.c
A    usr/local/poudriere/ports/ports-20151230/sys/kern/kern_fork.c
A    usr/local/poudriere/ports/ports-20151230/sys/kern/init_main.c
A    usr/local/poudriere/ports/ports-20151230/sys/kern/kern_sharedpage.c
A    usr/local/poudriere/ports/ports-20151230/sys/kern/subr_prf.c
A    usr/local/poudriere/ports/ports-20151230/sys/kern/subr_taskqueue.c
A    usr/local/poudriere/ports/ports-20151230/sys/kern/kern_sig.c
A    usr/local/poudriere/ports/ports-20151230/sys/kern/kern_thr.c
A    usr/local/poudriere/ports/ports-20151230/sys/kern/kern_sysctl.c
A    usr/local/poudriere/ports/ports-20151230/sys/kern/vfs_bio.c
A    usr/local/poudriere/ports/ports-20151230/sys/kern/sys_process.c
A    usr/local/poudriere/ports/ports-20151230/sys/kern/kern_rctl.c
A    usr/local/poudriere/ports/ports-20151230/sys/kern/kern_thread.c
A    usr/local/poudriere/ports/ports-20151230/sys/kern/kern_tc.c
A    usr/local/poudriere/ports/ports-20151230/sys/kern/kern_physio.c
A    usr/local/poudriere/ports/ports-20151230/sys/kern/kern_time.c
A    usr/local/poudriere/ports/ports-20151230/sys/kern/kern_linker.c
A    usr/local/poudriere/ports/ports-20151230/sys/kern/subr_uio.c
A    usr/local/poudriere/ports/ports-20151230/sys/kern/imgact_aout.c
^Csvn: E200015: Caught signal

----- Forwarded message from Matthias Apitz <guru at unixarea.de> -----

Date: Wed, 30 Dec 2015 08:16:48 +0100
From: Matthias Apitz <guru at unixarea.de>
To: freebsd-ports at freebsd.org
Subject: running poudriere jail -c ... and poudriere ports -c ... in parallel


Hello,

Last night I was creating a new jail and ports with poudriere this way:

# poudriere jail -c -j freebsd-r292778 -m svn+http -v head at r292778

# poudriere ports -c -p ports-20151229 -m svn+http -B head

the latter in parallel from another session because the creation of the
jail took some hours (4:28h on my Dell M4400);

when I wanted to start the jail this morning the usual way, it says:

# poudriere bulk -f /usr/local/etc/poudriere-list -J 4 -j freebsd-r292778 -p ports-20151229
[00:00:00] ====>> Creating the reference jail... done
[00:00:19] ====>> Mounting system devices for freebsd-r292778-ports-20151229
[00:00:19] ====>> Mounting ports/packages/distfiles
[00:00:19] ====>> Using packages from previously failed build
[00:00:19] ====>> Mounting packages from: /usr/local/poudriere/data/packages/freebsd-r292778-ports-20151229
/etc/resolv.conf -> /usr/local/poudriere/data/.m/freebsd-r292778-ports-20151229/ref/etc/resolv.conf
[00:00:19] ====>> Starting jail freebsd-r292778-ports-20151229
make: cannot open /usr/ports/Mk/bsd.port.mk.
[00:00:19] ====>> Cleaning up
[00:00:19] ====>> Umounting file systems

I looked into this and it turned out that the dir /usr/local/poudriere/ports/ports-20151229 
does not contain a checked out ports tree, but something which looks a
the base system (I forgot to make a 'svnlite info' there).

What does this mean? Is it somehow not allowed to run the both commands
in parallel? I could not see any hint about this in the man page.

	matthias


-- 
Matthias Apitz, ✉ guru at unixarea.de, 🌐 http://www.unixarea.de/  ☎ +49-176-38902045
_______________________________________________
freebsd-ports at freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"

----- End forwarded message -----

-- 
Matthias Apitz, ✉ guru at unixarea.de, 🌐 http://www.unixarea.de/  ☎ +49-176-38902045
«(über die DDR)... Und allein dieser Mangel (an Sozialismus) und nichts anderes führte zum Tod.
Und wer da nicht trauert, hat kein Herz, und wer da nicht neu anpackt, hat auch keins verdient.»
«(sobre la RDA)... Y solo esta escasez (de socialismo) y no otra cosa, le llevó a la muerte.
Y quien no está de luto, no tiene corazón, y quien no se lanza a luchar de nuevo, no se merece
corazón.», junge Welt del 3 de octubre 2015, p. 11


More information about the freebsd-current mailing list