Bug 193336 - textproc/qt4-xmlpattern: Compile error on 10.0-RELEASE amd64: unable to execute command: Killed
Summary: textproc/qt4-xmlpattern: Compile error on 10.0-RELEASE amd64: unable to execu...
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: Normal Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2014-09-05 06:58 UTC by xiegh
Modified: 2016-05-29 11:53 UTC (History)
6 users (show)

See Also:


Attachments
error source files and reports file by the os (566.84 KB, application/gzip)
2014-09-05 06:58 UTC, xiegh
no flags Details
recompile error log and screen image (16.31 KB, application/x-7z-compressed)
2014-09-09 03:20 UTC, xiegh
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description xiegh 2014-09-05 06:58:02 UTC
Created attachment 146845 [details]
error source files and reports file by the os

While I compile KDE4 for my FreeBSD sys., there's some err occurred at the step of compiling ports named "qt4-xmlpatterns". 
  So I recompile this error port single, and first time it(the ports or system) remind me to compile it with  the parameter "MAKE_JOBS-UNSAFE=yes". I use this flag and try again, then system show that this is a bug, and advise me to report it with those files in attachments.
Comment 1 Marcus von Appen freebsd_committer freebsd_triage 2014-09-05 21:47:05 UTC
Can you please provide a log of the error (your console output). Both files are not helpful to use, since they are specific to the upstream source code.

You may use something along the lines

# cd /usr/ports/textproc/qt4-xmlpatterns
# make clean
# make 2>&1 | tee build.log

to write everything to a build.log file, if there's just too much errornours output on the console to copy.
Comment 2 xiegh 2014-09-09 03:18:19 UTC
Sorry, those days i was on vocation. I recompile the ports today, and here is the screen shot image and compile log. hopes helpful.
Comment 3 xiegh 2014-09-09 03:20:24 UTC
Created attachment 147094 [details]
recompile error log and screen image
Comment 4 Max Brazhnikov freebsd_committer freebsd_triage 2015-02-23 13:25:20 UTC
Either clang bug or memory problem. Do you experience this problem with 10.1-RELEASE?

relevant snippet from the build log:

c++ -c -O2 -pipe -fno-strict-aliasing -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -pthread -D_THREAD_SAFE -fPIC -DQT_SHARED -DQT_BUILD_XMLPATTERNS_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/usr/local/share/qt4/mkspecs/freebsd-clang -I. -I../../include/QtCore -I../../include/QtNetwork -I../../include -I../../include/QtXmlPatterns -I.rcc/release-shared -Iacceltree -Idata -Iapi -Ienvironment -Iexpr -Ifunctions -Iiterators -Ijanitors -Iparser -Ischema -Itype -Iutils -I.moc/release-shared -I/usr/local/include/qt4 -I/usr/local/include -o .obj/release-shared/qquerytransformparser.o parser/qquerytransformparser.cpp
c++: error: unable to execute command: Killed
c++: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
Target: x86_64-unknown-freebsd10.0
Thread model: posix
c++: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
c++: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
c++: note: diagnostic msg: /tmp/qquerytransformparser-0BHyEG.cpp
c++: note: diagnostic msg: /tmp/qquerytransformparser-0BHyEG.sh
Comment 5 Kubilay Kocak freebsd_committer freebsd_triage 2015-02-23 13:32:39 UTC
Just for reference, I found this issue after textproc/qt4-xmlpattern failed while building net-p2p/bitcoin with poudriere (using tmpfs).

Feb 23 14:21:55 9-STABLE-amd64 kernel: swap_pager_getswapspace(16): failed
Feb 23 14:21:55 9-STABLE-amd64 kernel: pid 28286 (clang++), uid 0, was killed: out of swap space

testport/bulk building again worked fine.
Comment 6 Marie Loise Nolden 2016-05-29 11:52:24 UTC
I did a test build on poudriere in 9.3 with no errors. I would like to see this bug closed as unreproducible.
Comment 7 Kurt Jaeger freebsd_committer freebsd_triage 2016-05-29 11:53:54 UTC
The root cause is probably low memory, so closing this bug for now.