Subject: pkg/17164: kdelibs3 fails to build (virtual memory exhausted)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jaco@scrogneugneu.org>
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
>Closed-Date:
>Last-Modified:
>Originator:     Eric Jacoboni
>Release:        NetBSD 1.6A
>Organization:
None
>Environment:
System: NetBSD titine.scrogneugneu.org 1.6A NetBSD 1.6A (TITINE-Revision: 1.492 $) #47: Fri May 31 17:27:22 CEST 2002 root@titine.scrogneugneu.org:/usr/src.cvsup/sys/arch/i386/compile/TITINE i386
Architecture: i386
Machine: i386
>Description:
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
-1

I have 256MB RAM and a 1Go Swap. Build of big packages (e.g. mozilla) succeed.
>How-To-Repeat:
On my box, "make"...
>Fix:
No idea.
>Release-Note:
>Audit-Trail:
>Unformatted: