Re: debugging a run of poudriere-bulk

From: Matthias Apitz <guru_at_unixarea.de>
Date: Wed, 3 Oct 2018 22:29:59 +0200
I added the following lines to /usr/local/share/poudriere/bulk.sh to get
the env vars into the environment of pkg(8):

export DEBUG_LEVEL=4
export DEBUG_SCRIPTS=TRUE
export DEVELOPER_MODE=TRUE
export PKG_CREATE_VERBOSE=TRUE

With these the port builds fine:

# tail -f /usr/local/poudriere/data/logs/bulk/freebsd-r338641-ports-20180920/2018-10-03_22h03m46s/logs/kde-workspace-kde4-4.11.22_26.log
...

DBG(1)[94432]> PkgConfig: loading repositories in /etc/pkg/
DBG(1)[94432]> PKgConfig: loading /etc/pkg//FreeBSD.conf
DBG(1)[94432]> PkgConfig: parsing key 'FreeBSD'
DBG(1)[94432]> PkgConfig: parsing repository object FreeBSD
DBG(1)[94432]> PkgConfig: loading repositories in /usr/local/etc/pkg/repos/
DBG(1)[94432]> Creating package from stage directory: '/wrkdirs/usr/ports/x11/kde-workspace-kde4/wor
k/stage'
DBG(1)[94432]> Parsing manifest from '+MANIFEST'
DBG(3)[94432]> Manifest: found key: 'name'

...

DBG(2)[94432]> Packing file '/wrkdirs/usr/ports/x11/kde-workspace-kde4/work/stage/usr/local/share/wallpapers/stripes.png.desktop'
DBG(2)[94432]> Packing file '/wrkdirs/usr/ports/x11/kde-workspace-kde4/work/stage/usr/local/share/xsessions/kde4.desktop'
DBG(2)[94432]> Packing file '/wrkdirs/usr/ports/x11/kde-workspace-kde4/work/stage/usr/local/etc/rc.d/kdm4'
packing files         [2126]... done
packing directories      [0]: . done
===========================================================================
=>> Cleaning up wrkdir
===>  Cleaning for kde-workspace-kde4-4.11.22_26
build of x11/kde-workspace-kde4 | kde-workspace-kde4-4.11.22_26 ended at Wed Oct  3 22:15:54 CEST 2018
build time: 00:11:21

i.e. the pkg-static does not crash.

And now?

	matthias

-- 
Matthias Apitz, ✉ guru_at_unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
October 3: Day of German Unity? No! Day of taking over the GDR.
3. Oktober: Tag der Deutschen Einheit? Nein! DDR-Anschlusstag.

Received on Wed Oct 03 2018 - 18:30:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:18 UTC