[MacPorts] #15010: kdelibs3 3.5.8 fails to build
MacPorts
trac at macosforge.org
Mon Apr 21 22:38:11 PDT 2008
#15010: kdelibs3 3.5.8 fails to build
--------------------------------+-------------------------------------------
Reporter: gargasm at gmail.com | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: | Keywords: kde kdelibs3
--------------------------------+-------------------------------------------
Comment (by gargasm at gmail.com):
update: i upgraded my developer tools to 2.5 (i'd thought 2.4.1 was the
latest-oops), so now i have the same gcc as the one takanori was using:
{{{
[asl at tiPop:~]$ gcc_select
Current default compiler:
gcc version 4.0.1 (Apple Computer, Inc. build 5370)
}}}
i aslo, because of the mention of {{{$AUTOCONF}}} in the first error
report, did
{{{
[asl at tipop:~]$ sudo port -fn upgrade autoconf
---> Fetching autoconf
---> Verifying checksum(s) for autoconf
---> Extracting autoconf
---> Configuring autoconf
---> Building autoconf with target all
---> Staging autoconf into destroot
---> Deactivating autoconf 2.61_1
---> Uninstalling autoconf 2.61_1
---> Installing autoconf 2.61_1
---> Activating autoconf 2.61_1
---> Cleaning autoconf
}}}
still no luck, so i did {{{sudo port upgrade installed}}} and ran it
again. now i get:
{{{
[asl at tipop:~]$ sudo port install kde
---> Fetching kdelibs3
---> Verifying checksum(s) for kdelibs3
---> Extracting kdelibs3
---> Configuring kdelibs3
---> Building kdelibs3 with target all
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_kdelibs3/work/kdelibs-3.5.8
&& ./CompileScript.sh" returned error 1
Command output: 74% compiling
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/kateundo.cpp
74% compiling
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/katecursor.cpp
74% compiling
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/katefactory.cpp
74% compiling
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/katesyntaxdocument.cpp
74% compiling
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/katetextline.cpp
74% compiling
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/kateconfig.cpp
74% compiling
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/katefont.cpp
74% compiling
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/katelinerange.cpp
75% compiling
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/katerenderer.cpp
75% compiling
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/kateattribute.cpp
75% compiling
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/kateindentscriptabstracts.cpp
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/kateindentscriptabstracts.cpp:28:
warning: unused parameter 'internalName'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/kateindentscriptabstracts.cpp:28:
warning: unused parameter 'internalName'
75% compiling
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/kateluaindentscript.cpp
g++ -DHAVE_CONFIG_H -I./kate/part
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part
-I. -I./kate/part/../interfaces
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kdeprint
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/interfaces
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/interfaces/kregexpeditor
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kdefx
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kutils
-I./kjs
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/dcop
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/libltdl
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kdefx
-I./kdecore
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kdecore
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kdecore/network
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kdeui
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kio
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kio/kio
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kio/kfile
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8
-I/opt/local/lib/qt3/include -I/usr/X11R6/include -I/opt/local/include
-I/opt/local/include -DQT_THREAD_SUPPORT -I/usr/include/gssapi
-I/opt/local/include/freetype2 -I/opt/local/include -fno-common -no-cpp-
precomp -DMACOSX -DARTS_NO_ALARM -I/opt/local/include -I/usr/X11R6/include
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -Os -Os -fPIC -Wno-non-
virtual-dtor -fno-exceptions -fno-check-new -fno-common
-fvisibility=hidden -fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fPIC
-DPIC -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/kateluaindentscript.cpp
-o ./kate/part/.libs/kateluaindentscript.o
-Wp,-MD,./kate/part/.deps/kateluaindentscript.TUlo
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/kateluaindentscript.cpp:177:
warning: unused parameter 'L'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/kateluaindentscript.cpp:
In member function 'bool
KateLUAIndentScriptImpl::setupInterpreter(QString&)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/kateluaindentscript.cpp:249:
error: 'luaL_newstate' was not declared in this scope
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/kateluaindentscript.cpp:290:
error: 'lua_version' was not declared in this scope
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/kateluaindentscript.cpp:
At global scope:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/kateluaindentscript.cpp:325:
warning: unused parameter 'view'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/kateluaindentscript.cpp:325:
warning: unused parameter 'line'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/kateluaindentscript.cpp:331:
warning: unused parameter 'begin'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/kateluaindentscript.cpp:331:
warning: unused parameter 'needcontinue'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/kateluaindentscript.cpp:458:
warning: unused parameter 'filePath'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/kateluaindentscript.cpp:458:
warning: unused parameter 'niceName'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/kateluaindentscript.cpp:458:
warning: unused parameter 'copyright'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.8/kate/part/kateluaindentscript.cpp:458:
warning: unused parameter 'version'
Error creating ./kate/part/kateluaindentscript.lo. Exit status 1.
kdelibs3-3.5.8-2 make failed!
Error: The following dependencies failed to build: kdebase3 kdelibs3
libusb kdenetwork3 openslp kdepim3 gpgme gnupg pth kdeaccessibility3
opensync py25-gobject py25-numeric swig bison kdeutils3 gmp
Error: Status 1 encountered during processing.
}}}
i'm wondering if there's a problem with the {{{extern "C"}}} statement
(line 38) in {{{kateluaindentscript.cpp}}} that wraps the {{{#include}}}
statements for the {{{lua.h}}} and {{{lualib.h}}} files...if that failed,
it would make sense that the lua functions referenced would be undeclared
in "this scope."
also, this just re-occurred to me and may make me look like a total newb
and idiot:
i think many of my ports may have been installed with {{{gcc 3.4.3}}}, but
i did just perform the upgrade (which didn't seem to hit every port) with
{{{gcc 4.0.1}}}. if this is an issue should i reinstall all my current
ports? what's the best way to do this if so?
would {{{sudo port reinstall installed}}} or {{{sudo port reinstall
active}}} work, or is this kind of delete {{{/opt/local}}} and start over?
i know you couldn't reproduce the problem, but any help would be greatly
appreciated, and i'm happy to offer up any further info.
for kicks, here's all my active ports:
{{{
[asl at tipop:~]$ port echo active
Xft2 @2.1.12_0
apr @1.2.12_1
apr-util @1.2.12_0
aspell @0.60.5_0+macosx
autoconf @2.61_1
autoconf213 @2.13_0
bzip2 @1.0.5_0
cyrus-sasl2 @2.1.21_0+kerberos
db44 @4.4.20_1
expat @2.0.1_0
flex @2.5.35_0
fontconfig @2.5.0_0+macosx
freetype @2.3.5_1
gawk @3.1.6_0
gettext @0.17_3
glib2 @2.16.3_0
gmake @3.81_0
help2man @1.36.4_1
hicolor-icon-theme @0.10_0
ilmbase @1.0.1_1
jack @0.109.2_0
jasper @1.900.1_0
jpeg @6b_2
libart_lgpl @2.3.20_0
libgpg-error @1.6_0
libiconv @1.12_0+darwin_8
libidn @1.0_0
libogg @1.1.3_2
libpng @1.2.26_0
libsdl @1.2.13_1+darwin_8
libsdl_image @1.2.6_2
libsdl_mixer @1.2.8_0
libsndfile @1.0.17_1
libtool @1.5.26_0
libvorbis @1.2.0_0
libxml2 @2.6.31_0
libxslt @1.1.22_0
lua @5.1.3_0
m4 @1.4.10_1
ncurses @5.6_0
ncursesw @5.6_1
neon @0.26.4_1
openexr @1.6.1_0
openssl @0.9.8g_0
p5-locale-gettext @1.05_0
pcre @7.6_0
perl5.8 @5.8.8_2+darwin_8
pkgconfig @0.23_0
py25-zlib @2.5.2_0
python25 @2.5.2_2+darwin_8
qt3 @3.3.8_3+darwin_8
readline @5.2.007_0
render @0.9_1
smpeg @0.4.4_6+darwin_8
sqlite3 @3.5.8_0
subversion @1.4.6_0
texinfo @4.11_0
tiff @3.8.2_1+macosx
unsermake @0.4-20070824_1
xattr @0.1_2
xorg-util-macros @1.1.5_0
xorg-xproto @7.0.11_1
xrender @0.9.0_2
zlib @1.2.3_1
}}}
-p
.
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15010#comment:4>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list