debugging a run of poudriere-bulk

From: Matthias Apitz <guru_at_unixarea.de>
Date: Wed, 3 Oct 2018 13:41:14 +0200
Hello,


I'm trying to nail down PR 231532 of a port which fails to build in
poudriere. In the last phase of the ports build, while creating the pkg
of the built port with pkg-static, this crashes:

# tail /usr/local/poudriere/data/logs/bulk/freebsd-r338641-ports-20180920/2018-10-03_11h32m17s/logs/kde-workspace-kde4-4.11.22_26.log
Child process pid=85086 terminated abnormally: Segmentation fault
*** Error code 1

Stop.
make: stopped in /usr/ports/x11/kde-workspace-kde4
=>> Cleaning up wrkdir

# grep 85086 /var/log/messages
Oct  3 11:44:01 jet kernel: pid 85086 (pkg-static), uid 65534: exited on signal 11


How can I enter the jail interactively in the moment after the crash to rerun and
debug pkg-static?

When I run 'poudriere bulk -i ...' the port builds fine:

# poudriere bulk -i -J 1 -j freebsd-r338641 -p ports-20180920 x11/kde-workspace-kde4


# cd /usr/ports/x11/kde-workspace-kde4
# make package
gmake[1]: Leaving directory '/wrkdirs/usr/ports/x11/kde-workspace-kde4/work/.build'
install -l rs /wrkdirs/usr/ports/x11/kde-workspace-kde4/work/stage/usr/local/bin/startkde /wrkdirs/usr/ports/x11/kde-workspace-kde4/work/stage/usr/local/bin/startkde4
/bin/mkdir -p /wrkdirs/usr/ports/x11/kde-workspace-kde4/work/stage/usr/local/share/xsessions
install  -m 0644 /usr/ports/x11/kde-workspace-kde4/files/kde4.desktop /wrkdirs/usr/ports/x11/kde-workspace-kde4/work/stage/usr/local/share/xsessions
====> Compressing man pages (compress-man)
===> Staging rc.d startup script(s)
===>  Building package for kde-workspace-kde4-4.11.22_26
cp: /packages/All/kde-workspace-kde4-4.11.22_26.txz: Read-only file system
*** Error code 1

Stop.
make: stopped in /usr/ports/x11/kde-workspace-kde4

# cd /usr/ports/x11/kde-workspace-kde4
# ls -l
total 42
-rw-r--r--  1 root  wheel    5480 Sep 20 05:16 Makefile
-rw-r--r--  1 root  wheel     225 Sep 20 05:16 distinfo
drwxr-xr-x  2 root  wheel      30 Sep 20 05:16 files
-rw-r--r--  1 root  wheel     219 Sep 20 05:16 pkg-descr
-rw-r--r--  1 root  wheel  100336 Sep 20 05:16 pkg-plist
# ls -la /wrkdirs/usr/ports/x11/kde-workspace-kde4/work/pkg
total 17921
drwxr-xr-x  2 root  wheel        64 Oct  3 09:13 .
drwxr-xr-x  7 root  wheel       960 Oct  3 09:13 ..
-rw-r--r--  1 root  wheel  18346688 Oct  3 09:13 kde-workspace-kde4-4.11.22_26.txz

# scp -p /wrkdirs/usr/ports/x11/kde-workspace-kde4/work/pkg/kde-workspace-kde4-4.11.22_26.txz guru_at_192.168.2.35:/tmp

-- 
Matthias Apitz, ✉ guru_at_unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
13. August 2018: Ich würde gern einen AUSREISEANTRAG stellen.
August 13, 2018: I'd like to ask for an exit permit of this country.

Received on Wed Oct 03 2018 - 09:41:25 UTC

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