[kde-freebsd] qt4 ignores custom compiler from /etc/make.conf

Axel Gonzalez loox at e-shell.net
Mon Oct 24 18:02:01 UTC 2011


I'm setting up distcc for speeding compile times, but qt ports doesn't use the 
compiler specified in make.conf .

As of now is not a big deal, it just adds a few hors compile (still would like 
it distributed), but what about clang (didn't try with it)

Most other ports work with distributed compiling.

So far I've tried qt4-corelib and webkit

Any pointers if this is a bug or a feature ?

Greetings!


In /etc/make.conf :

CC=/usr/local/bin/distzz
CXX=/usr/local/bin/distzxx
CPP=/usr/local/bin/distzpp


[root at moonglow /usr/ports/devel/qt4-corelib]# make
=====================================================================

Qt 4 can be built with optional support for:
 - Common UNIX Printing System (CUPS)
 - Network Audio System (NAS)
 - Qt style that renders using GTK (QGTKSTYLE)

In order to enable them, you have to add
        QT4_OPTIONS=    CUPS NAS QGTKSTYLE
to your /etc/make.conf and compile devel/qt4-corelib and
x11-toolkits/qt4-gui ports.

Attention! Whenever you change the QT4_OPTIONS both
devel/qt4-corelib and x11-toolkits/qt4-gui ports must be rebuilt!

=====================================================================
===>  License check disabled, port has not defined LICENSE
===>  Extracting for qt4-corelib-4.7.4
=> SHA256 Checksum OK for KDE/qt-everywhere-opensource-src-4.7.4.tar.gz.
===>  Patching for qt4-corelib-4.7.4
===>  Applying extra patch /usr/ports/devel/qt4-
corelib/../../devel/qt4/files/patch-configure
===>  Applying FreeBSD patches for qt4-corelib-4.7.4
/usr/bin/sed -i.bak -e 's,%%CUPS%%,,g; s,%%NAS%%,,g; s,%%QGTKSTYLE%%,,g;' 
/tmp/usr/ports/devel/qt4-corelib/work/qt-everywhere-opensource-
src-4.7.4/configure
===>   qt4-corelib-4.7.4 depends on file: /usr/local/bin/moc-qt4 - found
===>   qt4-corelib-4.7.4 depends on file: /usr/local/bin/qmake-qt4 - found
===>   qt4-corelib-4.7.4 depends on shared library: glib-2.0 - found
===>  Configuring for qt4-corelib-4.7.4
/bin/mkdir -p /tmp/usr/ports/devel/qt4-corelib/work/qt-everywhere-opensource-
src-4.7.4/mkspecs
/bin/ln -sf /usr/local/bin/qmake-qt4 /tmp/usr/ports/devel/qt4-corelib/work/qt-
everywhere-opensource-src-4.7.4/bin/qmake
/bin/ln -sf /usr/local/bin/moc-qt4 /tmp/usr/ports/devel/qt4-corelib/work/qt-
everywhere-opensource-src-4.7.4/bin/moc

This is the Qt for Linux/X11 Open Source Edition.

You are licensed to use this software under the terms of
the Lesser GNU General Public License (LGPL) versions 2.1.
You are also licensed to use this software under the terms of
the GNU General Public License (GPL) versions 3.

You have already accepted the terms of the  license.

rm -f endiantest.o
rm -f *~ core *.core
rm -f endiantest
rm -f Makefile
rm -f endiantest.o
rm -f *~ core *.core
rm -f endiantest
rm -f Makefile
cp: /tmp/usr/ports/devel/qt4-corelib/work/qt-everywhere-opensource-
src-4.7.4/src/3rdparty/webkit/WebKit/qt/qt_webkit_version.pri: No such file or 
directory
ln: /tmp/usr/ports/devel/qt4-corelib/work/qt-everywhere-opensource-
src-4.7.4/include/QtCore/qconfig.h: File exists
ln: /tmp/usr/ports/devel/qt4-corelib/work/qt-everywhere-opensource-
src-4.7.4/include/Qt/qconfig.h: File exists

        This target is using the GNU C++ compiler 
(/usr/local/share/qt4/mkspecs/freebsd-g++).

        Recent versions of this compiler automatically include code for
        exceptions, which increase both the size of the Qt libraries and
        the amount of memory taken by your applications.

        You may choose to re-run configure with the -no-exceptions
        option to compile Qt without exceptions. This is completely binary
        compatible, and existing applications will continue to work.


Build type:    /usr/local/share/qt4/mkspecs/freebsd-g++
Architecture:  i386

Build .................. libs tools examples demos docs translations
Configuration ..........  release shared dll largefile stl mmx sse sse2 sse3  
minimal-config small-config medium-config large-config full-config qt3support 
phonon accessibility opengl reduce_exports ipv6 clock-gettime clock-monotonic 
getaddrinfo ipv6ifname getifaddrs system-jpeg system-mng system-png png 
system-tiff system-freetype system-zlib gnu-libiconv glib gstreamer dbus 
openssl x11sm xshape xvideo xsync xrender mitshm fontconfig xkb xmlpatterns 
multimedia audio-backend svg script scripttools declarative release
Debug .................. no
Qt 3 compatibility ..... yes
QtDBus module .......... yes (run-time)
QtConcurrent code ...... yes
QtGui module ........... yes
QtScript module ........ yes
QtScriptTools module ... yes
QtXmlPatterns module ... yes
Phonon module .......... yes
Multimedia module ...... auto
SVG module ............. yes
WebKit module .......... yes
JavaScriptCore JIT ..... To be decided by JavaScriptCore
Declarative module ..... yes
Declarative debugging ...yes
Support for S60 ........ no
Symbian DEF files ...... no
STL support ............ yes
PCH support ............ no
MMX/3DNOW/SSE/SSE2/SSE3. yes/no/yes/yes/yes
SSSE3/SSE4.1/SSE4.2..... no/no/no
AVX..................... no
Graphics System ........ default
IPv6 support ........... yes
IPv6 ifname support .... yes
getaddrinfo support .... yes
getifaddrs support ..... yes
Accessibility .......... yes
NIS support ............ no
CUPS support ........... no
Iconv support .......... gnu
Glib support ........... yes
GStreamer support ...... yes
PulseAudio support ..... no
Large File support ..... yes
GIF support ............ plugin
TIFF support ........... plugin (system)
JPEG support ........... plugin (system)
PNG support ............ yes (system)
MNG support ............ plugin (system)
zlib support ........... system
Session management ..... yes
OpenGL support ......... yes (Desktop OpenGL)
OpenVG support ......... no
NAS sound support ...... no
XShape support ......... yes
XVideo support ......... yes
XSync support .......... yes
Xinerama support ....... runtime
Xcursor support ........ runtime
Xfixes support ......... runtime
Xrandr support ......... runtime
Xrender support ........ yes
Xi support ............. runtime
MIT-SHM support ........ yes
FontConfig support ..... yes
XKB Support ............ yes
immodule support ....... yes
GTK theme support ...... yes
MySQL support .......... plugin
ODBC support ........... plugin
SQLite support ......... plugin (qt)
OpenSSL support ........ yes (run-time)
Alsa support ........... no
ICD support ............ no

(snip)


/tmp/usr/ports/devel/qt4-corelib/work/qt-everywhere-opensource-
src-4.7.4/bin/moc -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -
DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -
DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -
DHB_EXPORT=Q_CORE_EXPORT -DGNU_LIBICONV -DQT_NO_DEBUG -DQT_HAVE_MMX -
DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -
D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -
I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I../../include -
I../../include/QtCore -I.rcc/release-shared -Iglobal -
I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-
shared -I/usr/local/include/qt4 -I/usr/local/include 
concurrent/qfuturewatcher.h -o .moc/release-shared/moc_qfuturewatcher.cpp
/tmp/usr/ports/devel/qt4-corelib/work/qt-everywhere-opensource-
src-4.7.4/bin/moc -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -
DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -
DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -
DHB_EXPORT=Q_CORE_EXPORT -DGNU_LIBICONV -DQT_NO_DEBUG -DQT_HAVE_MMX -
DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -
D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -
I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I../../include -
I../../include/QtCore -I.rcc/release-shared -Iglobal -
I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-
shared -I/usr/local/include/qt4 -I/usr/local/include kernel/qeventloop.h -o 
.moc/release-shared/moc_qeventloop.cpp
/tmp/usr/ports/devel/qt4-corelib/work/qt-everywhere-opensource-
src-4.7.4/bin/moc -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -
DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -
DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -
DHB_EXPORT=Q_CORE_EXPORT -DGNU_LIBICONV -DQT_NO_DEBUG -DQT_HAVE_MMX -
DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -
D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -
I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I../../include -
I../../include/QtCore -I.rcc/release-shared -Iglobal -
I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-
shared -I/usr/local/include/qt4 -I/usr/local/include kernel/qcoreapplication.h 
-o .moc/release-shared/moc_qcoreapplication.cpp
g++ -c -O2 -fno-strict-aliasing -pipe -march=prescott -fconserve-space -
D_REENTRANT -I/usr/local/include/glib-2.0 -O2 -fvisibility=hidden -
fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -
DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -
DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -
DQT_USE_FAST_CONCATENATION -DHB_EXPORT=Q_CORE_EXPORT -DGNU_LIBICONV -
DQT_NO_DEBUG -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -
DQT_HAVE_SSE3 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -
I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I../../include -
I../../include/QtCore -I.rcc/release-shared -Iglobal -
I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-
shared -I/usr/local/include/qt4 -I/usr/local/include -o .obj/release-
shared/qfuturewatcher.o concurrent/qfuturewatcher.cpp
g++ -c -O2 -fno-strict-aliasing -pipe -march=prescott -fconserve-space -
D_REENTRANT -I/usr/local/include/glib-2.0 -O2 -fvisibility=hidden -
fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -
DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -
DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -
DQT_USE_FAST_CONCATENATION -DHB_EXPORT=Q_CORE_EXPORT -DGNU_LIBICONV -
DQT_NO_DEBUG -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -
DQT_HAVE_SSE3 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -
I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I../../include -
I../../include/QtCore -I.rcc/release-shared -Iglobal -
I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-
shared -I/usr/local/include/qt4 -I/usr/local/include -o .obj/release-
shared/qrunnable.o concurrent/qrunnable.cpp
g++ -c -O2 -fno-strict-aliasing -pipe -march=prescott -fconserve-space -
D_REENTRANT -I/usr/local/include/glib-2.0 -O2 -fvisibility=hidden -
fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -
DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -
DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -
DQT_USE_FAST_CONCATENATION -DHB_EXPORT=Q_CORE_EXPORT -DGNU_LIBICONV -
DQT_NO_DEBUG -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -
DQT_HAVE_SSE3 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -
I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I../../include -
I../../include/QtCore -I.rcc/release-shared -Iglobal -
I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-
shared -I/usr/local/include/qt4 -I/usr/local/include -o .obj/release-
shared/qtconcurrentfilter.o concurrent/qtconcurrentfilter.cpp
g++ -c -O2 -fno-strict-aliasing -pipe -march=prescott -fconserve-space -
D_REENTRANT -I/usr/local/include/glib-2.0 -O2 -fvisibility=hidden -
fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -
DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -
DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -
DQT_USE_FAST_CONCATENATION -DHB_EXPORT=Q_CORE_EXPORT -DGNU_LIBICONV -
DQT_NO_DEBUG -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -
DQT_HAVE_SSE3 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -
I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I../../include -
I../../include/QtCore -I.rcc/release-shared -Iglobal -
I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-
shared -I/usr/local/include/qt4 -I/usr/local/include -o .obj/release-
shared/qtconcurrentmap.o concurrent/qtconcurrentmap.cpp
g++ -c -O2 -fno-strict-aliasing -pipe -march=prescott -fconserve-space -
D_REENTRANT -I/usr/local/include/glib-2.0 -O2 -fvisibility=hidden -
fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -
DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -
DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -
DQT_USE_FAST_CONCATENATION -DHB_EXPORT=Q_CORE_EXPORT -DGNU_LIBICONV -
DQT_NO_DEBUG -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -
DQT_HAVE_SSE3 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -
I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I../../include -
I../../include/QtCore -I.rcc/release-shared -Iglobal -
I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-
shared -I/usr/local/include/qt4 -I/usr/local/include -o .obj/release-
shared/qtconcurrentresultstore.o concurrent/qtconcurrentresultstore.cpp


-- 
Mon Oct 24 12:12:32 2011 GMT

      *
   **
 **
***
***
 **
   **
      *         27.


More information about the kde-freebsd mailing list