Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238718 - media-libs/FusionSound-1.1.1 - fusionsound.c:120: error: conflicting types for 'FusionSoundCreate'
Summary: media-libs/FusionSound-1.1.1 - fusionsound.c:120: error: conflicting types fo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Joerg Bornkessel (RETIRED)
URL:
Whiteboard:
Keywords:
: 254629 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-26 06:50 UTC by Thomas Raschbacher
Modified: 2009-06-05 21:29 UTC (History)
5 users (show)

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


Attachments
Build log (build.log,22.60 KB, text/plain)
2008-09-26 06:51 UTC, Thomas Raschbacher
Details
FusionSound-1.1.1-gcc43.patch (FusionSound-1.1.1-gcc43.patch,966 bytes, patch)
2009-01-16 13:43 UTC, Tupone Alfredo
Details | Diff
FusionSound-1.1.1.ebuild (FusionSound-1.1.1.ebuild,765 bytes, text/plain)
2009-01-16 13:45 UTC, Tupone Alfredo
Details
Fixes error: avcodec.h: No such file or directory (FusionSound-1.1.1-ffmpeg.patch,1.86 KB, patch)
2009-04-10 21:47 UTC, Víctor Ostorga (RETIRED)
Details | Diff
Patch to ebuild, includes both gcc 4.3 and ffmpeg patches (FusionSound-1.1.1-r1.patch,950 bytes, patch)
2009-04-10 21:53 UTC, Víctor Ostorga (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Raschbacher gentoo-dev 2008-09-26 06:50:47 UTC
# emerge --info
Portage 2.2_rc9 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1ATH64 x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-r1ATH64-x86_64-AMD_Turion-tm-_X2_Ultra_Dual-Core_Mobile_ZM-82-with-glibc2.2.5
Timestamp of tree: Wed, 24 Sep 2008 09:05:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-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/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/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache 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"
LDFLAGS="-Wl,-O1"
LINGUAS="en de ja"
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="/mnt/space/Portage/overlays/layman/sunrise /mnt/space/Portage/overlays/layman/enlightenment /mnt/space/Portage/overlays/layman/wschlich-testing"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac aalib acl acpi alsa amd64 amrnb amrwb apache2 applet aspnet beagle berkdb blender-game bluetooth branding bzip2 cairo cdda cddb cdio cdparanoia cdr cjk cli cracklib crypt cups curl cvs cxx dbus deskbar devhelp dga directfb disk-partition diskio djvu doc dri dts dvb dvd dvdr dvdread dvi edb editor eds elf emacs emboss encode esd evo exif expat extensible fam fat fbcon ffmpeg firefox flac fontconfig fortran freetds fuse galago gcdmaster gcj gd gdbm gedit ggi gif git glade glibc-compat20 gnome gnome-keyring gnomecd gphoto2 gpm gs gsf gstreamer gtk gtkhtml guile hal hddtemp httpd iconv id3tag idle imagemagick imap imlib iproute2 iptc ipv6 irda isdnlog jack jadetex java java6 jpeg kde kerberos ladspa lame laptop lcms ldap libcaca libnotify lirc live lm_sensors log4j loop-aes lzo mad matroska mfd-rewrites midi mikmod mmx mmxext mng module mono mouse mp2 mp3 mpeg mssql mudflap multilib musepack nautilus ncurses netjack network networking nls nptl nptlonly ntfs ntp objc odbc offensive ogg openal openexr opengl openmp pam pcre pdf perl php physfs player png pnm posix postgres ppds pppd python qt3 qt3support qt4 quicktime radio rar raw readline reflection reiserfs remoteosd rtc rtsp samba schroedinger sdl sdl-image sensord server session shout skins smp sndfile snmp soap sockets speex spell spl sql sqlite sqlite3 sse sse2 ssl startup-notification stream subversion svg swat sysfs syslog t1lib taglib tcpd tga theora threads tiff timidity tokenizer tools tracker trayicon truetype unicode usb v4l v4l2 vcd vcdx verse vim vorbis wavpack wddx wireshark wmf x264 xattr xcomposite xhtml xine xml xmlreader xmlrpc xmlwriter xorg xosd xpm xrandr xsl xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="atiixp atiixp-modem hda-intel intel8x0 intel8x0m usb-audio ymfpci" 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 auth_digest authn_dbd imagemap proxy proxy_http " ELIBC="glibc" INPUT_DEVICES="evdev keyboard joystick mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de ja" USERLAND="GNU" VIDEO_CARDS="fbdev radeon radeonhd vesa v4l vga fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Attached build log
Comment 1 Thomas Raschbacher gentoo-dev 2008-09-26 06:51:38 UTC
Created attachment 166452 [details]
Build log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-26 15:03:07 UTC
Thomas - please use your privilege to assign bugs yourself, if you have it.
Comment 3 Alex 2008-10-21 22:01:06 UTC
blue vulzscht # emerge --info                                                                              
Portage 2.2_rc12 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r7 i686)      
=================================================================                                          
System uname: Linux-2.6.25-gentoo-r7-i686-Intel-R-_Celeron-R-_CPU_540_@_1.86GHz-with-glibc2.0              
Timestamp of tree: Tue, 21 Oct 2008 10:15:01 +0000                                                         
app-shells/bash:     3.2_p39                                                                               
dev-java/java-config: 1.3.7, 2.1.6-r1                                                                      
dev-lang/python:     2.5.2-r8                                                                              
dev-util/cmake:      2.6.2                                                                                 
sys-apps/baselayout: 2.0.0                                                                                 
sys-apps/openrc:     0.3.0-r1                                                                              
sys-apps/sandbox:    1.2.18.1-r3                                                                           
sys-devel/autoconf:  2.13, 2.63                                                                            
sys-devel/automake:  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="-O2 -march=pentium4 -fomit-frame-pointer -pipe"                                                    
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/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config /var/lib/hsqldb"                                                                                               
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/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"                                                                                                                     
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"                                                                                   
DISTDIR="/usr/portage/distfiles"                                                                                                            
FEATURES="distlocks metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"                                                                                                                                 
GENTOO_MIRRORS="ftp://192.168.0.1/gentoo-distfiles"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j2"
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/sunrise /usr/local/portage/layman/zugaina /usr/local/portage/layman/vmware /usr/local/portage/layman/desktop-effects"
SYNC="rsync://192.168.0.1/gentoo/gentoo-portage"
USE="X a52 aac aalib acl acpi ahavi alsa apache2 arts atm bash-completion bluetooth branding bzip2 cairo caps cddb cdparanoia cdr cli cracklib crypt cscope css cups curl dbus dri dts dvb dvd dvdr dvdread eds encode enscript esd exif ffmpeg flac foomaticdb fortran ftp gdbm gif glitz glut gnome gnutls gpm gsl gstreamer gtk hal hddtemp iconv ieee1394 imagemagick imlib ipv6 isdnlog jack java javascript jbig jpeg jpeg2k kde kdeprefix kerberos kpathsea ladspa lame lcms ldap libcaca lirc lm_sensors lua mad matroska midi mikmod mng modplug mono mp3 mpeg mplayermudflap musepack musicbrainz mysql nas ncurces ncurses netboot nls nntp nptl nptlonly nsplugin ntl odbc ogg openal openexr opengl openmp pam pcre pdf perl png pppd python qt qt3 qt4 quicktime readline reflection samba sdl sensord session slang spell spl sse sse2 ssl subversion svg svga symlink sysfs syslog tcl tcpd tiff truetype unicode usb v4l v4l2 vcd vhosts vnc vorbis wavpack webdav wifi win32codecs x264 x86 xattr xcb xinerama xinetd xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 evdev microtouch mutouch synaptics wacom vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="vesa intel i740 i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 4 Alex 2008-10-21 22:02:13 UTC
have the same error with same output in build log
Comment 5 misko 2008-11-11 21:09:26 UTC
I'm in the same situation, emerge --sync doesn't help yet
Comment 6 Hans Meier 2008-11-17 21:19:22 UTC
I have the same Errors, please help


/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I../src -D_REENTRANT -I/usr/include/directfb    -D_GNU_SOURCE   -Wall -O3 -ffast-math -pipe -march=athlon64 -O2 -pipe -Werror-implicit-function-declaration -MT ifusionsoundstream.lo -MD -MP -MF .deps/ifusionsoundstream.Tpo -c -o ifusionsoundstream.lo ifusionsoundstream.c
fusionsound.c:120: error: conflicting types for 'FusionSoundCreate'
../include/fusionsound.h:101: error: previous declaration of 'FusionSoundCreate' was here
fusionsound.c:164: error: conflicting types for 'FusionSoundError'
../include/fusionsound.h:109: error: previous declaration of 'FusionSoundError' was here
fusionsound.c:175: error: conflicting types for 'FusionSoundErrorFatal'
../include/fusionsound.h:117: error: previous declaration of 'FusionSoundErrorFatal' was here
fusionsound.c:183: error: conflicting types for 'FusionSoundErrorString'
../include/fusionsound.h:125: error: previous declaration of 'FusionSoundErrorString' was here
make[3]: *** [fusionsound.lo] Error 1

Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2008-12-12 11:25:30 UTC
FusionSound ebuild is incomplete also, missing USE flags, deps, and should have not entered the tree with such a poor quality it is now. While fixing this bug,
please rewrite the ebuild.
Comment 8 Tupone Alfredo gentoo-dev 2009-01-16 13:43:54 UTC
Created attachment 178691 [details, diff]
FusionSound-1.1.1-gcc43.patch

A patch to fix the gcc-43 build
Comment 9 Tupone Alfredo gentoo-dev 2009-01-16 13:45:44 UTC
Created attachment 178692 [details]
FusionSound-1.1.1.ebuild

This ebuild only apply the patch attached. Does not fix problems with "unused" USE flags and dependencies
Comment 10 Víctor Ostorga (RETIRED) gentoo-dev 2009-04-10 21:47:20 UTC
Created attachment 187923 [details, diff]
Fixes error: avcodec.h: No such file or directory

The fix for gcc 4.3 works pretty good, but a new error rises about avcodec.h
This patch fix avcodec error
Comment 11 Víctor Ostorga (RETIRED) gentoo-dev 2009-04-10 21:53:31 UTC
Created attachment 187924 [details, diff]
Patch to ebuild, includes both gcc 4.3 and ffmpeg patches

This makes things easier to everyone, patch the current ebuild in portage to include bot gcc 4.3 and ffmpeg patches.

Now FusionSound 1.1.1 compiles fine, also I have tested it with Clanbomber and have no problems playing it :).
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2009-06-05 20:52:05 UTC
*** Bug 254629 has been marked as a duplicate of this bug. ***
Comment 13 Samuli Suominen (RETIRED) gentoo-dev 2009-06-05 21:29:22 UTC
Everything mentioned here fixed and lot's more. Thanks guys.