Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146475 - [GCC 4.1] yiff-2.14.2 and 2.14.5 don't compile
Summary: [GCC 4.1] yiff-2.14.2 and 2.14.5 don't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 153064 (view as bug list)
Depends on: 166143
Blocks: 117482 139731
  Show dependency tree
 
Reported: 2006-09-05 16:33 UTC by Pacho Ramos
Modified: 2007-02-10 00:17 UTC (History)
2 users (show)

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


Attachments
Patch ebuild to compile with USE=kde (yiff-2.14.5.ebuild.patch,1.46 KB, patch)
2006-10-08 16:07 UTC, Malcolm Lashley (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2006-09-05 16:33:35 UTC
I get the following:
cc -c ycfile.c `gtk-config --cflags` -O2 -pipe -fomit-frame-pointer -march=pentium-m -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DALSA_RUN_CONFORM -DOSS -DOSS_BUFFRAG -DYSHM_SUPPORT -D__USE_BSD
cc -c ycpagechange.c `gtk-config --cflags` -O2 -pipe -fomit-frame-pointer -march=pentium-m -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DALSA_RUN_CONFORM -DOSS -DOSS_BUFFRAG -DYSHM_SUPPORT -D__USE_BSD
cc -c ycutils.c `gtk-config --cflags` -O2 -pipe -fomit-frame-pointer -march=pentium-m -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DALSA_RUN_CONFORM -DOSS -DOSS_BUFFRAG -DYSHM_SUPPORT -D__USE_BSD
c++ -c disk.cpp `gtk-config --cflags` -O2 -pipe -fomit-frame-pointer -march=pentium-m -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DALSA_RUN_CONFORM -DOSS -DOSS_BUFFRAG -DYSHM_SUPPORT -D__USE_BSD -D__cplusplus -Dc_plusplus
disk.cpp: In function 'int ISPATHABSOLUTE(const char*)':
disk.cpp:133: error: invalid cast from type 'char' to type 'char'
disk.cpp:133: error: invalid cast from type 'char' to type 'char'
make[1]: *** [disk.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/yiff-2.14.2/work/yiff-2.14.2/yiffconfig'
make: *** [linux] Error 2

My emerge --info
Portage 2.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-suspend2-r4 i686)
=================================================================
System uname: 2.6.17-suspend2-r4 i686 Genuine Intel(R) CPU           T2300  @ 1.66GHz
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=pentium-m"
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/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -mfpmath=sse -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ "
LANG="es_ES@euro"
LC_ALL="es_ES@euro"
LINGUAS="es en_US"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa ansi apache2 arts asf audiofile avi bash-completion bcmath beagle bidi bitmap-fonts bonobo bzip2 bzlib cairo caps cdb cddb cdparanoia cdr cdrparanoia cli cpdflib cross crypt cscope css ctype cups curl curlwrappers dbus dga dio directfb divx4linux dlloader dri dts dv dvb dvd dvdr dvdread eds encode escreen esd evo exif fam fbcon ffmpeg fftw firefox flac foomaticdb fortran ftp gb gcj gd ggi gif gimp gimpprint glitz glut glx gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl iconv imagemagick imlib ipv6 isdnlog jabber jack java jikes jpeg kde kdeenablefinal kdehiddenvisibility latex lcms ldap lesstif libg++ libnotify logrotate lua mad mbox mikmod mime ming mmap mmx mmxext mng mono motif mp3 mpeg mpi mplayer musepack nas ncurses nethack nls nocd nptl nptlonly nsplugin ntfs nvidia ogg oggvorbis openal opengl opnegl oss pam pcmcia pcre pdf pdflib perl pic png pnp posix ppds pppd python qt qt3 qt4 quicktime readline real reflection reiserfs rtc ruby scanner sdl seamonkey session slang slp smp sndfile sockets socks5 speex spell spl sse sse2 ssl svg syslog tcltk tcpd tetex tga theora threads tiff truetype truetype-fonts trusted type1-fonts udev unicode usb userlocales v4l v4l2 vcd videos vim vorbis wifi win32codecs wma wmf wxwindows x86 xine xml xml2 xmms xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_es linguas_en_US userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-16 05:41:36 UTC
Try w/ 2.14.5 please.
Comment 2 Pacho Ramos gentoo-dev 2006-09-16 08:03:39 UTC
I cannot compile it, because it is blocked by kmultimedia (that also installs kmid).

The following bug should be fixed before I can test this new yiff version:
http://bugs.gentoo.org/show_bug.cgi?id=136477

Thanks a lot
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-01 23:51:48 UTC
Bug 136477 is solved, please test 2.14.5 then.
Comment 4 Pacho Ramos gentoo-dev 2006-10-02 02:26:15 UTC
yiff-2.14.5 fails to merge with the following error:

cc -c midiiow.c  -O2 -pipe -fomit-frame-pointer -march=pentium-m -mfpmath=sse -m sse3 -DHAVE_LIBKMID -DALSA_RUN_CONFORM -DOSS -DOSS_BUFFRAG -DYSHM_SUPPORT -D__US E_BSD
cc -c playstack.c  -O2 -pipe -fomit-frame-pointer -march=pentium-m -mfpmath=sse -msse3 -DHAVE_LIBKMID -DALSA_RUN_CONFORM -DOSS -DOSS_BUFFRAG -DYSHM_SUPPORT -D__ USE_BSD
midiiow.c:12:30: error: libkmid/libkmid.h: No such file or directory
make[1]: *** [midiiow.o] Error 1



________________
Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.18-suspend2 i686)
=================================================================
System uname: 2.6.18-suspend2 i686 Genuine Intel(R) CPU           T2300  @ 1.66GHz
Gentoo Base System version 1.12.5
Last Sync: Sun, 01 Oct 2006 20:50:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=pentium-m -mfpmath=sse -msse3"
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/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=pentium-m -mfpmath=sse -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ "
LANG="es_ES@euro"
LC_ALL="es_ES@euro"
LINGUAS="es en_US"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa ansi apache2 arts asf audiofile avi bash-completion bcmath beagle bidi bitmap-fonts bonobo bzip2 bzlib cairo caps cdb cddb cdparanoia cdr cdrparanoia cli cpdflib cross crypt cscope css ctype cups curl curlwrappers dbus dga dio directfb divx4linux dlloader dri dts dv dvb dvd dvdr dvdread eds elibc_glibc encode escreen esd evo exif fam fbcon ffmpeg fftw firefox flac foomaticdb fortran ftp gb gcj gd ggi gif gimp gimpprint glitz glut glx gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl iconv imagemagick imlib input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog jabber jack java jikes jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux latex lcms ldap lesstif libg++ libnotify linguas_en_US linguas_es logrotate lua mad mbox mikmod mime ming mmap mmx mmxext mng mono motif mp3 mpeg mpi mplayer musepack nas ncurses nethack nls nocd nptl nptlonly nsplugin ntfs nvidia ogg oggvorbis openal opengl opnegl oss pam pcmcia pcre pdf pdflib perl pic png pnp posix ppds pppd python qt qt3 qt4 quicktime readline real reflection reiserfs rpm rtc ruby scanner sdl seamonkey session slang slp smp sndfile sockets socks5 speex spell spl sse sse2 sse3 ssl svg syslog tcltk tcpd tetex tga theora threads tiff truetype truetype-fonts trusted type1-fonts udev unicode usb userland_GNU userlocales v4l v4l2 vcd video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa videos vim vorbis wifi win32codecs wma wmf wxwindows x86 xine xml xml2 xmms xorg xpm xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 5 Malcolm Lashley (RETIRED) gentoo-dev 2006-10-08 16:07:40 UTC
Created attachment 99169 [details, diff]
Patch ebuild to compile with USE=kde

This patch should fix building with USE=kde, can someone from sound herd please check and commit? (I've tested yiff with games-simulation/searchandrescue)

Cheers,
malc@gentoo.org
Comment 6 Tupone Alfredo gentoo-dev 2006-10-25 12:10:05 UTC
Patch applied. Thanks for report and patch
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-10-27 15:04:26 UTC
*** Bug 153064 has been marked as a duplicate of this bug. ***