[kde-freebsd] Error compile ports/devel/kdesdk3/work/kdesdk-3.5.10 (FreeBSD 7-STABLE) + include patch

Andrei V. Lavreniyuk andy.lavr at reactor-xg.kiev.ua
Sat Aug 30 09:36:45 CEST 2008


Hi!


View attached file - patch-Makefile


-- patch-Makefile  ---


--- Makefile-fix        2008-08-21 11:29:09.000000000 +0000
+++ Makefile    2008-08-29 11:29:44.000000000 +0000
@@ -2,7 +2,7 @@
  # Date created:                                2 March 2001
  # Whom:                                        Dmitry Sivachenko 
<demon at FreeBSD.org>
  #
-# $FreeBSD: ports/devel/kdesdk3/Makefile,v 1.66 2008/08/18 09:21:35 
miwi Exp $
+# $FreeBSD: ports/devel/kdesdk3/Makefile,v 1.67 2008/08/29 11:29:44 
miwi Exp $
  #

  PORTNAME=      kdesdk
@@ -17,7 +17,6 @@

  RUN_DEPENDS=   bash:${PORTSDIR}/shells/bash
  LIB_DEPENDS=   svn_client-1.0:${PORTSDIR}/devel/subversion
-BUILD_DEPENDS= flex:${PORTSDIR}/textproc/flex

  CONFLICTS=     umbrello-[0-9]* kcachegrind-[0-9]*

@@ -40,8 +39,6 @@
                 --with-svn-include=${LOCALBASE}/include \
                 --with-svn-lib=${LOCALBASE}/lib

-CONFIGURE_ENV= LEX=${LOCALBASE}/bin/flex
-
  MAN1=          cervisia.1 cvsblame.1 cvscheck.1 cvsversion.1 
includemocs.1 kde-build.1 kdesvn-build.1 noncvslist.1

  .include "${.CURDIR}/../../x11/kde3/Makefile.kde"


--- End patch ---






--------------------------------------------

In file included from cervisiashell.cpp:26:
/usr/local/include/kedittoolbar.h:271: warning: 'KEditToolbarWidget' has 
a field 'KEditToolbarWidget::m_inactiveList' whose type uses the 
anonymous namespace
/usr/local/include/kedittoolbar.h:271: warning: 'KEditToolbarWidget' has 
a field 'KEditToolbarWidget::m_activeList' whose type uses the anonymous 
namespace
mv -f .deps/cervisiashell.Tpo .deps/cervisiashell.Plo
/bin/sh /usr/local/bin/libtool --silent --tag=CXX   --mode=link c++ 
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 
-fconserve-space -Wno-non-virtual-dtor -fno-exceptions -fno-check-new 
-fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL 
-DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o libkdeinit_cervisia.la -rpath 
/usr/local/lib -no-undefined -avoid-version -L/usr/local/lib 
-D_THREAD_SAFE -pthread  -L/usr/local/lib main.lo cervisiashell.lo 
-lkparts -lkutils cvsservice/libcvsservice.la libcervisia.la 
-Wl,-export-dynamic -L/usr/local/lib -ljpeg  -L/usr/local/lib
/bin/sh /usr/local/bin/libtool --silent --tag=CXX   --mode=link c++ 
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 
-fconserve-space -Wno-non-virtual-dtor -fno-exceptions -fno-check-new 
-fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL 
-DQT_NO_COMPAT -DQT_NO_TRANSLATION  -L/usr/local/lib   -D_THREAD_SAFE 
-pthread  -L/usr/local/lib -R /usr/local/lib -R /usr/local/lib -R 
/usr/local/lib -R /usr/local/lib -R /usr/local/lib -module 
-avoid-version -module -no-undefined  -R /usr/local/lib -R 
/usr/local/lib -R /usr/local/lib -R /usr/local/lib -R /usr/local/lib 
-D_THREAD_SAFE -pthread  -o cervisia.la -rpath /usr/local/lib/kde3 
cervisia_dummy.lo libkdeinit_cervisia.la -Wl,-export-dynamic 
-L/usr/local/lib -ljpeg  -L/usr/local/lib
echo 'extern "C" int kdemain(int argc, char* argv[]);' > cervisia.la.cpp; \
         echo 'int main(int argc, char* argv[]) { return 
kdemain(argc,argv); }' >> cervisia.la.cpp
c++ -DHAVE_CONFIG_H -I. -I.. -I./cvsservice -D_BSD_SOURCE 
-I/usr/local/include  -I/usr/local/include  -D_THREAD_SAFE -pthread 
-DQT_THREAD_SUPPORT   -I/usr/local/include -I/usr/local/include 
-I/usr/local/include -D_GETOPT_H -D_THREAD_SAFE   -Wno-long-long -Wundef 
-Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -fconserve-space 
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common 
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION  -MT cervisia.la.o -MD -MP -MF .deps/cervisia.la.Tpo 
-c -o cervisia.la.o cervisia.la.cpp
mv -f .deps/cervisia.la.Tpo .deps/cervisia.la.Po
/bin/sh /usr/local/bin/libtool --silent --tag=CXX   --mode=link c++ 
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 
-fconserve-space -Wno-non-virtual-dtor -fno-exceptions -fno-check-new 
-fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL 
-DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o cervisia -R /usr/local/lib -R 
/usr/local/lib -R /usr/local/lib -R /usr/local/lib -R /usr/local/lib 
-no-undefined -L/usr/local/lib   -D_THREAD_SAFE -pthread 
-L/usr/local/lib cervisia.la.o libkdeinit_cervisia.la 
-Wl,-export-dynamic -L/usr/local/lib -ljpeg  -L/usr/local/lib
sed -e 's%_KDEHTMLDIR_%'/usr/local/share/doc/HTML'%g;' \
             -e 's%_KDECONFDIR_%'/usr/local/share/config'%g;' \
           < ./cervisia.1.in > cervisia.1
gmake[3]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/cervisia'
Making all in pics
gmake[3]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/cervisia/pics'
gmake[3]: Цель `all' не требует выполнения команд.
gmake[3]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/cervisia/pics'
gmake[2]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/cervisia'
Making all in doc
gmake[2]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/doc'
Making all in .
gmake[3]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/doc'
gmake[3]: Цель `all-am' не требует выполнения команд.
gmake[3]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/doc'
Making all in umbrello
gmake[3]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/doc/umbrello'
gmake[3]: Цель `all' не требует выполнения команд.
gmake[3]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/doc/umbrello'
Making all in kbabel
gmake[3]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/doc/kbabel'
gmake[3]: Цель `all' не требует выполнения команд.
gmake[3]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/doc/kbabel'
Making all in scripts
gmake[3]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/doc/scripts'
Making all in .
gmake[4]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/doc/scripts'
gmake[4]: Цель `all-am' не требует выполнения команд.
gmake[4]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/doc/scripts'
Making all in kdesvn-build
gmake[4]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/doc/scripts/kdesvn-build'
gmake[4]: Цель `all' не требует выполнения команд.
gmake[4]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/doc/scripts/kdesvn-build'
gmake[3]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/doc/scripts'
Making all in kompare
gmake[3]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/doc/kompare'
gmake[3]: Цель `all' не требует выполнения команд.
gmake[3]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/doc/kompare'
Making all in kbugbuster
gmake[3]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/doc/kbugbuster'
gmake[3]: Цель `all' не требует выполнения команд.
gmake[3]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/doc/kbugbuster'
Making all in cervisia
gmake[3]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/doc/cervisia'
gmake[3]: Цель `all' не требует выполнения команд.
gmake[3]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/doc/cervisia'
Making all in kapptemplate
gmake[3]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/doc/kapptemplate'
gmake[3]: Цель `all' не требует выполнения команд.
gmake[3]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/doc/kapptemplate'
Making all in kcachegrind
gmake[3]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/doc/kcachegrind'
gmake[3]: Цель `all' не требует выполнения команд.
gmake[3]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/doc/kcachegrind'
gmake[2]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/doc'
Making all in kapptemplate
gmake[2]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate'
Making all in admin
gmake[3]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/admin'
gmake[3]: Цель `all' не требует выполнения команд.
gmake[3]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/admin'
Making all in appframework
gmake[3]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/appframework'
Making all in no-exe
gmake[4]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/appframework/no-exe'
gmake[4]: Цель `all' не требует выполнения команд.
gmake[4]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/appframework/no-exe'
gmake[4]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/appframework'
gmake[4]: Цель `all-am' не требует выполнения команд.
gmake[4]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/appframework'
gmake[3]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/appframework'
Making all in existing
gmake[3]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/existing'
gmake[3]: Цель `all' не требует выполнения команд.
gmake[3]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/existing'
Making all in kapp
gmake[3]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/kapp'
Making all in no-exe
gmake[4]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/kapp/no-exe'
gmake[4]: Цель `all' не требует выполнения команд.
gmake[4]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/kapp/no-exe'
gmake[4]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/kapp'
gmake[4]: Цель `all-am' не требует выполнения команд.
gmake[4]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/kapp'
gmake[3]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/kapp'
Making all in kpartapp
gmake[3]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/kpartapp'
Making all in no-exe
gmake[4]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/kpartapp/no-exe'
gmake[4]: Цель `all' не требует выполнения команд.
gmake[4]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/kpartapp/no-exe'
gmake[4]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/kpartapp'
gmake[4]: Цель `all-am' не требует выполнения команд.
gmake[4]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/kpartapp'
gmake[3]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/kpartapp'
Making all in kpartplugin
gmake[3]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/kpartplugin'
Making all in no-exe
gmake[4]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/kpartplugin/no-exe'
gmake[4]: Цель `all' не требует выполнения команд.
gmake[4]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/kpartplugin/no-exe'
gmake[4]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/kpartplugin'
gmake[4]: Цель `all-am' не требует выполнения команд.
gmake[4]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/kpartplugin'
gmake[3]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate/kpartplugin'
gmake[3]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate'
echo "#!/usr/bin/env bash" > kapptemplate; \
         echo "INSTALLED_SHARE_DIR=/usr/local/share/apps/kapptemplate" 
 >> kapptemplate; \
         echo "KAPPTEMPLATEVERSION=`cat /VERSION`" >> kapptemplate; \
         cat ./kapptemplate.in >> kapptemplate; \
         chmod 755 kapptemplate
cat: /VERSION: No such file or directory
gmake[3]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate'
gmake[2]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kapptemplate'
Making all in kbabel
gmake[2]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kbabel'
Making all in common
gmake[3]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kbabel/common'
Making all in libgettext
gmake[4]: Entering directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kbabel/common/libgettext'
flex -+ -opofiles.cc ./pofiles.ll
/bin/sh /usr/local/bin/libtool --silent --tag=CXX   --mode=compile c++ 
-DHAVE_CONFIG_H -I. -I../../..   -D_THREAD_SAFE -pthread 
-DQT_THREAD_SUPPORT   -I/usr/local/include -I/usr/local/include 
-I/usr/local/include -D_GETOPT_H -D_THREAD_SAFE   -Wno-long-long -Wundef 
-Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -fconserve-space 
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common 
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION  -MT pofiles.lo -MD -MP -MF .deps/pofiles.Tpo -c -o 
pofiles.lo pofiles.cc
pofiles.cc:450:5: warning: "YY_STACK_USED" is not defined
pofiles.cc:1518:5: warning: "YY_MAIN" is not defined
In file included from pofiles.cc:249:
/usr/local/include/FlexLexer.h:130: error: expected unqualified-id 
before numeric constant
pofiles.cc: In member function 'virtual int GettextBaseFlexLexer::yylex()':
pofiles.cc:575: error: 'yy_current_buffer' was not declared in this scope
pofiles.cc:731: error: 'yy_current_buffer' was not declared in this scope
pofiles.cc:754: error: 'yy_current_buffer' was not declared in this scope
pofiles.cc: In constructor 
'GettextBaseFlexLexer::GettextBaseFlexLexer(std::istream*, std::ostream*)':
pofiles.cc:871: error: 'yy_current_buffer' was not declared in this scope
pofiles.cc: In destructor 'virtual 
GettextBaseFlexLexer::~GettextBaseFlexLexer()':
pofiles.cc:883: error: 'yy_current_buffer' was not declared in this scope
pofiles.cc: In member function 'virtual void 
GettextBaseFlexLexer::switch_streams(std::istream*, std::ostream*)':
pofiles.cc:890: error: 'yy_current_buffer' was not declared in this scope
pofiles.cc: In member function 'int 
GettextBaseFlexLexer::yy_get_next_buffer()':
pofiles.cc:943: error: 'yy_current_buffer' was not declared in this scope
pofiles.cc: In member function 'void GettextBaseFlexLexer::yyunput(int, 
char*)':
pofiles.cc:1138: error: 'yy_current_buffer' was not declared in this scope
pofiles.cc: In member function 'int GettextBaseFlexLexer::yyinput()':
pofiles.cc:1180: error: 'yy_current_buffer' was not declared in this scope
pofiles.cc: In member function 'virtual void 
GettextBaseFlexLexer::yyrestart(std::istream*)':
pofiles.cc:1239: error: 'yy_current_buffer' was not declared in this scope
pofiles.cc:1242: error: 'yy_current_buffer' was not declared in this scope
pofiles.cc: In member function 'virtual void 
GettextBaseFlexLexer::yy_switch_to_buffer(yy_buffer_state*)':
pofiles.cc:1249: error: 'yy_current_buffer' was not declared in this scope
pofiles.cc:1252: error: 'yy_current_buffer' was not declared in this scope
pofiles.cc:1260: error: 'yy_current_buffer' was not declared in this scope
pofiles.cc: In member function 'void 
GettextBaseFlexLexer::yy_load_buffer_state()':
pofiles.cc:1274: error: 'yy_current_buffer' was not declared in this scope
pofiles.cc: In member function 'virtual void 
GettextBaseFlexLexer::yy_delete_buffer(yy_buffer_state*)':
pofiles.cc:1311: error: 'yy_current_buffer' was not declared in this scope
pofiles.cc: In member function 'void 
GettextBaseFlexLexer::yy_flush_buffer(yy_buffer_state*)':
pofiles.cc:1353: error: 'yy_current_buffer' was not declared in this scope
gmake[4]: *** [pofiles.lo] Ошибка 1
gmake[4]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kbabel/common/libgettext'
gmake[3]: *** [all-recursive] Ошибка 1
gmake[3]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kbabel/common'
gmake[2]: *** [all-recursive] Ошибка 1
gmake[2]: Leaving directory 
`/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kbabel'
gmake[1]: *** [all-recursive] Ошибка 1
gmake[1]: Leaving directory `/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10'
gmake: *** [all] Ошибка 2
*** Error code 2

Stop in /usr/ports/devel/kdesdk3.


--------------------------------------------






-- 
  Best regards, Andrei V. Lavreniyuk.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-Makefile
Url: http://mail.kde.org/pipermail/kde-freebsd/attachments/20080830/8add6084/attachment-0001.bat 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20080830/8add6084/attachment-0001.sig 


More information about the kde-freebsd mailing list