On Mon, 02 Jan 2017 12:01:41 +0000 Santiago Vila <sanv...@debian.org> wrote: > Package: src:libindicate > Version: 0.6.92-3 > Severity: serious > > Dear maintainer: > > I tried to build this package in stretch with "dpkg-buildpackage -A" > (which is what the "Arch: all" autobuilder would do to build it) > but it failed: > > -------------------------------------------------------------------------------- > [...] > debian/rules build-indep > CDBS WARNING: simple-patchsys.mk is deprecated since 0.4.85 - please use > source format 3.0 (quilt) instead > test -x debian/rules > mkdir -p "build" > CDBS WARNING: DEB_DH_BUILDDEB_ARGS is deprecated since 0.4.85 > mkdir -p debian/stamp-makefile-build debian/stamp-makefile-install > mkdir -p debian/stamp-makefile-check > mkdir -p debian/stamp-autotools > /usr/bin/make -f debian/rules reverse-config > make[1]: Entering directory '/<<PKGBUILDDIR>>' > CDBS WARNING: simple-patchsys.mk is deprecated since 0.4.85 - please use > source format 3.0 (quilt) instead > set -e; > if test -e debian/autoreconf.before; then \ > > [... snipped ...] > > && touch generated-stamp > Name: propertydata Type: GVariant* in callback > indicate_listener_get_property_variant_cb > Name: value Type: GVariant** in callback > indicate_server_get_indicator_property_group_slot_t > rettype: GVariant* in method GetPropertyVariant in type Indicate.Indicator > Name: value Type: GVariant* in indicate_indicator_set_property_variant in > method SetPropertyVariant in type Indicate.Indicator > Name: menu Type: DbusmenuServer* in indicate_server_set_menu in method > SetMenu in type Indicate.Server > Name: propertydata Type: GVariant* in callback GetPropertyVariantCallback > Defaulting GetPropertyTimeCallback param to 'call' scope in method > Listener.GetPropertyTime > Defaulting GetPropertyIntCallback param to 'call' scope in method > Listener.GetPropertyInt > Defaulting GetPropertyCallback param to 'call' scope in method > Listener.GetProperty > Defaulting GetPropertyBoolCallback param to 'call' scope in method > Listener.GetPropertyBool > Defaulting GetCountCallback param to 'call' scope in method > ListenerServer.GetCount > Defaulting GetDesktopCallback param to 'call' scope in method > ListenerServer.GetDesktop > Defaulting GetTypeCallback param to 'call' scope in method > ListenerServer.GetGType > Defaulting GetMenuCallback param to 'call' scope in method > ListenerServer.GetMenu > Defaulting GetIconThemeCallback param to 'call' scope in method > ListenerServer.GetIconTheme > > Generation Summary: > Enums: 1 Structs: 0 Boxed: 0 Opaques: 2 Interfaces: 0 Objects: 3 > Callbacks: 18 > Properties: 0 Signals: 2 Methods: 54 Constructors: 3 Throttled: 5 > Total Nodes: 88 > > /usr/bin/mono-csc > -keyfile:/<<PKGBUILDDIR>>/./bindings/mono/indicate/indicate.snk > -nowarn:0169,0612,0618 -unsafe -out:indicate-sharp.dll -target:library > -r:/usr/lib/pkgconfig/../../lib/cli/pango-sharp-2.0/pango-sharp.dll > -r:/usr/lib/pkgconfig/../../lib/cli/atk-sharp-2.0/atk-sharp.dll > -r:/usr/lib/pkgconfig/../../lib/cli/gdk-sharp-2.0/gdk-sharp.dll > -r:/usr/lib/pkgconfig/../../lib/cli/gtk-sharp-2.0/gtk-sharp.dll > -r:/usr/lib/pkgconfig/../../lib/cli/glib-sharp-2.0/glib-sharp.dll > ./generated/*.cs AssemblyInfo.cs > ./generated/ListenerServer.cs(62,10): error CS0670: Fields cannot have void > type > ./generated/ListenerServer.cs(62,28): error CS1547: Keyword `void' cannot be > used in this context > Compilation failed: 2 error(s), 0 warnings > Makefile:854: recipe for target 'indicate-sharp.dll' failed > make[6]: *** [indicate-sharp.dll] Error 1 > make[6]: Leaving directory > '/<<PKGBUILDDIR>>/build/gtk2/bindings/mono/indicate' > Makefile:546: recipe for target 'all-recursive' failed > make[5]: *** [all-recursive] Error 1 > make[5]: Leaving directory > '/<<PKGBUILDDIR>>/build/gtk2/bindings/mono/indicate'
This is caused by gtk-sharp2 2.12.40 generating this line in file ListenerServer.cs: static void _gtype = new void (indicate_listener_server_get_type(listener == null ? IntPtr.Zero : listener.Handle, server == null ? IntPtr.Zero : server.Handle, cb_wrapper.NativeDelegate, IntPtr.Zero)); This line doesn't appear when building against the previous gtk-sharp2 release from snapshot.d.o (2.12.10). According to [1] it works with gtk-sharp2 2.12.29 as well. A bisect between releases 2.12.29 and 2.12.40 of gtk-sharp2 might give something. [1] https://github.com/chenxiaolong/Unity-for-Arch/issues/243 Thanks, _g.
signature.asc
Description: OpenPGP digital signature