From owner-freebsd-ports@FreeBSD.ORG Tue Mar 30 19:22:26 2010 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D063106564A for ; Tue, 30 Mar 2010 19:22:26 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id CB1478FC15 for ; Tue, 30 Mar 2010 19:22:25 +0000 (UTC) Received: (qmail 15531 invoked by uid 399); 30 Mar 2010 19:22:24 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 30 Mar 2010 19:22:24 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4BB24F6F.2080908@FreeBSD.org> Date: Tue, 30 Mar 2010 12:22:23 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.8) Gecko/20100329 Thunderbird/3.0.3 MIME-Version: 1.0 To: Dirk Meyer References: <4BB23953.7000606@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.0.1 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: kde@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: x11-toolkits/qt4-gui fails with png and/or zlib.h off64_t 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, 30 Mar 2010 19:22:26 -0000 Testing it again I see that I didn't go far enough up to find the real error, sorry Dirk. The actual problem seems to be with zlib.h. This is from qt4-gui: c++ -c -pipe -g -g -g -I../../include/Qt -I../../include -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -I/usr/local/include -I/usr/local/include/freetype2 -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQ_INTERNAL_QAPP_SRC -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/debug-shared -I../3rdparty/xorg -I/usr/local/include/freetype2 -I../3rdparty/harfbuzz/src -Idialogs -I.moc/debug-shared -I/usr/local/include -I.uic/debug-shared -I/usr/local/include -o .obj/debug-shared/qxpmhandler.o image/qxpmhandler.cpp c++ -c -pipe -g -g -g -I../../include/Qt -I../../include -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -I/usr/local/include -I/usr/local/include/freetype2 -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQ_INTERNAL_QAPP_SRC -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/debug-shared -I../3rdparty/xorg -I/usr/local/include/freetype2 -I../3rdparty/harfbuzz/src -Idialogs -I.moc/debug-shared -I/usr/local/include -I.uic/debug-shared -I/usr/local/include -o .obj/debug-shared/qpnghandler.o image/qpnghandler.cpp In file included from /usr/local/include/png.h:391, from image/qpnghandler.cpp:53: /usr/include/zlib.h:1561: error: 'off64_t' does not name a type /usr/include/zlib.h:1562: error: 'off64_t' does not name a type /usr/include/zlib.h:1563: error: 'off64_t' does not name a type /usr/include/zlib.h:1564: error: 'off64_t' has not been declared /usr/include/zlib.h:1565: error: 'off64_t' has not been declared And when I tried to rebuild all qt4 stuff from scratch, I get this from qmake: c++ -c -pipe -g -g -g -g -fPIC -Wall -W -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_TEXTSTREAM -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I../../../include -I../../../include/QtCore -I../../../include/QtXml -I/usr/local/include -o .obj/debug-static/qbytearray.o ../../corelib/tools/qbytearray.cpp In file included from ../../corelib/tools/qbytearray.cpp:54: /usr/include/zlib.h:1561: error: 'off64_t' does not name a type /usr/include/zlib.h:1562: error: 'off64_t' does not name a type /usr/include/zlib.h:1563: error: 'off64_t' does not name a type /usr/include/zlib.h:1564: error: 'off64_t' has not been declared /usr/include/zlib.h:1565: error: 'off64_t' has not been declared *** Error code 1 Stop in /usr/local/tmp/usr/local/ports/devel/qt4-moc/work/qt-everywhere-opensource-src-4.6.1/src/tools/bootstrap. *** Error code 1