Just an update, and some added info..

> alright.. let's retry the bulk build.. it continues past dbus, but
> dies again at dbus-glib. after installing dbus-glib from the ftp
> package.. the bulk build continues.
>
> the example I've included here is from my work yesterday (with a clean
> ports tree, but the same chroot). As mentioned before, I created a
> clean chroot and ports tree last night, which I have since tested the
> bulk build on, running into the same issue. I started a bulk build on
> my laptop (with a clean -current ports tree) this morning. It hasn't
> crapped out yet, but we'll see what happens.
>
> what is going wrong here, or where am I going wrong?
> I can post my full prep/chroot/bulk-build process, if that is of
> interest please let me know.
>

so my laptop is running through the build just fine (all day). the
chroot'ed build is not, so I thought I would share my chroot process:


# here are the steps I take in preparing
# the chroot for bulk building packages.

# get the latest snapshot install sets:

  cd /exports/OpenBSD/snapshots/
  export $FTPROOT="ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/";
  ftp $FTPROOT/i386/*.tgz

---------------------------------------------------
# zero-out the old partition and mount:

  newfs wd0i
  export CHROOT="/mnt/rover"
  mount /dev/wd0i $CHROOT

---------------------------------------------------
# extract the install-sets:
# (still in .../snapshots/)

  for i in `ls *.tgz`:
    do;
    tar xzpf $i -C $CHROOT;
    done;

---------------------------------------------------
# copy over a few other files:

  cp /etc/{localtime,resolv.conf} /root/chroot/mk.conf $CHROOT/etc/
  cp /root/chroot/IN_CHROOT $CHROOT/

---------------------------------------------------
# create device nodes:

  cd $CHROOT/dev && ./MAKEDEV all

---------------------------------------------------
# get, extract and cvsup the snapshots ports tar.gz:

  cd /exports/OpenBSD/release_tar/
  tar xzpf ports.tar.gz -C $CHROOT/usr/
  cd $CHROOT/usr/ports
  export $CVSROOT="[EMAIL PROTECTED]:/cvs"
  cvs -d $CVSROOT up -dP

---------------------------------------------------
# what does mk.conf look like?

  cat $CHROOT/etc/mk.conf
    ACCEPT_JRL_LICENSE=Yes      # to build jdk for openoffice
    FETCH_PACKAGES=yes          # get a pkg before building

    WRKOBJDIR=/usr/obj/ports/   # keeping the tree clean..

    #FETCH_CMD=wget              # use wget for fetch
    #PLIST=${PORTSDIR}/plist/    # pkg_create saves plists here..
    #USE_SYSTRACE=Yes            # keeping us safe..

---------------------------------------------------
# enter the chroot:

  chroot $CHROOT /bin/ksh -l
  ldconfig /usr/lib /usr/local/lib/ /usr/X11R6/lib/

---------------------------------------------------
# what is our bulk build cmd like?
# (from root's .profile)

  alias bulk_pkg="cd /usr/ports/; make BULK=yes REPORT_PROBLEMS=true \
              REFETCH=true SUBDIRLIST=/root/package_list.txt package"

Reply via email to