Bug 325841

Summary: phonon 4.6.0 build segfault, Signal 11, on FreeBSD 10 ia64 ports
Product: [Frameworks and Libraries] Phonon Reporter: mexas
Component: generalAssignee: Harald Sitter <sitter>
Status: RESOLVED UPSTREAM    
Severity: normal CC: martin.sandsmark, myriam, romain.perier
Priority: NOR    
Version: 4.6.0   
Target Milestone: 4.6.1   
Platform: FreeBSD Ports   
OS: FreeBSD   
Latest Commit: Version Fixed In:

Description mexas 2013-10-10 11:14:45 UTC
The build is done in a clean environment with FreeBSD poudriere.
The failure is always with signal 11, but at random places, e.g.

[ 64%] Built target phonon
/usr/bin/make -f phonon/experimental/CMakeFiles/phononexperimental_automoc.dir/build.make phonon/experimental/CMakeFiles/phononexperimental_automoc.dir/depend
cd /wrkdirs/usr/ports/multimedia/phonon/work/phonon-4.6.0 && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /wrkdirs/usr/ports/multimedia/phonon/work/phonon-4.6.0 /wrkdirs/usr/ports/multimedia/phonon/work/phonon-4.6.0/phonon/experimental /wrkdirs/usr/ports/multimedia/phonon/work/phonon-4.6.0 /wrkdirs/usr/ports/multimedia/phonon/work/phonon-4.6.0/phonon/experimental /wrkdirs/usr/ports/multimedia/phonon/work/phonon-4.6.0/phonon/experimental/CMakeFiles/phononexperimental_automoc.dir/DependInfo.cmake
Scanning dependencies of target phononexperimental_automoc
/usr/bin/make -f phonon/experimental/CMakeFiles/phononexperimental_automoc.dir/build.make phonon/experimental/CMakeFiles/phononexperimental_automoc.dir/build
cd /wrkdirs/usr/ports/multimedia/phonon/work/phonon-4.6.0/phonon/experimental && /usr/local/bin/automoc4 /wrkdirs/usr/ports/multimedia/phonon/work/phonon-4.6.0/phonon/experimental/phononexperimental_automoc.cpp /wrkdirs/usr/ports/multimedia/phonon/work/phonon-4.6.0/phonon/experimental /wrkdirs/usr/ports/multimedia/phonon/work/phonon-4.6.0/phonon/experimental /usr/local/bin/moc-qt4 /usr/local/bin/cmake
Generating moc_avcapture.cpp
*** Signal 11

The full build log:

http://eis.bris.ac.uk/~mexas/phonon-4.6.0_1.log

I might be able to do further debugging,
if somebody suggests what to try.

Reproducible: Always
Comment 1 Harald Sitter 2013-10-10 11:38:29 UTC
Not a phonon bug.

So, the mentioned build log suggests moc-qt4 is going down, if it is always moc then I guess an issue with Qt/moc is most likely. Otherwise it may be any part of the build toolchain cpp/cmake/make. But really, to me it seems most likley that moc has some problem.

You could try to build without experimental, that should certainly help with pin pointing in case it's moc's fault.