Subject: qt3-libs
To: None <tech-pkg@netbsd.org>
From: Marcus Beaman <marcus.beaman@state.or.us>
List: tech-pkg
Date: 05/17/2005 14:39:11
I'm having problems getting qt3-libs to compile for 2.0 on i386 for pkgsrc revision
pkgsrc-2005Q1.  Please reply off list and I'll post the resolution.  Any ideas?

-Marcus

<log>
<>/usr/pkgsrc/x11/qt3-libs# make install
=> Checksum SHA1 OK for qt-x11-free-3.3.4.tar.bz2.
=> Checksum RMD160 OK for qt-x11-free-3.3.4.tar.bz2.
===> Extracting for qt3-libs-3.3.4
==========================================================================
The following variables will affect the build process of this package,
qt3-libs-3.3.4.  Their current value is shown below:

        * USE_CUPS (not defined)

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
===> Required installed package Xft2>=2.1.6nb1: Xft2-2.1.6nb1 found
===> Required installed package fontconfig>=2.2.96nb1: fontconfig-2.3.1 found
===> Required installed package expat>=1.95.8nb2: expat-1.95.8nb2 found
===> Required installed package glu>=6.0.1nb2: glu-6.2.1 found
===> Required installed package MesaLib>=6.0.1nb1: MesaLib-6.2.1 found
===> Required installed package mng>=1.0.8nb1: mng-1.0.9 found
===> Required installed package jpeg>=6bnb2: jpeg-6bnb3 found
===> Required installed package lcms>=1.12nb2: lcms-1.14 found
===> Required installed package png>=1.2.6nb1: png-1.2.8 found
===> Required installed package freetype2>=2.1.9nb1: freetype2-2.1.9nb1 found
===> Required installed package Xrandr>=1.0.2nb1: Xrandr-1.0.2nb2 found
===> Required installed package xcursor>=1.1.1nb2: xcursor-1.1.2 found
===> Required installed package Xrender>=0.8.4nb1: Xrender-0.8.4nb1 found
===> Required installed package Xfixes>=2.0.1nb1: Xfixes-2.0.1nb1 found
===> Required installed package fixesext>=2.0: fixesext-2.0.1 found
===> Required installed package libtool-base>=1.5.10nb6: libtool-base-1.5.10nb10 found
===> Required installed package gawk>=3.1.1: gawk-3.1.4nb2 found
===> Required installed package gmake>=3.78: gmake-3.80nb4 found
===> Required installed package x11-links>=0.24: x11-links-0.24 found
===> Required installed package randrext>=1.0: randrext-1.0nb1 found
===> Required installed package render>=0.2: render-0.8 found
===> Required installed package render>=0.8: render-0.8 found
===> Patching for qt3-libs-3.3.4
===> Applying pkgsrc patches for qt3-libs-3.3.4
/usr/bin/sed  -e 's:@LOCALBASE@:/usr/pkg:g'  -e 's:@X11BASE@:/usr/X11R6:g'  -e
's:@X11PREFIX@:/usr/pkg:g'  -e 's:@LIBTOOL@:/usr/pkg/bin/libtool:g'  -e 's:@CC@:cc:g'  -e
's:@CXX@:c++:g'  -e 's:@LDFLAGS@::g'  -e 's:@CFLAGS@:-O2:g'  -e 's:@CXXFLAGS@:-O2:g'  -e
's:@SYS_LIBS@::g'  -e 's:@LEX@:lex:g'  -e 's:@YACC@:yacc:g'  -e 's:@AR@:ar:g'  -e
's:@MKDIR@:/bin/mkdir -p:g'  -e
's:@LIBQT@:/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/lib/libqt-mt.la:g'  -e
's:@PTHREAD_LDFLAGS@: -pthread:g'  -e 's:@PTHREAD_LIBS@::g'  -e
's:@COMPILER_RPATH_FLAG@:-Wl,-R:g' 
/usr/pkgsrc/x11/qt3-libs/../../x11/qt3-libs/files/qmake.conf >
/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/qmake.conf
for dir in /usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/mkspecs/*; do  /bin/cp
/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/qmake.conf ${dir};  /bin/rm -f
${dir}/*.orig;  done
===> Overriding tools for qt3-libs-3.3.4
===> Creating toolchain wrappers for qt3-libs-3.3.4
===> Configuring for qt3-libs-3.3.4

This is the Qt/X11 Open Source Edition.

You are licensed to use this software under the terms of either
the Q Public License (QPL) or the GNU General Public License (GPL).

Type 'Q' to view the Q Public License.
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of either license?
Creating qmake. Please wait...
c++ -c -o project.o -O2 -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include
-I/usr/pkg/include/freetype2 -I/usr/X11R6/include -I. -Igenerators -Igenerators/unix
-Igenerators/win32 -Igenerators/mac
-I/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/include/qmake
-I/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/include
-I/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/include -DQT_NO_TEXTCODEC
-DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS
-I/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/mkspecs/netbsd-g++ -DHAVE_QCONFIG_CPP
project.cpp
c++ -c -o property.o -O2 -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include
-I/usr/pkg/include/freetype2 -I/usr/X11R6/include -I. -Igenerators -Igenerators/unix
-Igenerators/win32 -Igenerators/mac
-I/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/include/qmake
-I/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/include
-I/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/include -DQT_NO_TEXTCODEC
-DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS
-I/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/mkspecs/netbsd-g++ -DHAVE_QCONFIG_CPP
property.cpp
c++ -c -o main.o -O2 -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include
-I/usr/pkg/include/freetype2 -I/usr/X11R6/include -I. -Igenerators -Igenerators/unix
-Igenerators/win32
-Igenerators/mac-I/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/include/qmake
-I/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/include
-I/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/include -DQT_NO_TEXTCODEC
-DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS
-I/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/mkspecs/netbsd-g++ -DHAVE_QCONFIG_CPP
main.cpp
c++ -c -o makefile.o -O2 -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include
-I/usr/pkg/include/freetype2 -I/usr/X11R6/include -I. -Igenerators -Igenerators/unix
-Igenerators/win32 -Igenerators/mac
-I/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/include/qmake
-I/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/include
-I/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/include -DQT_NO_TEXTCODEC
-DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS
-I/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/mkspecs/netbsd-g++ -DHAVE_QCONFIG_CPP
generators/makefile.cpp
c++ -c -o unixmake2.o -O2 -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include
-I/usr/pkg/include/freetype2 -I/usr/X11R6/include -I. -Igenerators -Igenerators/unix
-Igenerators/win32 -Igenerators/mac
-I/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/include/qmake
-I/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/include
-I/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/include -DQT_NO_TEXTCODEC
-DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS
-I/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/mkspecs/netbsd-g++ -DHAVE_QCONFIG_CPP
generators/unix/unixmake2.cpp
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://www.netbsd.org/Misc/send-pr.html> for instructions.
gmake: *** [unixmake2.o] Error 1
qmake failed to build. Aborting.
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/x11/qt3-libs
===>
===> There was an error during the ``configure'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/x11/qt3-libs/work/.work.log
===>
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/qt3-libs
<>/usr/pkgsrc/x11/qt3-libs#                                         
</log>

<.work.log>
    (cmd-sink) pop: -c
    (cmd-sink) pop: -o
    (cmd-sink) pop: unixmake2.o
    (cmd-sink) pop: -O2
    (cmd-sink) pop: -I/usr/pkgsrc/x11/qt3-libs/work/.buildlink/include
    (cmd-sink) pop: -DGLX_GLXEXT_LEGACY
    (cmd-sink) pop:
    (cmd-sink) pop: -I/usr/pkgsrc/x11/qt3-libs/work/.buildlink/include/freetype2
    (cmd-sink) pop: -I/usr/pkgsrc/x11/qt3-libs/work/.x11-buildlink/include
    (cmd-sink) pop: -I.
    (cmd-sink) pop: -Igenerators
    (cmd-sink) pop: -Igenerators/unix
    (cmd-sink) pop: -Igenerators/win32
    (cmd-sink) pop: -Igenerators/mac
    (cmd-sink) pop: -I/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/include/qmake
    (cmd-sink) pop: -I/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/include
    (cmd-sink) pop: -I/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/include
    (cmd-sink) pop: -DQT_NO_TEXTCODEC
    (cmd-sink) pop: -DQT_NO_UNICODETABLES
    (cmd-sink) pop: -DQT_NO_COMPONENT
    (cmd-sink) pop: -DQT_NO_STL
    (cmd-sink) pop: -DQT_NO_COMPRESS
    (cmd-sink) pop: -I/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/mkspecs/netbsd-g++
    (cmd-sink) pop: -DHAVE_QCONFIG_CPP
    (cmd-sink) pop: generators/unix/unixmake2.cpp
    (cmd-sink) pop: -I/usr/pkgsrc/x11/qt3-libs/work/.buildlink/include
    (cmd-sink) pop: -L/usr/pkgsrc/x11/qt3-libs/work/.buildlink/lib
<.> /usr/pkgsrc/x11/qt3-libs/work/.gcc/bin/g++ -c -o unixmake2.o -O2
-I/usr/pkgsrc/x11/qt3-libs/wo
rk/.buildlink/include -DGLX_GLXEXT_LEGACY
-I/usr/pkgsrc/x11/qt3-libs/work/.buildlink/include/freet
ype2 -I/usr/pkgsrc/x11/qt3-libs/work/.x11-buildlink/include -I. -Igenerators
-Igenerators/unix -Ig
enerators/win32 -Igenerators/mac
-I/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/include/qmake -
I/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/include -DQT_NO_TEXTCODEC
-DQT_NO_UNICODETABLES -
DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS
-I/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.4/mk
specs/netbsd-g++ -DHAVE_QCONFIG_CPP generators/unix/unixmake2.cpp
-L/usr/pkgsrc/x11/qt3-libs/work/
.buildlink/lib
</.work.log>