[MacPorts] #24072: qt4-mac fails to build with zlib 1.2.4
MacPorts
noreply at macports.org
Mon Mar 15 23:46:18 PDT 2010
#24072: qt4-mac fails to build with zlib 1.2.4
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: qt4-mac, qt4-mac-devel
-------------------------------------+--------------------------------------
qt4-mac fails to build with zlib 1.2.4. I assume qt4-mac-devel has the
same problem.
{{{
/usr/bin/g++-4.2 -c -pipe -O2 -fPIC -arch i386 -arch x86_64 -Xarch_x86_64
-mmacosx-version-min=10.5 -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../../../mkspecs/macx-g++ -I. -I../../../include
-I../../../include/QtCore -I../../../include/QtXml -o .obj/release-
static/qbytearray.o ../../corelib/tools/qbytearray.cpp
In file included from ../../corelib/tools/qbytearray.cpp:54:
/opt/local/include/zlib.h:1561: error: 'off64_t' does not name a type
/opt/local/include/zlib.h:1562: error: 'off64_t' does not name a type
/opt/local/include/zlib.h:1563: error: 'off64_t' does not name a type
/opt/local/include/zlib.h:1564: error: 'off64_t' has not been declared
/opt/local/include/zlib.h:1565: error: 'off64_t' has not been declared
In file included from ../../corelib/tools/qbytearray.cpp:54:
/opt/local/include/zlib.h:1561: error: 'off64_t' does not name a type
/opt/local/include/zlib.h:1562: error: 'off64_t' does not name a type
/opt/local/include/zlib.h:1563: error: 'off64_t' does not name a type
/opt/local/include/zlib.h:1564: error: 'off64_t' has not been declared
/opt/local/include/zlib.h:1565: error: 'off64_t' has not been declared
lipo: can't open input file: /var/tmp//ccLANySB.out (No such file or
directory)
make[1]: *** [.obj/release-static/qbytearray.o] Error 1
make: *** [sub-tools-bootstrap-make_default-ordered] Error 2
}}}
See #24067 for the general problem but it seems this may need individual
fixes in each affected port.
--
Ticket URL: <http://trac.macports.org/ticket/24072>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list