poudriere: setting up jail failes

Matthias Apitz guru at unixarea.de
Sat Aug 9 18:50:15 UTC 2014


El día Friday, August 08, 2014 a las 02:27:40PM -0500, Bryan Drewery escribió:

> On 8/8/2014 1:57 PM, Matthias Apitz wrote:
> > And, btw., why is poudriere removing all the jail when an error occures?
> > Wouldn't it be better to let it there to have a look into and remove it
> > on the next run?
> 
> Yes I agree this should probably change. I'll evaluate it after the 3.1
> release which is the major focus right now. The jail command has a lot
> of issues with building and error handling.

I have updated last night the host to 'head' and poudriere itself to
poudriere-devel-3.0.99.20140801. Compiling the ports in the jail makes
progress, as always with some hick-ups in the ports itself.

I have one fundamental question, maybe a missunderstanding of poudriere:

When I run 'poudriere options ...' it is not using the toolchain in the
jail:

# uname -a
FreeBSD vm-tiny-r269739 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r269739: Sat Aug  9 07:07:40 CEST 2014     guru at vm-tiny-r269739:/usr/obj/usr/src/sys/GENERIC  i386
$ 

# poudriere version
3.1-pre
# poudriere options -c -j freebsd-head -p ports-head x11/kde4

brings up the Options menu of x11/kde4 and when you look
with ps, it uses /usr/local/bin/dialog4ports for this:

# ps ax | fgrep dialog
92303  3  I+     0:00,00 /usr/local/bin/dialog4ports

when I terminate the dialog, it seems that the pkg-* tools
are used (which ofc are not installed on the host):

===> Setting user-specified options for kde-4.12.5 and dependencies
/usr/local/sbin/pkg-static: not found
make[1]: "/usr/local/poudriere/ports/ports-head/Mk/bsd.openssl.mk" line 99: warning: Couldn't read shell's output for "/usr/local/sbin/pkg-static  which -qo /usr/local/lib/libcrypto.so || :"
/usr/local/sbin/pkg-static: not found

What I'm doing wrong or have understand wrong?

Thanks

	matthias

-- 
Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: guru at unixarea.de     |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X    - No proprietary attachments
phone: +49-170-4527211       |  / \   - Respect for open standards
                             | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign


More information about the freebsd-current mailing list