Build error while upgrading 'kdesdk-3.5.9' to 'kdesdk-3.5.10' (devel/kdesdk3)
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/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 -O2 -fno-strict-aliasing -pipe -march=athlon -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] Error 1 gmake[4]: Leaving directory `/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kbabel/common/libgettext' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kbabel/common' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kbabel' 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=portupgrade UPGRADE_PORT=kdesdk-3.5.9 UPGRADE_PORT_VER=3.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 wil
Re: Build error while upgrading 'kdesdk-3.5.9' to 'kdesdk-3.5.10' (devel/kdesdk3)
Replying to myself... > 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/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 -O2 -fno-strict-aliasing -pipe -march=athlon > -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 [...] > 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=portupgrade UPGRADE_PORT=kdesdk-3.5.9 UPGRADE_PORT_VER=3.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...) All right, so I tried rebuilding all ports devel/kdesdk3 depends on but in the end I got the same error message. So... Anybody has an idea what's going on? > Thanks in advance. > > Michal Petrucha -- (-K JohnNy alias Partial Derivative ∂ [home] http://johnny64.fixinko.sk/ [icq] 338328204 [abandoned] [jabber] [EMAIL PROTECTED] [skype] JohnNy64-konik [abandoned] pgpEIzLAIkMnI.pgp Description: PGP signature
Error building editors/openoffice.org-2
Hello everybody I just tried building OpenOffice.org 2.4.1_2 from ports. All dependencies are already installed. After some minutes of compilation the build crashed with ~~ Disabling crypto support Enabling debugger checking for libxml libraries >= 2.6.17... test: 1: unexpected operator configure: error: Could not find libxml2 anywhere, check ftp://xmlsoft.org/. dmake: Error code 1, while making 'unxfbsdi.pro/misc/build/so_configured_so_libxslt' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-2/work/OOH680_m17/libxslt dmake: Error code 1, while making 'build_instsetoo_native' ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.23991.0 env make LOCALIZED_LANG=alllangs -DWITH_TTF_BYTECODE_ENABLED -DWITH_KDE ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! editors/openoffice.org-2 (checksum mismatch) ~~ The whole script is at http://johnny64.fixinko.sk/openoffice.org-2-2008-09-21.gz Any help would be appreciated. Michal Petrucha -- (-K JohnNy alias Partial Derivative ∂ [home] http://johnny64.fixinko.sk/ [icq] 338328204 [abandoned] [jabber] [EMAIL PROTECTED] [skype] JohnNy64-konik [abandoned] pgpWY3zXwDymw.pgp Description: PGP signature
Re: Error building editors/openoffice.org-2
> >I just tried building OpenOffice.org 2.4.1_2 from ports. All > >dependencies are already installed. After some minutes of compilation > >the build crashed with > > > >~~ > >Disabling crypto support > >Enabling debugger > >checking for libxml libraries >=3D 2.6.17... test: 1: unexpected operator > >configure: error: Could not find libxml2 anywhere, check > > ftp://xmlsoft.org/. > >dmake: Error code 1, while making > > 'unxfbsdi.pro/misc/build/so_configured_s= > >o_libxslt' > >---* tg_merge.mk *--- > > > >ERROR: Error 65280 occurred while making > > /usr/ports/editors/openoffice.org-= > >2/work/OOH680_m17/libxslt > >dmake: Error code 1, while making 'build_instsetoo_native' > >** Command failed [exit code 1]: /usr/bin/script -qa > > /tmp/portinstall.23991= > >=2E0 env make LOCALIZED_LANG=3Dalllangs -DWITH_TTF_BYTECODE_ENABLED > > -DWITH_= > >KDE > >** Fix the problem and try again. > >** Listing the failed packages (-:ignored / *:skipped / !:failed) > > ! editors/openoffice.org-2 (checksum mismatch) > >~~ > > > >The whole script is at > >http://johnny64.fixinko.sk/openoffice.org-2-2008-09-21.gz > > See ports/98949. > > > Robert Huff Either I completely misunderstood this PR, or it really addresses some completely different build issue and doesn't even provide a solution for the problem reported and has been closed only because of the fact the port had been updated many times since the initial report... (Although there's been some discussion about too little RAM in reference to this PR, but that isn't the problem here.) The one I am experiencing looks rather like a syntax error in configure for libxslt shipped with OOo. (By the way, why does it use shipped libraries like libxml, libxslt and so on instead of the ones already present on the system...?) More specifically the problem seems to be with line 21990 of the configure script: if test "1" == "1" which seems to use bash-specific syntax. (At least FreeBSD test(1) doesn't seem to like this.) Any suggestion would be appreciated. Michal Petrucha -- (-K JohnNy alias Partial Derivative ∂ [home] http://johnny64.fixinko.sk/ [icq] 338328204 [abandoned] [jabber] [EMAIL PROTECTED] [skype] JohnNy64-konik [abandoned] pgpYkUDwzsugP.pgp Description: PGP signature
Re: Build error while upgrading 'kdesdk-3.5.9' to 'kdesdk-3.5.10' (devel/kdesdk3)
First, thanks for your response. > Did you previously have kde-4 on this machine? ldconfig -r |grep gettext > should show a /usr/local/kde4/../libgettext.so, but that isn't usuable, so > new port builds will see 'a libgettext', so wont install gettext, but kde's > configure finds it is not usuable, so will default to it's internal copy of > gettext, which doesn't compile cleanly. > cd /usr/ports/devel/kdesdk > ${EDITOR} `make -V WRKSRC`/config.log > that should show hints why it does not find gettext usable. > > (Yep, been bitten by it). Well, I didn't yet install kde4 and I don't intend to. (-: Anyway, ldconfig -r | grep gettext shows only the following output: ~~ 271:-lgettextpo.4 => /usr/local/lib/libgettextpo.so.4 ~~ I don't understand why it doesn't list libgettextlib.so since it is installed by the port devel/gettext (gettext-0.17_1 is installed here) I uploaded the whole config.log to http://johnny64.fixinko.sk/junk/config.log.kdesdk3 but I don't see any relevant messages concerning gettext... But anyway, how did you solve the error you were getting? Do you think just running ldconfig will help? Won't it spoil something important? Michal Petrucha -- (-K JohnNy alias Partial Derivative ∂ [home] http://johnny64.fixinko.sk/ [icq] 338328204 [abandoned] [jabber] [EMAIL PROTECTED] [skype] JohnNy64-konik [abandoned] pgpxQlTpdHWrU.pgp Description: PGP signature