Subject: pkg/17164: kdelibs3 fails to build (virtual memory exhausted)
To: None <>
From: None <>
List: netbsd-bugs
Date: 06/04/2002 12:25:54
>Number:         17164
>Category:       pkg
>Synopsis:       kdelibs3 build stops on "global.cpp:1163: virtual memory exhausted"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 04 03:27:01 PDT 2002
>Originator:     Eric Jacoboni
>Release:        NetBSD 1.6A
System: NetBSD 1.6A NetBSD 1.6A (TITINE-Revision: 1.492 $) #47: Fri May 31 17:27:22 CEST 2002 i386
Architecture: i386
Machine: i386
A "make" in kdelibs3 pkgsrc directory fails with:

c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I./.. -I./../kssl -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I/usr/pkgsrc/x11/kdelibs3/work.i386/.buildlink/qt3/include -I/usr/local/share/x11-links/include -I/usr/pkgsrc/x11/kdelibs3/work.i386/.buildlink/include -I/usr/pkgsrc/x11/kdelibs3/work.i386/.buildlink/include -I/usr/local/share/x11-links/include -I/usr/pkgsrc/x11/kdelibs3/work.i386/.buildlink/include -D_LARGEFILE64_SOURCE -pthread -DQT_THREAD_SUPPORT -I/usr/pkgsrc/x11/kdelibs3/work.i386/.buildlink/include -I/usr/local/share/x11-links/include -I/usr/pkgsrc/x11/kdelibs3/work.i386/.buildlink/include -O2 -I/usr/pkgsrc/x11/kdelibs3/work.i386/.buildlink/include -I/usr/pkgsrc/x11/kdelibs3/work.i386/.buildlink/include -O2 -I/usr/local/share/x11-links/include -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c global.cpp -Wp,-MD,.deps/global.TPlo  -fPIC -DPIC -o .libs/global.o
c++: unrecognized option `-pthread'
global.cpp: In function `class QByteArray KIO::rawErrorDetail(int, const QString &, const KURL * = 0, int = -1)':
global.cpp:1163: virtual memory exhausted
gmake[3]: *** [global.lo] Erreur 1

On my box /usr/local/ is a link to /usr/pkg.

$ pkg_info | egrep "kde|qt|arts"
qt3-libs-3.0.4nb1   C++ X GUI toolkit
qt3-tools-3.0.4nb1  QT GUI (WYSIWYG) builder and other tools
arts-1.0.1          Analog Real-Time Synthesizer

$ ulimit

I have 256MB RAM and a 1Go Swap. Build of big packages (e.g. mozilla) succeed.
On my box, "make"...
No idea.