addPort problem

David Nelson david.nelson at gpsdo.com
Wed Mar 21 14:12:35 EDT 2012


On Wed, Mar 21, 2012 at 12:57 PM, Joe Marcus Clarke
<marcus at marcuscom.com> wrote:
>
> On 3/21/12 1:32 PM, David Nelson wrote:
> > I'm setting up my first tinderbox installation. I've been following the
> > User Guide. I've created jails, a port tree and builds. I cannot seem to
> > add ports to a build.
> >
> > nexus# ./tc tbversion
> > Tinderbox version 3.4.1
> > nexus# ./tc listJails
> > 9.0.amd64
> > 8.2.i386
> > nexus# ./tc listPortsTrees
> > FreeBSD
> > nexus# ./tc listBuilds
> > 8.2.i386-FreeBSD
> > nexus# mount
> > /dev/da0s1a on / (ufs, local)
> > devfs on /dev (devfs, local, multilabel)
> > /dev/da0s1f on /home (ufs, local, soft-updates)
> > /dev/da1s1d on /usr (ufs, NFS exported, local, soft-updates)
> > /dev/da0s1d on /var (ufs, local, soft-updates)
> > /dev/da0s1e on /var/tmp (ufs, local, soft-updates)
> > /dev/da3s1d on /mirror (ufs, local, soft-updates)
> > /dev/da2s1d on /space (ufs, local, soft-updates)
> > /mirror/FreeBSD/8.2-RELEASE/src on /space/jails/8.2.i386/src (nullfs,
> > local, read-only)
> > /mirror/FreeBSD/ports on /space/portstrees/FreeBSD/ports (nullfs, local,
> > read-only)
> > nexus# ./tc addPort -b 8.2.i386-FreeBSD -d lang/perl5.14 -O
> > nexus# ./tc listPorts
> > ERROR: There are no ports configured in the datastore.
> > nexus#
> >
> > Can anyone suggest what might be wrong here or what I should check?
>
> Can you provide a dump of your ports and build_ports tables in SQL?
> Running sh -x tc ... may also help show what's going on.
>
> Joe
>

They are empty:

mysql> show tables;
+---------------------+
| Tables_in_tinderbox |
+---------------------+
| build_groups        |
| build_ports         |
| build_ports_queue   |
| build_users         |
| builds              |
| config              |
| hooks               |
| jails               |
| logfile_patterns    |
| port_dependencies   |
| port_fail_patterns  |
| port_fail_reasons   |
| ports               |
| ports_trees         |
| user_permissions    |
| users               |
+---------------------+
16 rows in set (0.02 sec)

mysql> select * from ports;
Empty set (0.00 sec)

mysql> select * from build_ports;
Empty set (0.02 sec)

mysql>

Running "sh -x ./tc …" produces a lot of output. Should I post all
that to the list?

Dave



More information about the tinderbox-list mailing list