easy way to upgrade to "jailed TB"?

Oliver Lehmann oliver at FreeBSD.org
Fri Aug 3 03:36:23 EDT 2012


Hi,

I noticed, that around 2 month ago, a change to at least portbuild
was implemented, to add jail(8) support. Today I updated my scripts
directory and are now left with a non-working tinderbox.

It looke like "j" is added in front of my jail name but such a jail
does not exist in my current configuration.

What would be the best way to fix this?

portbuild + make Output:

chroot is: /usr/space/9-FreeBSD-amd64-svn
jailname is: j9-FreeBSD-amd64-svn
execute_hook: Running ./contrib/hooks/kse-fix/kse-fix.sh for  
prePortBuild with environment "PACKAGE_NAME=audacious-3.2.4  
BUILD=9-FreeBSD-amd64-svn JAIL=9-FreeBSD-amd64 PORTSTREE=svn  
CHROOT=/usr/space/9-FreeBSD-amd64-svn PORTDIR=multimedia/audacious  
PB=/usr/space TOTAL_SIZE=771858" from /usr/space/scripts.
9-FreeBSD-amd64-svn: cleaning out /usr/space/9-FreeBSD-amd64-svn/usr/local
9-FreeBSD-amd64-svn: cleaning out /usr/space/9-FreeBSD-amd64-svn/compat
9-FreeBSD-amd64-svn: cleaning out /usr/space/9-FreeBSD-amd64-svn/var/db/pkg
building audacious-3.2.4 in /usr/space/9-FreeBSD-amd64-svn
building audacious-3.2.4 in directory /usr/space/9-FreeBSD-amd64-svn
jail: unknown parameter: ip6
portbuild: Start of jail j9-FreeBSD-amd64-svn failed with return code 1
jexec: jail "j9-FreeBSD-amd64-svn" not found
jail: "j9-FreeBSD-amd64-svn" not found
tinderbuild: Creating build directory for 9-FreeBSD-amd64-svn
9-FreeBSD-amd64-svn: cleaning out /usr/space/9-FreeBSD-amd64-svn
makeBuild: extracting jail tarball
tinderbuild: Finalizing chroot environment
audacious-3.2.4 done at Fri Aug  3 09:02:21 CEST 2012
*** [audacious-3.2.4.tbz] Error code 1
1 error
`all' not remade because of errors.
ended at Fri Aug  3 09:02:23 CEST 2012
phase 0 took 00:00:46


SQL:

mysql> select * from builds\G
*************************** 1. row ***************************
           build_id: 21
         build_name: 9-FreeBSD-amd64-svn
            jail_id: 21
      ports_tree_id: 2
  build_description: FreeBSD 9 with SVN portstree
       build_status: IDLE
build_current_port: audacious-3.2.4
build_last_updated: 2012-08-03 09:02:38
build_remake_count: 0
1 row in set (0.00 sec)

mysql> select * from jails\G
*************************** 1. row ***************************
          jail_id: 21
        jail_name: 9-FreeBSD-amd64
         jail_tag: RELENG_9
  jail_last_built: 2012-07-23 13:45:13
  jail_update_cmd: NONE
jail_description: FreeBSD 9 amd64
   jail_src_mount: /mnt/files/FreeBSD/9.0/src
        jail_arch: amd64
1 row in set (0.00 sec)

mysql>


More information about the tinderbox-list mailing list