pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/41966: x11/qt4-qdbus demands absurd quantities of (v)ram to compile (NetBSD 4/0/i386)



>Number:         41966
>Category:       pkg
>Synopsis:       x11/qt4-qdbus demands absurd quantities of (v)ram to compile 
>(NetBSD 4/0/i386)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 01 04:45:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0 / i386   pkgsrc -current
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        One of the files (generators/mac/pbuilder_pbx.cpp) in x11/qt4-qdbus
        has started deciding it needs > 250MB data size to successfully
        compile - in qt4-qdbus-4.5.2nb1.   It did compile successfully for
        me in the same environment, without this kind of problem (ie: no
        special ulimit settings or anything) when it was qt4-qdbus-4.5.2
        (I last compiled that on July 10)

        The only change between 4.5.2 and 4.5.2nb1 was the revbump to
        account for the jpeg lib major version change, and I cannot see
        how that could be relevant to anything, so I am guessing that some
        other change in the environment has caused this.

        But I have no idea what - qt4-qdbus does not appear to install
        a pkgsrc version of gcc, and the standard NetBSD 4.0 release version
        cannot possibly have altered - the source files beig compiled
        haven't altered, all that's reallyt left is some .h file installed
        by some other package.

        Of course, it is probably a gcc fault that it is consuming this
        much ram (and hence a toolchain bug) but for all I know that
        might already have been fixed - but something in the environment
        of this particular package seems to have altgered to trigger the
        problem.

>How-To-Repeat:
        I use pkg_comp with libkver and NetBSD 4.0 release sets (except x*)
        to similate a fairly pure NetBSD 4.0 release environment.  Pkgsrc
        modular xorg is enabled for X stuff (but that is not likely relevant
        here).

        With that environment I see ...

c++ -c -o pbuilder_pbx.o -O2 -I/usr/pkg/include -I/usr/pkg/qt4/include 
-I/usr/include -I/usr/pkg/include/freetype2 -O2 -I/usr/pkg/include 
-I/usr/pkg/qt4/include -I/usr/include -I/usr/pkg/include/freetype2  
-DQ_TRAILING_DIR_SEP -DQMAKE_OPENSOURCE_EDITION -I/usr/pkg/include 
-I/usr/pkg/qt4/include -I/usr/include -I/usr/pkg/include/freetype2 -I. 
-Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac 
-I/pkg_comp/obj/pkgsrc/x11/qt4-qdbus/4x/qt-x11-opensource-src-4.5.2/include 
-I/pkg_comp/obj/pkgsrc/x11/qt4-qdbus/4x/qt-x11-opensource-src-4.5.2/include/QtCore
 
-I/pkg_comp/obj/pkgsrc/x11/qt4-qdbus/4x/qt-x11-opensource-src-4.5.2/src/corelib/global
 -I/pkg_comp/obj/pkgsrc/x11/qt4-qdbus/4x/qt-x11-opensource-src-4.5.2/src/script 
-DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC 
-DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-I/pkg_comp/obj/pkgsrc/x11/qt4-qdbus/4x/qt-x11-opensource-src-4.5.2/mkspecs/netbsd-g++
 -DHAVE_QCONFIG_CPP -DQT_NO_THRE!
 AD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT  generators/mac/pbuilder_pbx.cpp

cc1plus: out of memory allocating 15825784 bytes after a total of 252073488 
bytes
make: *** [pbuilder_pbx.o] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/x11/qt4-qdbus
*** Error code 1

Stop.

>Fix:
        ???



Home | Main Index | Thread Index | Old Index