Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Aug 2017 00:16:07 -0700
From:      Mark Millard <markmi@dsl-only.net>
To:        Bryan Drewery <bdrewery@FreeBSD.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>
Subject:   poudriere jail -m null -v head vs. at least one port: the "-v head" is not just for "display"
Message-ID:  <EE935422-489D-4777-895E-3CC41FE552A5@dsl-only.net>

next in thread | raw e-mail | index | archive | help
=46rom man poudriere :

   jail
     These subcommands are mutually exclusive.
. . .
     -v version   Specifies which version of FreeBSD to use in the jail. =
 If
                  you are using method ftp then the version should in =
the form
                  of: 9.0-RELEASE.  If you are using method of svn then =
the
                  version should be in the form of git or svn branches:
                  stable/9 or head for CURRENT.  Other methods only use =
the
                  value for display.

Note the last sentence.

(Side note: despite that sentence poudriere fails if no -v version
is supplied in the poudriere jail command: the version file ends up
missing.)

Based on the description I tried:

poudriere jail -c -j zrFBSDx64Cjail -m null -M =
/usr/obj/DESTDIRs/clang-amd64-installworld-dist -S /usr/src -v head
poudriere ports -c -m null -M /usr/ports
/usr/bin/nohup poudriere bulk -j zrFBSDx64Cjail -f =
/root/amd64-prelim-origins.txt -w &

But got a failure:

# poudriere status -a
=3D>> Warning: Looking up all matching builds. This may take a while.
SET PORTS   JAIL           BUILD                STATUS QUEUE BUILT FAIL =
SKIP IGNORE REMAIN TIME     LOGS
-   default zrFBSDx64Cjail 2017-08-14_22h36m51s done     157   123    1  =
 33      0      0 00:47:55 =
/usr/local/poudriere/data/logs/bulk/zrFBSDx64Cjail-default/2017-08-14_22h3=
6m51s

where the log shows:

=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phas=
e: package        >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D>  Building package for python27-2.7.13_7
pkg-static: Unable to access file =
/wrkdirs/usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/plat-f=
reebsd12/IN.py:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/plat-f=
reebsd12/IN.pyc:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/plat-f=
reebsd12/IN.pyo:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/plat-f=
reebsd12/regen:No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/python27
=3D>> Cleaning up wrkdir
=3D=3D=3D>  Cleaning for python27-2.7.13_7
build of lang/python27 | python27-2.7.13_7 ended at Mon Aug 14 22:43:23 =
PDT 2017
build time: 00:01:41
!!! build failure encountered !!!


Looking around the shows use of "head" instead of "12". For example:log

Listing =
/wrkdirs/usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/plat-f=
reebsdhead ...
Compiling =
/wrkdirs/usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/plat-f=
reebsdhead/IN.py ...

I'd guess that "head" is from my :

-v head

in the poudriere jail command. If that is
right I'd need to have used -v 12 for the
jail to match what lang/python27 eventually
requires.

And trying that worked.

=3D=3D=3D
Mark Millard
markmi at dsl-only.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EE935422-489D-4777-895E-3CC41FE552A5>