cmake segfault

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

cmake segfault

Stuart Henderson-6
Segfault in cmake while attempting to configure kde4libs on -current i386.

I might try repeating this with symbols when my current bulk build
is done, but thought I'd post it here now in case anyone would
like to dig in...


#0  0x02b7f0a5 in strlen (
    str=0x82c39fec "\200I\v\207\214#\177}", ' <repeats 12 times> <Address 0x82c3a000 out of bounds>) at /usr/src/lib/libc/string/strlen.c:43
43              for (s = str; *s; ++s)
(gdb) bt
#0  0x02b7f0a5 in strlen (
    str=0x82c39fec "\200I\v\207\214#\177}", ' <repeats 12 times> <Address 0x82c3a000 out of bounds>) at /usr/src/lib/libc/string/strlen.c:43
#1  0x04f024db in basic_string (this=0xcfbc2270,
    __s=0x82c39fec "\200I\v\207\214#\177}", ' <repeats 12 times> <Address 0x82c3a000 out of bounds>, __a=@0xcfbc2277) at char_traits.h:258
#2  0x1b9882b5 in cmTarget::GetLinkClosure () from /usr/local/bin/cmake
#3  0x1ba98909 in cmComputeLinkInformation::GetRPath ()
   from /usr/local/bin/cmake
#4  0x1bb55cfd in cmLocalGenerator::OutputLinkLibraries ()
   from /usr/local/bin/cmake
#5  0x1bb521c2 in cmLocalGenerator::GetTargetFlags () from /usr/local/bin/cmake
#6  0x1b9f1436 in cmNinjaNormalTargetGenerator::WriteLinkStatement ()
   from /usr/local/bin/cmake
#7  0x1b9e3c77 in cmLocalNinjaGenerator::Generate () from /usr/local/bin/cmake
#8  0x1bb19aa6 in cmGlobalGenerator::Generate () from /usr/local/bin/cmake
#9  0x1b9dd7ce in cmGlobalNinjaGenerator::Generate () from /usr/local/bin/cmake
#10 0x1b9b7431 in cmake::Generate () from /usr/local/bin/cmake
#11 0x1b9c0c23 in cmake::Run () from /usr/local/bin/cmake
#12 0x1b8fec57 in do_cmake () from /usr/local/bin/cmake
#13 0x1b8ff8ed in main () from /usr/local/bin/cmake



>>> Compare 9132 + 340474 to 80000
>>> Building under x11/kde4/libs
         BDEPENDS = [devel/ninja;sysutils/gamin;converters/libiconv;devel/pcre;x11/grantlee;graphics/openexr;textproc/enchant;security/qca2;x11/dbusmenu-qt;archivers/bzip2;misc/shared-desktop-ontologies;multimedia/phonon;misc/shared-mime-info;net/avahi;x11/qt4;devel/automoc;databases/soprano;productivity/attica;devel/gettext;graphics/giflib;graphics/jasper;textproc/aspell/core;textproc/docbook-xsl;devel/cmake;textproc/docbook;textproc/libxslt;archivers/xz;x11/polkit-qt4;databases/strigi]
         FULLPKGNAME = kdelibs-4.11.5p8
         RDEPENDS = [graphics/openexr;sysutils/upower;multimedia/phonon-backend/gstreamer;devel/desktop-file-utils;sysutils/gamin;multimedia/phonon;misc/shared-mime-info;misc/shared-desktop-ontologies;textproc/enchant;archivers/bzip2;x11/dbusmenu-qt;graphics/jasper;graphics/giflib;x11/kde4/libs,,-langlist;databases/strigi;x11/gtk+2,-guic;archivers/xz;devel/pcre;x11/grantlee;converters/libiconv;x11/qt4;security/qca2;textproc/aspell/core;net/cagibi;x11/kde4/libs,,-en_US;productivity/attica;x11/dbus;devel/gettext;databases/soprano;x11/kde4/oxygen-icons;x11/polkit-qt4;textproc/libxslt]
(Junk lock failure for localhost at 1400107389)
Received IO
(Junk lock obtained for localhost at 1400107390)
Woken up x11/kde4/libs
Woken up x11/kde4/libs
>>> Running depends in x11/kde4/libs at 1400107391
   last junk was in emulators/zsnes
/usr/sbin/pkg_add -aI -Dunsigned -Drepair OpenEXR-1.6.1p2 aspell-0.60.6.1p1 attica-0.4.2 automoc4-0.9.88p0 avahi-0.6.31p13 cmake-2.8.12.2p3 dbusmenu-qt-0.9.2 docbook-4.5p1 docbook-xsl-1.68.1p5 enchant-1.6.0p1 gamin-0.1.10p20 giflib-5.0.5 grantlee-0.3.0 jasper-1.900.1p2 pcre-8.33 phonon-4.6.0p1 polkit-qt4-0.103.0p0 qca2-2.0.3p2 qt4-4.8.5p3 shared-desktop-ontologies-0.11.0 shared-mime-info-1.3 soprano-2.9.4 strigi-0.7.7pl1
was: /usr/sbin/pkg_add -aI -Dunsigned -Drepair OpenEXR-1.6.1p2 aspell-0.60.6.1p1 attica-0.4.2 automoc4-0.9.88p0 avahi-0.6.31p13 bzip2-1.0.6p0 cmake-2.8.12.2p3 dbusmenu-qt-0.9.2 docbook-4.5p1 docbook-xsl-1.68.1p5 enchant-1.6.0p1 gamin-0.1.10p20 gettext-0.18.2p4 giflib-5.0.5 grantlee-0.3.0 jasper-1.900.1p2 libiconv-1.14p1 libxslt-1.1.28p0 ninja-1.4.0 pcre-8.33 phonon-4.6.0p1 polkit-qt4-0.103.0p0 qca2-2.0.3p2 qt4-4.8.5p3 shared-desktop-ontologies-0.11.0 shared-mime-info-1.3 soprano-2.9.4 strigi-0.7.7pl1 xz-5.0.5p0
/usr/sbin/pkg_add -aI -Dunsigned -Drepair OpenEXR-1.6.1p2 aspell-0.60.6.1p1 attica-0.4.2 automoc4-0.9.88p0 avahi-0.6.31p13 cmake-2.8.12.2p3 dbusmenu-qt-0.9.2 docbook-4.5p1 docbook-xsl-1.68.1p5 enchant-1.6.0p1 gamin-0.1.10p20 giflib-5.0.5 grantlee-0.3.0 jasper-1.900.1p2 pcre-8.33 phonon-4.6.0p1 polkit-qt4-0.103.0p0 qca2-2.0.3p2 qt4-4.8.5p3 shared-desktop-ontologies-0.11.0 shared-mime-info-1.3 soprano-2.9.4 strigi-0.7.7pl1
Look in /usr/local/share/doc/pkg-readmes for extra documentation.
>>> Running show-prepare-results in x11/kde4/libs at 1400107406
===> x11/kde4/libs
===> kdelibs-4.11.5p8 depends on: shared-desktop-ontologies->=0.10 -> shared-desktop-ontologies-0.11.0
===> kdelibs-4.11.5p8 depends on: shared-mime-info-* -> shared-mime-info-1.3
===> kdelibs-4.11.5p8 depends on: avahi-* -> avahi-0.6.31p13
===> kdelibs-4.11.5p8 depends on: grantlee-* -> grantlee-0.3.0
===> kdelibs-4.11.5p8 depends on: gettext->=0.10.38 -> gettext-0.18.2p4
===> kdelibs-4.11.5p8 depends on: docbook-* -> docbook-4.5p1
===> kdelibs-4.11.5p8 depends on: docbook-xsl-* -> docbook-xsl-1.68.1p5
===> kdelibs-4.11.5p8 depends on: automoc4-* -> automoc4-0.9.88p0
===> kdelibs-4.11.5p8 depends on: cmake->=2.8.11.1p0 -> cmake-2.8.12.2p3
===> kdelibs-4.11.5p8 depends on: ninja-* -> ninja-1.4.0
===> kdelibs-4.11.5p8 depends on: xz-* -> xz-5.0.5p0
===> kdelibs-4.11.5p8 depends on: libiconv-* -> libiconv-1.14p1
===> kdelibs-4.11.5p8 depends on: phonon->=4.6.0 -> phonon-4.6.0p1
===> kdelibs-4.11.5p8 depends on: qt4-* -> qt4-4.8.5p3
===> kdelibs-4.11.5p8 depends on: bzip2-* -> bzip2-1.0.6p0
===> kdelibs-4.11.5p8 depends on: soprano->=2.9.4 -> soprano-2.9.4
===> kdelibs-4.11.5p8 depends on: strigi-* -> strigi-0.7.7pl1
===> kdelibs-4.11.5p8 depends on: pcre-* -> pcre-8.33
===> kdelibs-4.11.5p8 depends on: giflib-* -> giflib-5.0.5
===> kdelibs-4.11.5p8 depends on: jasper-* -> jasper-1.900.1p2
===> kdelibs-4.11.5p8 depends on: OpenEXR-* -> OpenEXR-1.6.1p2
===> kdelibs-4.11.5p8 depends on: qca2-* -> qca2-2.0.3p2
===> kdelibs-4.11.5p8 depends on: gamin-* -> gamin-0.1.10p20
===> kdelibs-4.11.5p8 depends on: aspell-* -> aspell-0.60.6.1p1
===> kdelibs-4.11.5p8 depends on: enchant-* -> enchant-1.6.0p1
===> kdelibs-4.11.5p8 depends on: libxslt-* -> libxslt-1.1.28p0
===> kdelibs-4.11.5p8 depends on: attica-* -> attica-0.4.2
===> kdelibs-4.11.5p8 depends on: dbusmenu-qt-* -> dbusmenu-qt-0.9.2
===> kdelibs-4.11.5p8 depends on: polkit-qt4-* -> polkit-qt4-0.103.0p0
===>  Verifying specs: intl>=5 iconv>=6 lib/kde4/libs/phonon_s  lib/qt4/QtCore intl>=5 iconv>=6 lib/kde4/libs/phonon_s  lib/qt4/QtCore c m pthread stdc++ util z Half ICE Iex IlmImf IlmThread Imath SM X11 Xau Xcursor Xdmcp Xext Xfixes Xft Xpm Xrender Xss Xtst lib/qt4/Qt3Support lib/qt4/QtDBus lib/qt4/QtDeclarative lib/qt4/QtGui lib/qt4/QtNetwork lib/qt4/QtOpenGL lib/qt4/QtScript lib/qt4/QtSql lib/qt4/QtSvg lib/qt4/QtWebKit lib/qt4/QtXml aspell attica bz2 dbusmenu-qt enchant exslt fam gif jasper jpeg lzma pcre pcreposix png polkit-qt-core-1 qca2 soprano sopranoclient streamanalyzer streams xml2 xslt  
===>  found intl.6.0 iconv.6.0 lib/kde4/libs/phonon_s.0.0 lib/qt4/QtCore.9.0 c.75.0 m.9.0 pthread.18.0 stdc++.57.0 util.12.1 z.5.0 Half.4.0 ICE.10.0 Iex.4.0 IlmImf.4.0 IlmThread.4.0 Imath.4.0 SM.9.0 X11.16.0 Xau.10.0 Xcursor.5.0 Xdmcp.11.0 Xext.13.0 Xfixes.6.0 Xft.9.0 Xpm.9.0 Xrender.6.0 Xss.6.0 Xtst.11.0 lib/qt4/Qt3Support.8.0 lib/qt4/QtDBus.2.0 lib/qt4/QtDeclarative.0.0 lib/qt4/QtGui.10.1 lib/qt4/QtNetwork.9.1 lib/qt4/QtOpenGL.7.0 lib/qt4/QtScript.2.0 lib/qt4/QtSql.8.0 lib/qt4/QtSvg.7.0 lib/qt4/QtWebKit.3.0 lib/qt4/QtXml.8.0 aspell.17.0 attica.1.0 bz2.10.4 dbusmenu-qt.0.0 enchant.6.1 exslt.9.8 fam.1.0 gif.6.0 jasper.2.1 jpeg.66.0 lzma.1.0 pcre.3.0 pcreposix.1.5 png.17.1 polkit-qt-core-1.1.0 qca2.0.0 soprano.2.1 sopranoclient.2.1 streamanalyzer.2.0 streams.2.0 xml2.15.1 xslt.3.8
OpenEXR-1.6.1p2
aspell-0.60.6.1p1
attica-0.4.2
automoc4-0.9.88p0
avahi-0.6.31p13
bzip2-1.0.6p0
cmake-2.8.12.2p3
dbusmenu-qt-0.9.2
docbook-4.5p1
docbook-xsl-1.68.1p5
enchant-1.6.0p1
gamin-0.1.10p20
gettext-0.18.2p4
giflib-5.0.5
grantlee-0.3.0
jasper-1.900.1p2
libiconv-1.14p1
libxslt-1.1.28p0
ninja-1.4.0
pcre-8.33
phonon-4.6.0p1
polkit-qt4-0.103.0p0
qca2-2.0.3p2
qt4-4.8.5p3
shared-desktop-ontologies-0.11.0
shared-mime-info-1.3
soprano-2.9.4
strigi-0.7.7pl1
xz-5.0.5p0
(Junk lock released for localhost at 1400107411)
>>> Running fetch in x11/kde4/libs at 1400107412
===> x11/kde4/libs
===>  Checking files for kdelibs-4.11.5
`/usr/ports/distfiles/kde/kdelibs-4.11.5.tar.xz' is up to date.
>>> Running patch in x11/kde4/libs at 1400107412
===> x11/kde4/libs
===>  Checking files for kdelibs-4.11.5
`/usr/ports/distfiles/kde/kdelibs-4.11.5.tar.xz' is up to date.
>> (SHA256) kde/kdelibs-4.11.5.tar.xz: OK
===>  Extracting for kdelibs-4.11.5
cp /usr/ports/x11/kde4/libs/files/FindKexiv2.cmake /usr/obj/ports/kdelibs-4.11.5/kdelibs-4.11.5/cmake/modules/FindKexiv2.cmake
cp /usr/ports/x11/kde4/libs/files/FindXine.cmake /usr/obj/ports/kdelibs-4.11.5/kdelibs-4.11.5/cmake/modules/FindXine.cmake
cp /usr/ports/x11/kde4/libs/files/FindXKB.cmake /usr/obj/ports/kdelibs-4.11.5/kdelibs-4.11.5/cmake/modules/FindXKB.cmake
cp /usr/ports/x11/kde4/libs/files/FindPolkitQt.cmake /usr/obj/ports/kdelibs-4.11.5/kdelibs-4.11.5/cmake/modules/FindPolkitQt.cmake
perl /usr/ports/infrastructure/bin/pkg_subst -DMODKDE4_CMAKE_PREFIX=-release -DKDE4LIB=lib/kde4/libs -DLIBkde3support_VERSION=50.1 -DLIBkdecore_VERSION=50.1 -DLIBkdefakes_VERSION=50.1 -DLIBkdesu_VERSION=50.1 -DLIBkdeui_VERSION=50.1 -DLIBkdnssd_VERSION=50.1 -DLIBkhtml_VERSION=50.1 -DLIBkimproxy_VERSION=50.1 -DLIBkio_VERSION=50.1 -DLIBkjs_VERSION=50.1 -DLIBkjsembed_VERSION=50.1 -DLIBkmediaplayer_VERSION=50.1 -DLIBknotifyconfig_VERSION=50.1 -DLIBkntlm_VERSION=50.1 -DLIBkparts_VERSION=50.1 -DLIBkrosscore_VERSION=50.1 -DLIBktexteditor_VERSION=50.1 -DLIBkunittest_VERSION=50.1 -DLIBkutils_VERSION=50.1 -DLIBsolid_VERSION=50.1 -DLIBthreadweaver_VERSION=50.1 -DLIBkfile_VERSION=50.1 -DLIBknewstuff2_VERSION=50.1 -DLIBkrossui_VERSION=50.1 -DLIBkpty_VERSION=50.1 -DLIBkjsapi_VERSION=50.1 -DLIBkdewebkit_VERSION=50.1 -DLIBknewstuff3_VERSION=50.1 -DLIBkunitconversion_VERSION=50.1 -DLIBplasma_VERSION=50.1 -DLIBkcmutils_VERSION=50.1 -DLIBkdeclarative_VERSION=50.1 -DLIBkemoticons_VERSION=50.1 -D!
 LIBkidletime_VERSION=50.1 -DLIBkprintutils_VERSION=50.1 -DLIBnepomuk_VERSION=50.1 -DLIBnepomukquery_VERSION=50.1 -DLIBnepomukutils_VERSION=50.1 -DLIBkdeinit4_kbuildsycoca4_VERSION=50.1 -DLIBkdeinit4_kconf_update_VERSION=50.1 -DLIBkdeinit4_kded4_VERSION=50.1 -DLIBkdeinit4_kio_http_cache_cleaner_VERSION=50.1 -DLIBkdeinit4_klauncher_VERSION=50.1 -DMACHINE_ARCH=i386 -DARCH=i386 -DHOMEPAGE=https://projects.kde.org/projects -D^PREFIX=/usr/local -D^SYSCONFDIR=/etc -DFLAVOR_EXT= -DFULLPKGNAME=kdelibs-4.11.5 -DMAINTAINER=KDE\ porting\ team\ \<[hidden email]\> -D^BASE_PKGPATH=x11/kde4/libs -D^LOCALBASE=/usr/local -D^X11BASE=/usr/X11R6 -D^TRUEPREFIX=/usr/local -D^RCDIR=/etc/rc.d -D^LOCALSTATEDIR=/var -c /usr/ports/x11/kde4/libs/files/FindLibXslt.cmake  /usr/obj/ports/kdelibs-4.11.5/kdelibs-4.11.5/cmake/modules/FindLibXslt.cmake
cp /usr/ports/x11/kde4/libs/files/config-util.h.cmake /usr/obj/ports/kdelibs-4.11.5/kdelibs-4.11.5/kdecore/util/
cp /usr/ports/x11/kde4/libs/files/ConfigureChecks.cmake /usr/obj/ports/kdelibs-4.11.5/kdelibs-4.11.5/kdecore/util/
mv /usr/obj/ports/kdelibs-4.11.5/kdelibs-4.11.5/doc/kjscmd/man-kjscmd{,4}.1.docbook
===>  Patching for kdelibs-4.11.5
>>> Running configure in x11/kde4/libs at 1400107431
===> x11/kde4/libs
===>  Configuring for kdelibs-4.11.5
perl -pi -e 's/\bkjscmd\b/$&4/g' /usr/obj/ports/kdelibs-4.11.5/kdelibs-4.11.5/doc/kjscmd/*
perl /usr/ports/infrastructure/bin/pkg_subst -DMODKDE4_CMAKE_PREFIX=-release -DKDE4LIB=lib/kde4/libs -DLIBkde3support_VERSION=50.1 -DLIBkdecore_VERSION=50.1 -DLIBkdefakes_VERSION=50.1 -DLIBkdesu_VERSION=50.1 -DLIBkdeui_VERSION=50.1 -DLIBkdnssd_VERSION=50.1 -DLIBkhtml_VERSION=50.1 -DLIBkimproxy_VERSION=50.1 -DLIBkio_VERSION=50.1 -DLIBkjs_VERSION=50.1 -DLIBkjsembed_VERSION=50.1 -DLIBkmediaplayer_VERSION=50.1 -DLIBknotifyconfig_VERSION=50.1 -DLIBkntlm_VERSION=50.1 -DLIBkparts_VERSION=50.1 -DLIBkrosscore_VERSION=50.1 -DLIBktexteditor_VERSION=50.1 -DLIBkunittest_VERSION=50.1 -DLIBkutils_VERSION=50.1 -DLIBsolid_VERSION=50.1 -DLIBthreadweaver_VERSION=50.1 -DLIBkfile_VERSION=50.1 -DLIBknewstuff2_VERSION=50.1 -DLIBkrossui_VERSION=50.1 -DLIBkpty_VERSION=50.1 -DLIBkjsapi_VERSION=50.1 -DLIBkdewebkit_VERSION=50.1 -DLIBknewstuff3_VERSION=50.1 -DLIBkunitconversion_VERSION=50.1 -DLIBplasma_VERSION=50.1 -DLIBkcmutils_VERSION=50.1 -DLIBkdeclarative_VERSION=50.1 -DLIBkemoticons_VERSION=50.1 -D!
 LIBkidletime_VERSION=50.1 -DLIBkprintutils_VERSION=50.1 -DLIBnepomuk_VERSION=50.1 -DLIBnepomukquery_VERSION=50.1 -DLIBnepomukutils_VERSION=50.1 -DLIBkdeinit4_kbuildsycoca4_VERSION=50.1 -DLIBkdeinit4_kconf_update_VERSION=50.1 -DLIBkdeinit4_kded4_VERSION=50.1 -DLIBkdeinit4_kio_http_cache_cleaner_VERSION=50.1 -DLIBkdeinit4_klauncher_VERSION=50.1 -DMACHINE_ARCH=i386 -DARCH=i386 -DHOMEPAGE=https://projects.kde.org/projects -D^PREFIX=/usr/local -D^SYSCONFDIR=/etc -DFLAVOR_EXT= -DFULLPKGNAME=kdelibs-4.11.5 -DMAINTAINER=KDE\ porting\ team\ \<[hidden email]\> -D^BASE_PKGPATH=x11/kde4/libs -D^LOCALBASE=/usr/local -D^X11BASE=/usr/X11R6 -D^TRUEPREFIX=/usr/local -D^RCDIR=/etc/rc.d -D^LOCALSTATEDIR=/var /usr/obj/ports/kdelibs-4.11.5/kdelibs-4.11.5/kio/kio/ksambashare.cpp
-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is GNU 4.2.1
-- Check for working C compiler using: Ninja
-- Check for working C compiler using: Ninja -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Ninja
-- Check for working CXX compiler using: Ninja -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt-Version 4.8.5 (using /usr/local/lib/qt4/bin/qmake)
-- Looking for XOpenDisplay in /usr/X11R6/lib/libX11.so.16.0;/usr/X11R6/lib/libXext.so.13.0;/usr/X11R6/lib/libXft.so.9.0;/usr/X11R6/lib/libXau.so.10.0;/usr/X11R6/lib/libXdmcp.so.11.0;/usr/X11R6/lib/libXpm.so.9.0
-- Looking for XOpenDisplay in /usr/X11R6/lib/libX11.so.16.0;/usr/X11R6/lib/libXext.so.13.0;/usr/X11R6/lib/libXft.so.9.0;/usr/X11R6/lib/libXau.so.10.0;/usr/X11R6/lib/libXdmcp.so.11.0;/usr/X11R6/lib/libXpm.so.9.0 - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/X11R6/lib/libX11.so.16.0
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found Automoc4: /usr/local/bin/automoc4  
-- Found Perl: /usr/bin/perl (found version "5.18.2")
-- Building kdelibs...
-- Found Phonon: /usr/local/include/kde4 (Required is at least version "4.3.80")
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found the KDE4 kconfig_compiler preprocessor: /usr/obj/ports/kdelibs-4.11.5/build-i386/bin/./kconfig_compiler.shell
-- Found automoc4: /usr/local/bin/automoc4
-- Found ZLIB: /usr/lib/libz.so.5.0 (found version "1.2.3")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1")
-- Found Strigi: /usr/local/lib/libstreams.so.2.0 (Required is at least version "0.6.3")
-- Found LibAttica: /usr/local/lib/libattica.so.1.0 (found suitable version "0.4.2", minimum required is "0.4.2")
-- Found OpenSSL: /usr/lib/libssl.so.24.1;/usr/lib/libcrypto.so.27.0 (found version "1.0.0")
-- Looking for dgettext
-- Looking for dgettext - not found
-- Found Libintl: /usr/local/include  
-- Found Soprano: /usr/local/include (found suitable version "2.9.4", minimum required is "2.7.56")
-- Found SharedDesktopOntologies: /usr/local/share/ontology (found suitable version "0.11.0", minimum required is "0.10")
-- Found QCA2: /usr/local/lib/libqca2.so.0.0 (Required is at least version "2.0.0")
-- Found DBusMenuQt: /usr/local/lib/libdbusmenu-qt.so.0.0 (found version "0.9.2")
-- Looking for include file stdio.h
-- Looking for include file stdio.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file malloc.h
-- Looking for include file malloc.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file crt_externs.h
-- Looking for include file crt_externs.h - not found
-- Looking for include file alloca.h
-- Looking for include file alloca.h - not found
-- Looking for include file fstab.h
-- Looking for include file fstab.h - found
-- Looking for include file limits.h
-- Looking for include file limits.h - found
-- Looking for include file mntent.h
-- Looking for include file mntent.h - not found
-- Looking for include file sysent.h
-- Looking for include file sysent.h - not found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/ucred.h
-- Looking for include file sys/ucred.h - not found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file sys/select.h
-- Looking for include file sys/select.h - found
-- Looking for include file sys/param.h
-- Looking for include file sys/param.h - found
-- Looking for include files stdio.h, sys/mnttab.h
-- Looking for include files stdio.h, sys/mnttab.h - not found
-- Looking for include file sys/mntent.h
-- Looking for include file sys/mntent.h - not found
-- Looking for include files sys/param.h, sys/mount.h
-- Looking for include files sys/param.h, sys/mount.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file paths.h
-- Looking for include file paths.h - found
-- Looking for include file errno.h
-- Looking for include file errno.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file valgrind/memcheck.h
-- Looking for include file valgrind/memcheck.h - not found
-- Looking for include file crtdbg.h
-- Looking for include file crtdbg.h - not found
-- Looking for include file langinfo.h
-- Looking for include file langinfo.h - found
-- Looking for strcmp
-- Looking for strcmp - found
-- Looking for strrchr
-- Looking for strrchr - found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for S_ISSOCK
-- Looking for S_ISSOCK - found
-- Looking for vsnprintf
-- Looking for vsnprintf - found
-- Looking for posix_madvise
-- Looking for posix_madvise - found
-- Looking for getgrouplist
-- Looking for getgrouplist - found
-- Looking for backtrace
-- Looking for backtrace - not found
-- Looking for getpagesize
-- Looking for getpagesize - found
-- Looking for fdatasync
-- Looking for fdatasync - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for sendfile
-- Looking for sendfile - not found
-- Looking for srandom
-- Looking for srandom - found
-- Looking for _NSGetEnviron
-- Looking for _NSGetEnviron - not found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for volmgt_running in volmgt
-- Looking for volmgt_running in volmgt - not found
-- Looking for res_init in resolv
-- Looking for res_init in resolv - not found
-- Looking for __res_init in resolv
-- Looking for __res_init in resolv - not found
-- Looking for include files sys/types.h, libutil.h
-- Looking for include files sys/types.h, libutil.h - not found
-- Looking for include file util.h
-- Looking for include file util.h - found
-- Looking for include file termios.h
-- Looking for include file termios.h - found
-- Looking for include file termio.h
-- Looking for include file termio.h - not found
-- Looking for include file pty.h
-- Looking for include file pty.h - not found
-- Looking for include file sys/stropts.h
-- Looking for include file sys/stropts.h - not found
-- Looking for include file sys/filio.h
-- Looking for include file sys/filio.h - found
-- Looking for addToUtmp in utempter
-- Looking for addToUtmp in utempter - not found
-- Looking for include file utempter.h
-- Looking for include file utempter.h - not found
-- Looking for login
-- Looking for login - not found
-- Looking for login in util
-- Looking for login in util - found
-- Looking for getutxent
-- Looking for getutxent - not found
-- Performing Test HAVE_STRUCT_UTMP_UT_SYSLEN
-- Performing Test HAVE_STRUCT_UTMP_UT_SYSLEN - Failed
-- Performing Test HAVE_STRUCT_UTMP_UT_ID
-- Performing Test HAVE_STRUCT_UTMP_UT_ID - Failed
-- Looking for openpty
-- Looking for openpty - not found
-- Looking for openpty in util
-- Looking for openpty in util - found
-- Looking for ptsname
-- Looking for ptsname - found
-- Looking for arc4random
-- Looking for arc4random - found
-- Looking for arc4random_uniform
-- Looking for arc4random_uniform - found
-- Looking for getmntinfo
-- Looking for getmntinfo - found
-- Looking for initgroups
-- Looking for initgroups - found
-- Looking for mkstemps
-- Looking for mkstemps - found
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Looking for mkdtemp
-- Looking for mkdtemp - found
-- Looking for random
-- Looking for random - found
-- Looking for strlcpy
-- Looking for strlcpy - found
-- Looking for strlcat
-- Looking for strlcat - found
-- Looking for __CORRECT_ISO_CPP_STRING_H_PROTO
-- Looking for __CORRECT_ISO_CPP_STRING_H_PROTO - not found
-- Looking for strcasestr
-- Looking for strcasestr - found
-- Performing Test HAVE_STRCASESTR_PROTO
-- Performing Test HAVE_STRCASESTR_PROTO - Success
-- Looking for setenv
-- Looking for setenv - found
-- Looking for seteuid
-- Looking for seteuid - found
-- Looking for setmntent
-- Looking for setmntent - not found
-- Looking for unsetenv
-- Looking for unsetenv - found
-- Looking for usleep
-- Looking for usleep - found
-- Performing Test HAVE_MKSTEMPS_PROTO
-- Performing Test HAVE_MKSTEMPS_PROTO - Success
-- Performing Test HAVE_MKDTEMP_PROTO
-- Performing Test HAVE_MKDTEMP_PROTO - Success
-- Performing Test HAVE_MKSTEMP_PROTO
-- Performing Test HAVE_MKSTEMP_PROTO - Success
-- Performing Test HAVE_STRLCAT_PROTO
-- Performing Test HAVE_STRLCAT_PROTO - Success
-- Performing Test HAVE_STRLCPY_PROTO
-- Performing Test HAVE_STRLCPY_PROTO - Success
-- Performing Test HAVE_RANDOM_PROTO
-- Performing Test HAVE_RANDOM_PROTO - Success
-- Performing Test HAVE_RES_INIT_PROTO
-- Performing Test HAVE_RES_INIT_PROTO - Success
-- Performing Test HAVE_SETENV_PROTO
-- Performing Test HAVE_SETENV_PROTO - Success
-- Performing Test HAVE_SRANDOM_PROTO
-- Performing Test HAVE_SRANDOM_PROTO - Success
-- Performing Test HAVE_UNSETENV_PROTO
-- Performing Test HAVE_UNSETENV_PROTO - Success
-- Performing Test HAVE_USLEEP_PROTO
-- Performing Test HAVE_USLEEP_PROTO - Success
-- Performing Test HAVE_INITGROUPS_PROTO
-- Performing Test HAVE_INITGROUPS_PROTO - Success
-- Performing Test HAVE_SETREUID_PROTO
-- Performing Test HAVE_SETREUID_PROTO - Success
-- Performing Test HAVE_TRUNC
-- Performing Test HAVE_TRUNC - Success
-- Performing Test GETMNTINFO_USES_STATVFS
-- Performing Test GETMNTINFO_USES_STATVFS - Failed
-- Performing Test HAVE_DIRENT_D_TYPE
-- Performing Test HAVE_DIRENT_D_TYPE - Success
-- Looking for gethostbyname in nsl
-- Looking for gethostbyname in nsl - not found
-- Looking for connect in socket
-- Looking for connect in socket - not found
-- Found FAM: /usr/local/include  
-- Looking for include file sys/inotify.h
-- Looking for include file sys/inotify.h - not found
-- Performing Test HAVE_QSSLSOCKET
-- Performing Test HAVE_QSSLSOCKET - Success
-- Looking for 3 include files sys/types.h, ..., net/if.h
-- Looking for 3 include files sys/types.h, ..., net/if.h - found
-- Looking for include file stropts.h
-- Looking for include file stropts.h - not found
-- Looking for inet_pton
-- Looking for inet_pton - found
-- Looking for inet_ntop
-- Looking for inet_ntop - found
-- Looking for getprotobyname_r
-- Looking for getprotobyname_r - found
-- Looking for poll
-- Looking for poll - found
-- Looking for getservbyname_r
-- Looking for getservbyname_r - found
-- Looking for getservbyport_r
-- Looking for getservbyport_r - found
-- Looking for gethostbyname2
-- Looking for gethostbyname2 - found
-- Looking for gethostbyname2_r
-- Looking for gethostbyname2_r - not found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for gethostbyname_r
-- Looking for gethostbyname_r - not found
-- Looking for if_nametoindex
-- Looking for if_nametoindex - found
-- Performing Test HAVE_GETSERVBYNAME_R_PROTO
-- Performing Test HAVE_GETSERVBYNAME_R_PROTO - Success
-- Looking for freeaddrinfo
-- Looking for freeaddrinfo - found
-- Looking for getnameinfo
-- Looking for getnameinfo - found
-- Looking for getaddrinfo
-- Looking for getaddrinfo - found
-- Looking for res_init
-- Looking for res_init - found
-- Performing Test HAVE_STRUCT_SOCKADDR_SA_LEN
-- Performing Test HAVE_STRUCT_SOCKADDR_SA_LEN - Success
-- Performing Test HAVE_GAI_STRERROR_PROTO
-- Performing Test HAVE_GAI_STRERROR_PROTO - Success
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of struct addrinfo
-- Check size of struct addrinfo - done
-- Check size of struct sockaddr_in6
-- Check size of struct sockaddr_in6 - done
-- Check size of time_t
-- Check size of time_t - done
-- Performing Test HAVE_STRUCT_TM_TM_ZONE
-- Performing Test HAVE_STRUCT_TM_TM_ZONE - Success
-- Performing Test HAVE_TM_GMTOFF
-- Performing Test HAVE_TM_GMTOFF - Success
-- Found BZip2: /usr/local/lib/libbz2.so.10.4 (found version "1.0.6")
-- Looking for BZ2_bzCompressInit in /usr/local/lib/libbz2.so.10.4
-- Looking for BZ2_bzCompressInit in /usr/local/lib/libbz2.so.10.4 - found
-- Looking for lzma_auto_decoder in /usr/local/lib/liblzma.so.1.0
-- Looking for lzma_auto_decoder in /usr/local/lib/liblzma.so.1.0 - found
-- Looking for lzma_easy_encoder in /usr/local/lib/liblzma.so.1.0
-- Looking for lzma_easy_encoder in /usr/local/lib/liblzma.so.1.0 - found
-- Looking for lzma_lzma_preset in /usr/local/lib/liblzma.so.1.0
-- Looking for lzma_lzma_preset in /usr/local/lib/liblzma.so.1.0 - found
-- Found LIBLZMA: /usr/local/include  
-- Found PolkitQt-1: /usr/local/lib/cmake/PolkitQt-1/PolkitQt-1Config.cmake (Required is at least version "0.99.0")
-- Building PolkitQt-1 KAuth backend
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for flock
-- Looking for flock - found
-- Looking for lockf
-- Looking for lockf - found
-- Looking for msync
-- Looking for msync - found
-- Looking for posix_fallocate
-- Looking for posix_fallocate - not found
-- Performing Test HAVE_MONOTONIC_CLOCK
-- Performing Test HAVE_MONOTONIC_CLOCK - Success
-- Performing Test HAVE_GCC_SYNC
-- Performing Test HAVE_GCC_SYNC - Success
-- Performing Test HAVE_SHARED_PTHREAD_MUTEXES
-- Performing Test HAVE_SHARED_PTHREAD_MUTEXES - Failed
-- Performing Test HAVE_PTHREAD_TIMEOUTS
-- Performing Test HAVE_PTHREAD_TIMEOUTS - Success
-- Performing Test HAVE_SHARED_SEMAPHORES
-- Performing Test HAVE_SHARED_SEMAPHORES - Failed
-- Performing Test HAVE_SHARED_SEMAPHORES_TIMEOUTS
-- Performing Test HAVE_SHARED_SEMAPHORES_TIMEOUTS - Failed
-- Found Qt-Version 4.8.5 (using /usr/local/lib/qt4/bin/qmake)
-- Found X11: /usr/X11R6/lib/libX11.so.16.0
-- Looking for setpriority
-- Looking for setpriority - found
-- Looking for getpeereid
-- Looking for getpeereid - found
-- Check size of struct ucred
-- Check size of struct ucred - failed
-- Looking for pthread_attr_get_np in pthread
-- Looking for pthread_attr_get_np in pthread - not found
-- Looking for pthread_getattr_np in pthread
-- Looking for pthread_getattr_np in pthread - not found
-- Looking for include file float.h
-- Looking for include file float.h - found
-- Looking for include file sys/timeb.h
-- Looking for include file sys/timeb.h - not found
-- Looking for include file ieeefp.h
-- Looking for include file ieeefp.h - found
-- Looking for include files pthread.h, pthread_np.h
-- Looking for include files pthread.h, pthread_np.h - found
-- Looking for include file valgrind/memcheck.h
-- Looking for include file valgrind/memcheck.h - not found
-- Looking for _finite
-- Looking for _finite - not found
-- Looking for finite
-- Looking for finite - found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for isnan
-- Looking for isnan - found
-- Looking for isinf
-- Looking for isinf - found
-- Found PCRE: /usr/local/include  
-- Looking for PCRE_CONFIG_UTF8
-- Looking for PCRE_CONFIG_UTF8 - found
-- Looking for PCRE_CONFIG_STACKRECURSE
-- Looking for PCRE_CONFIG_STACKRECURSE - found
-- Looking for include file arpa/nameser_compat.h
-- Looking for include file arpa/nameser_compat.h - not found
-- Looking for include file arpa/nameser8_compat.h
-- Looking for include file arpa/nameser8_compat.h - not found
-- Looking for include files sys/types.h, netinet/in.h
-- Looking for include files sys/types.h, netinet/in.h - found
-- Performing Test HAVE_X86_MMX
-- Performing Test HAVE_X86_MMX - Success
-- Performing Test HAVE_X86_SSE
-- Performing Test HAVE_X86_SSE - Success
-- Performing Test HAVE_X86_SSE2
-- Performing Test HAVE_X86_SSE2 - Success
-- Performing Test HAVE_X86_3DNOW
-- Performing Test HAVE_X86_3DNOW - Success
-- Performing Test HAVE_PPC_ALTIVEC
-- Performing Test HAVE_PPC_ALTIVEC - Failed
-- To have UPnP support, explicitly enable HUPNP_ENABLED in the cmake cache
-- Building Solid HAL backend.
-- Building Solid UPower backend.
-- Building Solid fstab backend.
-- Found FLEX: /usr/bin/flex (found version "2.5.4")
-- Found BISON: /usr/local/bin/bison (found version "2.3")
-- Found LibXslt: /usr/local/lib/libxslt.so.3.8 (found version "1.1.28")
-- Found LibXml2: /usr/local/lib/libxml2.so.15.1 (found version "2.9.1")
-- Found DocBookXML: /usr/local/share/xml/docbook/4.2  
-- Found DocBookXSL: /usr/local/share/xsl/docbook  
-- Looking for posix_fadvise
-- Looking for posix_fadvise - not found
-- Found SharedMimeInfo: /usr/local/bin/update-mime-database (found suitable version "1.3", minimum required is "0.60")
-- Looking for __progname
-- Looking for __progname - found
-- Looking for __progname_full
-- Looking for __progname_full - not found
-- Looking for include file sys/pstat.h
-- Looking for include file sys/pstat.h - not found
-- Looking for pstat
-- Looking for pstat - not found
-- Looking for setproctitle
-- Looking for setproctitle - found
-- Found ASPELL: /usr/local/lib/libaspell.so.17.0  
-- Found ENCHANT: /usr/local/include/enchant  
-- Found JPEG: /usr/local/lib/libjpeg.so.66.0  
-- Performing Test GIF_GifFileType_UserData
-- Performing Test GIF_GifFileType_UserData - Success
-- Found GIF: /usr/local/lib/libgif.so.6.0 (found version "4")
-- Found PNG: /usr/local/lib/libpng.so.17.1 (found version "1.6.10")
-- Found Jasper: /usr/local/lib/libjasper.so.2.1 (found version "1.900.1")
-- Found OPENEXR: /usr/local/lib/libImath.so.4.0;/usr/local/lib/libIlmImf.so.4.0;/usr/local/lib/libIex.so.4.0;/usr/local/lib/libHalf.so.4.0;/usr/local/lib/libIlmThread.so.4.0
-- Found Avahi: /usr/local/include  
-- Adding support for OpenGL applets to libplasma
-- Adding support for Phonon to libplasma
--
-- The following features have been enabled:

 * X Rendering Extension (libXrender) , Support for compositing, rendering operations, and alpha-blending. STRONGLY RECOMMENDED
 * X Screensaver Extension (libXss) , Support for KIdleTime (fallback mode)
 * X Sync Extension (libXext) , Efficient operation of KIdleTime. STRONGLY RECOMMENDED
 * QtWebkit , Needed for building kdelibs

-- The following OPTIONAL packages have been found:

 * Soprano (required version >= 2.7.56) , Support for the Nepomuk semantic desktop system , <http://soprano.sourceforge.net>
 * SharedDesktopOntologies (required version >= 0.10) , Support for the Nepomuk semantic desktop system , <http://oscaf.sourceforge.net>
 * QCA2 (required version >= 2.0.0) , Support for remote plasma widgets , <http://delta.affinix.com/qca>
 * FAM , File alteration notification support via a separate service , <http://oss.sgi.com/projects/fam>
   Provides file alteration notification facilities using a separate service.
 * LibLZMA , Support for xz compressed files and data streams , <http://tukaani.org/xz/>
 * PolkitQt-1 (required version >= 0.99.0) , "Support for executing priviledged actions in a controlled way (KAuth)" , <http://techbase.kde.org/Polkit-Qt-1>
   "STRONGLY RECOMMENDED: Required to make KAuth work, and hence enable certain workspace functionalities"
 * Threads
 * Grantlee (required version >= 0.1.0) , ModelEventLogger code generation (part of the ProxyModel test suite) , <http://www.grantlee.org>
   Grantlee is used for generating compilable code by the ModelEventLogger.
                         Without Grantlee, the logger will do nothing.
 * PCRE , Perl-compatible regular expressions in KJS , <http://www.pcre.org>
   Without PCRE, KJS will have extremely poor regular expression support, breaking many webpages.
 * FLEX , Allows the Solid predicate parser to be updated , <http://flex.sourceforge.net>
   Required by the UpdateSolidPredicateParser target (mainly useful for developers)
 * BISON , Allows the Solid predicate parser to be updated , <http://www.gnu.org/software/bison>
   Required by the UpdateSolidPredicateParser target (mainly useful for developers)
 * ASPELL , Spell checking support via Aspell , <http://aspell.net/>
   This is not needed for spell checking if Enchant is provided or only Hebrew spell checking is required
 * ENCHANT , Spell checking support via Enchant , <http://www.abisource.com/projects/enchant/>
 * Jasper , Support for JPEG-2000 images , <http://www.ece.uvic.ca/~mdadams/jasper>
 * PkgConfig
 * OpenEXR , Support for OpenEXR images , <http://www.openexr.com>
 * Avahi , Facilities for service discovery on a local network (DNSSD) , <http://avahi.org>
   Either Avahi or DNSSD is required for KDE applications to make use of multicast DNS/DNS-SD service discovery

-- The following RECOMMENDED packages have been found:

 * OpenSSL , Support for secure network communications (SSL and TLS) , <http://openssl.org>
   KDE uses OpenSSL for the bulk of secure communications, including secure web browsing via HTTPS
 * Libintl , Support for multiple languages , <http://www.gnu.org/software/gettext>
   Enables KDE to be available in many different languages
 * BZip2 , Support for BZip2 compressed files and data streams , <http://www.bzip.org>

-- The following REQUIRED packages have been found:

 * Automoc4
 * Phonon (required version >= 4.3.80)
 * KDE4Internal
 * Perl , <http://www.perl.org>
   Needed for building kdelibs
 * Strigi (required version >= 0.6.3) , Desktop indexing and search support , <http://strigi.sourceforge.net>
   Required by some critical kioslaves
 * LibAttica (required version >= 0.4.2) , Support for Get Hot New Stuff , <https://projects.kde.org/attica>
 * DBusMenuQt , Support for notification area menus via the DBusMenu protocol , <https://launchpad.net/libdbusmenu-qt>
 * X11
 * Qt4
 * LibXslt , <http://xmlsoft.org/XSLT>
   Required by the KDE help system to process DocBook XML
 * LibXml2 , <http://xmlsoft.org>
   Required by the KDE help system to process DocBook XML
 * DocBookXML , DocBook XML , <http://www.oasis-open.org/docbook/xml/4.2>
   Required by the KDE help system to process DocBook XML
 * DocBookXSL , DocBook XSL , <http://docbook.sourceforge.net/release/xsl/current/>
   Required by the KDE help system to process DocBook XML
 * SharedMimeInfo (required version >= 0.60) , Shared Mime Info , <http://freedesktop.org/wiki/Software/shared-mime-info>
   Allows KDE applications to determine file types
 * GIF , GIF image format support , <http://sourceforge.net/projects/giflib>
   Required by khtml
 * ZLIB , Support for gzip compressed files and data streams , <http://www.zlib.net>
   Required by the core KDE libraries and some critical kioslaves
 * PNG , PNG image format support , <http://www.libpng.org/pub/png>
   Required by khtml
 * JPEG , JPEG image format support , <http://www.ijg.org>
   Required by khtml

-- The following OPTIONAL packages have not been found:

 * GSSAPI , Allows KIO to make use of certain HTTP authentication services , <http://web.mit.edu/kerberos/www>
   A MIT or HEIMDAL flavor of GSSAPI can be used

-- Configuring done
Segmentation fault (core dumped)
*** Error 139 in x11/kde4/libs (/usr/ports/infrastructure/mk/bsd.port.mk:2672 '/usr/obj/ports/kdelibs-4.11.5/build-i386/.configure_done')
*** Error 1 in x11/kde4/libs (/usr/ports/infrastructure/mk/bsd.port.mk:2423 'configure')
===> Exiting x11/kde4/libs with an error
/bin/sh: exit 1: not found
*** Error 127 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:147 'configure')
Error: job failed 256



Reply | Threaded
Open this post in threaded view
|

Re: cmake segfault

Vadim Zhukov
15.05.2014 3:28 пользователь "Stuart Henderson" <[hidden email]> написал:
>
> Segfault in cmake while attempting to configure kde4libs on -current i386.
>
> I might try repeating this with symbols when my current bulk build
> is done, but thought I'd post it here now in case anyone would
> like to dig in...

So we have two CMake-related package building problems now.

David, do you have a port for upcoming CMake 3.0?

> #0  0x02b7f0a5 in strlen (
>     str=0x82c39fec "\200I\v\207\214#\177}", ' <repeats 12 times> <Address
0x82c3a000 out of bounds>) at /usr/src/lib/libc/string/strlen.c:43
> 43              for (s = str; *s; ++s)
> (gdb) bt
> #0  0x02b7f0a5 in strlen (
>     str=0x82c39fec "\200I\v\207\214#\177}", ' <repeats 12 times> <Address
0x82c3a000 out of bounds>) at /usr/src/lib/libc/string/strlen.c:43
> #1  0x04f024db in basic_string (this=0xcfbc2270,
>     __s=0x82c39fec "\200I\v\207\214#\177}", ' <repeats 12 times> <Address
0x82c3a000 out of bounds>, __a=@0xcfbc2277) at char_traits.h:258
> #2  0x1b9882b5 in cmTarget::GetLinkClosure () from /usr/local/bin/cmake
> #3  0x1ba98909 in cmComputeLinkInformation::GetRPath ()
>    from /usr/local/bin/cmake
> #4  0x1bb55cfd in cmLocalGenerator::OutputLinkLibraries ()
>    from /usr/local/bin/cmake
> #5  0x1bb521c2 in cmLocalGenerator::GetTargetFlags () from
/usr/local/bin/cmake
> #6  0x1b9f1436 in cmNinjaNormalTargetGenerator::WriteLinkStatement ()
>    from /usr/local/bin/cmake
> #7  0x1b9e3c77 in cmLocalNinjaGenerator::Generate () from
/usr/local/bin/cmake
> #8  0x1bb19aa6 in cmGlobalGenerator::Generate () from /usr/local/bin/cmake
> #9  0x1b9dd7ce in cmGlobalNinjaGenerator::Generate () from
/usr/local/bin/cmake

> #10 0x1b9b7431 in cmake::Generate () from /usr/local/bin/cmake
> #11 0x1b9c0c23 in cmake::Run () from /usr/local/bin/cmake
> #12 0x1b8fec57 in do_cmake () from /usr/local/bin/cmake
> #13 0x1b8ff8ed in main () from /usr/local/bin/cmake
>
>
>
> >>> Compare 9132 + 340474 to 80000
> >>> Building under x11/kde4/libs
>          BDEPENDS =
[devel/ninja;sysutils/gamin;converters/libiconv;devel/pcre;x11/grantlee;graphics/openexr;textproc/enchant;security/qca2;x11/dbusmenu-qt;archivers/bzip2;misc/shared-desktop-ontologies;multimedia/phonon;misc/shared-mime-info;net/avahi;x11/qt4;devel/automoc;databases/soprano;productivity/attica;devel/gettext;graphics/giflib;graphics/jasper;textproc/aspell/core;textproc/docbook-xsl;devel/cmake;textproc/docbook;textproc/libxslt;archivers/xz;x11/polkit-qt4;databases/strigi]
>          FULLPKGNAME = kdelibs-4.11.5p8
>          RDEPENDS =
[graphics/openexr;sysutils/upower;multimedia/phonon-backend/gstreamer;devel/desktop-file-utils;sysutils/gamin;multimedia/phonon;misc/shared-mime-info;misc/shared-desktop-ontologies;textproc/enchant;archivers/bzip2;x11/dbusmenu-qt;graphics/jasper;graphics/giflib;x11/kde4/libs,,-langlist;databases/strigi;x11/gtk+2,-guic;archivers/xz;devel/pcre;x11/grantlee;converters/libiconv;x11/qt4;security/qca2;textproc/aspell/core;net/cagibi;x11/kde4/libs,,-en_US;productivity/attica;x11/dbus;devel/gettext;databases/soprano;x11/kde4/oxygen-icons;x11/polkit-qt4;textproc/libxslt]
> (Junk lock failure for localhost at 1400107389)
> Received IO
> (Junk lock obtained for localhost at 1400107390)
> Woken up x11/kde4/libs
> Woken up x11/kde4/libs
> >>> Running depends in x11/kde4/libs at 1400107391
>    last junk was in emulators/zsnes
> /usr/sbin/pkg_add -aI -Dunsigned -Drepair OpenEXR-1.6.1p2
aspell-0.60.6.1p1 attica-0.4.2 automoc4-0.9.88p0 avahi-0.6.31p13
cmake-2.8.12.2p3 dbusmenu-qt-0.9.2 docbook-4.5p1 docbook-xsl-1.68.1p5
enchant-1.6.0p1 gamin-0.1.10p20 giflib-5.0.5 grantlee-0.3.0
jasper-1.900.1p2 pcre-8.33 phonon-4.6.0p1 polkit-qt4-0.103.0p0 qca2-2.0.3p2
qt4-4.8.5p3 shared-desktop-ontologies-0.11.0 shared-mime-info-1.3
soprano-2.9.4 strigi-0.7.7pl1
> was: /usr/sbin/pkg_add -aI -Dunsigned -Drepair OpenEXR-1.6.1p2
aspell-0.60.6.1p1 attica-0.4.2 automoc4-0.9.88p0 avahi-0.6.31p13
bzip2-1.0.6p0 cmake-2.8.12.2p3 dbusmenu-qt-0.9.2 docbook-4.5p1
docbook-xsl-1.68.1p5 enchant-1.6.0p1 gamin-0.1.10p20 gettext-0.18.2p4
giflib-5.0.5 grantlee-0.3.0 jasper-1.900.1p2 libiconv-1.14p1
libxslt-1.1.28p0 ninja-1.4.0 pcre-8.33 phonon-4.6.0p1 polkit-qt4-0.103.0p0
qca2-2.0.3p2 qt4-4.8.5p3 shared-desktop-ontologies-0.11.0
shared-mime-info-1.3 soprano-2.9.4 strigi-0.7.7pl1 xz-5.0.5p0
> /usr/sbin/pkg_add -aI -Dunsigned -Drepair OpenEXR-1.6.1p2
aspell-0.60.6.1p1 attica-0.4.2 automoc4-0.9.88p0 avahi-0.6.31p13
cmake-2.8.12.2p3 dbusmenu-qt-0.9.2 docbook-4.5p1 docbook-xsl-1.68.1p5
enchant-1.6.0p1 gamin-0.1.10p20 giflib-5.0.5 grantlee-0.3.0
jasper-1.900.1p2 pcre-8.33 phonon-4.6.0p1 polkit-qt4-0.103.0p0 qca2-2.0.3p2
qt4-4.8.5p3 shared-desktop-ontologies-0.11.0 shared-mime-info-1.3
soprano-2.9.4 strigi-0.7.7pl1
> Look in /usr/local/share/doc/pkg-readmes for extra documentation.
> >>> Running show-prepare-results in x11/kde4/libs at 1400107406
> ===> x11/kde4/libs
> ===> kdelibs-4.11.5p8 depends on: shared-desktop-ontologies->=0.10 ->
shared-desktop-ontologies-0.11.0
> ===> kdelibs-4.11.5p8 depends on: shared-mime-info-* ->
shared-mime-info-1.3

> ===> kdelibs-4.11.5p8 depends on: avahi-* -> avahi-0.6.31p13
> ===> kdelibs-4.11.5p8 depends on: grantlee-* -> grantlee-0.3.0
> ===> kdelibs-4.11.5p8 depends on: gettext->=0.10.38 -> gettext-0.18.2p4
> ===> kdelibs-4.11.5p8 depends on: docbook-* -> docbook-4.5p1
> ===> kdelibs-4.11.5p8 depends on: docbook-xsl-* -> docbook-xsl-1.68.1p5
> ===> kdelibs-4.11.5p8 depends on: automoc4-* -> automoc4-0.9.88p0
> ===> kdelibs-4.11.5p8 depends on: cmake->=2.8.11.1p0 -> cmake-2.8.12.2p3
> ===> kdelibs-4.11.5p8 depends on: ninja-* -> ninja-1.4.0
> ===> kdelibs-4.11.5p8 depends on: xz-* -> xz-5.0.5p0
> ===> kdelibs-4.11.5p8 depends on: libiconv-* -> libiconv-1.14p1
> ===> kdelibs-4.11.5p8 depends on: phonon->=4.6.0 -> phonon-4.6.0p1
> ===> kdelibs-4.11.5p8 depends on: qt4-* -> qt4-4.8.5p3
> ===> kdelibs-4.11.5p8 depends on: bzip2-* -> bzip2-1.0.6p0
> ===> kdelibs-4.11.5p8 depends on: soprano->=2.9.4 -> soprano-2.9.4
> ===> kdelibs-4.11.5p8 depends on: strigi-* -> strigi-0.7.7pl1
> ===> kdelibs-4.11.5p8 depends on: pcre-* -> pcre-8.33
> ===> kdelibs-4.11.5p8 depends on: giflib-* -> giflib-5.0.5
> ===> kdelibs-4.11.5p8 depends on: jasper-* -> jasper-1.900.1p2
> ===> kdelibs-4.11.5p8 depends on: OpenEXR-* -> OpenEXR-1.6.1p2
> ===> kdelibs-4.11.5p8 depends on: qca2-* -> qca2-2.0.3p2
> ===> kdelibs-4.11.5p8 depends on: gamin-* -> gamin-0.1.10p20
> ===> kdelibs-4.11.5p8 depends on: aspell-* -> aspell-0.60.6.1p1
> ===> kdelibs-4.11.5p8 depends on: enchant-* -> enchant-1.6.0p1
> ===> kdelibs-4.11.5p8 depends on: libxslt-* -> libxslt-1.1.28p0
> ===> kdelibs-4.11.5p8 depends on: attica-* -> attica-0.4.2
> ===> kdelibs-4.11.5p8 depends on: dbusmenu-qt-* -> dbusmenu-qt-0.9.2
> ===> kdelibs-4.11.5p8 depends on: polkit-qt4-* -> polkit-qt4-0.103.0p0
> ===>  Verifying specs: intl>=5 iconv>=6 lib/kde4/libs/phonon_s
 lib/qt4/QtCore intl>=5 iconv>=6 lib/kde4/libs/phonon_s  lib/qt4/QtCore c m
pthread stdc++ util z Half ICE Iex IlmImf IlmThread Imath SM X11 Xau
Xcursor Xdmcp Xext Xfixes Xft Xpm Xrender Xss Xtst lib/qt4/Qt3Support
lib/qt4/QtDBus lib/qt4/QtDeclarative lib/qt4/QtGui lib/qt4/QtNetwork
lib/qt4/QtOpenGL lib/qt4/QtScript lib/qt4/QtSql lib/qt4/QtSvg
lib/qt4/QtWebKit lib/qt4/QtXml aspell attica bz2 dbusmenu-qt enchant exslt
fam gif jasper jpeg lzma pcre pcreposix png polkit-qt-core-1 qca2 soprano
sopranoclient streamanalyzer streams xml2 xslt
> ===>  found intl.6.0 iconv.6.0 lib/kde4/libs/phonon_s.0.0
lib/qt4/QtCore.9.0 c.75.0 m.9.0 pthread.18.0 stdc++.57.0 util.12.1 z.5.0
Half.4.0 ICE.10.0 Iex.4.0 IlmImf.4.0 IlmThread.4.0 Imath.4.0 SM.9.0
X11.16.0 Xau.10.0 Xcursor.5.0 Xdmcp.11.0 Xext.13.0 Xfixes.6.0 Xft.9.0
Xpm.9.0 Xrender.6.0 Xss.6.0 Xtst.11.0 lib/qt4/Qt3Support.8.0
lib/qt4/QtDBus.2.0 lib/qt4/QtDeclarative.0.0 lib/qt4/QtGui.10.1
lib/qt4/QtNetwork.9.1 lib/qt4/QtOpenGL.7.0 lib/qt4/QtScript.2.0
lib/qt4/QtSql.8.0 lib/qt4/QtSvg.7.0 lib/qt4/QtWebKit.3.0 lib/qt4/QtXml.8.0
aspell.17.0 attica.1.0 bz2.10.4 dbusmenu-qt.0.0 enchant.6.1 exslt.9.8
fam.1.0 gif.6.0 jasper.2.1 jpeg.66.0 lzma.1.0 pcre.3.0 pcreposix.1.5
png.17.1 polkit-qt-core-1.1.0 qca2.0.0 soprano.2.1 sopranoclient.2.1
streamanalyzer.2.0 streams.2.0 xml2.15.1 xslt.3.8

> OpenEXR-1.6.1p2
> aspell-0.60.6.1p1
> attica-0.4.2
> automoc4-0.9.88p0
> avahi-0.6.31p13
> bzip2-1.0.6p0
> cmake-2.8.12.2p3
> dbusmenu-qt-0.9.2
> docbook-4.5p1
> docbook-xsl-1.68.1p5
> enchant-1.6.0p1
> gamin-0.1.10p20
> gettext-0.18.2p4
> giflib-5.0.5
> grantlee-0.3.0
> jasper-1.900.1p2
> libiconv-1.14p1
> libxslt-1.1.28p0
> ninja-1.4.0
> pcre-8.33
> phonon-4.6.0p1
> polkit-qt4-0.103.0p0
> qca2-2.0.3p2
> qt4-4.8.5p3
> shared-desktop-ontologies-0.11.0
> shared-mime-info-1.3
> soprano-2.9.4
> strigi-0.7.7pl1
> xz-5.0.5p0
> (Junk lock released for localhost at 1400107411)
> >>> Running fetch in x11/kde4/libs at 1400107412
> ===> x11/kde4/libs
> ===>  Checking files for kdelibs-4.11.5
> `/usr/ports/distfiles/kde/kdelibs-4.11.5.tar.xz' is up to date.
> >>> Running patch in x11/kde4/libs at 1400107412
> ===> x11/kde4/libs
> ===>  Checking files for kdelibs-4.11.5
> `/usr/ports/distfiles/kde/kdelibs-4.11.5.tar.xz' is up to date.
> >> (SHA256) kde/kdelibs-4.11.5.tar.xz: OK
> ===>  Extracting for kdelibs-4.11.5
> cp /usr/ports/x11/kde4/libs/files/FindKexiv2.cmake
/usr/obj/ports/kdelibs-4.11.5/kdelibs-4.11.5/cmake/modules/FindKexiv2.cmake
> cp /usr/ports/x11/kde4/libs/files/FindXine.cmake
/usr/obj/ports/kdelibs-4.11.5/kdelibs-4.11.5/cmake/modules/FindXine.cmake
> cp /usr/ports/x11/kde4/libs/files/FindXKB.cmake
/usr/obj/ports/kdelibs-4.11.5/kdelibs-4.11.5/cmake/modules/FindXKB.cmake
> cp /usr/ports/x11/kde4/libs/files/FindPolkitQt.cmake
/usr/obj/ports/kdelibs-4.11.5/kdelibs-4.11.5/cmake/modules/FindPolkitQt.cmake
> perl /usr/ports/infrastructure/bin/pkg_subst
-DMODKDE4_CMAKE_PREFIX=-release -DKDE4LIB=lib/kde4/libs
-DLIBkde3support_VERSION=50.1 -DLIBkdecore_VERSION=50.1
-DLIBkdefakes_VERSION=50.1 -DLIBkdesu_VERSION=50.1 -DLIBkdeui_VERSION=50.1
-DLIBkdnssd_VERSION=50.1 -DLIBkhtml_VERSION=50.1 -DLIBkimproxy_VERSION=50.1
-DLIBkio_VERSION=50.1 -DLIBkjs_VERSION=50.1 -DLIBkjsembed_VERSION=50.1
-DLIBkmediaplayer_VERSION=50.1 -DLIBknotifyconfig_VERSION=50.1
-DLIBkntlm_VERSION=50.1 -DLIBkparts_VERSION=50.1
-DLIBkrosscore_VERSION=50.1 -DLIBktexteditor_VERSION=50.1
-DLIBkunittest_VERSION=50.1 -DLIBkutils_VERSION=50.1
-DLIBsolid_VERSION=50.1 -DLIBthreadweaver_VERSION=50.1
-DLIBkfile_VERSION=50.1 -DLIBknewstuff2_VERSION=50.1
-DLIBkrossui_VERSION=50.1 -DLIBkpty_VERSION=50.1 -DLIBkjsapi_VERSION=50.1
-DLIBkdewebkit_VERSION=50.1 -DLIBknewstuff3_VERSION=50.1
-DLIBkunitconversion_VERSION=50.1 -DLIBplasma_VERSION=50.1
-DLIBkcmutils_VERSION=50.1 -DLIBkdeclarative_VERSION=50.1
-DLIBkemoticons_VERSION=50.1 -D!
>  LIBkidletime_VERSION=50.1 -DLIBkprintutils_VERSION=50.1
-DLIBnepomuk_VERSION=50.1 -DLIBnepomukquery_VERSION=50.1
-DLIBnepomukutils_VERSION=50.1 -DLIBkdeinit4_kbuildsycoca4_VERSION=50.1
-DLIBkdeinit4_kconf_update_VERSION=50.1 -DLIBkdeinit4_kded4_VERSION=50.1
-DLIBkdeinit4_kio_http_cache_cleaner_VERSION=50.1
-DLIBkdeinit4_klauncher_VERSION=50.1 -DMACHINE_ARCH=i386 -DARCH=i386
-DHOMEPAGE=https://projects.kde.org/projects -D^PREFIX=/usr/local
-D^SYSCONFDIR=/etc -DFLAVOR_EXT= -DFULLPKGNAME=kdelibs-4.11.5
-DMAINTAINER=KDE\ porting\ team\ \<[hidden email]\>
-D^BASE_PKGPATH=x11/kde4/libs -D^LOCALBASE=/usr/local -D^X11BASE=/usr/X11R6
-D^TRUEPREFIX=/usr/local -D^RCDIR=/etc/rc.d -D^LOCALSTATEDIR=/var -c
/usr/ports/x11/kde4/libs/files/FindLibXslt.cmake
 /usr/obj/ports/kdelibs-4.11.5/kdelibs-4.11.5/cmake/modules/FindLibXslt.cmake
> cp /usr/ports/x11/kde4/libs/files/config-util.h.cmake
/usr/obj/ports/kdelibs-4.11.5/kdelibs-4.11.5/kdecore/util/
> cp /usr/ports/x11/kde4/libs/files/ConfigureChecks.cmake
/usr/obj/ports/kdelibs-4.11.5/kdelibs-4.11.5/kdecore/util/
> mv
/usr/obj/ports/kdelibs-4.11.5/kdelibs-4.11.5/doc/kjscmd/man-kjscmd{,4}.1.docbook
> ===>  Patching for kdelibs-4.11.5
> >>> Running configure in x11/kde4/libs at 1400107431
> ===> x11/kde4/libs
> ===>  Configuring for kdelibs-4.11.5
> perl -pi -e 's/\bkjscmd\b/$&4/g'
/usr/obj/ports/kdelibs-4.11.5/kdelibs-4.11.5/doc/kjscmd/*
> perl /usr/ports/infrastructure/bin/pkg_subst
-DMODKDE4_CMAKE_PREFIX=-release -DKDE4LIB=lib/kde4/libs
-DLIBkde3support_VERSION=50.1 -DLIBkdecore_VERSION=50.1
-DLIBkdefakes_VERSION=50.1 -DLIBkdesu_VERSION=50.1 -DLIBkdeui_VERSION=50.1
-DLIBkdnssd_VERSION=50.1 -DLIBkhtml_VERSION=50.1 -DLIBkimproxy_VERSION=50.1
-DLIBkio_VERSION=50.1 -DLIBkjs_VERSION=50.1 -DLIBkjsembed_VERSION=50.1
-DLIBkmediaplayer_VERSION=50.1 -DLIBknotifyconfig_VERSION=50.1
-DLIBkntlm_VERSION=50.1 -DLIBkparts_VERSION=50.1
-DLIBkrosscore_VERSION=50.1 -DLIBktexteditor_VERSION=50.1
-DLIBkunittest_VERSION=50.1 -DLIBkutils_VERSION=50.1
-DLIBsolid_VERSION=50.1 -DLIBthreadweaver_VERSION=50.1
-DLIBkfile_VERSION=50.1 -DLIBknewstuff2_VERSION=50.1
-DLIBkrossui_VERSION=50.1 -DLIBkpty_VERSION=50.1 -DLIBkjsapi_VERSION=50.1
-DLIBkdewebkit_VERSION=50.1 -DLIBknewstuff3_VERSION=50.1
-DLIBkunitconversion_VERSION=50.1 -DLIBplasma_VERSION=50.1
-DLIBkcmutils_VERSION=50.1 -DLIBkdeclarative_VERSION=50.1
-DLIBkemoticons_VERSION=50.1 -D!
>  LIBkidletime_VERSION=50.1 -DLIBkprintutils_VERSION=50.1
-DLIBnepomuk_VERSION=50.1 -DLIBnepomukquery_VERSION=50.1
-DLIBnepomukutils_VERSION=50.1 -DLIBkdeinit4_kbuildsycoca4_VERSION=50.1
-DLIBkdeinit4_kconf_update_VERSION=50.1 -DLIBkdeinit4_kded4_VERSION=50.1
-DLIBkdeinit4_kio_http_cache_cleaner_VERSION=50.1
-DLIBkdeinit4_klauncher_VERSION=50.1 -DMACHINE_ARCH=i386 -DARCH=i386
-DHOMEPAGE=https://projects.kde.org/projects -D^PREFIX=/usr/local
-D^SYSCONFDIR=/etc -DFLAVOR_EXT= -DFULLPKGNAME=kdelibs-4.11.5
-DMAINTAINER=KDE\ porting\ team\ \<[hidden email]\>
-D^BASE_PKGPATH=x11/kde4/libs -D^LOCALBASE=/usr/local -D^X11BASE=/usr/X11R6
-D^TRUEPREFIX=/usr/local -D^RCDIR=/etc/rc.d -D^LOCALSTATEDIR=/var
/usr/obj/ports/kdelibs-4.11.5/kdelibs-4.11.5/kio/kio/ksambashare.cpp

> -- The C compiler identification is GNU 4.2.1
> -- The CXX compiler identification is GNU 4.2.1
> -- Check for working C compiler using: Ninja
> -- Check for working C compiler using: Ninja -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler using: Ninja
> -- Check for working CXX compiler using: Ninja -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Looking for Q_WS_X11
> -- Looking for Q_WS_X11 - found
> -- Looking for Q_WS_WIN
> -- Looking for Q_WS_WIN - not found
> -- Looking for Q_WS_QWS
> -- Looking for Q_WS_QWS - not found
> -- Looking for Q_WS_MAC
> -- Looking for Q_WS_MAC - not found
> -- Found Qt-Version 4.8.5 (using /usr/local/lib/qt4/bin/qmake)
> -- Looking for XOpenDisplay in
/usr/X11R6/lib/libX11.so.16.0;/usr/X11R6/lib/libXext.so.13.0;/usr/X11R6/lib/libXft.so.9.0;/usr/X11R6/lib/libXau.so.10.0;/usr/X11R6/lib/libXdmcp.so.11.0;/usr/X11R6/lib/libXpm.so.9.0
> -- Looking for XOpenDisplay in
/usr/X11R6/lib/libX11.so.16.0;/usr/X11R6/lib/libXext.so.13.0;/usr/X11R6/lib/libXft.so.9.0;/usr/X11R6/lib/libXau.so.10.0;/usr/X11R6/lib/libXdmcp.so.11.0;/usr/X11R6/lib/libXpm.so.9.0
- found

> -- Looking for gethostbyname
> -- Looking for gethostbyname - found
> -- Looking for connect
> -- Looking for connect - found
> -- Looking for remove
> -- Looking for remove - found
> -- Looking for shmat
> -- Looking for shmat - found
> -- Looking for IceConnectionNumber in ICE
> -- Looking for IceConnectionNumber in ICE - found
> -- Found X11: /usr/X11R6/lib/libX11.so.16.0
> -- Looking for include file pthread.h
> -- Looking for include file pthread.h - found
> -- Looking for pthread_create
> -- Looking for pthread_create - not found
> -- Looking for pthread_create in pthreads
> -- Looking for pthread_create in pthreads - not found
> -- Looking for pthread_create in pthread
> -- Looking for pthread_create in pthread - found
> -- Found Threads: TRUE
> -- Found Automoc4: /usr/local/bin/automoc4
> -- Found Perl: /usr/bin/perl (found version "5.18.2")
> -- Building kdelibs...
> -- Found Phonon: /usr/local/include/kde4 (Required is at least version
"4.3.80")
> -- Performing Test _OFFT_IS_64BIT
> -- Performing Test _OFFT_IS_64BIT - Success
> -- Performing Test HAVE_FPIE_SUPPORT
> -- Performing Test HAVE_FPIE_SUPPORT - Success
> -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
> -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
> -- Performing Test __KDE_HAVE_GCC_VISIBILITY
> -- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
> -- Found the KDE4 kconfig_compiler preprocessor:
/usr/obj/ports/kdelibs-4.11.5/build-i386/bin/./kconfig_compiler.shell
> -- Found automoc4: /usr/local/bin/automoc4
> -- Found ZLIB: /usr/lib/libz.so.5.0 (found version "1.2.3")
> -- Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1")
> -- Found Strigi: /usr/local/lib/libstreams.so.2.0 (Required is at least
version "0.6.3")
> -- Found LibAttica: /usr/local/lib/libattica.so.1.0 (found suitable
version "0.4.2", minimum required is "0.4.2")
> -- Found OpenSSL: /usr/lib/libssl.so.24.1;/usr/lib/libcrypto.so.27.0
(found version "1.0.0")
> -- Looking for dgettext
> -- Looking for dgettext - not found
> -- Found Libintl: /usr/local/include
> -- Found Soprano: /usr/local/include (found suitable version "2.9.4",
minimum required is "2.7.56")
> -- Found SharedDesktopOntologies: /usr/local/share/ontology (found
suitable version "0.11.0", minimum required is "0.10")
> -- Found QCA2: /usr/local/lib/libqca2.so.0.0 (Required is at least
version "2.0.0")
> -- Found DBusMenuQt: /usr/local/lib/libdbusmenu-qt.so.0.0 (found version
"0.9.2")

> -- Looking for include file stdio.h
> -- Looking for include file stdio.h - found
> -- Looking for include file stdlib.h
> -- Looking for include file stdlib.h - found
> -- Looking for include file string.h
> -- Looking for include file string.h - found
> -- Looking for include file strings.h
> -- Looking for include file strings.h - found
> -- Looking for include file malloc.h
> -- Looking for include file malloc.h - found
> -- Looking for include file sys/time.h
> -- Looking for include file sys/time.h - found
> -- Looking for include file crt_externs.h
> -- Looking for include file crt_externs.h - not found
> -- Looking for include file alloca.h
> -- Looking for include file alloca.h - not found
> -- Looking for include file fstab.h
> -- Looking for include file fstab.h - found
> -- Looking for include file limits.h
> -- Looking for include file limits.h - found
> -- Looking for include file mntent.h
> -- Looking for include file mntent.h - not found
> -- Looking for include file sysent.h
> -- Looking for include file sysent.h - not found
> -- Looking for include file sys/stat.h
> -- Looking for include file sys/stat.h - found
> -- Looking for include file sys/ucred.h
> -- Looking for include file sys/ucred.h - not found
> -- Looking for include file sys/types.h
> -- Looking for include file sys/types.h - found
> -- Looking for include file sys/select.h
> -- Looking for include file sys/select.h - found
> -- Looking for include file sys/param.h
> -- Looking for include file sys/param.h - found
> -- Looking for include files stdio.h, sys/mnttab.h
> -- Looking for include files stdio.h, sys/mnttab.h - not found
> -- Looking for include file sys/mntent.h
> -- Looking for include file sys/mntent.h - not found
> -- Looking for include files sys/param.h, sys/mount.h
> -- Looking for include files sys/param.h, sys/mount.h - found
> -- Looking for include file unistd.h
> -- Looking for include file unistd.h - found
> -- Looking for include file stdint.h
> -- Looking for include file stdint.h - found
> -- Looking for include file paths.h
> -- Looking for include file paths.h - found
> -- Looking for include file errno.h
> -- Looking for include file errno.h - found
> -- Looking for include file sys/time.h
> -- Looking for include file sys/time.h - found
> -- Looking for include file valgrind/memcheck.h
> -- Looking for include file valgrind/memcheck.h - not found
> -- Looking for include file crtdbg.h
> -- Looking for include file crtdbg.h - not found
> -- Looking for include file langinfo.h
> -- Looking for include file langinfo.h - found
> -- Looking for strcmp
> -- Looking for strcmp - found
> -- Looking for strrchr
> -- Looking for strrchr - found
> -- Looking for strtoll
> -- Looking for strtoll - found
> -- Looking for S_ISSOCK
> -- Looking for S_ISSOCK - found
> -- Looking for vsnprintf
> -- Looking for vsnprintf - found
> -- Looking for posix_madvise
> -- Looking for posix_madvise - found
> -- Looking for getgrouplist
> -- Looking for getgrouplist - found
> -- Looking for backtrace
> -- Looking for backtrace - not found
> -- Looking for getpagesize
> -- Looking for getpagesize - found
> -- Looking for fdatasync
> -- Looking for fdatasync - found
> -- Looking for mmap
> -- Looking for mmap - found
> -- Looking for sendfile
> -- Looking for sendfile - not found
> -- Looking for srandom
> -- Looking for srandom - found
> -- Looking for _NSGetEnviron
> -- Looking for _NSGetEnviron - not found
> -- Looking for gettimeofday
> -- Looking for gettimeofday - found
> -- Looking for volmgt_running in volmgt
> -- Looking for volmgt_running in volmgt - not found
> -- Looking for res_init in resolv
> -- Looking for res_init in resolv - not found
> -- Looking for __res_init in resolv
> -- Looking for __res_init in resolv - not found
> -- Looking for include files sys/types.h, libutil.h
> -- Looking for include files sys/types.h, libutil.h - not found
> -- Looking for include file util.h
> -- Looking for include file util.h - found
> -- Looking for include file termios.h
> -- Looking for include file termios.h - found
> -- Looking for include file termio.h
> -- Looking for include file termio.h - not found
> -- Looking for include file pty.h
> -- Looking for include file pty.h - not found
> -- Looking for include file sys/stropts.h
> -- Looking for include file sys/stropts.h - not found
> -- Looking for include file sys/filio.h
> -- Looking for include file sys/filio.h - found
> -- Looking for addToUtmp in utempter
> -- Looking for addToUtmp in utempter - not found
> -- Looking for include file utempter.h
> -- Looking for include file utempter.h - not found
> -- Looking for login
> -- Looking for login - not found
> -- Looking for login in util
> -- Looking for login in util - found
> -- Looking for getutxent
> -- Looking for getutxent - not found
> -- Performing Test HAVE_STRUCT_UTMP_UT_SYSLEN
> -- Performing Test HAVE_STRUCT_UTMP_UT_SYSLEN - Failed
> -- Performing Test HAVE_STRUCT_UTMP_UT_ID
> -- Performing Test HAVE_STRUCT_UTMP_UT_ID - Failed
> -- Looking for openpty
> -- Looking for openpty - not found
> -- Looking for openpty in util
> -- Looking for openpty in util - found
> -- Looking for ptsname
> -- Looking for ptsname - found
> -- Looking for arc4random
> -- Looking for arc4random - found
> -- Looking for arc4random_uniform
> -- Looking for arc4random_uniform - found
> -- Looking for getmntinfo
> -- Looking for getmntinfo - found
> -- Looking for initgroups
> -- Looking for initgroups - found
> -- Looking for mkstemps
> -- Looking for mkstemps - found
> -- Looking for mkstemp
> -- Looking for mkstemp - found
> -- Looking for mkdtemp
> -- Looking for mkdtemp - found
> -- Looking for random
> -- Looking for random - found
> -- Looking for strlcpy
> -- Looking for strlcpy - found
> -- Looking for strlcat
> -- Looking for strlcat - found
> -- Looking for __CORRECT_ISO_CPP_STRING_H_PROTO
> -- Looking for __CORRECT_ISO_CPP_STRING_H_PROTO - not found
> -- Looking for strcasestr
> -- Looking for strcasestr - found
> -- Performing Test HAVE_STRCASESTR_PROTO
> -- Performing Test HAVE_STRCASESTR_PROTO - Success
> -- Looking for setenv
> -- Looking for setenv - found
> -- Looking for seteuid
> -- Looking for seteuid - found
> -- Looking for setmntent
> -- Looking for setmntent - not found
> -- Looking for unsetenv
> -- Looking for unsetenv - found
> -- Looking for usleep
> -- Looking for usleep - found
> -- Performing Test HAVE_MKSTEMPS_PROTO
> -- Performing Test HAVE_MKSTEMPS_PROTO - Success
> -- Performing Test HAVE_MKDTEMP_PROTO
> -- Performing Test HAVE_MKDTEMP_PROTO - Success
> -- Performing Test HAVE_MKSTEMP_PROTO
> -- Performing Test HAVE_MKSTEMP_PROTO - Success
> -- Performing Test HAVE_STRLCAT_PROTO
> -- Performing Test HAVE_STRLCAT_PROTO - Success
> -- Performing Test HAVE_STRLCPY_PROTO
> -- Performing Test HAVE_STRLCPY_PROTO - Success
> -- Performing Test HAVE_RANDOM_PROTO
> -- Performing Test HAVE_RANDOM_PROTO - Success
> -- Performing Test HAVE_RES_INIT_PROTO
> -- Performing Test HAVE_RES_INIT_PROTO - Success
> -- Performing Test HAVE_SETENV_PROTO
> -- Performing Test HAVE_SETENV_PROTO - Success
> -- Performing Test HAVE_SRANDOM_PROTO
> -- Performing Test HAVE_SRANDOM_PROTO - Success
> -- Performing Test HAVE_UNSETENV_PROTO
> -- Performing Test HAVE_UNSETENV_PROTO - Success
> -- Performing Test HAVE_USLEEP_PROTO
> -- Performing Test HAVE_USLEEP_PROTO - Success
> -- Performing Test HAVE_INITGROUPS_PROTO
> -- Performing Test HAVE_INITGROUPS_PROTO - Success
> -- Performing Test HAVE_SETREUID_PROTO
> -- Performing Test HAVE_SETREUID_PROTO - Success
> -- Performing Test HAVE_TRUNC
> -- Performing Test HAVE_TRUNC - Success
> -- Performing Test GETMNTINFO_USES_STATVFS
> -- Performing Test GETMNTINFO_USES_STATVFS - Failed
> -- Performing Test HAVE_DIRENT_D_TYPE
> -- Performing Test HAVE_DIRENT_D_TYPE - Success
> -- Looking for gethostbyname in nsl
> -- Looking for gethostbyname in nsl - not found
> -- Looking for connect in socket
> -- Looking for connect in socket - not found
> -- Found FAM: /usr/local/include
> -- Looking for include file sys/inotify.h
> -- Looking for include file sys/inotify.h - not found
> -- Performing Test HAVE_QSSLSOCKET
> -- Performing Test HAVE_QSSLSOCKET - Success
> -- Looking for 3 include files sys/types.h, ..., net/if.h
> -- Looking for 3 include files sys/types.h, ..., net/if.h - found
> -- Looking for include file stropts.h
> -- Looking for include file stropts.h - not found
> -- Looking for inet_pton
> -- Looking for inet_pton - found
> -- Looking for inet_ntop
> -- Looking for inet_ntop - found
> -- Looking for getprotobyname_r
> -- Looking for getprotobyname_r - found
> -- Looking for poll
> -- Looking for poll - found
> -- Looking for getservbyname_r
> -- Looking for getservbyname_r - found
> -- Looking for getservbyport_r
> -- Looking for getservbyport_r - found
> -- Looking for gethostbyname2
> -- Looking for gethostbyname2 - found
> -- Looking for gethostbyname2_r
> -- Looking for gethostbyname2_r - not found
> -- Looking for gethostbyname
> -- Looking for gethostbyname - found
> -- Looking for gethostbyname_r
> -- Looking for gethostbyname_r - not found
> -- Looking for if_nametoindex
> -- Looking for if_nametoindex - found
> -- Performing Test HAVE_GETSERVBYNAME_R_PROTO
> -- Performing Test HAVE_GETSERVBYNAME_R_PROTO - Success
> -- Looking for freeaddrinfo
> -- Looking for freeaddrinfo - found
> -- Looking for getnameinfo
> -- Looking for getnameinfo - found
> -- Looking for getaddrinfo
> -- Looking for getaddrinfo - found
> -- Looking for res_init
> -- Looking for res_init - found
> -- Performing Test HAVE_STRUCT_SOCKADDR_SA_LEN
> -- Performing Test HAVE_STRUCT_SOCKADDR_SA_LEN - Success
> -- Performing Test HAVE_GAI_STRERROR_PROTO
> -- Performing Test HAVE_GAI_STRERROR_PROTO - Success
> -- Looking for stddef.h
> -- Looking for stddef.h - found
> -- Check size of struct addrinfo
> -- Check size of struct addrinfo - done
> -- Check size of struct sockaddr_in6
> -- Check size of struct sockaddr_in6 - done
> -- Check size of time_t
> -- Check size of time_t - done
> -- Performing Test HAVE_STRUCT_TM_TM_ZONE
> -- Performing Test HAVE_STRUCT_TM_TM_ZONE - Success
> -- Performing Test HAVE_TM_GMTOFF
> -- Performing Test HAVE_TM_GMTOFF - Success
> -- Found BZip2: /usr/local/lib/libbz2.so.10.4 (found version "1.0.6")
> -- Looking for BZ2_bzCompressInit in /usr/local/lib/libbz2.so.10.4
> -- Looking for BZ2_bzCompressInit in /usr/local/lib/libbz2.so.10.4 - found
> -- Looking for lzma_auto_decoder in /usr/local/lib/liblzma.so.1.0
> -- Looking for lzma_auto_decoder in /usr/local/lib/liblzma.so.1.0 - found
> -- Looking for lzma_easy_encoder in /usr/local/lib/liblzma.so.1.0
> -- Looking for lzma_easy_encoder in /usr/local/lib/liblzma.so.1.0 - found
> -- Looking for lzma_lzma_preset in /usr/local/lib/liblzma.so.1.0
> -- Looking for lzma_lzma_preset in /usr/local/lib/liblzma.so.1.0 - found
> -- Found LIBLZMA: /usr/local/include
> -- Found PolkitQt-1:
/usr/local/lib/cmake/PolkitQt-1/PolkitQt-1Config.cmake (Required is at
least version "0.99.0")

> -- Building PolkitQt-1 KAuth backend
> -- Looking for sys/mman.h
> -- Looking for sys/mman.h - found
> -- Looking for flock
> -- Looking for flock - found
> -- Looking for lockf
> -- Looking for lockf - found
> -- Looking for msync
> -- Looking for msync - found
> -- Looking for posix_fallocate
> -- Looking for posix_fallocate - not found
> -- Performing Test HAVE_MONOTONIC_CLOCK
> -- Performing Test HAVE_MONOTONIC_CLOCK - Success
> -- Performing Test HAVE_GCC_SYNC
> -- Performing Test HAVE_GCC_SYNC - Success
> -- Performing Test HAVE_SHARED_PTHREAD_MUTEXES
> -- Performing Test HAVE_SHARED_PTHREAD_MUTEXES - Failed
> -- Performing Test HAVE_PTHREAD_TIMEOUTS
> -- Performing Test HAVE_PTHREAD_TIMEOUTS - Success
> -- Performing Test HAVE_SHARED_SEMAPHORES
> -- Performing Test HAVE_SHARED_SEMAPHORES - Failed
> -- Performing Test HAVE_SHARED_SEMAPHORES_TIMEOUTS
> -- Performing Test HAVE_SHARED_SEMAPHORES_TIMEOUTS - Failed
> -- Found Qt-Version 4.8.5 (using /usr/local/lib/qt4/bin/qmake)
> -- Found X11: /usr/X11R6/lib/libX11.so.16.0
> -- Looking for setpriority
> -- Looking for setpriority - found
> -- Looking for getpeereid
> -- Looking for getpeereid - found
> -- Check size of struct ucred
> -- Check size of struct ucred - failed
> -- Looking for pthread_attr_get_np in pthread
> -- Looking for pthread_attr_get_np in pthread - not found
> -- Looking for pthread_getattr_np in pthread
> -- Looking for pthread_getattr_np in pthread - not found
> -- Looking for include file float.h
> -- Looking for include file float.h - found
> -- Looking for include file sys/timeb.h
> -- Looking for include file sys/timeb.h - not found
> -- Looking for include file ieeefp.h
> -- Looking for include file ieeefp.h - found
> -- Looking for include files pthread.h, pthread_np.h
> -- Looking for include files pthread.h, pthread_np.h - found
> -- Looking for include file valgrind/memcheck.h
> -- Looking for include file valgrind/memcheck.h - not found
> -- Looking for _finite
> -- Looking for _finite - not found
> -- Looking for finite
> -- Looking for finite - found
> -- Looking for posix_memalign
> -- Looking for posix_memalign - found
> -- Looking for isnan
> -- Looking for isnan - found
> -- Looking for isinf
> -- Looking for isinf - found
> -- Found PCRE: /usr/local/include
> -- Looking for PCRE_CONFIG_UTF8
> -- Looking for PCRE_CONFIG_UTF8 - found
> -- Looking for PCRE_CONFIG_STACKRECURSE
> -- Looking for PCRE_CONFIG_STACKRECURSE - found
> -- Looking for include file arpa/nameser_compat.h
> -- Looking for include file arpa/nameser_compat.h - not found
> -- Looking for include file arpa/nameser8_compat.h
> -- Looking for include file arpa/nameser8_compat.h - not found
> -- Looking for include files sys/types.h, netinet/in.h
> -- Looking for include files sys/types.h, netinet/in.h - found
> -- Performing Test HAVE_X86_MMX
> -- Performing Test HAVE_X86_MMX - Success
> -- Performing Test HAVE_X86_SSE
> -- Performing Test HAVE_X86_SSE - Success
> -- Performing Test HAVE_X86_SSE2
> -- Performing Test HAVE_X86_SSE2 - Success
> -- Performing Test HAVE_X86_3DNOW
> -- Performing Test HAVE_X86_3DNOW - Success
> -- Performing Test HAVE_PPC_ALTIVEC
> -- Performing Test HAVE_PPC_ALTIVEC - Failed
> -- To have UPnP support, explicitly enable HUPNP_ENABLED in the cmake
cache

> -- Building Solid HAL backend.
> -- Building Solid UPower backend.
> -- Building Solid fstab backend.
> -- Found FLEX: /usr/bin/flex (found version "2.5.4")
> -- Found BISON: /usr/local/bin/bison (found version "2.3")
> -- Found LibXslt: /usr/local/lib/libxslt.so.3.8 (found version "1.1.28")
> -- Found LibXml2: /usr/local/lib/libxml2.so.15.1 (found version "2.9.1")
> -- Found DocBookXML: /usr/local/share/xml/docbook/4.2
> -- Found DocBookXSL: /usr/local/share/xsl/docbook
> -- Looking for posix_fadvise
> -- Looking for posix_fadvise - not found
> -- Found SharedMimeInfo: /usr/local/bin/update-mime-database (found
suitable version "1.3", minimum required is "0.60")

> -- Looking for __progname
> -- Looking for __progname - found
> -- Looking for __progname_full
> -- Looking for __progname_full - not found
> -- Looking for include file sys/pstat.h
> -- Looking for include file sys/pstat.h - not found
> -- Looking for pstat
> -- Looking for pstat - not found
> -- Looking for setproctitle
> -- Looking for setproctitle - found
> -- Found ASPELL: /usr/local/lib/libaspell.so.17.0
> -- Found ENCHANT: /usr/local/include/enchant
> -- Found JPEG: /usr/local/lib/libjpeg.so.66.0
> -- Performing Test GIF_GifFileType_UserData
> -- Performing Test GIF_GifFileType_UserData - Success
> -- Found GIF: /usr/local/lib/libgif.so.6.0 (found version "4")
> -- Found PNG: /usr/local/lib/libpng.so.17.1 (found version "1.6.10")
> -- Found Jasper: /usr/local/lib/libjasper.so.2.1 (found version "1.900.1")
> -- Found OPENEXR:
/usr/local/lib/libImath.so.4.0;/usr/local/lib/libIlmImf.so.4.0;/usr/local/lib/libIex.so.4.0;/usr/local/lib/libHalf.so.4.0;/usr/local/lib/libIlmThread.so.4.0
> -- Found Avahi: /usr/local/include
> -- Adding support for OpenGL applets to libplasma
> -- Adding support for Phonon to libplasma
> --
> -- The following features have been enabled:
>
>  * X Rendering Extension (libXrender) , Support for compositing,
rendering operations, and alpha-blending. STRONGLY RECOMMENDED
>  * X Screensaver Extension (libXss) , Support for KIdleTime (fallback
mode)
>  * X Sync Extension (libXext) , Efficient operation of KIdleTime.
STRONGLY RECOMMENDED
>  * QtWebkit , Needed for building kdelibs
>
> -- The following OPTIONAL packages have been found:
>
>  * Soprano (required version >= 2.7.56) , Support for the Nepomuk
semantic desktop system , <http://soprano.sourceforge.net>
>  * SharedDesktopOntologies (required version >= 0.10) , Support for the
Nepomuk semantic desktop system , <http://oscaf.sourceforge.net>
>  * QCA2 (required version >= 2.0.0) , Support for remote plasma widgets ,
<http://delta.affinix.com/qca>
>  * FAM , File alteration notification support via a separate service , <
http://oss.sgi.com/projects/fam>
>    Provides file alteration notification facilities using a separate
service.
>  * LibLZMA , Support for xz compressed files and data streams , <
http://tukaani.org/xz/>
>  * PolkitQt-1 (required version >= 0.99.0) , "Support for executing
priviledged actions in a controlled way (KAuth)" , <
http://techbase.kde.org/Polkit-Qt-1>
>    "STRONGLY RECOMMENDED: Required to make KAuth work, and hence enable
certain workspace functionalities"
>  * Threads
>  * Grantlee (required version >= 0.1.0) , ModelEventLogger code
generation (part of the ProxyModel test suite) , <http://www.grantlee.org>
>    Grantlee is used for generating compilable code by the
ModelEventLogger.
>                          Without Grantlee, the logger will do nothing.
>  * PCRE , Perl-compatible regular expressions in KJS , <
http://www.pcre.org>
>    Without PCRE, KJS will have extremely poor regular expression support,
breaking many webpages.
>  * FLEX , Allows the Solid predicate parser to be updated , <
http://flex.sourceforge.net>
>    Required by the UpdateSolidPredicateParser target (mainly useful for
developers)
>  * BISON , Allows the Solid predicate parser to be updated , <
http://www.gnu.org/software/bison>
>    Required by the UpdateSolidPredicateParser target (mainly useful for
developers)
>  * ASPELL , Spell checking support via Aspell , <http://aspell.net/>
>    This is not needed for spell checking if Enchant is provided or only
Hebrew spell checking is required
>  * ENCHANT , Spell checking support via Enchant , <
http://www.abisource.com/projects/enchant/>
>  * Jasper , Support for JPEG-2000 images , <
http://www.ece.uvic.ca/~mdadams/jasper>
>  * PkgConfig
>  * OpenEXR , Support for OpenEXR images , <http://www.openexr.com>
>  * Avahi , Facilities for service discovery on a local network (DNSSD) , <
http://avahi.org>
>    Either Avahi or DNSSD is required for KDE applications to make use of
multicast DNS/DNS-SD service discovery
>
> -- The following RECOMMENDED packages have been found:
>
>  * OpenSSL , Support for secure network communications (SSL and TLS) , <
http://openssl.org>
>    KDE uses OpenSSL for the bulk of secure communications, including
secure web browsing via HTTPS
>  * Libintl , Support for multiple languages , <
http://www.gnu.org/software/gettext>
>    Enables KDE to be available in many different languages
>  * BZip2 , Support for BZip2 compressed files and data streams , <
http://www.bzip.org>
>
> -- The following REQUIRED packages have been found:
>
>  * Automoc4
>  * Phonon (required version >= 4.3.80)
>  * KDE4Internal
>  * Perl , <http://www.perl.org>
>    Needed for building kdelibs
>  * Strigi (required version >= 0.6.3) , Desktop indexing and search
support , <http://strigi.sourceforge.net>
>    Required by some critical kioslaves
>  * LibAttica (required version >= 0.4.2) , Support for Get Hot New Stuff
, <https://projects.kde.org/attica>
>  * DBusMenuQt , Support for notification area menus via the DBusMenu
protocol , <https://launchpad.net/libdbusmenu-qt>
>  * X11
>  * Qt4
>  * LibXslt , <http://xmlsoft.org/XSLT>
>    Required by the KDE help system to process DocBook XML
>  * LibXml2 , <http://xmlsoft.org>
>    Required by the KDE help system to process DocBook XML
>  * DocBookXML , DocBook XML , <http://www.oasis-open.org/docbook/xml/4.2>
>    Required by the KDE help system to process DocBook XML
>  * DocBookXSL , DocBook XSL , <
http://docbook.sourceforge.net/release/xsl/current/>
>    Required by the KDE help system to process DocBook XML
>  * SharedMimeInfo (required version >= 0.60) , Shared Mime Info , <
http://freedesktop.org/wiki/Software/shared-mime-info>
>    Allows KDE applications to determine file types
>  * GIF , GIF image format support , <
http://sourceforge.net/projects/giflib>
>    Required by khtml
>  * ZLIB , Support for gzip compressed files and data streams , <
http://www.zlib.net>
>    Required by the core KDE libraries and some critical kioslaves
>  * PNG , PNG image format support , <http://www.libpng.org/pub/png>
>    Required by khtml
>  * JPEG , JPEG image format support , <http://www.ijg.org>
>    Required by khtml
>
> -- The following OPTIONAL packages have not been found:
>
>  * GSSAPI , Allows KIO to make use of certain HTTP authentication
services , <http://web.mit.edu/kerberos/www>
>    A MIT or HEIMDAL flavor of GSSAPI can be used
>
> -- Configuring done
> Segmentation fault (core dumped)
> *** Error 139 in x11/kde4/libs (/usr/ports/infrastructure/mk/
bsd.port.mk:2672 '/usr/obj/ports/kdelibs-4.11.5/build-i386/.configure_done')
> *** Error 1 in x11/kde4/libs (/usr/ports/infrastructure/mk/
bsd.port.mk:2423 'configure')
> ===> Exiting x11/kde4/libs with an error
> /bin/sh: exit 1: not found
> *** Error 127 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:147'configure')
> Error: job failed 256
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: cmake segfault

David Coppa
On Thu, May 15, 2014 at 2:30 PM, Vadim Zhukov <[hidden email]> wrote:

> 15.05.2014 3:28 пользователь "Stuart Henderson" <[hidden email]> написал:
>
>
>>
>> Segfault in cmake while attempting to configure kde4libs on -current i386.
>>
>> I might try repeating this with symbols when my current bulk build
>> is done, but thought I'd post it here now in case anyone would
>> like to dig in...
>
> So we have two CMake-related package building problems now.

What's the other one?

> David, do you have a port for upcoming CMake 3.0?

not yet.

Reply | Threaded
Open this post in threaded view
|

Re: cmake segfault

Vadim Zhukov
15.05.2014 16:45 пользователь "David Coppa" <[hidden email]> написал:
>
> On Thu, May 15, 2014 at 2:30 PM, Vadim Zhukov <[hidden email]> wrote:
> > 15.05.2014 3:28 пользователь "Stuart Henderson" <[hidden email]>
написал:
> >
> >
> >>
> >> Segfault in cmake while attempting to configure kde4libs on -current
i386.
> >>
> >> I might try repeating this with symbols when my current bulk build
> >> is done, but thought I'd post it here now in case anyone would
> >> like to dig in...
> >
> > So we have two CMake-related package building problems now.
>
> What's the other one?

x11/kde4/l10n/pt, reproduceable in bulk build on i386 and amd64.

> > David, do you have a port for upcoming CMake 3.0?
>
> not yet.

Hm. What if we try to use -O1 for building CMake itself, as it's done on
arm already?.. Stuart, could you test if this helps, please? I cannot
reproduce any of those problems on my laptop in simple builds, and bulk
builds of KDE4 take too much time. :(
Reply | Threaded
Open this post in threaded view
|

Re: cmake segfault

Stuart Henderson
On 2014/05/15 16:55, Vadim Zhukov wrote:

> 15.05.2014 16:45 пользователь "David Coppa" <[hidden email]> написал:
> >
> > On Thu, May 15, 2014 at 2:30 PM, Vadim Zhukov <[hidden email]>
> wrote:
> > > 15.05.2014 3:28 пользователь "Stuart Henderson" <[hidden email]>
> написал:
> > >
> > >
> > >>
> > >> Segfault in cmake while attempting to configure kde4libs on
> -current i386.
> > >>
> > >> I might try repeating this with symbols when my current bulk build
> > >> is done, but thought I'd post it here now in case anyone would
> > >> like to dig in...
> > >
> > > So we have two CMake-related package building problems now.

Yet there has been no relevant change to CMake that makes the timescale.
Discounting the java/python changes which don't seem like they could
do this, last update was in March.

> > What's the other one?
>
> x11/kde4/l10n/pt, reproduceable in bulk build on i386 and amd64.
>
> > > David, do you have a port for upcoming CMake 3.0?
> >
> > not yet.
>
> Hm. What if we try to use -O1 for building CMake itself, as it's done
> on arm already?.. Stuart, could you test if this helps, please? I
> cannot reproduce any of those problems on my laptop in simple builds,
> and bulk builds of KDE4 take too much time. :(
>

x11/kde4/l10n/pt is reproducable in a simple "make package", it does not
need a bulk build.

I'm wondering about "When the stack protector heuristics doesn't cover a
function, leave a little pointer-sized gap before the return value" in gcc.
My build machines are busy with an llvm test build at the moment though.


Reply | Threaded
Open this post in threaded view
|

Re: cmake segfault

Vadim Zhukov
15.05.2014 17:11 пользователь "Stuart Henderson" <[hidden email]>
написал:

>
> On 2014/05/15 16:55, Vadim Zhukov wrote:
> > 15.05.2014 16:45 пользователь "David Coppa" <[hidden email]> написал:
> > >
> > > On Thu, May 15, 2014 at 2:30 PM, Vadim Zhukov <[hidden email]>
> > wrote:
> > > > 15.05.2014 3:28 пользователь "Stuart Henderson" <[hidden email]>
> > написал:
> > > >
> > > >
> > > >>
> > > >> Segfault in cmake while attempting to configure kde4libs on
> > -current i386.
> > > >>
> > > >> I might try repeating this with symbols when my current bulk build
> > > >> is done, but thought I'd post it here now in case anyone would
> > > >> like to dig in...
> > > >
> > > > So we have two CMake-related package building problems now.
>
> Yet there has been no relevant change to CMake that makes the timescale.
> Discounting the java/python changes which don't seem like they could
> do this, last update was in March.
>
> > > What's the other one?
> >
> > x11/kde4/l10n/pt, reproduceable in bulk build on i386 and amd64.
> >
> > > > David, do you have a port for upcoming CMake 3.0?
> > >
> > > not yet.
> >
> > Hm. What if we try to use -O1 for building CMake itself, as it's done
> > on arm already?.. Stuart, could you test if this helps, please? I
> > cannot reproduce any of those problems on my laptop in simple builds,
> > and bulk builds of KDE4 take too much time. :(
> >
>
> x11/kde4/l10n/pt is reproducable in a simple "make package", it does not
> need a bulk build.
>
> I'm wondering about "When the stack protector heuristics doesn't cover a
> function, leave a little pointer-sized gap before the return value" in
gcc.
> My build machines are busy with an llvm test build at the moment though.

I'll use fresh snapshot here then and try again, things still work fine for
me now.
Reply | Threaded
Open this post in threaded view
|

Re: cmake segfault

Stuart Henderson-6
In reply to this post by Vadim Zhukov
On 2014/05/15 16:55, Vadim Zhukov wrote:

> 15.05.2014 16:45 пользователь "David Coppa" <[hidden email]> написал:
> >
> > On Thu, May 15, 2014 at 2:30 PM, Vadim Zhukov <[hidden email]> wrote:
> > > 15.05.2014 3:28 пользователь "Stuart Henderson" <[hidden email]>
> написал:
> > >
> > >
> > >>
> > >> Segfault in cmake while attempting to configure kde4libs on -current
> i386.
> > >>
> > >> I might try repeating this with symbols when my current bulk build
> > >> is done, but thought I'd post it here now in case anyone would
> > >> like to dig in...
> > >
> > > So we have two CMake-related package building problems now.
> >
> > What's the other one?
>
> x11/kde4/l10n/pt, reproduceable in bulk build on i386 and amd64.
>
> > > David, do you have a port for upcoming CMake 3.0?
> >
> > not yet.
>
> Hm. What if we try to use -O1 for building CMake itself, as it's done on
> arm already?.. Stuart, could you test if this helps, please? I cannot
> reproduce any of those problems on my laptop in simple builds, and bulk
> builds of KDE4 take too much time. :(

Testing on my amd64 laptop with cmake built with "-O0 -g", I hit segfaults
twice out of about 60 runs of "make configure" in kde4/pimlibs. It seems to
happen a lot more frequently on i386, I usually notice it with kde4/workspace
there. Naddy also sees it sometimes, again on kde4 ports.

Here's a gdb transcript from one run.


$ gdb `which cmake` cmake.1.core
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd5.5"...
Core was generated by `cmake'.
Program terminated with signal 11, Segmentation fault.
Loaded symbols for /usr/local/bin/cmake
Reading symbols from /usr/lib/libexpat.so.11.0...done.
Loaded symbols for /usr/lib/libexpat.so.11.0
Reading symbols from /usr/lib/libz.so.5.0...done.
Loaded symbols for /usr/lib/libz.so.5.0
Reading symbols from /usr/local/lib/libarchive.so.8.0...done.
Loaded symbols for /usr/local/lib/libarchive.so.8.0
Reading symbols from /usr/local/lib/libcurl.so.24.2...done.
Loaded symbols for /usr/local/lib/libcurl.so.24.2
Reading symbols from /usr/lib/libstdc++.so.57.0...done.
Loaded symbols for /usr/lib/libstdc++.so.57.0
Reading symbols from /usr/lib/libm.so.9.0...done.
Loaded symbols for /usr/lib/libm.so.9.0
Reading symbols from /usr/lib/libc.so.75.0...done.
Loaded symbols for /usr/lib/libc.so.75.0
Reading symbols from /usr/local/lib/libiconv.so.6.0...done.
Loaded symbols for /usr/local/lib/libiconv.so.6.0
Reading symbols from /usr/local/lib/liblzma.so.1.0...done.
Loaded symbols for /usr/local/lib/liblzma.so.1.0
Reading symbols from /usr/local/lib/libbz2.so.10.4...done.
Loaded symbols for /usr/local/lib/libbz2.so.10.4
Reading symbols from /usr/local/lib/libidn.so.17.0...done.
Loaded symbols for /usr/local/lib/libidn.so.17.0
Reading symbols from /usr/local/lib/libintl.so.6.0...done.
Loaded symbols for /usr/local/lib/libintl.so.6.0
Reading symbols from /usr/lib/libssl.so.24.1...done.
Loaded symbols for /usr/lib/libssl.so.24.1
Reading symbols from /usr/lib/libcrypto.so.28.0...done.
Loaded symbols for /usr/lib/libcrypto.so.28.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
#0  0x00001746a7f112b4 in strlen (
    str=0x1746a5b74ff8 "ÐÐÐÐÐÐÐÐ" <Address 0x1746a5b75000 out of bounds>)
    at /usr/src/lib/libc/string/strlen.c:39
39 for (s = str; *s; ++s)
(gdb) x/16x str
0x1746a5b74ff8: 0xd0d0d0d0 0xd0d0d0d0 Cannot access memory at address 0x1746a5b75000
(gdb) bt
#0  0x00001746a7f112b4 in strlen (
    str=0x1746a5b74ff8 "ÐÐÐÐÐÐÐÐ" <Address 0x1746a5b75000 out of bounds>)
    at /usr/src/lib/libc/string/strlen.c:39
#1  0x00001746ac36e970 in basic_string (this=0x7f7ffffdf0f8,
    __s=0x1746a5b74ff8 "ÐÐÐÐÐÐÐÐ" <Address 0x1746a5b75000 out of bounds>, __a=@0x7f7ffffdf107)
    at char_traits.h:258
#2  0x00001744a16b5dbd in cmTarget::GetLinkClosure (this=0x1746a6aec428,
    config=0x1746a5b74ff8 "ÐÐÐÐÐÐÐÐ" <Address 0x1746a5b75000 out of bounds>, head=0x1746a6aec428)
    at /usr/obj/cmake-2.8.12.2/cmake-2.8.12.2/Source/cmTarget.cxx:4289
#3  0x00001744a17c1ac2 in cmComputeLinkInformation::GetRPath (this=0x1746b0963800,
    runtimeDirs=@0x7f7ffffdf410, for_install=false)
    at /usr/obj/cmake-2.8.12.2/cmake-2.8.12.2/Source/cmComputeLinkInformation.cxx:1944
#4  0x00001744a1864c97 in cmLocalGenerator::OutputLinkLibraries (this=0x1746b086a200,
    linkLibraries=@0x1746af261368, frameworkPath=@0x7f7ffffdfcc8, linkPath=@0x7f7ffffdfcc0,
    tgt=@0x1746af034c00, relink=false)
    at /usr/obj/cmake-2.8.12.2/cmake-2.8.12.2/Source/cmLocalGenerator.cxx:1812
#5  0x00001744a18620ee in cmLocalGenerator::GetTargetFlags (this=0x1746b086a200,
    linkLibs=@0x1746af261368, flags=@0x1746af2613a8, linkFlags=@0x1746aac3f268,
    frameworkPath=@0x7f7ffffdfcc8, linkPath=@0x7f7ffffdfcc0, target=0x1746af034c00)
    at /usr/obj/cmake-2.8.12.2/cmake-2.8.12.2/Source/cmLocalGenerator.cxx:1617
#6  0x00001744a172537c in cmNinjaNormalTargetGenerator::WriteLinkStatement (this=0x1746a8468600)
    at /usr/obj/cmake-2.8.12.2/cmake-2.8.12.2/Source/cmNinjaNormalTargetGenerator.cxx:446
#7  0x00001744a172995d in cmNinjaNormalTargetGenerator::Generate (this=0x1746a8468600)
    at /usr/obj/cmake-2.8.12.2/cmake-2.8.12.2/Source/cmNinjaNormalTargetGenerator.cxx:94
#8  0x00001744a171b6c3 in cmLocalNinjaGenerator::Generate (this=0x1746b086a200)
    at /usr/obj/cmake-2.8.12.2/cmake-2.8.12.2/Source/cmLocalNinjaGenerator.cxx:60
#9  0x00001744a182a838 in cmGlobalGenerator::Generate (this=0x1746a1f13000)
    at /usr/obj/cmake-2.8.12.2/cmake-2.8.12.2/Source/cmGlobalGenerator.cxx:1046
#10 0x00001744a171378b in cmGlobalNinjaGenerator::Generate (this=0x1746a1f13000)
    at /usr/obj/cmake-2.8.12.2/cmake-2.8.12.2/Source/cmGlobalNinjaGenerator.cxx:488
#11 0x00001744a16ecb68 in cmake::Generate (this=0x7f7ffffe0040)
    at /usr/obj/cmake-2.8.12.2/cmake-2.8.12.2/Source/cmake.cxx:2606
#12 0x00001744a16f76a1 in cmake::Run (this=0x7f7ffffe0040, args=@0x7f7ffffe0670, noconfigure=false)
    at /usr/obj/cmake-2.8.12.2/cmake-2.8.12.2/Source/cmake.cxx:2586
#13 0x00001744a1627567 in do_cmake (ac=19, av=0x7f7ffffe0868)
    at /usr/obj/cmake-2.8.12.2/cmake-2.8.12.2/Source/cmakemain.cxx:532
#14 0x00001744a16278a8 in main (ac=19, av=0x7f7ffffe0868)
    at /usr/obj/cmake-2.8.12.2/cmake-2.8.12.2/Source/cmakemain.cxx:343
Current language:  auto; currently c
(gdb) fr 2
#2  0x00001744a16b5dbd in cmTarget::GetLinkClosure (this=0x1746a6aec428,
    config=0x1746a5b74ff8 "ÐÐÐÐÐÐÐÐ" <Address 0x1746a5b75000 out of bounds>, head=0x1746a6aec428)
    at /usr/obj/cmake-2.8.12.2/cmake-2.8.12.2/Source/cmTarget.cxx:4289
4289  TargetConfigPair key(head, cmSystemTools::UpperCase(config ? config : ""));
Current language:  auto; currently c++
(gdb) x/8x config
0x1746a5b74ff8: 0xd0d0d0d0 0xd0d0d0d0 Cannot access memory at address 0x1746a5b75000
(gdb) x/x config
0x1746a5b74ff8: 0xd0d0d0d0
(gdb) fr 3
#3  0x00001744a17c1ac2 in cmComputeLinkInformation::GetRPath (this=0x1746b0963800,
    runtimeDirs=@0x7f7ffffdf410, for_install=false)
    at /usr/obj/cmake-2.8.12.2/cmake-2.8.12.2/Source/cmComputeLinkInformation.cxx:1944
1944    this->Target->GetLinkClosure(this->Config, this->HeadTarget);
(gdb) x/x this->Config
0x1746a5b74ff8: 0xd0d0d0d0
(gdb) fr 4
#4  0x00001744a1864c97 in cmLocalGenerator::OutputLinkLibraries (this=0x1746b086a200,
    linkLibraries=@0x1746af261368, frameworkPath=@0x7f7ffffdfcc8, linkPath=@0x7f7ffffdfcc0,
    tgt=@0x1746af034c00, relink=false)
    at /usr/obj/cmake-2.8.12.2/cmake-2.8.12.2/Source/cmLocalGenerator.cxx:1812
1812  cli.GetRPath(runtimeDirs, relink);
(gdb) p runtimeDirs
$1 = {<std::_Vector_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >,std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >> = {
    _M_impl = {<std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<__gnu_cxx::new_allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<No data fields>}, <No data fields>}, _M_start = 0x1746a6a0be40,
      _M_finish = 0x1746a6a0be58, _M_end_of_storage = 0x1746a6a0be60}}, <No data fields>}
(gdb) p runtimeDirs._M_impl._M_start
$2 = (std::basic_string<char,std::char_traits<char>,std::allocator<char> > *) 0x1746a6a0be40
(gdb) p *runtimeDirs._M_impl._M_start
$3 = {
  static npos = 18446744073709551615,
  _M_dataplus = {
    <std::allocator<char>> = {
      <__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
    members of std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Alloc_hider:
    _M_p = 0x1746aa5ef518 "/usr/obj/kdepimlibs-4.11.5/build-amd64/lib"
  }
}

And that is about where my c++ debugging skills end.

Backtrace from the other crashing run had the same functions, but the
crash trigger variables had freed (0xdf) rather than unallocated (0xd0)
memory e.g.

(gdb) fr 3
#3  0x00000314f6dc1ac2 in cmComputeLinkInformation::GetRPath (this=0x31701f4f000,
    runtimeDirs=@0x7f7ffffc3bb0, for_install=false)
    at /usr/obj/cmake-2.8.12.2/cmake-2.8.12.2/Source/cmComputeLinkInformation.cxx:1944
1944    this->Target->GetLinkClosure(this->Config, this->HeadTarget);
Current language:  auto; currently c++
(gdb) p this->Config
$1 = 0x316fe402ff8 "ßßßßßßßß" <Address 0x316fe403000 out of bounds>
(gdb) x/x this->Config
0x316fe402ff8: 0xdfdfdfdf


Reply | Threaded
Open this post in threaded view
|

Re: cmake segfault

Ted Unangst-6
In reply to this post by David Coppa
On Mon, Jun 16, 2014 at 10:57, Stuart Henderson wrote:
> #0  0x00001746a7f112b4 in strlen (
> str=0x1746a5b74ff8 "ÐÐÐÐÐÐÐÐ" <Address 0x1746a5b75000 out of
> bounds>)
> at /usr/src/lib/libc/string/strlen.c:39
> 39 for (s = str; *s; ++s)
> (gdb) x/16x str
> 0x1746a5b74ff8: 0xd0d0d0d0 0xd0d0d0d0 Cannot access memory at address

> Backtrace from the other crashing run had the same functions, but the
> crash trigger variables had freed (0xdf) rather than unallocated (0xd0)
> memory e.g.

> (gdb) x/x this->Config
> 0x316fe402ff8: 0xdfdfdfdf

So you are running with J as well? The first crash might go away
without J, but the second will only go away now with little j. Of
course, we don't want to do that.

The first bug seems a little simpler. Based on the trace, cmTarget
should initialize config to empty string, not just memory. Harder to
tell where the free is in the second case.


Reply | Threaded
Open this post in threaded view
|

Re: cmake segfault

Stuart Henderson-6
On 2014/06/16 11:35, Ted Unangst wrote:

> On Mon, Jun 16, 2014 at 10:57, Stuart Henderson wrote:
> > #0  0x00001746a7f112b4 in strlen (
> > str=0x1746a5b74ff8 "ÐÐÐÐÐÐÐÐ" <Address 0x1746a5b75000 out of
> > bounds>)
> > at /usr/src/lib/libc/string/strlen.c:39
> > 39 for (s = str; *s; ++s)
> > (gdb) x/16x str
> > 0x1746a5b74ff8: 0xd0d0d0d0 0xd0d0d0d0 Cannot access memory at address
>
> > Backtrace from the other crashing run had the same functions, but the
> > crash trigger variables had freed (0xdf) rather than unallocated (0xd0)
> > memory e.g.
>
> > (gdb) x/x this->Config
> > 0x316fe402ff8: 0xdfdfdfdf
>
> So you are running with J as well? The first crash might go away
> without J, but the second will only go away now with little j. Of
> course, we don't want to do that.
>
> The first bug seems a little simpler. Based on the trace, cmTarget
> should initialize config to empty string, not just memory. Harder to
> tell where the free is in the second case.
>

IIRC both these were with no malloc.conf.



----- Forwarded message from Stuart Henderson <[hidden email]> -----

On 2014/06/16 13:51, Marc Espie wrote:
> Assuming no memory overrun, this str comes from line 1741 of
> cmLocalGenerator.cxx
>
> Can you go back up a few frames and check the value of config ?

(gdb) fr 4
#4  0x00001744a1864c97 in cmLocalGenerator::OutputLinkLibraries (this=0x1746b086a200,
    linkLibraries=@0x1746af261368, frameworkPath=@0x7f7ffffdfcc8, linkPath=@0x7f7ffffdfcc0,
    tgt=@0x1746af034c00, relink=false)
    at /usr/obj/cmake-2.8.12.2/cmake-2.8.12.2/Source/cmLocalGenerator.cxx:1812
1812  cli.GetRPath(runtimeDirs, relink);
(gdb) p config
$2 = 0x1746a3db30b8 "Release"


Reply | Threaded
Open this post in threaded view
|

Re: cmake segfault

Ted Unangst-6
In reply to this post by David Coppa
On Mon, Jun 16, 2014 at 17:50, Stuart Henderson wrote:
> On 2014/06/16 11:35, Ted Unangst wrote:
>> On Mon, Jun 16, 2014 at 10:57, Stuart Henderson wrote:
>> > #0  0x00001746a7f112b4 in strlen (
>> > str=0x1746a5b74ff8 "ÐÐÐÐÐÐÐÐ" <Address 0x1746a5b75000 out of
>> > bounds>)
>> > at /usr/src/lib/libc/string/strlen.c:39
>> > 39 for (s = str; *s; ++s)
>> > (gdb) x/16x str
>> > 0x1746a5b74ff8: 0xd0d0d0d0 0xd0d0d0d0 Cannot access memory at address

>> So you are running with J as well? The first crash might go away
>> without J, but the second will only go away now with little j. Of
>> course, we don't want to do that.
>>
>> The first bug seems a little simpler. Based on the trace, cmTarget
>> should initialize config to empty string, not just memory. Harder to
>> tell where the free is in the second case.
>>
>
> IIRC both these were with no malloc.conf.

That's a little strange. The d0d0 pattern is only written when J is
enabled. By default, you should only be seeing dfdf patterns in freed
memory.


Reply | Threaded
Open this post in threaded view
|

Re: cmake segfault

Stuart Henderson-6
On 2014/06/16 13:36, Ted Unangst wrote:

> On Mon, Jun 16, 2014 at 17:50, Stuart Henderson wrote:
> > On 2014/06/16 11:35, Ted Unangst wrote:
> >> On Mon, Jun 16, 2014 at 10:57, Stuart Henderson wrote:
> >> > #0  0x00001746a7f112b4 in strlen (
> >> > str=0x1746a5b74ff8 "ÐÐÐÐÐÐÐÐ" <Address 0x1746a5b75000 out of
> >> > bounds>)
> >> > at /usr/src/lib/libc/string/strlen.c:39
> >> > 39 for (s = str; *s; ++s)
> >> > (gdb) x/16x str
> >> > 0x1746a5b74ff8: 0xd0d0d0d0 0xd0d0d0d0 Cannot access memory at address
>
> >> So you are running with J as well? The first crash might go away
> >> without J, but the second will only go away now with little j. Of
> >> course, we don't want to do that.
> >>
> >> The first bug seems a little simpler. Based on the trace, cmTarget
> >> should initialize config to empty string, not just memory. Harder to
> >> tell where the free is in the second case.
> >>
> >
> > IIRC both these were with no malloc.conf.
>
> That's a little strange. The d0d0 pattern is only written when J is
> enabled. By default, you should only be seeing dfdf patterns in freed
> memory.
>

I didn't remember correctly then ;) (I was switching it round a bit to try
and get it to trigger faster because my laptop was getting rather warm with
all the attempts and probably forgot which run was which..).


Reply | Threaded
Open this post in threaded view
|

Re: cmake segfault

Vadim Zhukov
In reply to this post by Stuart Henderson-6
16.06.2014 13:57 пользователь "Stuart Henderson" <[hidden email]>
написал:
>
> On 2014/05/15 16:55, Vadim Zhukov wrote:
> > 15.05.2014 16:45 пользователь "David Coppa" <[hidden email]> написал:
> > >
> > > On Thu, May 15, 2014 at 2:30 PM, Vadim Zhukov <[hidden email]>
wrote:
> > > > 15.05.2014 3:28 пользователь "Stuart Henderson" <[hidden email]>
> > написал:
> > > >
> > > >
> > > >>
> > > >> Segfault in cmake while attempting to configure kde4libs on
-current

> > i386.
> > > >>
> > > >> I might try repeating this with symbols when my current bulk build
> > > >> is done, but thought I'd post it here now in case anyone would
> > > >> like to dig in...
> > > >
> > > > So we have two CMake-related package building problems now.
> > >
> > > What's the other one?
> >
> > x11/kde4/l10n/pt, reproduceable in bulk build on i386 and amd64.
> >
> > > > David, do you have a port for upcoming CMake 3.0?
> > >
> > > not yet.
> >
> > Hm. What if we try to use -O1 for building CMake itself, as it's done on
> > arm already?.. Stuart, could you test if this helps, please? I cannot
> > reproduce any of those problems on my laptop in simple builds, and bulk
> > builds of KDE4 take too much time. :(
>
> Testing on my amd64 laptop with cmake built with "-O0 -g", I hit segfaults
> twice out of about 60 runs of "make configure" in kde4/pimlibs. It seems
to
> happen a lot more frequently on i386, I usually notice it with
kde4/workspace
> there. Naddy also sees it sometimes, again on kde4 ports.
>
> Here's a gdb transcript from one run.

Thank you, Stuart! It looks like I see the offending code now. This is a
clear race, hope to fix it soon.