From owner-freebsd-ports@FreeBSD.ORG Mon Jun 11 14:24:04 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CD2A51065670 for ; Mon, 11 Jun 2012 14:24:04 +0000 (UTC) (envelope-from mbsd@isgroup.com.ua) Received: from mail.standard.com.ua (mail.isgroup.com.ua [46.229.54.104]) by mx1.freebsd.org (Postfix) with ESMTP id 1D5908FC1D for ; Mon, 11 Jun 2012 14:24:03 +0000 (UTC) Received: from [192.168.0.2] (unused-213.111.71.69.bilink.ua [213.111.71.69] (may be forged)) (authenticated bits=0) by mail.standard.com.ua (8.14.3/8.14.3) with ESMTP id q5BDvGXg019094 for ; Mon, 11 Jun 2012 16:57:16 +0300 (EEST) (envelope-from mbsd@isgroup.com.ua) From: mbsd To: freebsd-ports@freebsd.org In-Reply-To: <20120610084743.GA2999@tinyCurrent> References: <20111118125403.GA1255@tiny> <201111221737.04353.makc@freebsd.org> <20120610084743.GA2999@tinyCurrent> Content-Type: text/plain; charset="UTF-8" Date: Mon, 11 Jun 2012 16:03:06 +0300 Message-ID: <1339419786.2313.4.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.9 required=9.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.isgroup.com.ua Subject: Re: ports/textproc/stardict3 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2012 14:24:04 -0000 Hi, for me it doesn't build with clang nor with gcc. clang++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -Wall -D_THREAD_SAFE -D_REENTRANT -DORBIT2=1 -I/usr/local/include/gtk-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng15 -I/usr/local/include/drm -I/usr/local/include/libgnomeui-2.0 -I/usr/local/include/libart-2.0 -I/usr/local/include/gconf/2 -I/usr/local/include/gnome-keyring-1 -I/usr/local/include/libgnome-2.0 -I/usr/local/include/libbonoboui-2.0 -I/usr/local/include/libgnomecanvas-2.0 -I/usr/local/include/gnome-vfs-2.0 -I/usr/local/lib/gnome-vfs-2.0/include -I/usr/local/include/orbit-2.0 -I/usr/local/include/libbonobo-2.0 -I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/libxml2 -I/usr/local/include/gail-1.0 -I.. -I.. -I../src -I../src/lib -I../../lib/src -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT t_lookupdata.o -MD -MP -MF .deps/t_lookupdata.Tpo -c -o t_lookupdata.o t_lookupdata.cpp t_lookupdata.cpp:41:30: error: variable length array of non-POD element type 'std::vector' std::vector reslist[dictmask.size()]; ^ 1 error generated. gmake[2]: *** [t_lookupdata.o] Error 1 gmake[2]: Leaving directory `/tmp/usr/ports/textproc/stardict3/work/stardict-3.0.3/dict/tests' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/usr/ports/textproc/stardict3/work/stardict-3.0.3/dict' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/textproc/stardict3. *** Error code 1 Stop in /usr/ports/textproc/stardict3. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20120611-5671-f1rp3x env UPGRADE_TOOL=portupgrade UPGRADE_PORT=stardict-3.0.3 UPGRADE_PORT_VER=3.0.3 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! textproc/stardict3 (stardict-3.0.3) (unknown build error) zsh: exit 1 sudo portupgrade -f stardict-3.0.3 With gcc it crushes in the same line. My system is 9-stable. I built stardict with GNOME support. Png and other ports had already upgraded at the moment of built. Is it problem only mine? On Sun, 2012-06-10 at 10:47 +0200, Matthias Apitz wrote: > El día Tuesday, November 22, 2011 a las 05:37:03PM +0000, Max Brazhnikov escribió: > > > On Fri, 18 Nov 2011 13:54:04 +0100, Matthias Apitz wrote: > > > Hello, > > > > > > The port (ports tree from CVS) ports/textproc/stardict3 > > > > > > ports/textproc/stardict3 > > > PORTVERSION= 3.0.3 > > > MAINTAINER= makc@FreeBSD.org > > > > > > installs fine on 10-CURRENT, but the application just crahes or runs > > > into a CPU loop; if it runs into CPU loop there is a core file of 'troff', > > > i.e. it seems that it started for some man page reason the troff(1) and > > > after this it loops; > > Stardict has plugin for displaying man pages. > > > > > ... > > > I could go back to 3.0.3 and provide more details of the crash, but I > > > can't debug or solve this on my own. Or should I file a bug report? > > > > backtrace would be nice to have. > > Hi Max, > > I've installed another fresh 10-CURRENT (r235646, ports from CVS as of > May 19) and luckily it crashes again reproduceable; a bt of gdb looks > like this: > > $ gdb /usr/local/bin/stardict stardict.core > ... > #0 0x2966868b in thr_kill () from /lib/libc.so.7 > [New Thread 29c07e00 (LWP 100375/stardict)] > [New Thread 29c03300 (LWP 100369/stardict)] > [New Thread 29c03080 (LWP 100203/stardict)] > (gdb) bt > #0 0x2966868b in thr_kill () from /lib/libc.so.7 > #1 0x295ffed6 in pthread_sigmask () from /lib/libthr.so.3 > #2 0x296005ab in raise () from /lib/libthr.so.3 > #3 0x2971ddea in abort () from /lib/libc.so.7 > #4 0x291bb6ec in g_assertion_message () from > /usr/local/lib/libglib-2.0.so.0 > #5 0x291bbd4d in g_assertion_message_expr () > from /usr/local/lib/libglib-2.0.so.0 > #6 0x08118a6b in HttpClient::on_connected () > #7 0x0805a232 in ?? () > #8 0x0805e63a in ?? () > #9 0x080b8e69 in std::operator+, > std::allocator > () > #10 0x080b8eab in std::operator+, > std::allocator > () > #11 0x28965591 in gtk_marshal_BOOLEAN__VOID () > from /usr/local/lib/libgtk-x11-2.0.so.0 > #12 0x2911bea3 in g_closure_invoke () from > /usr/local/lib/libgobject-2.0.so.0 > #13 0x29133992 in g_signal_handlers_block_matched () > from /usr/local/lib/libgobject-2.0.so.0 > #14 0x291359f0 in g_signal_emit_valist () > from /usr/local/lib/libgobject-2.0.so.0 > #15 0x29135c70 in g_signal_emit_by_name () > from /usr/local/lib/libgobject-2.0.so.0 > #16 0x289ce2f2 in gtk_target_list_unref () > from /usr/local/lib/libgtk-x11-2.0.so.0 > #17 0x289ce6a5 in gtk_target_list_unref () > from /usr/local/lib/libgtk-x11-2.0.so.0 > #18 0x289671c4 in gtk_marshal_BOOLEAN__VOID () > from /usr/local/lib/libgtk-x11-2.0.so.0 > #19 0x2911a767 in g_ptr_array_get_type () > from /usr/local/lib/libgobject-2.0.so.0 > #20 0x2911bea3 in g_closure_invoke () from > /usr/local/lib/libgobject-2.0.so.0 > #21 0x29133b58 in g_signal_handlers_block_matched () > from /usr/local/lib/libgobject-2.0.so.0 > #22 0x29135706 in g_signal_emit_valist () > from /usr/local/lib/libgobject-2.0.so.0 > #23 0x29135d45 in g_signal_emit () from > /usr/local/lib/libgobject-2.0.so.0 > #24 0x28a8dc66 in gtk_widget_style_attach () > from /usr/local/lib/libgtk-x11-2.0.so.0 > #25 0x289611e5 in gtk_main_do_event () from > /usr/local/lib/libgtk-x11-2.0.so.0 > #26 0x28c49f1a in gdk_add_client_message_filter () > from /usr/local/lib/libgdk-x11-2.0.so.0 > #27 0x291952d7 in g_main_context_dispatch () > from /usr/local/lib/libglib-2.0.so.0 > #28 0x2919935e in g_main_context_prepare () > from /usr/local/lib/libglib-2.0.so.0 > #29 0x29199767 in g_main_loop_run () from > /usr/local/lib/libglib-2.0.so.0 > #30 0x289615c4 in gtk_main () from /usr/local/lib/libgtk-x11-2.0.so.0 > #31 0x0806482b in ?? () > #32 0x08064db1 in ?? () > #33 0x08058a46 in ?? () > #34 0x00000001 in ?? () > #35 0xbfbfe724 in ?? () > #36 0xbfbfe72c in ?? () > #37 0xbfbfe6d8 in ?? () > #38 0x00000000 in ?? () > #39 0x00000000 in ?? () > #40 0x00000000 in ?? () > #41 0xbfbfe710 in ?? () > #42 0xbfbfe720 in ?? () > #43 0x00000000 in ?? () > #44 0xbfbfe71c in ?? () > #45 0x080589c8 in ?? () > Previous frame inner to this frame (corrupt stack?) > > Does this help? Let me know if you need more info or want me test > changes in the source. > > Thanks > > matthias > > -- > Matthias Apitz > t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 > e - w http://www.unixarea.de/ > UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) > UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"