[kde-freebsd] Unable to build kdelibs (segmentation fault) or debug it

Kevin Oberman rkoberman at gmail.com
Tue Mar 4 17:35:59 UTC 2014


On Tue, Mar 4, 2014 at 12:02 AM, Max Brazhnikov <makc at freebsd.org> wrote:

> On Sat, 01 Mar 2014 11:20:43 -0800 Kevin Oberman wrote:
> > I have been unable to upgrade to the latest kdelibs. Attempts to build
> fail
> > with a segmentation fault when attempting to generate index.cache.bz2.
> > Maybe exhausting some resource?
> >
> > I'm running 10-Stable (r262619) on an amd64 system and using clang by
> > default. All other ports (except those dependent on kdelibs) are current
> as
> > of today.
> >
> > Any idea what may be happening? I can make a core dump available, but I
> > imagine that I will need to figure out just what things need to be
> re-built
> > with symbols before it will be much help.
>
> Good start would be build log with CMAKE_VERBOSE=1 DISABLE_MAKE_JOBS=1
>
>
Max,

Thanks for the quick response.

Well, that sure slows things down. Made it way past the 33% mark, but died
later at 47%. Of course, that may just be a side effect of serializing the
build, but it did not segv. Instead I see:

Linking CXX executable ../bin/kfilemetadatareader
cd /usr/ports/x11/kdelibs4/work/.build/kio && /usr/local/bin/cmake -E
cmake_link_script CMakeFiles/kfilemetadatareader.dir/link.txt --verbose=1
/usr/local/bin/c++   -O2 -pipe -fno-strict-aliasing -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W
-Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS
-fno-check-new -fno-common -Woverloaded-virtual -O2 -DNDEBUG
-DQT_NO_DEBUG   -Wl,-rpath,/usr/lib:/usr/local/lib
CMakeFiles/kfilemetadatareader.dir/kfilemetadatareader_automoc.o
CMakeFiles/kfilemetadatareader.dir/kfile/kfilemetadatareaderprocess.o  -o
../bin/kfilemetadatareader  ../lib/libkio.so.5.12.2
../lib/libnepomuk.so.4.12.2 ../lib/libnepomukutils.so.4.12.2
/usr/local/lib/qt4/libQtNetwork.so /usr/local/lib/qt4/libQtXml.so
../lib/libnepomuk.so.4.12.2 ../lib/libkdeui.so.5.12.2
/usr/local/lib/qt4/libQtGui.so /usr/local/lib/qt4/libQtSvg.so
/usr/local/lib/libsoprano.so ../lib/libkdecore.so.5.12.2
/usr/local/lib/qt4/libQtDBus.so /usr/local/lib/qt4/libQtCore.so -pthread
-Wl,-rpath,/usr/ports/x11/kdelibs4/work/.build/lib:/usr/local/lib/qt4:/usr/local/lib:
-Wl,-rpath-link,/usr/ports/x11/kdelibs4/work/.build/lib
../lib/libkio.so.5.12.2: undefined reference to
`Strigi::AnalysisResult::AnalysisResult(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, long,
Strigi::IndexWriter&, Strigi::StreamAnalyzer&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
collect2: ld returned 1 exit status

All strigi ports look up to date:
# pkg info strigi\*
strigi-0.7.8_2
strigiclient-0.7.8
strigidaemon-0.7.8
strigiutils-0.7.8

I rebuilt them, just in case they are involved. (Also updated cmake, since
the port revision was bumped last night.) No change.
-- 
R. Kevin Oberman, Network Engineer, Retired
E-mail: rkoberman at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20140304/66352bbb/attachment-0001.html>


More information about the kde-freebsd mailing list