Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 2008 21:26:25 +0200
From:      Michal Petrucha <johnny64@swissjabber.org>
To:        freebsd-questions@freebsd.org
Subject:   Build error while upgrading 'kdesdk-3.5.9' to 'kdesdk-3.5.10' (devel/kdesdk3)
Message-ID:  <20080917192625.GA1524@georg.localdomain>

next in thread | raw e-mail | index | archive | help

--PNTmBPCT7hxwcZjr
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello everybody,

I get an error while upgrading the port mentioned in $subj. When I run
# portupgrade -c devel/kdesdk3
it starts compiling, but after a while it always crashes at this
point:

---------
Making all in libgettext
gmake[4]: Entering directory `/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/k=
babel/common/libgettext'
flex -+ -opofiles.cc ./pofiles.ll
/bin/sh /usr/local/bin/libtool --silent --tag=3DCXX   --mode=3Dcompile c++ =
-DHAVE_CONFIG_H -I. -I../../..   -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPOR=
T   -I/usr/local/include -I/usr/local/include  -I/usr/local/include -D_GETO=
PT_H -D_THREAD_SAFE   -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDE=
BUG -DNO_DEBUG -O2 -O2 -fno-strict-aliasing -pipe -march=3Dathlon -Wno-non-=
virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPAC=
E -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT po=
files.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 n=
umeric 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::~GettextBaseFlexLe=
xer()':
pofiles.cc:883: error: 'yy_current_buffer' was not declared in this scope
pofiles.cc: In member function 'virtual void GettextBaseFlexLexer::switch_s=
treams(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_buffe=
r()':
pofiles.cc:943: error: 'yy_current_buffer' was not declared in this scope
pofiles.cc: In member function 'void GettextBaseFlexLexer::yyunput(int, cha=
r*)':
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::yyrestar=
t(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_switc=
h_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_s=
tate()':
pofiles.cc:1274: error: 'yy_current_buffer' was not declared in this scope
pofiles.cc: In member function 'virtual void GettextBaseFlexLexer::yy_delet=
e_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] Error 1
gmake[4]: Leaving directory `/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kb=
abel/common/libgettext'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kb=
abel/common'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kb=
abel'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/devel/kdesdk3.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.2946.=
0 env UPGRADE_TOOL=3Dportupgrade UPGRADE_PORT=3Dkdesdk-3.5.9 UPGRADE_PORT_V=
ER=3D3.5.9 make
** Fix the problem and try again.
---------

Since it crashes while compiling gettext support, I tried to rebuild
devel/gettext, but with no success. On friday I'll probably try
# portupgrade -Rf devel/kdesdk3
as I am getting really desperate, but if anybody has any better
suggestion, I'd be really thankful. (Rebuilding all of the
dependencies will be really painful since I am getting ZFS deadlocks
on a weekly basis, depending on the uptime, and I won't have physical
access to the machine from morning until afternoon in case it
hangs...)

Thanks in advance.

Michal Petrucha

--=20
(-K JohnNy alias Partial Derivative =E2=88=82
[home] http://johnny64.fixinko.sk/
[icq] 338328204 [abandoned]
[jabber] JohnNy64@swissjabber.org
[skype] JohnNy64-konik [abandoned]

--PNTmBPCT7hxwcZjr
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkjRWeEACgkQ11l9uIBrcFSNtACghm62eB0kxAB8vOCMWtVtke3u
uFoAn0cb/OEgtzoHAfBMZdnnpMBImU4K
=UjEp
-----END PGP SIGNATURE-----

--PNTmBPCT7hxwcZjr--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080917192625.GA1524>