Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340375 - www-plugins/moonlight-2.3 fails to build with mono 2.8
Summary: www-plugins/moonlight-2.3 fails to build with mono 2.8
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: dotnet project
URL: https://bugzilla.novell.com/show_bug....
Whiteboard:
Keywords: PMASKED
: 358921 (view as bug list)
Depends on: 370049
Blocks: mono-2.8
  Show dependency tree
 
Reported: 2010-10-10 17:22 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2011-07-21 17:32 UTC (History)
21 users (show)

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


Attachments
Build log (moonlight-2.3:20101010-162306.log,853.82 KB, text/plain)
2010-10-10 17:22 UTC, Diego Elio Pettenò (RETIRED)
Details
build.log (moonlight-2.3:20101127-150614.log,1.14 MB, text/plain)
2010-11-27 17:27 UTC, Pacho Ramos
Details
moonlight-3.99.0.2.ebuild (moonlight-3.99.0.2.ebuild,5.90 KB, text/plain)
2011-03-22 03:59 UTC, Rick Harris
Details
moonlight-3.99.0.2_buildfixes.diff (moonlight-3.99.0.2_buildfixes.diff,1.10 KB, patch)
2011-03-22 04:00 UTC, Rick Harris
Details | Diff
Build fixes from upstream for firefox 4 (moonlight-3.99.0.2_firefox4.diff,428 bytes, patch)
2011-04-08 00:43 UTC, Alain Toussaint
Details | Diff
Updated ebuild for the Firefox patch (moonlight-3.99.0.2.ebuild,5.94 KB, text/plain)
2011-04-08 00:44 UTC, Alain Toussaint
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2010-10-10 17:22:05 UTC
Portage 2.2_rc91 (default/linux/amd64/10.0, gcc-4.5.1-asneeded, glibc-2.12.1-r1, 2.6.35.6+ x86_64)
=================================================================
System uname: Linux-2.6.35.6+-x86_64-Quad-Core_AMD_Opteron-tm-_Processor_2350-with-gentoo-2.0.1
Timestamp of tree: Sun, 10 Oct 2010 14:55:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.68
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.51.0.11
sys-devel/gcc:       4.5.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
Repositories: gentoo crossdev x11 emacs java-overlay scarabeus_local_overlay enlightenment graaff sunrise tante gechi flameeyes-overlay ruby java-experimental constanze
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-prerelease-jdk6 sun-bcla-java-vm AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -ftracer -pipe -ftree-vectorize -floop-block -g -ggdb -Wstrict-aliasing=2 -Wno-format-zero-length -Wformat=2 -Wno-error -Wno-pointer-sign -fdiagnostics-show-option"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -ftracer -pipe -ftree-vectorize -floop-block -g -ggdb -Wno-error -Wformat=2 -Wstrict-aliasing=2 -fvisibility-inlines-hidden"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --with-bdeps=n"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign split-log splitdebug unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-march=native -O2 -ftracer -pipe -ftree-vectorize -g -ggdb"
GENTOO_MIRRORS="http://gentoo.wheel.sk/ http://mirrors.ludost.net/gentoo/ http://gentoo.virginmedia.com/ http://gentoo.mneisen.org/ http://distfiles.gentoo.bg/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common"
LINGUAS="en it"
MAKEOPTS="-j12 -s"
PKGDIR="/var/spool/portage/packages"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=ChangeLog"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/media/repos/portage/yamato"
PORTDIR_OVERLAY="/var/spool/portage/overlays/cross /var/lib/layman/x11 /var/lib/layman/emacs /var/lib/layman/java-overlay /var/lib/layman/scarabeus /var/lib/layman/enlightenment /var/lib/layman/graaff /var/lib/layman/sunrise /var/lib/layman/tante /var/lib/layman/gechi /media/repos/flame/flame-overlay /media/repos/flame/gentoo/overlays/ruby /var/spool/portage/overlays/java-experimental /media/repos/flame/git/GSoC2010_Gentoo_Capabilities/overlay"
SYNC="rsync://localhost/gentoo-portage"
USE="3dnow 3dnowex 3dnowext S3TC a52 aac acl acpi4linux alsa amd64 apm audiofile avahi avi bluetooth bzip2 bzlib caps cjk cli crypt css cups custom-cflags custom-cxxflags cxx dbus dlloader dnd dpms dri dts emacs emboss fame ffmpeg filecaps flac foomaticdb gif gmp gnome gnome-keyring gnutls gpgme gphoto2 gtk gtk2 hal idn ieee1394 imlib imlib2 inotify ipv6 ithreads java5 java6 jpeg kdehiddenvisibility latex libnotify lm_sensors lx700 lzw lzw-tiff maildir matroska midi mmx mmx2 mmxext mng modules mozsvg mp3 mpeg mpeg4 mpm-threadpool mudflap multilib native network-cron nls no_wxgtk1 noantlr nobcel nobeanutils nobsh nocommonslogging nocommonsnet nodrm nojdepend nojsch nojython nolog4j nomotif nooro noregexp norhino noxalan noxerces nptl nptlonly nsplugin ogg oggvorbis openmp pam pch pdf pdflib pic pmount png policykit ppds pppd pulseaudio qemu-fast reflection rtc session smp snmp speex spell sse sse2 ssl ssse3 startup-notification stencil-buffer subversion svg svgz sysfs syslog tetex theora threads tiff truetype truetype-fonts type1 type1-fonts udev uncompressed-sounds unicode usb userlocales utf8 v4l v4l2 vhosts vorbis wxwindows x11vnc xcb xcomposite xorg xpm xv xvid zeroconf zlib zsh-completion zvbi" ALSA_CARDS="hda-intel usb-audio mpu401 ice1712" ALSA_PCM_PLUGINS="iec958 plug ioplug hooks empty route asym softvol extplug" APACHE2_MODULES="actions alias auth_basic auth_digest authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user cache dav dav_fs dav_lock deflate dir env expires ext_filter filter headers include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_http rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en it" LIRC_DEVICES="kworld" PHP_TARGETS="php-5.2" QEMU_SOFTMMU_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19 jruby ree18" SANE_BACKENDS="snapscan" USERLAND="GNU" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-10-10 17:22:37 UTC
Created attachment 250133 [details]
Build log
Comment 2 Billy DeVincentis 2010-10-10 18:44:01 UTC
Same here!!!
Comment 3 Juergen Rose 2010-11-02 09:40:32 UTC
Any news?
Comment 4 Pacho Ramos gentoo-dev 2010-11-27 17:27:55 UTC
Created attachment 255613 [details]
build.log

Updated log
Comment 5 Pacho Ramos gentoo-dev 2010-11-30 12:02:31 UTC
Reading upstream report, looks like this will require a version bump to 2.99.0.8
Comment 6 Pacho Ramos gentoo-dev 2011-01-05 11:48:10 UTC
I would highly appreciate any help providing an updated ebuild for that new version since I don't have much time :-/
Comment 7 Jan Breuer 2011-01-26 15:34:19 UTC
Why you mask www-plugins/moonlight-2.3? It works with sable dev-lang/mono-2.6.7 so you should only add <dev-lang/mono=2.7 to RDEPEND of moonlight-2.3. 
Additionally, dev-lang/mono-2.8.x is still unstable in Gentoo.
Comment 8 Pacho Ramos gentoo-dev 2011-01-26 22:01:18 UTC
mono-2.8 is going to be updated soon due security problems on 2.6, and 2.6 will be dropped as soon as possible.
Comment 9 Daniel Marmander 2011-03-01 20:11:52 UTC
It's a nofix upstreams:
http://lists.ximian.com/pipermail/moonlight-bugs/2010-November/002594.html

The 2.3 ebuild _should_ therefore have <dev-lang/mono=2.7 to RDEPEND.

To solve the issue with mono 2.6 being dropped, a version bump up to version 2.4(?) would be in order. It would also be nice with a later version, even if they are marked as unstable.
Comment 10 Pacho Ramos gentoo-dev 2011-03-16 09:06:43 UTC
*** Bug 358921 has been marked as a duplicate of this bug. ***
Comment 11 Rick Harris 2011-03-22 03:52:20 UTC
(In reply to comment #9)
> The 2.3 ebuild _should_ therefore have <dev-lang/mono=2.7 to RDEPEND.

Yes it should, Pacho can we get this fixed please.

> To solve the issue with mono 2.6 being dropped, a version bump up to version
> 2.4(?) would be in order. It would also be nice with a later version, even if
> they are marked as unstable.

2.4 also requires <dev-lang/mono=2.7.

All of the moonlight tarballs greater than version 2.4 located on novell's ftp seem to be of such poor build quality that it looks like these have been auto-created by some bot without any testing.

Downloading git branch tarballs from https://github.com/mono/moon/ looks to be the way forward.
In this way I was able to install moonlight-3.99.0.2.

I couldn't get any of the 2.99.0.* sources to build from either novell's ftp or using the github moonlight branches.
Comment 12 Rick Harris 2011-03-22 03:59:10 UTC
Created attachment 266797 [details]
moonlight-3.99.0.2.ebuild

Extremely painful build process.
Pulls specific git revisions from various trees and needs to temporarily build mono twice just to setup the build environment.
But it works with >=mono-2.8 and goes further to give silverlight-3 and limited silverlight-4 support in browsers (only verified it working on firefox and opera so far).
Comment 13 Rick Harris 2011-03-22 04:00:10 UTC
Created attachment 266799 [details, diff]
moonlight-3.99.0.2_buildfixes.diff
Comment 14 Alain Toussaint 2011-04-08 00:43:07 UTC
Created attachment 268947 [details, diff]
Build fixes from upstream for firefox 4

This is a patch from upstream to fix the moonlight firefox plugins compilation error under xulrunner 2 / Firefox 4.
Comment 15 Alain Toussaint 2011-04-08 00:44:39 UTC
Created attachment 268949 [details]
Updated ebuild for the Firefox patch

This is an updated ebuild containing the fix for Firefox 4.
Comment 16 Alon Bar-Lev 2011-05-21 21:09:13 UTC
Hello,
Is the git stuff is absolutely needed? Can't we use recent versions of components?
And anyway, this is not the way to do this...

Need to use git-2 eclass with EGIT_REPO_URI and stuff, see portage and openrc for example.
Comment 17 Pacho Ramos gentoo-dev 2011-07-21 17:32:01 UTC
www-plugins/moonlight was finally removed