Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 2010 21:33:16 +0200
From:      David DEMELIER <demelier.david@gmail.com>
To:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Failure to build emulators/vba with WITH_GTK2 knob
Message-ID:  <AANLkTimY_o6dsG60k_G05XD_hwgLkuFexEW9cpaS4fmz@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I think the gtk contrib in vba is broken :

if c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1
-DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1
-DHAVE_NETINET_IN_H=1 -DHAVE_ICONV=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1
-DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1  -I. -I.
-DPKGDATADIR=\"/usr/local/share/VisualBoyAdvance\"
-DLOCALEDIR=\"/usr/local/share/locale\"
-DGETTEXT_PACKAGE=\"vba-1.7.2\"  -I/usr/local/include -D_REENTRANT
-D_THREAD_SAFE -I/usr/local/include/gtkmm-2.4
-I/usr/local/lib/gtkmm-2.4/include -I/usr/local/include/giomm-2.4
-I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4
-I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/gtk-2.0
-I/usr/local/include/gtk-unix-print-2.0 -I/usr/local/include/atkmm-1.6
-I/usr/local/include/gdkmm-2.4 -I/usr/local/lib/gdkmm-2.4/include
-I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include
-I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include
-I/usr/local/include/pango-1.0 -I/usr/local/include/cairo
-I/usr/local/include/pixman-1 -I/usr/local/include/freetype2
-I/usr/local/include -I/usr/local/lib/gtk-2.0/include
-I/usr/local/include/atk-1.0 -I/usr/local/include/gio-unix-2.0/
-I/usr/local/include/libglademm-2.4
-I/usr/local/lib/libglademm-2.4/include
-I/usr/local/include/libglade-2.0 -I/usr/local/include/libxml2
-I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1
-D_REENTRANT -O2 -pipe -fno-strict-aliasing -DC_CORE -DDEV_VERSION -MT
gvba-joypadconfig.o -MD -MP -MF ".deps/gvba-joypadconfig.Tpo" \
	  -c -o gvba-joypadconfig.o `test -f 'joypadconfig.cpp' || echo
'./'`joypadconfig.cpp; \
	then mv -f ".deps/gvba-joypadconfig.Tpo" ".deps/gvba-joypadconfig.Po"; \
	else rm -f ".deps/gvba-joypadconfig.Tpo"; exit 1; \
	fi
In file included from joypadconfig.h:29,
                 from joypadconfig.cpp:19:
sigccompat.h:35: error: expected initializer before '<' token
sigccompat.h:41: error: expected initializer before '<' token
sigccompat.h:47: error: expected initializer before '<' token
joypadconfig.cpp: In constructor
'VBA::JoypadConfigDialog::JoypadConfigDialog(GtkDialog*, const
Glib::RefPtr<Gnome::Glade::Xml>&)':
joypadconfig.cpp:167: error: 'bind' is not a member of 'SigC'
joypadconfig.cpp:167: error: expected primary-expression before '>' token
joypadconfig.cpp:168: error: 'slot' is not a member of 'SigC'
joypadconfig.cpp:170: error: 'slot' is not a member of 'SigC'
gmake[3]: *** [gvba-joypadconfig.o] Error 1
gmake[3]: Leaving directory
`/usr/obj/usr/ports/emulators/vba/work/VisualBoyAdvance-1.7.2/src/gtk'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/obj/usr/ports/emulators/vba/work/VisualBoyAdvance-1.7.2/src/gtk'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/obj/usr/ports/emulators/vba/work/VisualBoyAdvance-1.7.2/src'
gmake: *** [all-recursive] Error 1
*** Error code 1

Stop in /usr/ports/emulators/vba.

This happens on 8.1-STABLE amd64.

Maybe we should add a BROKEN= statement?

Cheers,

-- 
Demelier David



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimY_o6dsG60k_G05XD_hwgLkuFexEW9cpaS4fmz>