I tried to upgrade mpd but got an error about a header file missing. Reproducible: Always Steps to Reproduce: 1. sudo emerge -qu mpd Actual Results: >>> Verifying ebuild manifests >>> Emerging (1 of 1) media-sound/mpd-0.15_beta2 >>> Failed to emerge media-sound/mpd-0.15_beta2, Log file: >>> '/var/tmp/portage/media-sound/mpd-0.15_beta2/temp/build.log' * Applying 0.15_beta2-mpdconf.patch ... [ ok ] configure: WARNING: unrecognized options: --disable-oggflag checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk [snip] checking for libOggFLAC... yes [snip] ########### MPD CONFIGURATION ############ Client Support: IPv6 support ..................disabled TCP support ...................enabled Unix domain socket support ....enabled Playback Support: ALSA support ..................enabled FIFO support ..................enabled HTTP daemon support ...........enabled JACK support ..................disabled libao support .................disabled OSS support ...................disabled OS X support ..................disabled Pipeline output support .......disabled PulseAudio support ............disabled Media MVP support .............disabled SHOUTcast support .............enabled Solaris /dev/audio support ....disabled Streaming Encoder Support: LAME mp3 encoder ..............disabled Ogg Vorbis encoder ............enabled File Format Support: AAC support ...................enabled C64 SID support ...............disabled FFMPEG support ................enabled FLAC support ..................disabled fluidsynth MIDI support .......disabled MikMod support ................disabled MODPLUG support ...............disabled MAD mp3 decoder support .......enabled MP4 support ...................disabled Musepack (MPC) support ........disabled OggFLAC support ...............enabled Ogg Vorbis support ............enabled using tremor.................no Wave file support .............disabled WavPack support ...............disabled wildmidi MIDI support .........disabled Archive support: BZ2 archives support ..........enabled ISO 9660 archives support .....disabled ZIP archives support ..........disabled Streaming support: last.fm radio support .........disabled libcurl support (streaming) ...enabled libmms support ................disabled Other features: ID3 tag support ...............enabled libsamplerate support .........disabled Zeroconf support ..............disabled libcue support ................disabled ########################################## Generating needed files for compilation configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --disable-oggflag [snip] if x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I. -I./src -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/alsa -pthread -D_FILE_OFFS ET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wextra -Wno-deprecated-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wshadow -Wpointer-arith -Wstrict-prototypes -Wcast-qual -Ww rite-strings -pedantic -D_GNU_SOURCE -I/usr/include -march=core2 -O2 -pipe -fomit-frame-pointer -MT src_mpd-encoder_list.o -MD -MP -MF ".deps/src_mpd-encoder_list.Tpo" -c -o src_mpd-encoder_list.o `test -f 's rc/encoder_list.c' || echo './'`src/encoder_list.c; \ then mv -f ".deps/src_mpd-encoder_list.Tpo" ".deps/src_mpd-encoder_list.Po"; else rm -f ".deps/src_mpd-encoder_list.Tpo"; exit 1; fi src/decoder/oggflac_plugin.c:28:45: error: OggFLAC/seekable_stream_decoder.h: No such file or directory src/decoder/oggflac_plugin.c:33: error: expected declaration specifiers or ‘...’ before ‘OggFLAC__SeekableStreamDecoder’ src/decoder/oggflac_plugin.c: In function ‘oggflac_cleanup’: src/decoder/oggflac_plugin.c:37: error: ‘decoder’ undeclared (first use in this function) src/decoder/oggflac_plugin.c:37: error: (Each undeclared identifier is reported only once [snip] make[1]: *** [src_mpd-oggflac_plugin.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/media-sound/mpd-0.15_beta2/work/mpd-0.15~beta2' make: *** [all] Error 2 * * ERROR: media-sound/mpd-0.15_beta2 failed. * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 2515: Called _eapi2_src_compile * ebuild.sh, line 625: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-sound/mpd-0.15_beta2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/mpd-0.15_beta2/temp/environment'. * > emerge -pvu mpd These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] media-sound/mpd-0.15_beta2 [0.14.2] USE="aac alsa bzip2%* curl ffmpeg fifo%* id3 mad network%* ogg sqlite%* unicode vorbis -ao -audiofile -avahi% -cdio% -cue% -debug -doc -flac -fluidsynth% -ipv6 -jack -lame -lastfmradio% -libmms% -libsamplerate -mikmod -modplug% -musepack -oss -pipe% -profile% -pulseaudio -sid% -wavpack -zip% (-icecast%) (-zeroconf%)" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB > emerge --info Portage 2.1.6.11 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r5-1 x86_64) ================================================================= System uname: Linux-2.6.28-gentoo-r5-1-x86_64-Intel-R-_Core-TM-2_CPU_T5600_@_1.83GHz-with-glibc2.2.5 Timestamp of tree: Wed, 20 May 2009 22:45:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.7 dev-lang/python: 2.5.4-r2 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer" 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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.ncnu.edu.tw/Linux/Gentoo/ ftp://ftp.ncnu.edu.tw/Linux/Gentoo/ http://ftp.cs.pu.edu.tw/Linux/Gentoo/ ftp://ftp.cs.pu.edu.tw/Linux/Gentoo/ http://gentoo.cs.nctu.edu.tw/gentoo/ ftp://gentoo.cs.nctu.edu.tw/gentoo/ " LANG="en_US.utf8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" 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=" " SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="X aac acl acpi alsa amd64 apm bash-completion bdf berkdb bzip2 cairo caps cleartype cli cracklib crypt curl custom-optimization dbus dell disk-partition dri encode exif ffmpeg fortran gd gdbm gif gimp gnutls gpm gtk hal iconv isdnlog jpeg jpeg2k laptop lzma lzo midi mmx module mp3 mpd mudflap multilib ncurses nls nptl nptlonly nss ogg opengl openmp openntpd pam pcre perl pkcs11 png pppd python qt4 raw readline reflection sdl session smp soup spl sqlite sse sse2 ssh ssl ssse3 svg sysfs tcpd theora threads tiff timezone toolbar truetype unicode usb v4l v4l2 vim-syntax vorbis x264 xattr xcb xft xinerama xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="synaptics wacom evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fglrx radeon v4l vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
> configure: WARNING: unrecognized options: --disable-oggflag This was fixed sometime ago, please try again.