From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Aug 28 20:30:01 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2D1916A41B for ; Tue, 28 Aug 2007 20:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9A16E13C46E for ; Tue, 28 Aug 2007 20:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7SKU1tC079845 for ; Tue, 28 Aug 2007 20:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7SKU1HB079844; Tue, 28 Aug 2007 20:30:01 GMT (envelope-from gnats) Resent-Date: Tue, 28 Aug 2007 20:30:01 GMT Resent-Message-Id: <200708282030.l7SKU1HB079844@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Pawel Pekala" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBBA716A419 for ; Tue, 28 Aug 2007 20:22:04 +0000 (UTC) (envelope-from c0rn@o2.pl) Received: from poczta.o2.pl (mx2.go2.pl [193.17.41.42]) by mx1.freebsd.org (Postfix) with ESMTP id 6FC7613C45E for ; Tue, 28 Aug 2007 20:22:03 +0000 (UTC) (envelope-from c0rn@o2.pl) Received: from poczta.o2.pl (mx2 [127.0.0.1]) by poczta.o2.pl (Postfix) with ESMTP id 378F3748085; Tue, 28 Aug 2007 22:22:00 +0200 (CEST) Received: from caprica.slowicza.org (abok7.neoplus.adsl.tpnet.pl [83.8.26.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by poczta.o2.pl (Postfix) with ESMTP; Tue, 28 Aug 2007 22:22:00 +0200 (CEST) Message-Id: <1188332511.69018@caprica.slowicza.org> Date: Tue, 28 Aug 2007 22:21:51 +0200 From: "Pawel Pekala" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.8 Cc: kde@FreeBSD.org Subject: ports/115912: [patch] devel/kdesdk3 fix build by using flex from ports X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Aug 2007 20:30:01 -0000 >Number: 115912 >Category: ports >Synopsis: [patch] devel/kdesdk3 fix build by using flex from ports >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Aug 28 20:30:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Pawel Pekala >Release: FreeBSD 6.2-RELEASE-p4 i386 >Organization: >Environment: System: FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:40:53 UTC 2007 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC >Description: Kdesdk3 port needs newer flex from ports or build fails: Making all in libgettext gmake[4]: Entering directory `/home/corn/devel/kdesdk3/work/kdesdk-3.5.7/kbabel/common/libgettext' flex -+ -opofiles.cc ./pofiles.ll if /bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -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 -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; \ then mv -f ".deps/pofiles.Tpo" ".deps/pofiles.Plo"; else rm -f ".deps/pofiles.Tpo"; exit 1; fi pofiles.cc:450:5: warning: "YY_STACK_USED" is not defined 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:871: warning: unused variable 'yy_current_buffer' pofiles.cc: In destructor `virtual GettextBaseFlexLexer::~GettextBaseFlexLexer()': pofiles.cc:883: error: `yy_current_buffer' was not declared in this scope pofiles.cc:883: warning: unused variable 'yy_current_buffer' 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:890: warning: unused variable 'yy_current_buffer' 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:1180: warning: unused variable 'yy_current_buffer' 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:1242: warning: unused variable 'yy_current_buffer' 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:1249: warning: unused variable 'yy_current_buffer' 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:1260: warning: unused variable 'yy_current_buffer' 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 pofiles.cc:1353: warning: unused variable 'yy_current_buffer' pofiles.cc:1518:5: warning: "YY_MAIN" is not defined gmake[4]: *** [pofiles.lo] Error 1 gmake[4]: Leaving directory `/home/corn/devel/kdesdk3/work/kdesdk-3.5.7/kbabel/common/libgettext' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/home/corn/devel/kdesdk3/work/kdesdk-3.5.7/kbabel/common' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/home/corn/devel/kdesdk3/work/kdesdk-3.5.7/kbabel' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/home/corn/devel/kdesdk3/work/kdesdk-3.5.7' gmake: *** [all] Error 2 *** Error code 2 Stop in /home/corn/devel/kdesdk3. Script done on Tue Aug 28 22:01:56 2007 >How-To-Repeat: >Fix: --- kdesdk3.diff begins here --- diff -urN /usr/ports/devel/kdesdk3/Makefile kdesdk3/Makefile --- /usr/ports/devel/kdesdk3/Makefile Mon Jul 23 11:35:41 2007 +++ kdesdk3/Makefile Tue Aug 28 22:12:19 2007 @@ -7,6 +7,7 @@ PORTNAME= kdesdk PORTVERSION= ${KDE_VERSION} +PORTREVISIOn= 1 CATEGORIES= devel kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src @@ -17,6 +18,7 @@ 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]* @@ -28,7 +30,6 @@ USE_GMAKE= yes USE_BDB= yes USE_AUTOTOOLS= libtool:15 - USE_LDCONFIG= yes CONFIGURE_ARGS+=--with-db-include-dir=${BDB_INCLUDE_DIR} \ @@ -37,6 +38,8 @@ --with-apu-config=${LOCALBASE}/bin/apu-1-config \ --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 --- kdesdk3.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: