From owner-freebsd-ports@FreeBSD.ORG Tue Jun 2 23:02:18 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98B71106567B for ; Tue, 2 Jun 2009 23:02:18 +0000 (UTC) (envelope-from stephen.hocking@gmail.com) Received: from mail-qy0-f105.google.com (mail-qy0-f105.google.com [209.85.221.105]) by mx1.freebsd.org (Postfix) with ESMTP id 52EAE8FC2D for ; Tue, 2 Jun 2009 23:02:17 +0000 (UTC) (envelope-from stephen.hocking@gmail.com) Received: by qyk3 with SMTP id 3so12725129qyk.3 for ; Tue, 02 Jun 2009 16:02:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=3KWGYashxVbRH0/ungt6KNz/dF/IRdLH4tg9pCoKnuo=; b=hezTFdUELWAO0twj/pMp3ErOLDcuSCRKGdHtzaGcUUCCR/JGasSAynKmtC7WpuJLll iyS6HJ+Pu3XrHsf7bb8H9uuU2bF0PsZdFsNA+jqQEGtkOKefNEwd3pKT/KobjlOZ4J/9 4/bNY3MBN/SudYPYpwpcf8fUP7ft9zBTfkUug= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=pc+W6lPete36YLN/SEdbkjwAxfL1AU2Gh2Dx5kd7F1foe2d/26TMmHn3z+9e5VRHwA uuqyaHcXw7igKPGuOGaNqFLw/+NfdD5WhfoMNAsnWbJAxPgHoDfTPORp3FYR096y6bXB BNLgTJCqMrODMW3P2+BMBAeS/lWG91gOam5ls= MIME-Version: 1.0 Received: by 10.150.49.1 with SMTP id w1mr445587ybw.323.1243979323584; Tue, 02 Jun 2009 14:48:43 -0700 (PDT) Date: Wed, 3 Jun 2009 07:48:43 +1000 Message-ID: <6300771b0906021448l16eb9cc1ia3d20c0948b97a97@mail.gmail.com> From: Stephen Hocking To: ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: QT4 build errors under RELENG_7 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2009 23:02:19 -0000 Hi all, Have had a long-standing problem building QT4 under 7.2. Basically it errors out with some undefined constants (which one can find in qplatformdefs.h), but this file is apparently being included in the file in question. Most puzzling. Here's the build failure: c++ -c -O2 -fno-strict-aliasing -pipe -fno-exceptions -O2 -fno-strict-aliasing -pipe -Wall -W -DQT_BOOTSTRAPPED -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_LIBRARY -DQT_NO_STL -DQT_NO_COMPRESS -DQT_NO_DATASTREAM -DQT_NO_TEXTSTREAM -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_THREAD -DQT_NO_REGEXP -DQT_NO_QOBJECT -DQT_NO_SYSTEMLOCALE -DQT_NO_GEOM_VARIANT -DQT_NO_USING_NAMESPACE -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I../../corelib/arch/generic -I../../../include -I. -I../../../include/QtCore -I. -I.uic/release-shared -I/usr/local/include -o release-shared/qfsfileengine.o ../../corelib/io/qfsfileengine.cpp ../../corelib/io/qfsfileengine.cpp: In member function 'bool QFSFileEnginePrivate::openFh(QFlags, FILE*)': ../../corelib/io/qfsfileengine.cpp:305: error: 'QT_FSEEK' was not declared in this scope ../../corelib/io/qfsfileengine.cpp: In member function 'qint64 QFSFileEnginePrivate::posFdFh() const': ../../corelib/io/qfsfileengine.cpp:518: error: 'QT_FTELL' was not declared in this scope ../../corelib/io/qfsfileengine.cpp: In member function 'bool QFSFileEnginePrivate::seekFdFh(qint64)': ../../corelib/io/qfsfileengine.cpp:548: error: 'QT_OFF_T' was not declared in this scope ../../corelib/io/qfsfileengine.cpp:548: error: 'QT_FSEEK' was not declared in this scope ../../corelib/io/qfsfileengine.cpp: In member function 'qint64 QFSFileEnginePrivate::readFdFh(char*, qint64)': ../../corelib/io/qfsfileengine.cpp:623: error: 'QT_FTELL' was not declared in this scope ../../corelib/io/qfsfileengine.cpp:623: error: 'QT_FSEEK' was not declared in this scope ../../corelib/io/qfsfileengine.cpp: In member function 'qint64 QFSFileEnginePrivate::readLineFdFh(char*, qint64)': ../../corelib/io/qfsfileengine.cpp:694: error: 'QT_OFF_T' was not declared in this scope ../../corelib/io/qfsfileengine.cpp:694: error: expected `;' before 'oldPos' ../../corelib/io/qfsfileengine.cpp:699: error: 'oldPos' was not declared in this scope ../../corelib/io/qfsfileengine.cpp:699: error: 'QT_FTELL' was not declared in this scope *** Error code 1 Stop in /src/FreeBSD/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.4.3/src/tools/moc. *** Error code 1 Stop in /src/FreeBSD/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.4.3/src/tools/moc. *** Error code 1 Stop in /src/FreeBSD/ports/devel/qt4-moc. *** Error code 1 Stop in /src/FreeBSD/ports/accessibility/qt4-accessible. *** Error code 1 Stop in /src/FreeBSD/ports/devel/qt4.