Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203586 - media-sound/wiinstrument - a multiplatform MIDI instrument / sampler controlled by a Nintendo Wii remote ('Wiimote') and Nunchuk controllers
Summary: media-sound/wiinstrument - a multiplatform MIDI instrument / sampler controll...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://screenfashion.org/2007/09/the_...
Whiteboard: sunrise suggested
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-12-28 16:26 UTC by Jouni Rinne
Modified: 2014-11-28 19:55 UTC (History)
1 user (show)

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


Attachments
wiinstrument-0.2_beta717.ebuild (wiinstrument-0.2_beta717.ebuild,1.52 KB, text/plain)
2007-12-28 16:27 UTC, Jouni Rinne
Details
Failed build log (build.log,18.23 KB, text/plain)
2008-10-07 11:39 UTC, Harrie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jouni Rinne 2007-12-28 16:26:00 UTC
Wiinstrument is a multiplatform MIDI instrument / sampler controlled by a Nintendo Wii remote ('Wiimote') and Nunchuk controllers.

The code is a bit of a mess (and so is the ebuild), but it works(tm), and is a great FUN to use!
Comment 1 Jouni Rinne 2007-12-28 16:27:17 UTC
Created attachment 139529 [details]
wiinstrument-0.2_beta717.ebuild
Comment 2 Harrie 2008-10-07 11:38:19 UTC
I have tried this ebuild, but I get the following compiel error:

./boost/circular_buffer/base.hpp:116: error: declaration of ‘typedef class boost::reverse_iterator<boost::cb_details::iterator<boost::circular_buffer<T, Alloc>, boost::cb_details::nonconst_traits<Alloc> > > boost::circular_buffer<T, Alloc>::reverse_iterator’
./boost/iterator/reverse_iterator.hpp:23: error: changes meaning of ‘reverse_iterator’ from ‘class boost::reverse_iterator<boost::cb_details::iterator<boost::circular_buffer<T, Alloc>, boost::cb_details::nonconst_traits<Alloc> > >’

It has a problem with the reverse_iterator from boost.
Do I have to merge a specific version of boost? Of does it only use it's included boost sources?

I attach the build log.
Comment 3 Harrie 2008-10-07 11:39:52 UTC
Created attachment 167524 [details]
Failed build log
Comment 4 Harrie 2008-10-07 18:32:36 UTC
I found the problem. It needs to be compiled with gcc-3.4.6.

Also I emerged boost, installed the latest Gosu from source and I used a modified ebuild to use the installed Gosu:

src_unpack() {
        unpack ${A}
        cd ${S}

        # What a mess we have here...
        cp -r lib/boost src/
        cp -r /usr/include/Gosu src/
        cp /usr/lib/libgosu.a src/
        cp lib/portmidi/* src/
        cp lib/glew/include/gl/* src/
        cp lib/glew/lib/* src/
        cp lib/drums/* src/
        cp lib/libcwiid/* src/
}

After this is compiles, but crashes with a error "what();" because it misses the wingding font from Windows.

So install the windings font and it runs.
Comment 5 Jouni Rinne 2008-10-07 19:01:48 UTC
Okay, thanks for doing the research for me :). I've been unable to compile it on my current amd64/x86_64 system. Which architecture you are using? (As usual with bug reports, it helps enormously if you include the output of 'emerge --info')
Comment 6 Harrie 2008-10-08 06:39:04 UTC
Yes, of course, here it is:

Portage 2.2_rc11 (default/linux/x86/2008.0/desktop, gcc-3.4.6, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-i686-Intel-R-_Core-TM-2_Duo_CPU_T5250_@_1.50GHz-with-glibc2.0
Timestamp of tree: Fri, 03 Oct 2008 13:00:02 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r15, 2.5.2-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en_US en nl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/desktop-effects /usr/local/portage/mplayer /usr/local/portage/layman/pd-overlay /usr/local/portage/layman/pro-audio /usr/local/portage/layman/cwiid"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi aim alsa amr apache2 audiofile automount avahi avi bash-completion berkdb bitmap-fonts bluetooth branding bzip2 bzlib cairo calendar caps cdr cjk clamav cli cracklib crypt cups curl dba dbus dga dio divx divx4linux doc dri dts dv dvd dvdr dvdread eds emboss encode ethereal evo exif fam ffmpeg fftw firefox flac fortran ftp gcj gd gdbm gif glitz glut gnome gnome-keyring gpac gphoto2 gpm gstreamer gtk gtk2 hal ical iconv icq ieee1394 imagemagick imap imlib ipv6 isdnlog jabber jack java java6 javascript jpeg jpeg2k ladspa laptop ldap libcaca libnotify libvisual logrotate mad maildir mbrola mcal midi mikmod mime mmap mmx mmxext mng mozdevelop mp3 mpeg mplayer msn mudflap ncurses networkmanager nls nptl nptlonly nsplugin ntp offensive ogg openal opengl openmp oss pam pcmcia pcre pda pdf perl php png pnp posix postgres ppds pppd python qt3support quicktime rdesktop readline real reflection samba sasl sdl session slang snmp soap sockets speex spell spl sse sse2 ssl startup-notification suexec svg symlink sysfs tcpd theora threads threadsafe tiff truetype unicode usb utempter v4l v4l2 vcd vhosts videos vorbis wifi win32codecs x264 x86 xattr xcb xine xinerama xml xorg xosd xpm xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="usb-audio hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="digita samsung canon" ELIBC="glibc" INPUT_DEVICES="synaptics mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en_US en nl" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


So you probably need a x86 32bit compatibility env.

Comment 7 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-14 18:24:32 UTC
(this is an automated message based on filtering criteria that matched this bug)
'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached 
to this bug.
This bug is assigned to maintainer-wanted which means that it is not in the 
main tree.
Heuristics show that no Gentoo developer has commented on your ebuild.

Hello, The Gentoo Team would like to firstly thank you for your ebuild 
submission. We also apologize for not being able to accommodate you in a timely
manner. There are simply too many new packages.

Allow me to use this opportunity to introduce you to Gentoo Sunrise. The 
sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to 
commit to and all users can have ebuilds reviewed by Gentoo devs for entry 
into the overlay. So, the sunrise team is suggesting that you look into this 
and submit your ebuild to the overlay where even *you* can commit to. =)

Because this is a mass message, we are also asking you to be patient with us. 
We anticipate a large number of requests in a short time. 

Thanks,
On behalf of the Gentoo Sunrise Team,
Jeremy.

[1]: http://www.gentoo.org/proj/en/sunrise/
[2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq