Opened 15 years ago

Closed 14 years ago

#22240 closed defect (fixed)

stardict-2.4.5 build failure

Reported by: launchpad@… Owned by: alexandernx@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: snowleopard Cc:
Port: stardict

Description

I get build error for building stardict on Snow Leopard.

--->  Computing dependencies for stardict.
--->  Building stardict
/usr/bin/make  all-recursive
Making all in src
Making all in pixmaps
make[3]: Nothing to be done for `all'.
Making all in sounds
make[3]: Nothing to be done for `all'.
Making all in tools
make[4]: Nothing to be done for `all-am'.
Making all in win32
Making all in nsis
make[4]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all-am'.
if /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -DDATADIR=\""/opt/local/share"\" -DGNOME_ICONDIR=\""/opt/local/share/pixmaps"\" -DSTARDICT_LOCALEDIR=\""/opt/local/share/locale"\" -DSTARDICT_DATA_DIR=\""/opt/local/share/stardict"\"  -I/opt/local/include  -O2 -arch x86_64 -MT stardict.o -MD -MP -MF ".deps/stardict.Tpo" -c -o stardict.o stardict.cpp; \
	then mv -f ".deps/stardict.Tpo" ".deps/stardict.Po"; else rm -f ".deps/stardict.Tpo"; exit 1; fi
if /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -DDATADIR=\""/opt/local/share"\" -DGNOME_ICONDIR=\""/opt/local/share/pixmaps"\" -DSTARDICT_LOCALEDIR=\""/opt/local/share/locale"\" -DSTARDICT_DATA_DIR=\""/opt/local/share/stardict"\"  -I/opt/local/include  -O2 -arch x86_64 -MT mainwin.o -MD -MP -MF ".deps/mainwin.Tpo" -c -o mainwin.o mainwin.cpp; \
	then mv -f ".deps/mainwin.Tpo" ".deps/mainwin.Po"; else rm -f ".deps/mainwin.Tpo"; exit 1; fi
In file included from stardict.h:15,
                 from mainwin.cpp:19:
skin.h:11: error: extra qualification '_Skin_cursor::' on member '_Skin_cursor'
skin.h:12: error: extra qualification '_Skin_cursor::' on member '_Skin_cursor'
In file included from stardict.h:15,
                 from stardict.cpp:63:
skin.h:11: error: extra qualification '_Skin_cursor::' on member '_Skin_cursor'
skin.h:12: error: extra qualification '_Skin_cursor::' on member '_Skin_cursor'
mainwin.cpp: In static member function 'static void TopWin::on_main_menu_about_activate(GtkMenuItem*, TopWin*)':
mainwin.cpp:449: warning: deprecated conversion from string constant to 'gchar*'
mainwin.cpp:449: warning: deprecated conversion from string constant to 'gchar*'
mainwin.cpp:449: warning: deprecated conversion from string constant to 'gchar*'
make[3]: *** [mainwin.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [stardict.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_stardict/work/stardict-2.4.5" && /usr/bin/make -j2 all " returned error 2
Command output: Making all in sounds
make[3]: Nothing to be done for `all'.
Making all in tools
make[4]: Nothing to be done for `all-am'.
Making all in win32
Making all in nsis
make[4]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all-am'.
if /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -DDATADIR=\""/opt/local/share"\" -DGNOME_ICONDIR=\""/opt/local/share/pixmaps"\" -DSTARDICT_LOCALEDIR=\""/opt/local/share/locale"\" -DSTARDICT_DATA_DIR=\""/opt/local/share/stardict"\"  -I/opt/local/include  -O2 -arch x86_64 -MT stardict.o -MD -MP -MF ".deps/stardict.Tpo" -c -o stardict.o stardict.cpp; \
	then mv -f ".deps/stardict.Tpo" ".deps/stardict.Po"; else rm -f ".deps/stardict.Tpo"; exit 1; fi
if /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -DDATADIR=\""/opt/local/share"\" -DGNOME_ICONDIR=\""/opt/local/share/pixmaps"\" -DSTARDICT_LOCALEDIR=\""/opt/local/share/locale"\" -DSTARDICT_DATA_DIR=\""/opt/local/share/stardict"\"  -I/opt/local/include  -O2 -arch x86_64 -MT mainwin.o -MD -MP -MF ".deps/mainwin.Tpo" -c -o mainwin.o mainwin.cpp; \
	then mv -f ".deps/mainwin.Tpo" ".deps/mainwin.Po"; else rm -f ".deps/mainwin.Tpo"; exit 1; fi
In file included from stardict.h:15,
                 from mainwin.cpp:19:
skin.h:11: error: extra qualification '_Skin_cursor::' on member '_Skin_cursor'
skin.h:12: error: extra qualification '_Skin_cursor::' on member '_Skin_cursor'
In file included from stardict.h:15,
                 from stardict.cpp:63:
skin.h:11: error: extra qualification '_Skin_cursor::' on member '_Skin_cursor'
skin.h:12: error: extra qualification '_Skin_cursor::' on member '_Skin_cursor'
mainwin.cpp: In static member function 'static void TopWin::on_main_menu_about_activate(GtkMenuItem*, TopWin*)':
mainwin.cpp:449: warning: deprecated conversion from string constant to 'gchar*'
mainwin.cpp:449: warning: deprecated conversion from string constant to 'gchar*'
mainwin.cpp:449: warning: deprecated conversion from string constant to 'gchar*'
make[3]: *** [mainwin.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [stardict.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Warning: the following items did not execute (for stardict): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
 

Change History (2)

comment:1 Changed 15 years ago by blb@…

Keywords: snowleopard added
Owner: changed from macports-tickets@… to alexandernx@…
Port: stardict added

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Fixed by updating to 3.0.2 in r75366.

Note: See TracTickets for help on using tickets.