#38048 closed defect (fixed)
kdelibs3 won't build because of wrong autoconf version
Reported by: | tehcog (tehcog) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | wulfgang@…, mkae (Marko Käning), michael.bessolov@…, rlhamil, FlorianFranzen@…, arkonan (Alexandra Ellwood), takekawa@…, cooljeanius (Eric Gallager), ryandesign (Ryan Carsten Schmidt) | |
Port: | kdelibs3 |
Description
kdelibs3 won't build on MacPorts base version 2.1.3, Snowleopard 10.6.8 Please see attached file.
Attachments (2)
Change History (23)
Changed 12 years ago by tehcog (tehcog)
Attachment: | kdelibs3_Debug.txt added |
---|
comment:1 Changed 12 years ago by mf2k (Frank Schima)
Cc: | nomaintainer@… removed |
---|
It is not useful to Cc nomaintainer.
It is more helpful if you attach the main.log file.
comment:2 follow-up: 3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
The log already attached is sufficient; it says:
error: Autoconf version 2.65 or higher is required
So, kdelibs3's dependency on port:autoconf263 seems incorrect.
What happens if you install the autoconf port? Or is it already installed?
comment:3 Changed 12 years ago by tehcog (tehcog)
Replying to ryandesign@…: . .
So, kdelibs3's dependency on port:autoconf263 seems incorrect.
What happens if you install the autoconf port? Or is it already installed?
Thanks for your assistance in this matter. I have:
The following ports are currently installed: autoconf @2.68_2 autoconf @2.69_0 (active) autoconf263 @2.63_0 (active)
Am I missing something here?
comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Nope; the kdelibs3 port is simply programmed to explicitly use autoconf263. That appears to be wrong and should be fixed.
comment:5 Changed 12 years ago by jmroot (Joshua Root)
Given that it built fine before, it seems more likely that not also depending on an autoconf263-compatible automake is the problem.
comment:12 Changed 12 years ago by takekawa@…
It could be fixed by using automake-17 and aclocal-17.
--- Portfile~ 2013-03-18 18:43:12.000000000 +0900 +++ Portfile 2013-03-18 18:44:08.000000000 +0900 @@ -33,6 +33,7 @@ dist_subdir kde3 depends_build port:autoconf263 \ + port:automake17 \ port:automake \ port:pkgconfig \ port:unsermake @@ -132,7 +133,7 @@ use_configure no use_parallel_build yes -build.env MAKEFLAGS="-j${build.jobs}" AUTOCONF=autoconf263 \ +build.env MAKEFLAGS="-j${build.jobs}" AUTOCONF=autoconf263 AUTOMAKE=automake-17 ACLOCAL=aclocal-17 \ CC=${configure.cc} CXX=${configure.cxx} build.cmd ./CompileScript.sh
comment:14 Changed 12 years ago by mkae (Marko Käning)
Indeed it builds fine again with the above patch! :-)
Committed as r104164.
comment:15 Changed 12 years ago by mkae (Marko Käning)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:16 follow-up: 21 Changed 12 years ago by jmroot (Joshua Root)
Should it really depend on both automake and automake17?
comment:17 follow-up: 18 Changed 12 years ago by wulfgang@…
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I am using the most recent version of XCode and Macports, and I am still having trouble to compile.
I ran
sudo port clean kdelibs3 sudo port install kdelibs3
which triggered an install of automake17. This install was successful, but kdelibs3 failed:
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10/kdecore/krootprop.cpp:20: :info:build In file included from /opt/local/lib/qt3/include/qwidget.h:42: :info:build In file included from /opt/local/lib/qt3/include/qwindowdefs.h:44: :info:build /opt/local/lib/qt3/include/qstring.h:898:44: warning: operands of ? are integers of different signs: 'uint' (aka 'unsigned int') and 'int' [-Wsign-compare] :info:build return insertHelper( index, s, pos==-1 ? s.size() : pos ); :info:build ^ ~~~~~~~~ ~~~ :info:build /opt/local/lib/qt3/include/qstring.h:920:45: warning: operands of ? are integers of different signs: 'uint' (aka 'unsigned int') and 'int' [-Wsign-compare] :info:build return operatorPlusEqHelper( s, pos==-1 ? s.size() : pos ); :info:build ^ ~~~~~~~~ ~~~ :info:build 2 warnings generated. :info:build kdelibs3-3.5.10-16 make failed! :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs3/kdelibs3/work/kdelibs-3.5.10" && ./CompileScript.sh all :info:build Exit code: 1
There are many more error messages that seem similar (problems with operators etc.). See the attached log for details.
comment:18 Changed 12 years ago by FlorianFranzen@…
Replying to wulfgang@…:
There are many more error messages that seem similar (problems with operators etc.). See the attached log for details.
These warnings are actually not the problem. The actual problem you encounter is:
:info:build Undefined symbols for architecture x86_64: :info:build "QPtrList<DCOPClientTransaction>::deleteItem(void*)", referenced from: :info:build vtable for QPtrList<DCOPClientTransaction> in libDCOP.4.2.0.dylib-master.o :info:build ld: symbol(s) not found for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build Error creating ./dcop/libDCOP.la. Exit status 1.
Do you happen to have a second, no mac ports version of qt3 installed?
You probably have run a selfupdate (sudo port selfupdate
) prior to building?
Can you supply us with more information about the version of OS X you are using?
comment:20 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | autoconf removed |
---|---|
Resolution: | → fixed |
Status: | reopened → closed |
Summary: | kdelibs3 won't build on MacPorts base version 2.1.3, Snowleopard 10.6.8 → kdelibs3 won't build because of wrong autoconf version |
This is a new problem now, for which there should be a new ticket, please. And in fact there already is: #38876
comment:21 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
debug log