Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 725390 - dev-dotnet/gtk-sharp fails to build with multiple errors
Summary: dev-dotnet/gtk-sharp fails to build with multiple errors
Status: RESOLVED DUPLICATE of bug 697108
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 725360
  Show dependency tree
 
Reported: 2020-05-25 17:42 UTC by Jakov Smolić
Modified: 2020-07-18 20:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,5.65 KB, text/plain)
2020-05-25 17:43 UTC, Jakov Smolić
Details
emerge full log (emerge-log.txt,141.79 KB, text/plain)
2020-05-25 17:44 UTC, Jakov Smolić
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jakov Smolić archtester gentoo-dev 2020-05-25 17:42:27 UTC
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      | ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:23,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from /usr/include/libglade-2.0/glade/glade-xml.h:26,
                 from /usr/include/libglade-2.0/glade/glade.h:28,
                 from gladexml.c:22:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:33,
                 from /usr/include/libglade-2.0/glade/glade-xml.h:26,
                 from /usr/include/libglade-2.0/glade/glade.h:28,
                 from generated.c:4:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      | ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:23,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from /usr/iclude/libglade-2.0/glade/glade-xml.h:26,
                 from /nclde/libglade-2.0/glade/glade.h:28,
                 from generated.c:4:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:126,
                 from /usr/include/libglade-2.0/glade/glade-xml.h:26,
                 from /usr/include/libglade-2.0/glade/glade.h:28,
                 from gladexml.c:22:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |   ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/libglade-2.0/glade/glade.h:25,
                 from gladexml.c:22:
/usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here
  551 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:126,
                 from /usr/include/libglade-2.0/glade/glade-xml.h:26,
                 from /usr/include/libglade-2.0/glade/glade.h:28,
                 from generated.c:4:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |   ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/libglade-2.0/glade/glade.h:25,
                 from generated.c:4:
/usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here
  551 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from /usr/include/gtk-2.0/gtk/gtk.h:234,
                 from /usr/include/libglade-2.0/glade/glade-xml.h:26,
                 from /usr/include/libglade-2.0/glade/glade.h:28,
                 from gladexml.c:22:
/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
   47 | typedef void (*GtkItemFactoryCallback)  ();
      | ^~~~~~~
In file included from /usr/include/gtk-2.0/gtk/gtk.h:234,
                 from /usr/include/libglade-2.0/glade/glade-xml.h:26,
                 from /usr/include/libglade-2.0/glade/glade.h:28,
                 from generated.c:4:
/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
   47 | typedef void (*GtkItemFactoryCallback)  ();
      | ^~~~~~~
generated.c:12:1: warning: 'get_threshold_class' defined but not used [-Wunused-function]
   12 | get_threshold_class (GObject *obj)
      | ^~~~~~~~~~~~~~~~~~~
/bin/sh ../../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes -Wnested-externs  -Wshadow -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -DDISABLE_GTHREAD_CHECK -module -avoid-version -no-undefined -Wl,-O1 -Wl,--as-needed -o libgladesharpglue-2.la -rpath /usr/lib64 gladexml.lo generated.lo -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lxml2  
libtool: link: x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/gladexml.o .libs/generated.o   -Wl,--as-needed -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lxml2  -O2 -g -Wl,-O1   -Wl,-soname -Wl,libgladesharpglue-2.so -o .libs/libgladesharpglue-2.so
libtool: link: ( cd ".libs" && rm -f "libgladesharpglue-2.la" && ln -s "../libgladesharpglue-2.la" "libgladesharpglue-2.la" )
make[3]: Leaving directory '/var/tmp/portage/dev-dotnet/gtk-sharp-2.12.21/work/gtk-sharp-2.12.21/glade/glue'
make[2]: Leaving directory '/var/tmp/portage/dev-dotnet/gtk-sharp-2.12.21/work/gtk-sharp-2.12.21/glade'
Making all in gtkdotnet
make[2]: Entering directory '/var/tmp/portage/dev-dotnet/gtk-sharp-2.12.21/work/gtk-sharp-2.12.21/gtkdotnet'
cp ../AssemblyInfo.cs .
cp ../gtk-sharp.snk .
sed -e "s/@ASSEMBLY_NAME@/gtk-dotnet/" -e "s/@POLICY@/2.4/" ../policy.config > policy.2.4.config
sed -e "s/@ASSEMBLY_NAME@/gtk-dotnet/" -e "s/@POLICY@/2.6/" ../policy.config > policy.2.6.config
sed -e "s/@ASSEMBLY_NAME@/gtk-dotnet/" -e "s/@POLICY@/2.8/" ../policy.config > policy.2.8.config
sed -e "s/@ASSEMBLY_NAME@/gtk-dotnet/" -e "s/@POLICY@/2.10/" ../policy.config > policy.2.10.config
/usr/bin/mcs -debug -define:GTK_SHARP_2_6 -define:GTK_SHARP_2_8 -define:GTK_SHARP_2_10 -define:GTK_SHARP_2_12  -define:DISABLE_GTHREAD_CHECK -nowarn:0169,0612,0618 -out:gtk-dotnet.dll -target:library -r:../glib/glib-sharp.dll -r:../pango/pango-sharp.dll -r:../gdk/gdk-sharp.dll -r:System.Drawing.dll ./Graphics.cs AssemblyInfo.cs
"/usr/bin/al" -link:policy.2.4.config -version:2.4 -out:policy.2.4.gtk-dotnet.dll -keyfile:gtk-sharp.snk
"/usr/bin/al" -link:policy.2.6.config -version:2.6 -out:policy.2.6.gtk-dotnet.dll -keyfile:gtk-sharp.snk
"/usr/bin/al" -link:policy.2.8.config -version:2.8 -out:policy.2.8.gtk-dotnet.dll -keyfile:gtk-sharp.snk
"/usr/bin/al" -link:policy.2.10.config -version:2.10 -out:policy.2.10.gtk-dotnet.dll -keyfile:gtk-sharp.snk
ALINK: warning A99999: Path 'policy.2.8.config' in the resource name is not supported. Using just file name 'policy.2.8.config'
AssemblyInfo.cs(6,11): warning CS1699: Use compiler option `keyfile' or appropriate project settings instead of `AssemblyKeyFile' attribute
ALINK: warning A99999: Path 'policy.2.10.config' in the resource name is not supported. Using just file name 'policy.2.10.config'
ALINK: warning A99999: Path 'policy.2.6.config' in the resource name is not supported. Using just file name 'policy.2.6.config'
ALINK: warning A99999: Path 'policy.2.4.config' in the resource name is not supported. Using just file name 'policy.2.4.config'
Compilation succeeded - 1 warning(s)
make[2]: Leaving directory '/var/tmp/portage/dev-dotnet/gtk-sharp-2.12.21/work/gtk-sharp-2.12.21/gtkdotnet'
Making all in sample
make[2]: Entering directory '/var/tmp/portage/dev-dotnet/gtk-sharp-2.12.21/work/gtk-sharp-2.12.21/sample'
Making all in test
make[3]: Entering directory '/var/tmp/portage/dev-dotnet/gtk-sharp-2.12.21/work/gtk-sharp-2.12.21/sample/test'
/usr/bin/mcs -out:WidgetViewer.exe -r:../../glib/glib-sharp.dll -r:../../pango/pango-sharp.dll -r:../../atk/atk-sharp.dll -r:../../gdk/gdk-sharp.dll -r:../../gtk/gtk-sharp.dll ./TestCheckButton.cs ./TestColorSelection.cs ./TestRadioButton.cs ./TestRange.cs ./TestStatusbar.cs ./TestDialog.cs ./TestFlipping.cs ./TestSizeGroup.cs ./TestCombo.cs ./TestComboBox.cs ./WidgetViewer.cs
./TestCombo.cs(17,14): warning CS0612: `Gtk.Combo' is obsolete
./TestRange.cs(35,6): error CS0104: `Range' is an ambiguous reference between `System.Range' and `Gtk.Range'
/usr/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous error)
/var/tmp/portage/dev-dotnet/gtk-sharp-2.12.21/work/gtk-sharp-2.12.21/sample/test/../../gtk/gtk-sharp.dll (Location of the symbol related to previous error)
./TestRange.cs(35,13): error CS0030: Cannot convert type `Gtk.HScale' to `System.Range'
./TestRange.cs(42,6): error CS0104: `Range' is an ambiguous reference between `System.Range' and `Gtk.Range'
/usr/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous error)
/var/tmp/portage/dev-dotnet/gtk-sharp-2.12.21/work/gtk-sharp-2.12.21/sample/test/../../gtk/gtk-sharp.dll (Location of the symbol related to previous error)
./TestRange.cs(42,13): error CS0030: Cannot convert type `Gtk.HScrollbar' to `System.Range'
./TestRange.cs(62,6): error CS0104: `Range' is an ambiguous reference between `System.Range' and `Gtk.Range'
/usr/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous error)
/var/tmp/portage/dev-dotnet/gtk-sharp-2.12.21/work/gtk-sharp-2.12.21/sample/test/../../gtk/gtk-sharp.dll (Location of the symbol related to previous error)
./TestRange.cs(62,13): error CS0030: Cannot convert type `Gtk.VScale' to `System.Range'
./TestCombo.cs(31,20): warning CS0612: `Gtk.Combo' is obsolete
Compilation failed: 6 error(s), 2 warnings
make[3]: *** [Makefile:504: WidgetViewer.exe] Error 1
make[3]: Leaving directory '/var/tmp/portage/dev-dotnet/gtk-sharp-2.12.21/work/gtk-sharp-2.12.21/sample/test'
make[2]: *** [Makefile:439: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-dotnet/gtk-sharp-2.12.21/work/gtk-sharp-2.12.21/sample'
make[1]: *** [Makefile:454: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-dotnet/gtk-sharp-2.12.21/work/gtk-sharp-2.12.21'
make: *** [Makefile:382: all] Error 2
 * ERROR: dev-dotnet/gtk-sharp-2.12.21::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-dotnet/gtk-sharp-2.12.21::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-dotnet/gtk-sharp-2.12.21::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-dotnet/gtk-sharp-2.12.21/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-dotnet/gtk-sharp-2.12.21/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-dotnet/gtk-sharp-2.12.21/work/gtk-sharp-2.12.21'
 * S: '/var/tmp/portage/dev-dotnet/gtk-sharp-2.12.21/work/gtk-sharp-2.12.21'

 * Messages for package dev-dotnet/gtk-sharp-2.12.21:

 * ERROR: dev-dotnet/gtk-sharp-2.12.21::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-dotnet/gtk-sharp-2.12.21::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-dotnet/gtk-sharp-2.12.21::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-dotnet/gtk-sharp-2.12.21/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-dotnet/gtk-sharp-2.12.21/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-dotnet/gtk-sharp-2.12.21/work/gtk-sharp-2.12.21'
 * S: '/var/tmp/portage/dev-dotnet/gtk-sharp-2.12.21/work/gtk-sharp-2.12.21'

Reproducible: Always
Comment 1 Jakov Smolić archtester gentoo-dev 2020-05-25 17:43:19 UTC
Created attachment 641760 [details]
emerge --info
Comment 2 Jakov Smolić archtester gentoo-dev 2020-05-25 17:44:26 UTC
Created attachment 641762 [details]
emerge full log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-07-18 20:07:24 UTC

*** This bug has been marked as a duplicate of bug 697108 ***