Subject: qt3-libs on Linux: moc.pro keeps getting rebuilt
To: None <tech-pkg@netbsd.org>
From: Louis Guillaume <lguillaume@berklee.edu>
List: tech-pkg
Date: 09/09/2004 13:26:22
Hello everyone,

I'm trying to build qt3-libs on Linux (slackware 9.1). It gets stuck in 
a seemingly infinite loop while building moc.pro...

Qt is now configured for building. Just run /usr/bin/gmake.
To reconfigure, run /usr/bin/gmake confclean and configure.

===> Building for qt3-libs-3.3.3nb1
cd qmake && /usr/bin/make
make[1]: Entering directory 
`/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/qmake'
g++ -o qmake project.o property.o main.o makefile.o unixmake2.o 
unixmake.o msvc_nmake.o borland_bmake.o mingw_make.o msvc_dsp.o 
msvc_vcproj.o option.o winmakefile.o projectgenerator.o metrowerks_xml.o 
  pbuilder_pbx.o msvc_objectmodel.o meta.o qtmd5.o qstring.o 
qtextstream.o qiodevice.o qglobal.o qgdict.o qcstring.o qdatastream.o 
qgarray.o qbuffer.o qglist.o qptrcollection.o qfile.o qfile_unix.o 
qregexp.o qgvector.o qgcache.o qbitarray.o qdir.o quuid.o 
qfileinfo_unix.o qdir_unix.o qfileinfo.o qdatetime.o qstringlist.o 
qmap.o qconfig.o qunicodetables.o qsettings.o qlocale.o
rm -f /usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/bin/qmake
ln -s ../qmake/qmake 
/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/bin/qmake
make[1]: Leaving directory 
`/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/qmake'
cd src/moc && /usr/bin/make
make[1]: Entering directory 
`/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/moc'
/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/bin/qmake -spec 
/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/mkspecs/linux-g++ -o 
Makefile moc.pro
make[1]: Leaving directory 
`/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/moc'
make[1]: Entering directory 
`/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/moc'
/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/bin/qmake -spec 
/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/mkspecs/linux-g++ -o 
Makefile moc.pro
make[1]: Leaving directory 
`/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/moc'
make[1]: Entering directory 
`/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/moc'
/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/bin/qmake -spec 
/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/mkspecs/linux-g++ -o 
Makefile moc.pro
make[1]: Leaving directory 
`/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/moc'
make[1]: Entering directory 
`/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/moc'
/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/bin/qmake -spec 
/usr/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/mkspecs/linux-g++ -o 
Makefile moc.pro

... ad infinitum!

I remember seeing this several months ago. I think it was with 3.3.2 and 
buildlink2 but can't remember what fixed it.

Any idea how to get around this?

Thanks,

Louis