Re: poudriere: setting up jail failes

From: Matthias Apitz <guru_at_unixarea.de>
Date: Sat, 9 Aug 2014 20:50:08 +0200
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
Received on Sat Aug 09 2014 - 16:50:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:51 UTC