Opened 15 years ago
Closed 15 years ago
#21323 closed defect (fixed)
kdelibs4 4.3.0 on SnowLeopard - build failure
Reported by: | mkr@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.0 |
Keywords: | Cc: | mkr@…, bgrupe27, domiman@…, nicos_pavlov@…, lfranchi@…, andrea@…, brody1@…, macports@…, sgaede@…, charmedguy18@…, ruud@… | |
Port: | kdelibs4 |
Description
Building kdelibs4 4.3.0 on SnowLeopard, I came across two problems (up to now):
There is a problem in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.0/kdecore/io/ksavefile.cpp,
Line 188ff:
---
#ifdef HAVE_FDATASYNC
# define FDATASYNC fdatasync
#else
# define FDATASYNC fsync
#endif
---
There is no fdatasync function in /usr/include/unistd.h, only fsync, but HAVE_FDATASYNC is set to 1.
So I grepped for it in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build
found it in config.h and CMakeCache.txt, and tried to change it by hand.
At first in config.h, which doesn't help:
config.h: Line 94
change: #define HAVE_FDATASYNC 1
into: #define HAVE_FDATASYNC 0
Then in CMakeCache.txt, which helps:
CMakeCache.txt: Line 1459
change: HAVE_FDATASYNC:INTERNAL=1
into: HAVE_FDATASYNC:INTERNAL=0
I don't know how this gets set originally...
Maybe someone who knows might look into this.
After that I ran into problems in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.0/kdeui/windowmanagement/kwindowsystem_mac.cpp
There is some code missing, not portet to Mac64, yet...
Attachments (2)
Change History (24)
comment:1 Changed 15 years ago by mkr@…
Cc: | mkr@… added |
---|
comment:5 Changed 15 years ago by lfranchi@…
The attached patch makes the build continue past the kkeyserver_mac.cpp issue. However, it just comments out the relevant f unction from being built in x86_64, essentially breaking the keycode/acceleration stuff (i think).
it needs to be rewritten with UCKeyTranslate rather than KeyTranslate, but it returns a string rather than a int keycode, which means that it won't fit into the API.
Changed 15 years ago by lfranchi@…
Attachment: | kkeyserver_mac64.patch added |
---|
this patches the build to continue past the broken parts of the file. needs to be added to the portfile.
comment:8 Changed 15 years ago by b1wolt@…
I now recieve the following error later on: DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build" && /usr/bin/make -j2 all " returned error 2 Command output: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.0/kio/misc/kpac/discovery.cpp: In member function 'bool KPAC::Discovery::checkDomain() const': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.0/kio/misc/kpac/discovery.cpp:96: error: 'HEADER' does not name a type /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.0/kio/misc/kpac/discovery.cpp:97: error: 'PACKETSZ' was not declared in this scope /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.0/kio/misc/kpac/discovery.cpp:99: error: 'C_IN' was not declared in this scope /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.0/kio/misc/kpac/discovery.cpp:99: error: 'T_SOA' was not declared in this scope /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.0/kio/misc/kpac/discovery.cpp:100: error: 'union KPAC::Discovery::checkDomain() const::<anonymous>' has no member named 'buf' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.0/kio/misc/kpac/discovery.cpp:100: error: 'union KPAC::Discovery::checkDomain() const::<anonymous>' has no member named 'buf' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.0/kio/misc/kpac/discovery.cpp:101: error: 'union KPAC::Discovery::checkDomain() const::<anonymous>' has no member named 'header' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.0/kio/misc/kpac/discovery.cpp:102: error: 'union KPAC::Discovery::checkDomain() const::<anonymous>' has no member named 'header' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.0/kio/misc/kpac/discovery.cpp:102: error: 'union KPAC::Discovery::checkDomain() const::<anonymous>' has no member named 'header' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.0/kio/misc/kpac/discovery.cpp:102: error: 'union KPAC::Discovery::checkDomain() const::<anonymous>' has no member named 'header' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.0/kio/misc/kpac/discovery.cpp:102: error: 'union KPAC::Discovery::checkDomain() const::<anonymous>' has no member named 'header' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.0/kio/misc/kpac/discovery.cpp:103: error: 'union KPAC::Discovery::checkDomain() const::<anonymous>' has no member named 'buf' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.0/kio/misc/kpac/discovery.cpp:103: error: 'union KPAC::Discovery::checkDomain() const::<anonymous>' has no member named 'header' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.0/kio/misc/kpac/discovery.cpp:104: error: 'union KPAC::Discovery::checkDomain() const::<anonymous>' has no member named 'buf' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.0/kio/misc/kpac/discovery.cpp:106: error: 'QFIXEDSZ' was not declared in this scope /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.0/kio/misc/kpac/discovery.cpp:111: error: 'GETSHORT' was not declared in this scope
comment:9 Changed 15 years ago by b1wolt@…
Got kdelibs4 to continue compileing by adding the line #include <arpa/nameser_compat.h> to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.0/kio/misc/kpac/discovery.cpp I am a beginner so I don't know what the ramifications will be but it does keep going.
comment:14 Changed 15 years ago by tobypeterson
better way to get the compat headers is to build with -DBIND_8_COMPAT
comment:16 Changed 15 years ago by sgaede@…
Replying to kahuna@…:
Same problems on kdelibs4 4.3.1
Applied the patch kkserver_mac64.patch on 4.3.1 and got error linking makewidgets:
Linking CXX executable ../bin/makekdewidgets cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/kdewidgets && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/makekdewidgets.dir/link.txt --verbose=1 /usr/bin/g++-4.2 -O2 -arch x86_64 -fno-common -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -Wl,-search_paths_first -headerpad_max_install_names -fPIC -L/opt/local/lib CMakeFiles/makekdewidgets.dir/makekdewidgets_automoc.o CMakeFiles/makekdewidgets.dir/makekdewidgets.o -o ../bin/makekdewidgets -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/lib -F/opt/local/libexec/qt4-mac/lib -framework QtCore -lpthread ../lib/libkdecore.5.3.0.dylib -F/opt/local/libexec/qt4-mac/lib -framework QtCore -lpthread -F/opt/local/libexec/qt4-mac/lib -framework QtDBus -framework Carbon cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/kdewidgets && /opt/local/bin/cmake -D_filename=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/bin/makekdewidgets.shell -D_library_path_variable=DYLD_LIBRARY_PATH -D_ld_library_path="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/lib/./:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/lib/." -D_executable=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/bin/makekdewidgets -P /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/cmake/modules/kde4_exec_via_sh.cmake /opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/CMakeFiles [ 19%] Built target makekdewidgets make: * [all] Error 2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build" && /usr/bin/make -j2 all " returned error 2 Command output: "_hspell_uninit", referenced from:
HSpellDict::~HSpellDict()in kspell_hspelldict.o HSpellDict::~HSpellDict()in kspell_hspelldict.o
"_corlist_free", referenced from:
HSpellDict::suggest(QString const&) constin kspell_hspelldict.o
ld: symbol(s) not found collect2: ld returned 1 exit status
comment:18 Changed 15 years ago by charmedguy18@…
I put all of these patches and still nothing. It gets much father though. I don't understand why it's even still an issue if it's just as easy as changing a few lines of code. Ugh.
[ 55%] Building CXX object kded/CMakeFiles/kdeinit_kbuildsycoca4.dir/vfolder_menu.o cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/kded && /usr/bin/g++-4.2 -Dkdeinit_kbuildsycoca4_EXPORTS -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -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/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/kded -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kded -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/interfaces -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kio -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kio/bookmarks -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kio/kio -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kio/kfile -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdeui -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdeui/actions -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdeui/colors -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdeui/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdeui/dialogs -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdeui/findreplace -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdeui/fonts -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdeui/icons -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdeui/itemviews -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdeui/jobs -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdeui/kernel -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdeui/paged -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdeui/plotting -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdeui/shortcuts -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdeui/sonnet -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdeui/util -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdeui/widgets -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdeui/windowmanagement -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdeui/xmlgui -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kjs -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/kjs -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdecore -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/kdecore -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdecore/compression -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdecore/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdecore/date -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdecore/io -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdecore/jobs -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdecore/kernel -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kd ecore/network -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdecore/services -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdecore/localization -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdecore/sycoca -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdecore/text -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdecore/util -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kdecore/sonnet -I/opt/local/libexec/qt4-mac/include/phonon -I/opt/local/libexec/qt4-mac/include/QtXmlPatterns -I/opt/local/libexec/qt4-mac/include/QtWebKit -I/opt/local/libexec/qt4-mac/include/QtHelp -I/opt/local/libexec/qt4-mac/include/QtAssistant -I/opt/local/libexec/qt4-mac/include/QtDBus -I/opt/local/libexec/qt4-mac/include/QtTest -I/opt/local/libexec/qt4-mac/include/QtUiTools -I/opt/local/libexec/qt4-mac/include/QtScript -I/opt/local/libexec/qt4-mac/include/QtSvg -I/opt/local/libexec/qt4-mac/include/QtXml -I/opt/local/libexec/qt4-mac/include/QtSql -I/opt/local/libexec/qt4-mac/include/QtOpenGL -I/opt/local/libexec/qt4-mac/include/QtNetwork -I/opt/local/libexec/qt4-mac/include/QtDesigner -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 -L/opt/local/libexec/qt4-mac/lib -D__APPLE_KDE__ -D_LARGEFILE64_SOURCE -o CMakeFiles/kdeinit_kbuildsycoca4.dir/vfolder_menu.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kded/vfolder_menu.cpp In file included from /opt/local/libexec/qt4-mac/include/QtCore/qnamespace.h:45, from /opt/local/libexec/qt4-mac/include/QtCore/qobjectdefs.h:45, from /opt/local/libexec/qt4-mac/include/QtCore/qobject.h:47, from /opt/local/libexec/qt4-mac/include/QtCore/QObject:1, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kded/vfolder_menu.h:23, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/kded/vfolder_menu.cpp:19: /opt/local/libexec/qt4-mac/include/QtCore/qglobal.h:311:6: warning: #warning "Support for this version of Mac OS X is still preliminary" Linking CXX shared library ../lib/libkdeinit4_kbuildsycoca4.dylib cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/kded && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/kdeinit_kbuildsycoca4.dir/link.txt --verbose=1 /usr/bin/g++-4.2 -O2 -arch x86_64 -fno-common -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -dynamiclib -headerpad_max_install_names -single_module -multiply_defined suppress -L/opt/local/lib -o ../lib/libkdeinit4_kbuildsycoca4.dylib -install_name /opt/local/lib/libkdeinit4_kbuildsycoca4.dylib CMakeFiles/kdeinit_kbuildsycoca4.dir/kdeinit_kbuildsycoca4_automoc.o CMakeFiles/kdeinit_kbuildsycoca4.dir/kbuildsycoca.o CMakeFiles/kdeinit_kbuildsycoca4.dir/kbuildmimetypefactory.o CMakeFiles/kdeinit_kbuildsycoca4.dir/kmimefileparser.o CMakeFiles/kdeinit_kbuildsycoca4.dir/kmimeassociations.o CMakeFiles/kdeinit_kbuildsycoca4.dir/kbuildservicetypefactory.o CMakeFiles/kdeinit_kbuildsycoca4.dir/kbuildservicefactory.o CMakeFiles/kdeinit_kbuildsycoca4.dir/kbuildservicegroupfactory.o CMakeFiles/kdeinit_kbuildsycoca4.dir/kbuildprotocolinfofactory.o CMakeFiles/kdeinit_kbuildsycoca4.dir/kctimefactory.o CMakeFiles/kdeinit_kbuildsycoca4.dir/vfolder_menu.o -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/lib -F/opt/local/libexec/qt4-mac/lib -framework QtCore -lpthread ../lib/libkdecore.5.3.0.dylib ../lib/libkdeui.5.3.0.dylib ../lib/libkio.5.3.0.dylib ../lib/libkdeui.5.3.0.dylib ../lib/libkdecore.5.3.0.dylib -F/opt/local/libexec/qt4-mac/lib -framework QtCore -lpthread -F/opt/local/libexec/qt4-mac/lib -framework QtDBus -framework Carbon -F/opt/local/libexec/qt4-mac/lib -framework QtSvg -F/opt/local/libexec/qt4-mac/lib -framework QtGui -F/opt/local/libexec/qt4-mac/lib -framework QtNetwork -F/opt/local/libexec/qt4-mac/lib -framework QtXml ../lib/libsolid.4.3.0.dylib /opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/CMakeFiles [ 55%] Built target kdeinit_kbuildsycoca4 make: *** [all] Error 2 Warning: the following items did not execute (for kdelibs4): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. Executing: /opt/local/bin/port -v install kdelibs4
Changed 15 years ago by jeremy.laine@…
Attachment: | kdelibs4.patch added |
---|
Add patches and update Portfile
comment:21 Changed 15 years ago by payam.minoofar@…
This is the error that I'm getting when I try to compile kdelibs4 4.3.1. This is on Snow Leopard with all the updates and port 1.8.1
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build" && /usr/bin/make -j2 all " returned error 2 Command output: from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/solid/solid/powermanagementinterface.h:14, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/solid/solid/powermanagementinterface.cpp:12: /opt/local/libexec/qt4-mac/include/QtCore/qglobal.h:311:6: warning: #warning "Support for this version of Mac OS X is still preliminary" /opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/CMakeFiles [ 5%] Building CXX object solid/solid/CMakeFiles/solid.dir/inhibitinterface.o cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/solid/solid && /usr/bin/g++-4.2 -DMAKE_SOLID_LIB -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -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/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/solid/solid -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/solid/solid -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/interfaces -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/solid -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/solid -I/opt/local/libexec/qt4-mac/include -F/opt/local/libexec/qt4-mac/lib -L/opt/local/libexec/qt4-mac/lib -D__APPLE_KDE__ -D_LARGEFILE64_SOURCE -o CMakeFiles/solid.dir/inhibitinterface.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/solid/solid/inhibitinterface.cpp In file included from /opt/local/libexec/qt4-mac/include/QtCore/qnamespace.h:45, from /opt/local/libexec/qt4-mac/include/QtCore/qobjectdefs.h:45, from /opt/local/libexec/qt4-mac/include/QtCore/qobject.h:47, from /opt/local/libexec/qt4-mac/include/QtCore/QObject:1, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/solid/solid/inhibitinterface.h:14, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/solid/solid/inhibitinterface.cpp:12: /opt/local/libexec/qt4-mac/include/QtCore/qglobal.h:311:6: warning: #warning "Support for this version of Mac OS X is still preliminary" /opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/CMakeFiles [ 5%] Building CXX object solid/solid/CMakeFiles/solid.dir/org_kde_solid_networking_client.o cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/solid/solid && /usr/bin/g++-4.2 -DMAKE_SOLID_LIB -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -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/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/solid/solid -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/solid/solid -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/interfaces -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.1/solid -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/solid -I/opt/local/libexec/qt4-mac/include -F/opt/local/libexec/qt4-mac/lib -L/opt/local/libexec/qt4-mac/lib -D__APPLE_KDE__ -D_LARGEFILE64_SOURCE -o CMakeFiles/solid.dir/org_kde_solid_networking_client.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/solid/solid/org_kde_solid_networking_client.cpp In file included from /opt/local/libexec/qt4-mac/include/QtCore/qnamespace.h:45, from /opt/local/libexec/qt4-mac/include/QtCore/qobjectdefs.h:45, from /opt/local/libexec/qt4-mac/include/QtCore/qobject.h:47, from /opt/local/libexec/qt4-mac/include/QtCore/QObject:1, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/solid/solid/org_kde_solid_networking_client.h:14, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/solid/solid/org_kde_solid_networking_client.cpp:12: /opt/local/libexec/qt4-mac/include/QtCore/qglobal.h:311:6: warning: #warning "Support for this version of Mac OS X is still preliminary" Linking CXX shared library ../../lib/libsolid.dylib cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/solid/solid && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/solid.dir/link.txt --verbose=1 /usr/bin/g++-4.2 -O2 -arch x86_64 -fno-common -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -dynamiclib -headerpad_max_install_names -single_module -multiply_defined suppress -L/opt/local/lib -compatibility_version 4.0.0 -current_version 4.3.0 -o ../../lib/libsolid.4.3.0.dylib -install_name /opt/local/lib/libsolid.4.dylib CMakeFiles/solid.dir/solid_automoc.o CMakeFiles/solid.dir/solidnamespace.o CMakeFiles/solid.dir/managerbase.o CMakeFiles/solid.dir/device.o CMakeFiles/solid.dir/devicemanager.o CMakeFiles/solid.dir/deviceinterface.o CMakeFiles/solid.dir/genericinterface.o CMakeFiles/solid.dir/processor.o CMakeFiles/solid.dir/block.o CMakeFiles/solid.dir/storagedrive.o CMakeFiles/solid.dir/opticaldrive.o CMakeFiles/solid.dir/storagevolume.o CMakeFiles/solid.dir/opticaldisc.o CMakeFiles/solid.dir/storageaccess.o CMakeFiles/solid.dir/camera.o CMakeFiles/solid.dir/portablemediaplayer.o CMakeFiles/solid.dir/networkinterface.o CMakeFiles/solid.dir/serialinterface.o CMakeFiles/solid.dir/acadapter.o CMakeFiles/solid.dir/battery.o CMakeFiles/solid.dir/button.o CMakeFiles/solid.dir/audiointerface.o CMakeFiles/solid.dir/dvbinterface.o CMakeFiles/solid.dir/predicate.o CMakeFiles/solid.dir/predicateparse.o CMakeFiles/solid.dir/predicate_lexer.o CMakeFiles/solid.dir/predicate_parser.o CMakeFiles/solid.dir/powermanagement.o CMakeFiles/solid.dir/networking.o CMakeFiles/solid.dir/video.o CMakeFiles/solid.dir/smartcardreader.o CMakeFiles/solid.dir/ifaces/acadapter.o CMakeFiles/solid.dir/ifaces/audiointerface.o CMakeFiles/solid.dir/ifaces/battery.o CMakeFiles/solid.dir/ifaces/block.o CMakeFiles/solid.dir/ifaces/button.o CMakeFiles/solid.dir/ifaces/camera.o CMakeFiles/solid.dir/ifaces/opticaldrive.o CMakeFiles/solid.dir/ifaces/device.o CMakeFiles/solid.dir/ifaces/deviceinterface.o CMakeFiles/solid.dir/ifaces/devicemanager.o CMakeFiles/solid.dir/ifaces/dvbinterface.o CMakeFiles/solid.dir/ifaces/genericinterface.o CMakeFiles/solid.dir/ifaces/networkinterface.o CMakeFiles/solid.dir/ifaces/serialinterface.o CMakeFiles/solid.dir/ifaces/opticaldisc.o CMakeFiles/solid.dir/ifaces/portablemediaplayer.o CMakeFiles/solid.dir/ifaces/processor.o CMakeFiles/solid.dir/ifaces/storagedrive.o CMakeFiles/solid.dir/ifaces/storagevolume.o CMakeFiles/solid.dir/ifaces/storageaccess.o CMakeFiles/solid.dir/ifaces/video.o CMakeFiles/solid.dir/ifaces/smartcardreader.o CMakeFiles/solid.dir/backends/fakehw/fakeacadapter.o CMakeFiles/solid.dir/backends/fakehw/fakeaudiointerface.o CMakeFiles/solid.dir/backends/fakehw/fakebattery.o CMakeFiles/solid.dir/backends/fakehw/fakeblock.o CMakeFiles/solid.dir/backends/fakehw/fakebutton.o CMakeFiles/solid.dir/backends/fakehw/fakecamera.o CMakeFiles/solid.dir/backends/fakehw/fakecdrom.o CMakeFiles/solid.dir/backends/fakehw/fakedevice.o CMakeFiles/solid.dir/backends/fakehw/fakedeviceinterface.o CMakeFiles/solid.dir/backends/fakehw/fakedvbinterface.o CMakeFiles/solid.dir/backends/fakehw/fakegenericinterface.o CMakeFiles/solid.dir/backends/fakehw/fakemanager.o CMakeFiles/solid.dir/backends/fakehw/fakenetworkinterface.o CMakeFiles/solid.dir/backends/fakehw/fakeopticaldisc.o CMakeFiles/solid.dir/backends/fakehw/fakeportablemediaplayer.o CMakeFiles/solid.dir/backends/fakehw/fakeprocessor.o CMakeFiles/solid.dir/backends/fakehw/fakestorage.o CMakeFiles/solid.dir/backends/fakehw/fakestorageaccess.o CMakeFiles/solid.dir/backends/fakehw/fakevideo.o CMakeFiles/solid.dir/backends/fakehw/fakevolume.o CMakeFiles/solid.dir/backends/fakehw/fakesmartcardreader.o CMakeFiles/solid.dir/backends/iokit/iokitmanager.o CMakeFiles/solid.dir/backends/iokit/iokitdevice.o CMakeFiles/solid.dir/backends/iokit/cfhelper.o CMakeFiles/solid.dir/backends/iokit/iokitdeviceinterface.o CMakeFiles/solid.dir/backends/iokit/iokitgenericinterface.o CMakeFiles/solid.dir/backends/iokit/iokitprocessor.o CMakeFiles/solid.dir/backends/iokit/iokitnetworkinterface.o CMakeFiles/solid.dir/backends/iokit/iokitserialinterface.o CMakeFiles/solid.dir/powermanagementinterface.o CMakeFiles/solid.dir/inhibitinterface.o CMakeFiles/solid.dir/org_kde_solid_networking_client.o -F/opt/local/libexec/qt4-mac/lib -framework QtCore -lpthread -F/opt/local/libexec/qt4-mac/lib -framework QtDBus -F/opt/local/libexec/qt4-mac/lib -framework QtXml -F/opt/local/libexec/qt4-mac/lib -framework QtGui -framework IOKit -framework CoreFoundation cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/solid/solid && /opt/local/bin/cmake -E cmake_symlink_library ../../lib/libsolid.4.3.0.dylib ../../lib/libsolid.4.dylib ../../lib/libsolid.dylib /opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/CMakeFiles 50 51 52 53 [ 5%] Built target solid make: *** [all] Error 2 Error: The following dependencies failed to build: kdebase4-runtime kdelibs4 kdepimlibs4 akonadi boost boost-jam gpgme gnupg libgpg-error pth libical openldap db44 oxygen-icons qimageblitz liblastfm fftw-3-single fftw-3 libsamplerate libsndfile flac libogg libvorbis ruby loudmouth gnutls libgcrypt libtasn1 lzo opencdk mysql5-devel qtscriptgenerator taglib taglib-extras
comment:22 Changed 15 years ago by nerdling (Jeremy Lavergne)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Updated version and committed jeremy laine's patches in r58888.
Took maintainership with jeremy laine.
Cc Me!