[Lunar-bugs] [Lunar Linux 0000336]: gtksourceview-sharp2 doesn't compile

Lunar bug reports list lunar-bugs at lunar-linux.org
Sun Feb 17 20:52:20 CET 2008


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.lunar-linux.org/view.php?id=336 
====================================================================== 
Reported By:                El_Angelo
Assigned To:                v3rt1g0
====================================================================== 
Project:                    Lunar Linux
Issue ID:                   336
Category:                   module
Reproducibility:            always
Severity:                   minor
Priority:                   low
Status:                     resolved
Moonbase Version:           2007MMDD.NN (I'm an idiot and didn't edit this
field.), well i did edit it... but it's git ;) 
Core Tools:                 Theedge 
Core Tools Version:         20070623 
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             02-17-2008 20:21 CET
Last Modified:              02-17-2008 20:52 CET
====================================================================== 
Summary:                    gtksourceview-sharp2 doesn't compile
Description: 
samuel at argus ~/moonbase.git/devel $ sudo lin monodevelop
+ Spawning download manager
+ download queue: gtksourceview-sharp2
mono-addins  monodevelop
+ starting lin "monodevelop"
Checking dependencies for monodevelop 
Checking dependencies for gtksourceview-sharp2 
+ downloading module "gtksourceview-sharp2"
+ Skipping download of "gtksourceview-sharp-2.0-0.11.tar.bz2" (in cache)
Building gtksourceview-sharp2 version 2.0-0.11
+ running "default_pre_build"
+ validating "/usr/src/gtksourceview-sharp-2.0-0.11"
+ creating building dir "/usr/src/gtksourceview-sharp-2.0-0.11"
+ Removing old source directory first!
+ Unpacking "/var/spool/lunar/gtksourceview-sharp-2.0-0.11.tar.bz2" in
"/usr/src"
+ building "gtksourceview-sharp2" version "2.0-0.11" in
/usr/src/gtksourceview-sharp-2.0-0.11
+ CC_EXT="ccache "
+ CXX_EXT="ccache "
+ CC="gcc"
+ CXX="g++"
+ CPP="cpp"
+ CFLAGS=" -O2 -march=i686"
+ CXXFLAGS=" -O2 -march=i686"
+ CPPFLAGS=""
+ LDFLAGS=" -s"
+ Enabled wrapper script usage
+ running "default_build"
+ running "default_config"
+ ./configure --build=i686-pc-linux-gnu --prefix=/usr --sysconfdir=/etc
--localstatedir=/var --infodir=/usr/share/info --mandir=/usr/share/man
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for a BSD-compatible install... /usr/bin/install -c
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for MONO_DEPENDENCY... yes
checking for MONO_DEPENDENCY... yes
checking for mono... /usr/bin/mono
checking for mcs... /usr/bin/mcs
checking for gacutil... /usr/bin/gacutil
checking for GTK_SHARP... yes
checking for GTKSOURCEVIEW... yes
checking for gapi2-fixup... /usr/bin/gapi2-fixup
checking for gapi2-codegen... /usr/bin/gapi2-codegen
checking for mdassembler... /usr/bin/mdassembler
checking for monodocer... /usr/bin/monodocer
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gtksourceview/AssemblyInfo.cs
config.status: creating gtksourceview/gtksourceview-sharp.dll.config
config.status: creating gtksourceview/Makefile
config.status: creating gtksourceview-sharp-2.0.pc
config.status: creating doc/Makefile
config.status: creating sample/Makefile
---
Configuration summary

   * Installation prefix: /usr
   * compiler: /usr/bin/mcs
   * Documentation: yes

+ running "default_make"
Making all in gtksourceview
make[1]: Entering directory
`/usr/src/gtksourceview-sharp-2.0-0.11/gtksourceview'
cp ./gtksourceview-api.raw gtksourceview-api.xml
chmod u+w gtksourceview-api.xml
/usr/bin/gapi2-fixup --api=gtksourceview-api.xml
--metadata=./Gtk.metadata
/usr/bin/gapi2-codegen
-I:/usr/lib/pkgconfig/../../share/gapi-2.0/gnome-api.xml
-I:/usr/lib/pkgconfig/../../share/gapi-2.0/pango-api.xml
-I:/usr/lib/pkgconfig/../../share/gapi-2.0/atk-api.xml
-I:/usr/lib/pkgconfig/../../share/gapi-2.0/gdk-api.xml
-I:/usr/lib/pkgconfig/../../share/gapi-2.0/gtk-api.xml
-I:/usr/lib/pkgconfig/../../share/gapi-2.0/art-api.xml
-I:/usr/lib/pkgconfig/../../share/gapi-2.0/gnome-vfs-api.xml
-I:/usr/lib/pkgconfig/../../share/gapi-2.0/glib-api.xml   --generate
gtksourceview-api.xml \
	--outdir=generated --customdir=. --assembly-name=gtksourceview-sharp &&
touch generated-stamp
Simple type element GdkKey has no specified default value
Simple type element art_u8 has no specified default value
Simple type element art_u32 has no specified default value
Property has unknown Type unichar in type GtkSourceView.SourceBuffer

Generation Summary:
  Enums: 3  Structs: 1  Boxed: 1  Opaques: 2  Interfaces: 1  Objects: 11 
Callbacks: 0
  Properties: 26  Signals: 12  Methods: 87  Constructors: 13  Throttled:
1
Total Nodes: 158

cp ../gtk-sharp.snk .
/usr/bin/mcs /unsafe /target:library /pkg:gnome-sharp-2.0 \
	generated/*.cs ./GtkSourceView.cs AssemblyInfo.cs
-out:gtksourceview-sharp.dll
generated/SourceBuffer.cs(160,37): warning CS0169: The private method
`GtkSourceView.SourceBuffer.OverrideCanUndoFired(GLib.GType)' is never
used
generated/SourceBuffer.cs(230,37): warning CS0169: The private method
`GtkSourceView.SourceBuffer.OverrideHighlightUpdated(GLib.GType)' is never
used
generated/SourceBuffer.cs(301,37): warning CS0169: The private method
`GtkSourceView.SourceBuffer.OverrideCanRedoFired(GLib.GType)' is never
used
generated/SourceBuffer.cs(370,37): warning CS0169: The private method
`GtkSourceView.SourceBuffer.OverrideMarkerUpdated(GLib.GType)' is never
used
generated/SourceBufferMatch.cs(27,43): warning CS0169: The private
property `GtkSourceView.SourceBufferMatch.GType' is never used
generated/SourceLanguage.cs(57,37): warning CS0169: The private method
`GtkSourceView.SourceLanguage.OverrideTagStyleChanged(GLib.GType)' is
never used
generated/SourcePrintJob.cs(276,37): warning CS0169: The private method
`GtkSourceView.SourcePrintJob.OverrideBeginPage(GLib.GType)' is never
used
generated/SourcePrintJob.cs(323,37): warning CS0169: The private method
`GtkSourceView.SourcePrintJob.OverrideFinished(GLib.GType)' is never used
generated/SourceTagTable.cs(44,37): warning CS0169: The private method
`GtkSourceView.SourceTagTable.OverrideChanged(GLib.GType)' is never used
generated/SourceUndoManager.cs(63,37): warning CS0169: The private method
`GtkSourceView.SourceUndoManager.OverrideCanUndoFired(GLib.GType)' is
never used
generated/SourceUndoManager.cs(132,37): warning CS0169: The private method
`GtkSourceView.SourceUndoManager.OverrideCanRedoFired(GLib.GType)' is never
used
generated/SourceView.cs(206,37): warning CS0169: The private method
`GtkSourceView.SourceView.OverrideRedo(GLib.GType)' is never used
generated/SourceView.cs(253,37): warning CS0169: The private method
`GtkSourceView.SourceView.OverrideUndo(GLib.GType)' is never used
Compilation succeeded - 13 warning(s)
make[1]: Leaving directory
`/usr/src/gtksourceview-sharp-2.0-0.11/gtksourceview'
Making all in sample
make[1]: Entering directory
`/usr/src/gtksourceview-sharp-2.0-0.11/sample'
/usr/bin/mcs -out:SourceViewTest.exe ./SourceViewTest.cs
-r:../gtksourceview/gtksourceview-sharp.dll -pkg:gtk-sharp-2.0
/usr/bin/mcs -out:PrintSample.exe ./PrintSample.cs
-r:../gtksourceview/gtksourceview-sharp.dll -pkg:gtk-sharp-2.0
-pkg:gnome-sharp-2.0
./PrintSample.cs(51,17): error CS0117: `GtkSourceView.SourcePrintJob' does
not contain a definition for `upFromView'
/usr/src/gtksourceview-sharp-2.0-0.11/gtksourceview/gtksourceview-sharp.dll
(Location of the symbol related to previous error)
Compilation failed: 1 error(s), 0 warnings
make[1]: *** [PrintSample.exe] Error 1
make[1]: Leaving directory `/usr/src/gtksourceview-sharp-2.0-0.11/sample'
make: *** [all-recursive] Error 1
Creating /var/log/lunar/compile/gtksourceview-sharp2-2.0-0.11.bz2 
! Problem detected during BUILD

====================================================================== 

---------------------------------------------------------------------- 
 v3rt1g0 - 02-17-08 20:28  
---------------------------------------------------------------------- 
I was able to reproduce this exact error.  I'll see if I can look into it
today.  Not sure what update caused this to break. 

---------------------------------------------------------------------- 
 v3rt1g0 - 02-17-08 20:52  
---------------------------------------------------------------------- 
I prevented the samples/ directory from being touched during the build
processes.  These samples were never installed and were a waste of time to
build anyhow.  Looks like there was a recent API change and this function
that is missing be have gone away.  (There is even a FIXME in the sample
code that hints that the line is wrong).

Let me know if this doesn't fix it for you ElAngelo.  Thanks for the
report. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-17-08 20:21  El_Angelo      New Issue                                    
02-17-08 20:21  El_Angelo      Moonbase Version          => 2007MMDD.NN (I'm an
idiot and didn't edit this field.), well i did edit it... but it's git ;)
02-17-08 20:21  El_Angelo      Core Tools                => Theedge         
02-17-08 20:21  El_Angelo      Core Tools Version        => 20070623        
02-17-08 20:21  El_Angelo      Status                   new => assigned     
02-17-08 20:21  El_Angelo      Assigned To               => v3rt1g0         
02-17-08 20:28  v3rt1g0        Note Added: 0000756                          
02-17-08 20:28  v3rt1g0        Status                   assigned => confirmed
02-17-08 20:52  v3rt1g0        Status                   confirmed => resolved
02-17-08 20:52  v3rt1g0        Resolution               open => fixed       
02-17-08 20:52  v3rt1g0        Note Added: 0000757                          
======================================================================



More information about the Lunar-bugs mailing list