ports/textproc/stardict3

mbsd mbsd at isgroup.com.ua
Mon Jun 11 14:24:04 UTC 2012


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<gchar *>'
        std::vector<gchar *> 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 at 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+<char, std::char_traits<char>,
> std::allocator<char> > ()
> #10 0x080b8eab in std::operator+<char, std::char_traits<char>,
> std::allocator<char> > ()
> #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 <guru at unixarea.de> - 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"





More information about the freebsd-ports mailing list