Opened 15 years ago
Closed 15 years ago
#24128 closed defect (fixed)
kdelibs4 doesn't build with zlib 1.2.4
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | nerdling (Jeremy Lavergne) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.2 |
Keywords: | Cc: | sharky@… | |
Port: | kdelibs4 |
Description
cd /opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/build/kdecore && /usr/bin/g++-4.2 -DMAKE_KDECORE_LIB -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DNO_DISPLAY -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -O2 -arch x86_64 -fno-common -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -fPIC -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/build/kdecore -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.4.1/kdecore -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.4.1 -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/build -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.4.1/interfaces -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/build/kdecore/network -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.4.1/kdecore/sonnet -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.4.1/kdecore/auth -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.4.1/kjs -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/build/kjs -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.4.1/kdecore/compression -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.4.1/kdecore/config -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.4.1/kdecore/date -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.4.1/kdecore/io -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.4.1/kdecore/jobs -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.4.1/kdecore/kernel -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.4.1/kdecore/network -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.4.1/kdecore/services -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.4.1/kdecore/localization -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.4.1/kdecore/sycoca -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.4.1/kdecore/text -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.4.1/kdecore/util -I/opt/local/libexec/qt4-mac/include/phonon -I/opt/local/libexec/qt4-mac/include/QtXmlPatterns -I/opt/local/libexec/qt4-mac/include/QtXml -I/opt/local/libexec/qt4-mac/include/QtWebKit -I/opt/local/libexec/qt4-mac/include/QtUiTools -I/opt/local/libexec/qt4-mac/include/QtTest -I/opt/local/libexec/qt4-mac/include/QtSvg -I/opt/local/libexec/qt4-mac/include/QtSql -I/opt/local/libexec/qt4-mac/include/QtScriptTools -I/opt/local/libexec/qt4-mac/include/QtScript -I/opt/local/libexec/qt4-mac/include/QtOpenGL -I/opt/local/libexec/qt4-mac/include/QtNetwork -I/opt/local/libexec/qt4-mac/include/QtMultimedia -I/opt/local/libexec/qt4-mac/include/QtHelp -I/opt/local/libexec/qt4-mac/include/QtDesigner -I/opt/local/libexec/qt4-mac/include/QtDBus -I/opt/local/libexec/qt4-mac/include/QtAssistant -I/opt/local/libexec/qt4-mac/include/Qt3Support -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/include/Qt -I/opt/local/libexec/qt4-mac/mkspecs/default -I/opt/local/libexec/qt4-mac/include -F/opt/local/libexec/qt4-mac/lib -I/opt/local/include -D__APPLE_KDE__ -D_LARGEFILE64_SOURCE -DBUNDLE_INSTALL_DIR="\"/opt/local/Applications/KDE4\"" -o CMakeFiles/kdecore.dir/compression/kgzipfilter.o -c /opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.4.1/kdecore/compression/kgzipfilter.cpp In file included from /opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.4.1/kdecore/compression/kgzipfilter.cpp:23: /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 make[2]: *** [kdecore/CMakeFiles/kdecore.dir/compression/kgzipfilter.o] Error 1 make[1]: *** [kdecore/CMakeFiles/kdecore.dir/all] Error 2 make: *** [all] Error 2
See also #24067
Change History (4)
comment:1 Changed 15 years ago by nerdling (Jeremy Lavergne)
comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
That is correct, the problem will no longer be apparent with zlib 1.2.4_1. However, the developer of zlib feels this is still a bug in the software that exhibits the problem (e.g. kdelibs4) that should be fixed upstream.
comment:3 Changed 15 years ago by nerdling (Jeremy Lavergne)
Status: | new → assigned |
---|
The line that will need changes is:
cmake/modules/FindKDE4Internal.cmake:1019
comment:4 Changed 15 years ago by nerdling (Jeremy Lavergne)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Committed a patch for this in r66018.
Note: See
TracTickets for help on using
tickets.
I cannot reproduce this with zlib 1.2.4_1. Can you check again?