Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151382 - media-sound/sonic-rainbow-*: Incompatible with GCC4, FLAC 1.1.3
Summary: media-sound/sonic-rainbow-*: Incompatible with GCC4, FLAC 1.1.3
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2006-10-14 13:11 UTC by Dustin Polke
Modified: 2007-08-08 15:08 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge.info,7.30 KB, text/plain)
2006-10-14 13:13 UTC, Dustin Polke
Details
sonic-rainbow-BETA-0.6.2.2-fix.patch (sonic-rainbow-BETA-0.6.2.2-fix.patch,1.22 KB, patch)
2007-04-22 19:09 UTC, Stian Skjelstad
Details | Diff
unfinished sonic-rainbow-0.7.2.2.ebuild for testing. (sonic-rainbow-0.7.2.2.ebuild,1.02 KB, text/plain)
2007-07-27 13:57 UTC, Samuli Suominen (RETIRED)
Details
sonic-rainbow-0.7.2.2-gcc.patch (sonic-rainbow-0.7.2.2-gcc.patch,1.23 KB, patch)
2007-07-27 13:58 UTC, Samuli Suominen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dustin Polke 2006-10-14 13:11:57 UTC
Here is the error message thrown during emerge:

cdplayer.c: In function 
Comment 1 Dustin Polke 2006-10-14 13:11:57 UTC
Here is the error message thrown during emerge:

cdplayer.c: In function bizzo:
cdplayer.c:477: error: dereferencing pointer to incomplete type
make[2]: *** [cdplayer.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/sonic-rainbow-0.6.2.2/work/sonic-rainbow/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sonic-rainbow-0.6.2.2/work/sonic-rainbow'
make: *** [all-recursive-am] Error 2

!!! ERROR: media-sound/sonic-rainbow-0.6.2.2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 608:   Called die
Comment 2 Dustin Polke 2006-10-14 13:13:21 UTC
Created attachment 99675 [details]
emerge --info
Comment 3 Sascha Teske 2007-02-04 05:54:01 UTC
yeah i have exactly the same problem.
emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.19-suspend2-r1 i686)
=================================================================
System uname: 2.6.19-suspend2-r1 i686 Genuine Intel(R) CPU           T2500  @ 2.00GHz
Gentoo Base System version 1.12.6
Last Sync: Sat, 03 Feb 2007 17:00:02 +0000
ccache version 2.4 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31
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.17
sys-devel/autoconf:  2.13, 2.61
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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe -fPIC"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/service"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d /etc/java-config/vms/ /etc/rc.d /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/wget"
CXXFLAGS="-O3 -march=pentium-m -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe -fPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks fixpackages metadata-transfer sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://85.25.128.62 http://ftp.club-internet.fr/pub/mirrors/gentoo"
LINGUAS="de en de_DE"
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/local/portage /usr/portage/local/layman/vmware"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 GAPING_SECURITY_HOLE X acpi alsa alsa_cards_hda-intel alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apm bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdinstall cjk cli cracklib crypt cups dbus dllloader dlloader dmxi dpms dri dvb eds elibc_glibc emboss encode examples firefox flac foomaticdb fortran fritzcapi_cards_fcusb gdbm gif gnutls gpm gstreamer gtk gtk2 gzip iconv idn imlib input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 ipv6arpa isdnlog ithreads jikes jpeg kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text libg++ libwww lighttpd linguas_de linguas_de_DE linguas_en logrotate mad midi mikmod mmx motif mp3 mpeg mysql ncurses nls nptl nptlonly ogg opengl oss pam pcre png pppd qt4 quicktime readline reflection ruby sdl session spell spl sse sse2 ssl tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU utf8 vhosts video_cards_nv video_cards_nvidia video_cards_svga video_cards_vesa vorbis xinerama xml xorg xprint xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Stian Skjelstad 2007-04-22 19:09:13 UTC
Created attachment 117012 [details, diff]
sonic-rainbow-BETA-0.6.2.2-fix.patch

cddb is now hiding internal structs, so you have to use function-calls instead (I think I got the right one)

And one gcc 4.x update (you should never typecast the lvalue in an assignment)
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2007-07-27 13:56:29 UTC
After applying fix from this bug to version 0.7.2.2, it fails because it doesn't support >= flac-1.1.3

oggplayer.c:55:41: error: FLAC/seekable_stream_decoder.h: No such file or directory
oggplayer.c: In function ‘play_single_mp3’:
oggplayer.c:614: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
oggplayer.c:615: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
oggplayer.c:632: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
oggplayer.c:633: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
oggplayer.c: In function ‘load_play’:
oggplayer.c:1718: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
oggplayer.c:1719: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
oggplayer.c:1736: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
oggplayer.c:1737: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
oggplayer.c:1818: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
oggplayer.c:1819: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
oggplayer.c:1836: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
oggplayer.c:1837: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
oggplayer.c: In function ‘single_mp3’:
oggplayer.c:2905: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
oggplayer.c:2906: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
oggplayer.c:2923: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
oggplayer.c:2924: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
oggplayer.c: In function ‘MpegAudioDecoder’:
oggplayer.c:3322: warning: pointer targets in passing argument 2 of ‘ao_play’ differ in signedness
oggplayer.c:3391: warning: pointer targets in passing argument 2 of ‘ao_play’ differ in signedness
oggplayer.c: In function ‘get_flac_labels’:
oggplayer.c:3686: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
oggplayer.c:3686: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
oggplayer.c:3686: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
oggplayer.c:3686: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
oggplayer.c:3686: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
oggplayer.c:3686: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
oggplayer.c:3693: warning: pointer targets in passing argument 2 of ‘__builtin_strncpy’ differ in signedness
oggplayer.c:3698: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
oggplayer.c:3698: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
oggplayer.c:3698: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
oggplayer.c:3698: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
oggplayer.c:3698: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
oggplayer.c:3698: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
oggplayer.c:3706: warning: pointer targets in passing argument 2 of ‘__builtin_strncpy’ differ in signedness
oggplayer.c: In function ‘play_flac’:
oggplayer.c:3750: warning: implicit declaration of function ‘FLAC__stream_decoder_set_read_callback’
oggplayer.c:3751: warning: implicit declaration of function ‘FLAC__stream_decoder_set_write_callback’
oggplayer.c:3752: warning: implicit declaration of function ‘FLAC__stream_decoder_set_metadata_callback’
oggplayer.c:3753: warning: implicit declaration of function ‘FLAC__stream_decoder_set_error_callback’
oggplayer.c:3757: warning: implicit declaration of function ‘FLAC__stream_decoder_init’
oggplayer.c:3762: error: lvalue required as left operand of assignment
make[2]: *** [oggplayer.o] Error 1
make[2]: *** Waiting for unfinished jobs....
cdripper.c: In function ‘wav_to_mp3’:
cdripper.c:1963: warning: pointer targets in passing argument 5 of ‘lame_encode_buffer’ differ in signedness
cdripper.c:1979: warning: pointer targets in passing argument 5 of ‘lame_encode_buffer’ differ in signedness
cdripper.c:1987: warning: pointer targets in passing argument 2 of ‘lame_encode_flush’ differ in signedness
cdripper.c: In function ‘wav_to_flac’:
cdripper.c:2391: error: ‘FLAC__FileEncoder’ undeclared (first use in this function)
cdripper.c:2391: error: (Each undeclared identifier is reported only once
cdripper.c:2391: error: for each function it appears in.)
cdripper.c:2391: error: ‘fe’ undeclared (first use in this function)
cdripper.c:2392: error: ‘FLAC__FileEncoderState’ undeclared (first use in this function)
cdripper.c:2392: error: expected ‘;’ before ‘fs’
cdripper.c:2408: warning: implicit declaration of function ‘FLAC__file_encoder_new’
cdripper.c:2409: warning: implicit declaration of function ‘FLAC__file_encoder_set_filename’
cdripper.c:2410: warning: implicit declaration of function ‘FLAC__file_encoder_set_bits_per_sample’
cdripper.c:2411: warning: implicit declaration of function ‘FLAC__file_encoder_set_sample_rate’
cdripper.c:2412: warning: implicit declaration of function ‘FLAC__file_encoder_set_channels’
cdripper.c:2413: error: ‘fs’ undeclared (first use in this function)
cdripper.c:2413: warning: implicit declaration of function ‘FLAC__file_encoder_init’
cdripper.c:2428: warning: implicit declaration of function ‘FLAC__file_encoder_process_interleaved’
cdripper.c:2453: warning: implicit declaration of function ‘FLAC__file_encoder_finish’
cdripper.c:2454: warning: implicit declaration of function ‘FLAC__file_encoder_delete’
cdripper.c: In function ‘add_flac_tag’:
cdripper.c:2504: warning: value computed is not used
cdripper.c: In function ‘set_vc_field’:
cdripper.c:2589: warning: pointer targets in assignment differ in signedness
cdripper.c:2602: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
make[2]: *** [cdripper.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-sound/sonic-rainbow-0.7.2.2/work/sonic-rainbow/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-sound/sonic-rainbow-0.7.2.2/work/sonic-rainbow'
make: *** [all-recursive-am] Error 2
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2007-07-27 13:57:33 UTC
Created attachment 126162 [details]
unfinished sonic-rainbow-0.7.2.2.ebuild for testing.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2007-07-27 13:58:27 UTC
Created attachment 126163 [details, diff]
sonic-rainbow-0.7.2.2-gcc.patch

Patch from this bug to new version to go with the attached ebuild.
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2007-07-27 14:03:13 UTC
Other devs in sound, this application seems broken in many different ways. Upstream is dead, and it's still depending on GTK+-1.2. I would like to punt it asap, any objections?
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2007-07-27 18:22:48 UTC
Masked for removal, was discussed and agreed in #-media, Freenode.