With mono 1.1.18 it impossible to build banshee (build errors - after fix it have NullPointerException throwed). Portage 2.1.2_pre3-r3 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.17-beyond4 i686) ================================================================= System uname: 2.6.17-beyond4 i686 Intel(R) Celeron(R) M processor 1.50GHz Gentoo Base System version 1.12.5 Last Sync: Tue, 17 Oct 2006 12:50:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium-m -mmmx -msse -msse2 -mfpmath=sse -pipe -momit-leaf-frame-pointer -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-Os -march=pentium-m -mmmx -msse -msse2 -mfpmath=sse -pipe -momit-leaf-frame-pointer -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug userfetch userpriv" GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirror.uni-c.dk/pub/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ http://ftp.heanet.ie/pub/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/ http://src.gentoo.pl http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl http://gentoo.po.opole.pl ftp://gentoo.po.opole.pl http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ " LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,--as-needed -Wl,-O1" LINGUAS="en_GB en_US pl" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/java-gcj-overlay /usr/portage/local/layman/java-experimental /usr/portage/local/layman/java-migration-packages /usr/portage/local/layman/break-my-gentoo-main /usr/portage/local/layman/ecatmur /usr/portage/local/layman/gentopia" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X aac acpi alsa avalon bash-completion beagle berkdb bitmap-fonts bzip2 cairo calendar cddb cdparanoia cdr cli crypt cups curl curlwrappers dbus dlloader dri dvd dvdr eclipse eds elibc_glibc emacs emboss encode esd evolution exif expat fam firefox flac flash fortran fuse galago gcj gconf gdbm gif glut gmail gnome gnutls gpm gstreamer gstreamer10 gtk gtk2 gtkhtml hal iconv imap input_devices_keyboard input_devices_mouse ipod ipv6 isdnlog jabber java jpeg jpeg2k jython kernel_linux keyring libg++ libgda libnotify linguas_en_GB linguas_en_US linguas_pl logrotate lucene mad madwifi maildir mhash mikmod mmx mono mozilla mp3 mpeg mule nautilus ncurses networkmanager nfs nls nntp no-old-linux nptl nptlonly nsplugin ntpl ogg oggvorbis openal opengl pam pcre pdf perl png pop postgres ppds pppd python quicktime readline reflection rhino ruby samba sdl seamonkey session soap sourceview spell spl sqlite sse sse2 ssh ssl subversion svg tcpd tetex theora threads truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_radeon vorbis wifi xml xml2 xorg xsl xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
No useful into here, kindly reopen with some build errors.
They have to be detailed? In src/Banshee.Base/Banshee.Burner/BurnerFormatList.cs format is in 68 line and in delegate in 78(two nested scopes). With 1.1.17.x no problem. When I'll have time I can give information about crashes (probably nit in 24 hours).
Just paste the errors you get when compiling bashee, not that difficult I'd say? (Or attach a patch).
Patch I can send. But it's not only. Now I can't compile mono again (i forgot to build package). It also throws NullPointerException during build of banshee & segmentation fault during running banshee compiled with previous version of mono. :) I try do it tomorow at 5 PM (I'm in +1 zone). May be today.
Created attachment 99932 [details, diff] Patch which just don't work ./Banshee.Burner/BurnerFormatList.cs(78,28): error CS0136: A local variable named `format' cannot be declared in this scope because it would give a different meaning to `format', which is already used in a `parent or current' scope to denote something else ./Banshee.Burner/BurnerFormatList.cs(68,24): (Location of the symbol related to previous error) Compilation failed: 1 error(s), 0 warnings make[2]: *** [Banshee.Base.dll] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-sound/banshee-0.11.0/work/banshee-0.11.0/src/Banshee.Base' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-sound/banshee-0.11.0/work/banshee-0.11.0/src' make: *** [install-recursive] Error 1 !!! ERROR: media-sound/banshee-0.11.0 failed. Call stack: ebuild.sh, line 1568: Called dyn_install ebuild.sh, line 1022: Called src_install banshee-0.11.0.ebuild, line 95: Called gnome2_src_install gnome2.eclass, line 77: Called die !!! install failed !!! If you need support, post the topmost build error, and the call stack if relevant. After patching: /usr/lib/pkgconfig/../../bin/gmcs -debug -unsafe -define:HAVE_LNB_216 -target:library -r:System.Data -r:Mono.Data.SqliteClient (...) ./PowerManagement.cs ./ProductInformation.cs ./DBusPlayer.cs Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at Mono.CSharp.ScopeInfo+CapturedVariable.EmitInstance (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.VariableReference.EmitLoad (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.VariableReference.Emit (Mono.CSharp.EmitContext ec, Boolean leave_copy) [0x00000] at Mono.CSharp.VariableReference.Emit (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.Invocation.EmitCall (Mono.CSharp.EmitContext ec, Boolean is_base, Boolean is_static, Mono.CSharp.Expression instance_expr, System.Reflection.MethodBase method, System.Collections.ArrayList Arguments, Location loc, Boolean dup_args, Boolean omit_args) [0x00000] at Mono.CSharp.PropertyExpr.Emit (Mono.CSharp.EmitContext ec, Boolean leave_copy) [0x00000] at Mono.CSharp.PropertyExpr.Emit (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.Argument.Emit (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.Invocation.EmitArguments (Mono.CSharp.EmitContext ec, System.Reflection.MethodBase mb, System.Collections.ArrayList arguments, Boolean dup_args, Mono.CSharp.LocalTemporary this_arg) [0x00000] at Mono.CSharp.Invocation.EmitCall (Mono.CSharp.EmitContext ec, Boolean is_base, Boolean is_static, Mono.CSharp.Expression instance_expr, System.Reflection.MethodBase method, System.Collections.ArrayList Arguments, Location loc, Boolean dup_args, Boolean omit_args) [0x00000] at Mono.CSharp.Invocation.EmitCall (Mono.CSharp.EmitContext ec, Boolean is_base, Boolean is_static, Mono.CSharp.Expression instance_expr, System.Reflection.MethodBase method, System.Collections.ArrayList Arguments, Location loc) [0x00000] at Mono.CSharp.ConstructorInitializer.Emit (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.Constructor.Emit () [0x00000] at Mono.CSharp.TypeContainer.EmitConstructors () [0x00000] at Mono.CSharp.TypeContainer.EmitType () [0x00000] at Mono.CSharp.RootContext.EmitCode () [0x00000] at Mono.CSharp.Driver.MainDriver (System.String[] args) [0x00000] at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] make[3]: *** [Banshee.Base.dll] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-sound/banshee-0.11.0/work/banshee-0.11.0/src/Banshee.Base' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-sound/banshee-0.11.0/work/banshee-0.11.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-sound/banshee-0.11.0/work/banshee-0.11.0' make: *** [all] Error 2 /usr/portage/media-sound/banshee/banshee-0.11.0.ebuild: line 91: make failed: command not found
I forgot to reopen bug.
(In reply to comment #5) > Created an attachment (id=99932) [edit] > Patch which just don't work Hmmm... ;o)) Anyway, there's already a bug about banshee, so it you manage to find out a _working_ patch, please comment there, thanks. ;) *** This bug has been marked as a duplicate of 151716 ***
(In reply to comment #7) > (In reply to comment #5) > > Created an attachment (id=99932) [edit] > > Patch which just don't work > > Hmmm... ;o)) > > Anyway, there's already a bug about banshee, so it you manage to find out a > _working_ patch, please comment there, thanks. ;) > I attach this patch only to show it's not the only problem with building (Mono throws a NullPointerException during build *not* running banshee). > > *** This bug has been marked as a duplicate of 151716 *** > Well. It in fact doesn't matter but if I can see it's 151716 duplicate of this bug (see opened and id). However EOT.