Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151013 - media-sound/timidity++-2.13.2-r2 doesn't compile with 'flac' (with gcc-3.4.6 too)
Summary: media-sound/timidity++-2.13.2-r2 doesn't compile with 'flac' (with gcc-3.4.6 ...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-12 07:46 UTC by lefti
Modified: 2006-12-18 14:41 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lefti 2006-10-12 07:46:23 UTC
Hi,

emerge timidity++
(media-sound/timidity++-2.13.2-r2  USE="X alsa flac* ncurses speex vorbis -ao -arts -emacs -esd -gtk -jack -motif -nas -oss -portaudio -slang -tcltk")
fails with:

gcc-3.4.6:
flac_a.c: In function `flac_output_open':
flac_a.c:480: warning: passing arg 1 of `FLAC__stream_encoder_set_metadata_callback' from incompatible pointer type
flac_a.c:480: warning: passing arg 2 of `FLAC__stream_encoder_set_metadata_callback' from incompatible pointer type
flac_a.c: In function `close_output':
flac_a.c:816: error: structure has no member named `isogg'
flac_a.c:873: error: syntax error at end of input
flac_a.c: At top level:
flac_a.c:71: warning: 'acntl' used but never defined
make[2]: *** [flac_a.o] Error 1

with gcc-4.1.1:
flac_a.c: In function ‘flac_output_open’:
flac_a.c:480: warning: passing argument 1 of ‘FLAC__stream_encoder_set_metadata_callback’ from incompatible pointer type
flac_a.c:480: warning: passing argument 2 of ‘FLAC__stream_encoder_set_metadata_callback’ from incompatible pointer type
flac_a.c: In function ‘close_output’:
flac_a.c:816: error: ‘FLAC_options’ has no member named ‘isogg’
flac_a.c:857: error: invalid storage class for function ‘acntl’
flac_a.c:873: error: expected declaration or statement at end of input
make[2]: *** [flac_a.o] Error 1
make[2]: *** Waiting for unfinished jobs....
speex_a.c: In function ‘speex_mode_preset’:
speex_a.c:143: warning: assignment discards qualifiers from pointer target type
speex_a.c:146: warning: assignment discards qualifiers from pointer target type
speex_a.c:149: warning: assignment discards qualifiers from pointer target type
make[2]: Leaving directory `/home/tmp/portage/timidity++-2.13.2-r2/work/TiMidity++-2.13.2/timidity'
make[1]: *** [all-recursive] Error 1


without flac use flag compilation ends without error.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-12 07:51:20 UTC
Please post the output of 'emerge -pv flac timidity++', emerge --info and attach the output of 'MAKEOPTS="-j1" emerge timidity++ &> log' and reopen then.
Comment 2 Peter Ruskin 2006-12-18 14:41:24 UTC
Exactly the same here (USE="-flac" emerge timidity++ works fine).

# emerge --info
Portage 2.1.2_rc3-r6 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r4 i686)
=================================================================
System uname: 2.6.18-gentoo-r4 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.12.6
Last Sync: Mon, 18 Dec 2006 18:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
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
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="-O2 -march=athlon64 -msse3 -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/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /usr/X11R6/lib/X11/xkb"
CXXFLAGS="-O2 -march=athlon64 -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer nostrip notitles sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
LINGUAS="en_GB en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages/x86"
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="x86 3dnow 3dnowext 3ds S3TC X a52 aac aalib acpi aiglx akode amuled ao aoss aotuv arts artswrappersuid asf audiofile bash-completion berkdb binary-drivers bitmap-fonts bittorrent bzip2 calendar cddb cdparanoia chardet chroot clamav clamd cli cpudetection css cups curl curlwrappers dbase devmap dga divx dlloader doc dri dv dvdread elibc_glibc escreen examples exif extrafilters fame fat fbcon ffmpeg flac foomaticdb ftp fuse gdbm ggi gimp gimpprint gnokii gphoto2 gpm graphviz gs gtk2 html iconv imagemagick imlib innodb input_devices_aiptek input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_vmmouse interbase iodbc isdnlog java javascript jbig joystick jpeg2k kdexdeltas kernel_linux libg++ linguas_de linguas_en linguas_en_GB live lm_sensors maildir mbox mime mjpeg mmx mng modplug mono motif mozcalendar moznocompose moznoirc mysql mysqli ncurses network nls nptl nptlonly nsplugin odbc pcre pdf perl posix postgres ppds pppd python readline real reflection rtc samba scanner sensord session slang slp smartcard sms sox spl sqlite sqlite3 sse ssl svg tcltk tcpd tetex tga theora timidity tk truetype-fonts type1-fonts udev unicode userland_GNU utempter vcd vdr video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa videos vim-with-x wma wmf wxwindows xbase xine xorg xscreensaver xvid yv12 zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS