Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151716 - media-sound/banshee-0.11.1 does not build
Summary: media-sound/banshee-0.11.1 does not build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Luis Medinas (RETIRED)
URL:
Whiteboard:
Keywords:
: 151713 154131 154669 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-17 10:10 UTC by Sebastian Bergmann (RETIRED)
Modified: 2006-11-10 05:57 UTC (History)
5 users (show)

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


Attachments
Patch for building against mono 1.1.18 (banshee-0.11.1-burner-format-list.patch,963 bytes, patch)
2006-10-18 13:35 UTC, Ricky Rivera
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Bergmann (RETIRED) gentoo-dev 2006-10-17 10:10:37 UTC
./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.1/work/banshee-0.11.1/src/Banshee.Base'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-sound/banshee-0.11.1/work/banshee-0.11.1/src'
make: *** [install-recursive] Error 1

-- 

Portage 2.1.2_pre3-r3 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r1 i686)
=================================================================
System uname: 2.6.18-gentoo-r1 i686 Genuine Intel(R) CPU           L2400  @ 1.66GHz
Gentoo Base System version 1.13.0_alpha2
Last Sync: Tue, 17 Oct 2006 16:30:09 +0000
ccache version 2.4 [disabled]
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="-march=pentium-m -msse3 -O2 -pipe"
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="-march=pentium-m -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig cvs distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms sign strict"
GENTOO_MIRRORS="http://mirror.gentoo.no/ ftp://ftp.du.se/pub/os/gentoo ftp://trumpetti.atm.tut.fi/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://gentoo.oregonstate.edu"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa asf berkdb bitmap-fonts bluetooth browserplugin bzip2 cairo cli cracklib crypt cups dbus dga divx4linux dlloader dri dvd dvdread eds elibc_glibc exif fame firefox flac foomaticdb fortran gaim galago gdbm gif glitz gnome gpm graphviz gstreamer gtk hal input_devices_evdev input_devices_keyboard input_devices_mouse iproute2 ipv6 isdnlog java jpeg kdeenablefinal kdehiddenvisibility kernel_linux libg++ libnotify libsexy lzo mad matroska mjpeg mmx mmxext mng mono moznocompose moznoirc moznomail mozsvg mp3 mpeg ncurses nls nomotif nptl nptlonly nsplugin ogg oggvorbis opengl pam pam_console pcre pdf perl png ppds pppd python quicktime readline reflection samba session smp spl sse sse2 ssl startup-notification svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_i810 vorbis win32codecs wmf xcb xml xml2 xorg xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Peter Weller (RETIRED) gentoo-dev 2006-10-17 10:31:04 UTC
I get the same on AMD64.

Portage 2.1.2_pre3-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo x86_64)
=================================================================
System uname: 2.6.18-gentoo x86_64 AMD Sempron(tm) Processor 3300+
Gentoo Base System version 1.12.5
Last Sync: Tue, 17 Oct 2006 11:30:01 +0000
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="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-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"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer multilib-strict sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LINGUAS="en_GB"
MAKEOPTS="-j2"
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/local/layman/portage-xgl /usr/local/layman/sunrise"
SYNC="rsync://socrates/gentoo-portage"
USE="amd64 X acpi alsa artworkextra beagle berkdb bitmap-fonts cdr cli crypt cups daap dbus dlloader dri dvd elibc_glibc firefox flac fortran gdbm glitz gnome gpm gstreamer gtk gtkhtml hal howl input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog java jpeg kernel_linux libg++ linguas_en_GB mad mono mpeg ncurses nls nptl nptlonly nsplugin ogg opengl pam pcre perl plusaudio png ppds pppd python readline reflection samba session spell spl ssl svg symlink tcpd theora tiff truetype-fonts type1-fonts udev unicode userland_GNU video_cards_mga video_cards_nv video_cards_nvidia video_cards_vesa vorbis widescreen xinerama xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 John Schember 2006-10-17 14:28:43 UTC
The problem is also in banshee-0.11.0. I believe it's related to the release of mono 1.1.18 as I was able to build 0.11.0 with mono 1.1.17.1.
Comment 3 Luis Medinas (RETIRED) gentoo-dev 2006-10-17 14:59:28 UTC
yes i can reproduce the error with mono 1.1.18 i'll investigate about this and provide a fix asap.
Comment 4 Alex 2006-10-17 16:04:10 UTC
Thanks Luis as I get this too.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-10-18 03:55:11 UTC
*** Bug 151713 has been marked as a duplicate of this bug. ***
Comment 6 Bertrand Lorentz 2006-10-18 10:04:26 UTC
I think the issue has been fixed in banshee CVS :
http://cvs.gnome.org/viewcvs/banshee/src/Banshee.Base/Banshee.Burner/BurnerFormatList.cs?r1=1.2&r2=1.3

There might be an underlying problem with mono 1.1.18, but that's way out of my league.
Comment 7 Maciej Piechotka 2006-10-18 10:49:17 UTC
I describe in #151713 that this just don't work. It cause another problems NullPointerException.
Comment 8 Ricky Rivera 2006-10-18 13:35:11 UTC
Created attachment 99967 [details, diff]
Patch for building against mono 1.1.18

Building Banshee using the following patch from banshee cvs (linked above) gets around the scope error, but does indeed result in the aforementioned NullPointerException for me as well:

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[2]: *** [Banshee.Base.dll] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-sound/banshee-0.11.1/work/banshee-0.11.1/src/Banshee.Base'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-sound/banshee-0.11.1/work/banshee-0.11.1/src'
make: *** [install-recursive] Error 1
Comment 9 Luis Medinas (RETIRED) gentoo-dev 2006-10-19 11:52:00 UTC
yes indeed that patch doesn't work. The upstream is working on a 0.11.2 release so ill add it asap.
Comment 10 Sebastian Bergmann (RETIRED) gentoo-dev 2006-10-20 00:30:34 UTC
Can you remove the broken version (or at least package.mask it) while we're waiting for UPSTREAM to resolve the issue with a new release? Thanks.
Comment 11 Luis Medinas (RETIRED) gentoo-dev 2006-10-20 06:48:23 UTC
(In reply to comment #10)
> Can you remove the broken version (or at least package.mask it) while we're
> waiting for UPSTREAM to resolve the issue with a new release? Thanks.
> 

Banshee 0.11 series are masked.
Comment 12 Lars Roland 2006-10-23 05:23:28 UTC
(In reply to comment #9)
> yes indeed that patch doesn't work. The upstream is working on a 0.11.2 release
> so ill add it asap.
> 

banshee 0.11.2 (http://banshee-project.org/files/banshee/banshee-0.11.2.tar.gz) works with mono 1.1.18 on my -x86
Comment 13 Grzegorz Moroz 2006-10-23 05:52:14 UTC
(In reply to comment #8)
> Created an attachment (id=99967) [edit]
> Patch for building against mono 1.1.18
> 
> Building Banshee using the following patch from banshee cvs (linked above) gets
> around the scope error, but does indeed result in the aforementioned
> NullPointerException for me as well:
> 
Banshee 0.10.12, which is not masked in ~x86, won't compile with mono 1.1.18 as well. Same NullPointerException error.

Comment 14 Sebastian Bergmann (RETIRED) gentoo-dev 2006-10-23 06:52:48 UTC
I just verified that bumping to banshee 0.11.2 solves the issue.
Comment 15 David Gorst 2006-10-23 19:02:58 UTC
0.11.2 works with my system (AMD64/SMP) as well.
Comment 16 Priit Laes (IRC: plaes) 2006-10-27 07:36:44 UTC
The mono bug itself has been fixed ( bug #152843 ), although you need to re-emerge it.
Comment 17 Luis Medinas (RETIRED) gentoo-dev 2006-10-29 10:18:18 UTC
bumped banshee on cvs and mono got fixed. Everything should be alright closing as fixed.
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2006-11-05 06:04:43 UTC
*** Bug 154131 has been marked as a duplicate of this bug. ***
Comment 19 Jakub Moc (RETIRED) gentoo-dev 2006-11-10 05:57:57 UTC
*** Bug 154669 has been marked as a duplicate of this bug. ***