Can't build devel/qt4-corelib any more -- help?

David Wolfskill david at catwhisker.org
Tue May 21 16:21:04 UTC 2013


On Tue, May 21, 2013 at 10:53:14PM +0800, Martin Wilke wrote:
> known issue, set USE_GCC=any in the qt4-corelib Makefile and it will builds
> ...

Thank you for that, but I still see a failure:

dwolf-bsd(9.1-S)[15] cd /usr/ports/
dwolf-bsd(9.1-S)[16] svn info
Path: .
Working Copy Root Path: /common/ports
URL: file:///volume/opensource/FreeBSD/svn-ports-mirror/head
Repository Root: file:///volume/opensource/FreeBSD/svn-ports-mirror
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 318654
Node Kind: directory
Schedule: normal
Last Changed Author: hrs
Last Changed Rev: 318654
Last Changed Date: 2013-05-21 01:02:48 -0700 (Tue, 21 May 2013)

dwolf-bsd(9.1-S)[17] svn diff devel/qt4-corelib/Makefile 
Index: devel/qt4-corelib/Makefile
===================================================================
--- devel/qt4-corelib/Makefile  (revision 318654)
+++ devel/qt4-corelib/Makefile  (working copy)
@@ -13,6 +13,7 @@
 LIB_DEPENDS=   icui18n:${PORTSDIR}/devel/icu
 
 USES=          pkgconfig
+USE_GCC=       any
 USE_GNOME=     _glib20
 USE_QT4=       qmake_build moc_build
 QT_NONSTANDARD=        yes
dwolf-bsd(9.1-S)[18] 

New log is in <http://www.catwhisker.org/~david/FreeBSD/qt4_GCC_any_log.txt>.

Salient excerpt:

root at dwolf-bsd:/var/tmp # portmaster devel/qt4-corelib^M
0;portmaster: devel/qt4-corelib^G
===>>> Port directory: /usr/ports/devel/qt4-corelib

===>>> Gathering distinfo list for installed ports

===>>> Launching 'make checksum' for devel/qt4-corelib in background
===> No options to configure
===>>> Gathering dependency list for devel/qt4-corelib from ports
===>>> Initial dependency check complete for devel/qt4-corelib

0;portmaster: devel/qt4-corelib^G
...
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: /common/ports/devel/qt4-corelib/work/qt-everywhere-opensource-src-4.8.4/src/3rdparty/webkit/Source/WebKit/qt/qt_webkit_version.pri: No such file or directory
ln: /common/ports/devel/qt4-corelib/work/qt-everywhere-opensource-src-4.8.4/include/QtCore/qconfig.h: File exists
ln: /common/ports/devel/qt4-corelib/work/qt-everywhere-opensource-src-4.8.4/include/Qt/qconfig.h: File exists

        This target is using the GNU C++ compiler (/usr/local/share/qt4/mkspecs/freebsd-g++).
...
Finding project files. Please wait...
WARNING: /common/ports/devel/qt4-corelib/work/qt-everywhere-opensource-src-4.8.4/src/src.pro:13: Unable to find file for inclusion tools/tools.pro
WARNING: /common/ports/devel/qt4-corelib/work/qt-everywhere-opensource-src-4.8.4/src/corelib/global/global.pri:39: Unable to find file for inclusion ../../../tools/shared/symbian/epocroot.pri
WARNING: /common/ports/devel/qt4-corelib/work/qt-everywhere-opensource-src-4.8.4/projects.pro:46: Unable to find file for inclusion doc/doc.pri
...
Reading /common/ports/devel/qt4-corelib/work/qt-everywhere-opensource-src-4.8.4/demos
WARNING: /common/ports/devel/qt4-corelib/work/qt-everywhere-opensource-src-4.8.4/src/src.pro:13: Unable to find file for inclusion tools/tools.pro
WARNING: /common/ports/devel/qt4-corelib/work/qt-everywhere-opensource-src-4.8.4/src/corelib/global/global.pri:39: Unable to find file for inclusion ../../../tools/shared/symbian/epocroot.pri
WARNING: /common/ports/devel/qt4-corelib/work/qt-everywhere-opensource-src-4.8.4/projects.pro:46: Unable to find file for inclusion doc/doc.pri
  211 projects found.

Creating makefiles. Please wait...
...
Qt is now configured for building. Just run 'make'.
Once everything is built, you must run 'make install'.
Qt will be installed into /usr/local

To reconfigure, run 'make confclean' and 'configure'.

/usr/bin/sed -i.bak -e 's|/usr/local/lib/qt4/pkgconfig|/usr/local/libdata/pkgconfig|g'  -e 's|.*$(QMAKE).*||g'  /common/ports/devel/qt4-corelib/work/qt-everywhere-opensource-src-4.8.4/src/corelib/Makefile
/usr/bin/sed -i.bak -E -e 's|-L.[^[:space:]]*qt-x11-opensource.[^[:space:]]*lib||g'  -E -e 's|(.*location=).*moc|\1/usr/local/bin/moc-qt4|g'  -E -e 's|(.*location=).*uic|\1/usr/local/bin/uic-qt4|g'  /common/ports/devel/qt4-corelib/work/qt-everywhere-opensource-src-4.8.4/lib/pkgconfig/QtCore.pc
===>  Building for qt4-corelib-4.8.4_2
...
/common/ports/devel/qt4-corelib/work/qt-everywhere-opensource-src-4.8.4/bin/moc 
-DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -D
QT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_USE_ICU -DHB_EXPORT=Q_CORE_EXPORT -DGNU_LIBICONV -DQT_NO_DEBUG -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/common/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/common/local/include/qt4 -I/common/local/include io/qfile.h -o .moc/release-shared/moc_qfile.cpp
g++ -c -O2 -pipe -fno-strict-aliasing -pthread -I/usr/local/include/glib-2.0 -I/usr/local/include -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_QSTRINGBUILDER -DQT_USE_ICU -DHB_EXPORT=Q_CORE_EXPORT -DGNU_LIBICONV -DQT_NO_DEBUG -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/common/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/common/local/include/qt4 -I/common/local/include -o .obj/release-shared/qglobal.o global/qglobal.cpp
In file included from ../../include/QtCore/qatomic_arch.h:1,
                 from ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:227,
                 from ../../include/QtCore/qbasicatomic.h:1,
                 from ../../include/QtCore/../../src/corelib/thread/qatomic.h:46,
                 from ../../include/QtCore/qatomic.h:1,
                 from ../../include/QtCore/../../src/corelib/tools/qbytearray.h:45,
                 from ../../include/QtCore/qbytearray.h:1,
                 from ../../include/QtCore/../../src/corelib/kernel/qobject.h:49,
                 from ../../include/QtCore/qobject.h:1,
                 from ../../include/QtCore/../../src/corelib/thread/qthread.h:45,
                 from ../../include/QtCore/qthread.h:1,
                 from ../../include/QtCore/private/../../../src/corelib/thread/qthread_p.h:58,
                 from ../../include/QtCore/private/qthread_p.h:1,
                 from global/qglobal.cpp:52:
../../include/QtCore/../../src/corelib/arch/qatomic_arch.h:96:4: error: #error "Qt has not been ported to this architecture"
In file included from ../../include/QtCore/qobjectdefs.h:1,
                 from ../../include/QtCore/../../src/corelib/kernel/qobject.h:47,
                 from ../../include/QtCore/qobject.h:1,
                 from ../../include/QtCore/../../src/corelib/thread/qthread.h:45,
                 from ../../include/QtCore/qthread.h:1,
                 from ../../include/QtCore/private/../../../src/corelib/thread/qthread_p.h:58,
                 from ../../include/QtCore/private/qthread_p.h:1,
                 from global/qglobal.cpp:52:
../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:47: error: 'QT_BEGIN_HEADER' does not name a type
../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:217: error: expected constructor, destructor, or type conversion before 'const'
../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:256: error: function definition does not declare parameters
../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:269: error: function definition does not declare parameters
....


Thanks....

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
Taliban: Evil men with guns afraid of truth from a 14-year old girl.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130521/b588645c/attachment.sig>


More information about the freebsd-ports mailing list