>From 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
=>> 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_22h36m51s

where the log shows:

===========================================================================
=======================<phase: package        >============================
===>  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-freebsd12/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-freebsd12/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-freebsd12/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-freebsd12/regen:No
 such file or directory
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/python27
=>> Cleaning up wrkdir
===>  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-freebsdhead
 ...
Compiling 
/wrkdirs/usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/plat-freebsdhead/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.

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

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "[email protected]"

Reply via email to