Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271222 - games-arcade/ultrastar-ng-0.2.1-r1 fails to compile
Summary: games-arcade/ultrastar-ng-0.2.1-r1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-25 17:43 UTC by Federico Scrinzi (RETIRED)
Modified: 2009-05-30 16:26 UTC (History)
0 users

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


Attachments
ultrastar-ng-0.2.1-r2.ebuild (ultrastar-ng-0.2.1-r2.ebuild,2.26 KB, text/plain)
2009-05-28 15:34 UTC, Federico Scrinzi (RETIRED)
Details
files/ultrastar-ng-0.2.1-buildfix.patch (ultrastar-ng-0.2.1-buildfix.patch,881 bytes, text/plain)
2009-05-28 15:35 UTC, Federico Scrinzi (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Federico Scrinzi (RETIRED) gentoo-dev 2009-05-25 17:43:17 UTC
The error is this:
audio_dev_tone.cpp: In member function ‘void<unnamed>::tonegen::add(const std::string&)’:
audio_dev_tone.cpp:59: error: no match for ‘operator/’ in ‘<unnamed>::_1 / 2.0e+1’
make[2]: *** [audio_dev_tone.lo] Error 1

Here's the right ebuild with the patch
http://pastebin.com/d729eab7b
http://pastebin.com/d21e2ff6b

With this it works, hope it helps

Reproducible: Always

Steps to Reproduce:
1.compile games-arcade/ultrastar-ng-0.2.1-r1




Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r4-x86_64-Intel-R-_Core-TM-2_CPU_T7400_@_2.16GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 25 May 2009 16:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8
dev-lang/python:     2.6.2
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -march=core2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-Os -march=core2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.unina.it/pub/linux/distributions/gentoo"
LANG="it_IT.UTF-8" 
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1"  
LINGUAS="it en"    
MAKEOPTS="-j4"     
PKGDIR="/usr/portage/packages"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/x11 /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac aalib acl acpi alsa amd64 amd64codecs apache2 apm archive automount avi bash-completion bluetooth bzip2 cdaudio cdr cdrom chm cjk cli config-optimization cracklib crypt css cups curl custom-cflags custom-cpuopts custom-optimization dbus device-mapper dga directfb dri dv dvd dvdr dvdread en encode esd fbcon ffmpeg firefox flac flash fortran freetype ftp fuse gdbm gif gimp glibc-omitfp gmail gpg gpgme gpm gstreamer gtk gtk2 hal hdd-temp hddtemp iconv id3 id3tag ieee1394 ifp imagemagick imap imlib innodb inotify ipod ipv6 isdnlog java javascript joystick jpeg kqemu lame laptop libcaca libg++ libnotify lilo lirc lm_sensors loop-aes mad madwifi mbox midi mime mmap mmx mmxext mono mozilla mp2 mp3 mp3tunes mp4 mpd mpeg mplayer msn mtp mudflap multilib musepack musicbrainz mysql ncurses nls nntp nptl nptlonly nsplugin ntpl offensive ogg oggvorbis opengl openmp oss pam pcre pdf perl php pmu png pop posix ppds pppd python quicktime rar readline reflection restrict-javascript rss sdl session sidebar smime sms smtp socks5 spell spl sqlite sse sse2 ssl ssse3 svg sysfs tcpd theora tiff tk tordns truetype type1 unicode usb userlocales v4l v4l2 vcd vim-syntax visualization vorbis wavepack wifi xcomposite xine xinerama xml xml2 xorg xpm xterm-color xvid zip zlib" ALSA_CARDS="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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" LIRC_DEVICES="macmini" USERLAND="GNU" VIDEO_CARDS="intel vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tristan Heaven (RETIRED) gentoo-dev 2009-05-28 11:16:14 UTC
Please attach files here instead of linking to pastebins. It's expired already.
Comment 2 Federico Scrinzi (RETIRED) gentoo-dev 2009-05-28 15:34:41 UTC
Created attachment 192725 [details]
ultrastar-ng-0.2.1-r2.ebuild
Comment 3 Federico Scrinzi (RETIRED) gentoo-dev 2009-05-28 15:35:09 UTC
Created attachment 192726 [details]
files/ultrastar-ng-0.2.1-buildfix.patch
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2009-05-30 16:26:42 UTC
in portage.  thanks for the bug report and patch