Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Mar 2013 08:01:02 GMT
From:      Per olof Ljungmark <peo@intersonic.se>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/176804: qt4-corelib 313633 does not build on 9-STABLE
Message-ID:  <201303100801.r2A812bw025830@red.freebsd.org>
Resent-Message-ID: <201303100810.r2A8A1th077591@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         176804
>Category:       ports
>Synopsis:       qt4-corelib 313633 does not build on 9-STABLE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 10 08:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Per olof Ljungmark
>Release:        FreeBSD 9.1-STABLE #0 r248028
>Organization:
BSDLabs AB
>Environment:
FreeBSD iko.i.inter-sonic.com 9.1-STABLE FreeBSD 9.1-STABLE #0 r248028: Fri Mar  8 17:21:25 CET 2013     peo@iko.i.inter-sonic.com:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Version:
# $FreeBSD: head/devel/qt4-corelib/Makefile 313633 2013-03-08 10:51:34Z kwm $


I find this line particulary interesting:
#error "Qt has not been ported to this architecture"


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 -pthread
-D_THREAD_SAFE -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_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3
-DQT_HAVE_SSSE3 -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/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
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:279: error:
expected class-name before '{' token
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h: In
constructor 'QArgument<T>::QArgument(const char*, const T&)':
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:282: error:
class 'QArgument<T>' does not have any field named 'QGenericArgument'
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h: At global
scope:
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:287: error:
expected class-name before '{' token
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h: In
constructor 'QArgument<T&>::QArgument(const char*, T&)':
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:290: error:
class 'QArgument<T&>' does not have any field named 'QGenericArgument'
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h: At global
scope:
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:297: error:
expected class-name before '{' token
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h: In
constructor 'QReturnArgument<T>::QReturnArgument(const char*, T&)':
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:300: error:
class 'QReturnArgument<T>' does not have any field named
'QGenericReturnArgument'
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h: At global
scope:
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:304: error:
function definition does not declare parameters
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:476: error:
expected initializer before '&' token
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:483: error:
ISO C++ forbids declaration of 'QMetaObject' with no type
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:483: error:
expected ';' before '*' token
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:486: error:
'QMetaObject' has not been declared
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:491: error:
'QMetaObject' has not been declared
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:491: error:
non-member function 'const char* className()' cannot have cv-qualifier
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h: In function
'const char* className()':
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:492: error:
'd' was not declared in this scope
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h: At global
scope:
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:494: error:
expected initializer before '*' token
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:498: error:
'QMetaObject' has not been declared
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:498: error:
non-member function 'const char* superClassName()' cannot have cv-qualifier
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h: In function
'const char* superClassName()':
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:499: error:
'd' was not declared in this scope
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h: At global
scope:
./../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:502: error:
'QT_END_NAMESPACE' does not name a type
In file included 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/thread/qbasicatomic.h:207: error:
expected ';' before '(' token
./../include/QtCore/../../src/corelib/thread/qbasicatomic.h:208: error:
expected ';' before '(' token
./../include/QtCore/../../src/corelib/thread/qbasicatomic.h:209: error:
expected ';' before '(' token
./../include/QtCore/../../src/corelib/thread/qbasicatomic.h:210: error:
expected ';' before '(' token
./../include/QtCore/../../src/corelib/thread/qbasicatomic.h:221: error:
'QT_END_NAMESPACE' does not name a type
In file included 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/thread/qatomic.h:224: error:
'QT_END_NAMESPACE' does not name a type
In file included 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/tools/qbytearray.h: In function
'uint qstrlen(const char*)':
./../include/QtCore/../../src/corelib/tools/qbytearray.h:79: error:
redefinition of 'uint qstrlen(const char*)'
/usr/local/include/qcstring.h:57: error: 'uint qstrlen(const char*)'
previously defined here
./../include/QtCore/../../src/corelib/tools/qbytearray.h: At global scope:
./../include/QtCore/../../src/corelib/tools/qbytearray.h:92: error: two
or more data types in declaration of 'qstrcpy'
./../include/QtCore/../../src/corelib/tools/qbytearray.h:93: error: two
or more data types in declaration of 'qstrncpy'
./../include/QtCore/../../src/corelib/tools/qbytearray.h:95: error: two
or more data types in declaration of 'qstrcmp'
./../include/QtCore/../../src/corelib/tools/qbytearray.h:96: error: two
or more data types in declaration of 'qstrcmp'
./../include/QtCore/../../src/corelib/tools/qbytearray.h:97: error: two
or more data types in declaration of 'qstrcmp'
./../include/QtCore/../../src/corelib/tools/qbytearray.h: In function
'int qstrncmp(const char*, const char*, uint)':
./../include/QtCore/../../src/corelib/tools/qbytearray.h:101: error:
redefinition of 'int qstrncmp(const char*, const char*, uint)'
/usr/local/include/qcstring.h:71: error: 'int qstrncmp(const char*,
const char*, uint)' previously defined here
./../include/QtCore/../../src/corelib/tools/qbytearray.h: At global scope:
./../include/QtCore/../../src/corelib/tools/qbytearray.h:106: error:
two or more data types in declaration of 'qstricmp'
./../include/QtCore/../../src/corelib/tools/qbytearray.h:107: error:
two or more data types in declaration of 'qstrnicmp'
./../include/QtCore/../../src/corelib/tools/qbytearray.h:112: error:
two or more data types in declaration of 'qvsnprintf'
./../include/QtCore/../../src/corelib/tools/qbytearray.h:117: error:
two or more data types in declaration of 'qsnprintf'
./../include/QtCore/../../src/corelib/tools/qbytearray.h:122: error:
expected unqualified-id before numeric constant
./../include/QtCore/../../src/corelib/tools/qbytearray.h:124: error:
expected unqualified-id before numeric constant
./../include/QtCore/../../src/corelib/tools/qbytearray.h:126: error:
expected unqualified-id before numeric constant
./../include/QtCore/../../src/corelib/tools/qbytearray.h:128: error:
expected unqualified-id before numeric constant
./../include/QtCore/../../src/corelib/tools/qbytearray.h:130: error:
expected unqualified-id before numeric constant
./../include/QtCore/../../src/corelib/tools/qbytearray.h:136: error:
expected initializer before 'qChecksum'
./../include/QtCore/../../src/corelib/tools/qbytearray.h:143: error:
function definition does not declare parameters
./../include/QtCore/../../src/corelib/tools/qbytearray.h:408: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:409: error:
typedef-name 'QByteArray' used as destructor declarator
./../include/QtCore/../../src/corelib/tools/qbytearray.h:409: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:410: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:421: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:423: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:425: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:429: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:432: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:434: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:437: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:439: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:441: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:443: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:445: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:447: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:450: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:454: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:457: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:460: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:463: error:
function definition does not declare parameters
./../include/QtCore/../../src/corelib/tools/qbytearray.h:497: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:499: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:501: error:
'iterator' in class 'QByteArray' does not name a type
./../include/QtCore/../../src/corelib/tools/qbytearray.h:503: error:
'const_iterator' in class 'QByteArray' does not name a type
./../include/QtCore/../../src/corelib/tools/qbytearray.h:505: error:
'const_iterator' in class 'QByteArray' does not name a type
./../include/QtCore/../../src/corelib/tools/qbytearray.h:507: error:
'iterator' in class 'QByteArray' does not name a type
./../include/QtCore/../../src/corelib/tools/qbytearray.h:509: error:
'const_iterator' in class 'QByteArray' does not name a type
./../include/QtCore/../../src/corelib/tools/qbytearray.h:511: error:
'const_iterator' in class 'QByteArray' does not name a type
./../include/QtCore/../../src/corelib/tools/qbytearray.h:513: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:515: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:517: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:519: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:521: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:523: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:525: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:527: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:529: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:531: error:
'QBool' does not name a type
./../include/QtCore/../../src/corelib/tools/qbytearray.h:533: error:
'QBool' does not name a type
./../include/QtCore/../../src/corelib/tools/qbytearray.h: In function
'bool operator==(const QByteArray&, const QByteArray&)':
./../include/QtCore/../../src/corelib/tools/qbytearray.h:536: error:
'const class QMemArray<char>' has no member named 'constData'
./../include/QtCore/../../src/corelib/tools/qbytearray.h:536: error:
'const class QMemArray<char>' has no member named 'constData'
./../include/QtCore/../../src/corelib/tools/qbytearray.h: In function
'bool operator!=(const QByteArray&, const QByteArray&)':
./../include/QtCore/../../src/corelib/tools/qbytearray.h:542: error:
ambiguous overload for 'operator==' in 'a1 == a2'
./../include/QtCore/../../src/corelib/tools/qbytearray.h:542: note:
candidates are: operator==(const char*, const char*) <built-in>
/usr/local/include/qmemarray.h:104: note:                 bool
QMemArray<type>::operator==(const QMemArray<type>&) const [with type = char]
/usr/local/include/qstring.h:1017: note:                 bool
operator==(const QString&, const QString&)
/usr/local/include/qstring.h:1024: note:                 bool
operator==(const QString&, const char*)
/usr/local/include/qstring.h:1030: note:                 bool
operator==(const char*, const QString&)
./../include/QtCore/../../src/corelib/tools/qbytearray.h:535: note:
             bool operator==(const QByteArray&, const QByteArray&)
./../include/QtCore/../../src/corelib/tools/qbytearray.h:537: note:
             bool operator==(const QByteArray&, const char*)
./../include/QtCore/../../src/corelib/tools/qbytearray.h:539: note:
             bool operator==(const char*, const QByteArray&)
./../include/QtCore/../../src/corelib/tools/qbytearray.h: At global scope:
./../include/QtCore/../../src/corelib/tools/qbytearray.h:583: error:
'QBool' does not name a type
./../include/QtCore/../../src/corelib/tools/qbytearray.h:585: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:587: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:589: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:592: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:594: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:596: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:598: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:600: error:
too few template-parameter-lists
./../include/QtCore/../../src/corelib/tools/qbytearray.h:605: error:
expected initializer before '&' token
./../include/QtCore/../../src/corelib/tools/qbytearray.h:606: error:
expected initializer before '&' token
./../include/QtCore/../../src/corelib/tools/qbytearray.h:610: error:
expected initializer before 'qCompress'
./../include/QtCore/../../src/corelib/tools/qbytearray.h:611: error:
expected initializer before 'qUncompress'
./../include/QtCore/../../src/corelib/tools/qbytearray.h: In function
'QByteArray qCompress(const QByteArray&, int)':
./../include/QtCore/../../src/corelib/tools/qbytearray.h:613: error:
'const class QMemArray<char>' has no member named 'constData'
./../include/QtCore/../../src/corelib/tools/qbytearray.h: In function
'QByteArray qUncompress(const QByteArray&)':
./../include/QtCore/../../src/corelib/tools/qbytearray.h:614: error:
redefinition of 'QByteArray qUncompress(const QByteArray&)'
/usr/local/include/qcstring.h:124: error: 'QByteArray qUncompress(const
QByteArray&)' previously defined here
./../include/QtCore/../../src/corelib/tools/qbytearray.h:615: error:
'const class QMemArray<char>' has no member named 'constData'
./../include/QtCore/../../src/corelib/tools/qbytearray.h: At global scope:
./../include/QtCore/../../src/corelib/tools/qbytearray.h:618: error:
'Q_MOVABLE_TYPE' has not been declared
./../include/QtCore/../../src/corelib/tools/qbytearray.h:618: error:
expected constructor, destructor, or type conversion before ';' token
./../include/QtCore/../../src/corelib/tools/qbytearray.h:621: error:
expected constructor, destructor, or type conversion before
'QT_END_NAMESPACE'
*** [.obj/release-shared/qglobal.o] Error code 1
1 error
*** [do-build] Error code 1

Stop in /usr/ports/devel/qt4-corelib.
>How-To-Repeat:
cd /usr/ports/devel/qt4-corelib
make
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303100801.r2A812bw025830>