Bug 231532 - x11/kde-workspace-kde4: Seg fault while building the package with poudriere on very recent CURRENT
Summary: x11/kde-workspace-kde4: Seg fault while building the package with poudriere o...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-21 06:24 UTC by Matthias Apitz
Modified: 2018-12-19 13:52 UTC (History)
3 users (show)

See Also:
tcberner: maintainer-feedback+


Attachments
poudriere log of the failing build (337.85 KB, application/gzip)
2018-09-21 06:24 UTC, Matthias Apitz
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Apitz 2018-09-21 06:24:26 UTC
Created attachment 197293 [details]
poudriere log of the failing build

I have here a reproducible Segmentation fault in staging phase of the
port x11/kde-workspace-kde4; the full log file is attached and here:

http://www.unixarea.de/kde-workspace-kde4-4.11.22_26.log

The first few lines and the end of the log are below; any comments or
hints how to nail this down? Thanks


=>> Building x11/kde-workspace-kde4
build started at Fri Sep 21 05:23:49 CEST 2018
port directory: /usr/ports/x11/kde-workspace-kde4
package name: kde-workspace-kde4-4.11.22_26
building for: FreeBSD freebsd-r338641-ports-20180920-job-03 12.0-ALPHA5 FreeBSD 12.0-ALPHA5 1200084 amd64
maintained by: kde@FreeBSD.org
Makefile ident:      $FreeBSD: head/x11/kde-workspace-kde4/Makefile 479538 2018-09-11 18:34:27Z zeising $
Poudriere version: 3.2.99.20180601
Host OSVERSION: 1200084
Jail OSVERSION: 1200084
Job Id: 03

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200084
UNAME_v=FreeBSD 12.0-ALPHA5 1200084
UNAME_r=12.0-ALPHA5
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.99.20180601
MASTERMNT=/usr/local/poudriere/data/.m/freebsd-r338641-ports-20180920/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=screen
GID=0
UID=0
PWD=/usr/local/poudriere/data/.m/freebsd-r338641-ports-20180920/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=freebsd-r338641-ports-20180920
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/freebsd-r338641-ports-20180920/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for kde-workspace-kde4-4.11.22_26:
     GLES=on: OpenGL ES 2.0 support in kwin and kinfocenter
     GPS=on: GPS geolocation via gpsd
     KACTIVITY=on: Activity Manager daemon
     UPOWER=on: Power management via UPower
     WALLPAPERS=on: Install official KDE wallpapers
====> Multimedia support via Phonon
     GSTREAMER=off: Multimedia via Phonon-GStreamer
     VLC=on: Multimedia via Phonon-VLC
====> Options available for the group PLASMA
     PYTHON=off: Python plasmoids support
     RUBY=off: Ruby plasmoids support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
kde@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

...


-- Installing: /wrkdirs/usr/ports/x11/kde-workspace-kde4/work/stage/usr/local/share/apps/kstyle/themes/qtplastique.themerc
-- Installing: /wrkdirs/usr/ports/x11/kde-workspace-kde4/work/stage/usr/local/share/apps/kstyle/themes/qtwindows.themerc
-- Installing: /wrkdirs/usr/ports/x11/kde-workspace-kde4/work/stage/usr/local/share/apps/kstyle/themes/qtgtk.themerc
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)
===========================================================================
=======================<phase: package        >============================
===>  Building package for kde-workspace-kde4-4.11.22_26
Child process pid=81309 terminated abnormally: Segmentation fault
*** Error code 1

Stop.
make: stopped in /usr/ports/x11/kde-workspace-kde4
=>> 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 Fri Sep 21 05:40:40 CEST 2018
build time: 00:16:51
!!! build failure encountered !!!
Comment 1 Matthias Apitz 2018-09-21 07:25:48 UTC
the crashing process is 'pkg-static':

...
=======================<phase: package        >============================
===>  Building package for kde-workspace-kde4-4.11.22_26
Child process pid=67229 terminated abnormally: Segmentation fault
*** Error code 1

/var/log/messages:

Sep 21 09:19:51 jet kernel: pid 67229 (pkg-static), uid 65534: exited on signal 11

I'm trying to locate the core file ...
Comment 2 Adriaan de Groot freebsd_committer freebsd_triage 2018-09-21 09:53:44 UTC
This has been coming out of pkg-fallout for a while as well. Perhaps pou bulk -i will show something.
Comment 3 Matthias Apitz 2018-09-21 17:19:14 UTC
I run poudriere bulk with -i and when the jail came up with a shell I went to the localtion of the port and typed 'make package'; this went fine and I SCP'ed the created pkg to outside the jail and exited the jail. After this I copied over the saved pkg to the place /usr/local/poudiere/..../All and restarted the bulk building.

So, I have some kind of a solution but not the bug fixed.
Comment 4 Adriaan de Groot freebsd_committer freebsd_triage 2018-10-02 14:10:52 UTC
I can't reproduce it here; messages on the mailing list, I think, suggest it's related to pkg-devel vs. base pkg, or perhaps it's pkg in CURRENT vs pkg on 11. In any case the *crash* is in some other part of the build, not in kde-workspace itself. A pkg-person really needs to look at this.
Comment 5 Tobias C. Berner freebsd_committer freebsd_triage 2018-10-27 19:49:44 UTC
Matthias, did you get anywhere debuggin this?


mfg Tobias
Comment 6 Adriaan de Groot freebsd_committer freebsd_triage 2018-12-19 13:52:16 UTC
Closing this because KDE4 on 12- or CURRENT won't work (due to SSL) and are scheduled for removal at the end of this month.