econf for mpd-0.19.1 failed Reproducible: Always Steps to Reproduce: 1. emerge mpd Actual Results: >>> Emerging (1 of 1) media-sound/mpd-0.19.1 * mpd-0.19.1.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/3.16.0-pf1/build * Found sources for kernel version: * 3.16.0-pf1 * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking mpd-0.19.1.tar.xz to /var/tmp/portage/media-sound/mpd-0.19.1/work >>> Source unpacked in /var/tmp/portage/media-sound/mpd-0.19.1/work >>> Preparing source in /var/tmp/portage/media-sound/mpd-0.19.1/work/mpd-0.19.1 ... * Applying mpd-0.18.conf.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-sound/mpd-0.19.1/work/mpd-0.19.1 ... * econf: updating mpd-0.19.1/build/config.sub with /usr/share/gnuconfig/config.sub * econf: updating mpd-0.19.1/build/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdi r=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking --disable-libmpdclient --disable-expat --enable-upnp --dis able-adplug --enable-alsa --disable-ao --enable-audiofile --enable-bzip2 --disable-cdio-paranoia --disable-iso9660 --enable-curl --enable-smbclient --disable-nfs - -disable-debug --enable-ffmpeg --enable-fifo --enable-flac --disable-fluidsynth --disable-gme --enable-id3 --enable-inotify --enable-ipv6 --disable-jack --disable- soundcloud --enable-libwrap --disable-lsr --disable-soxr --enable-mad --disable-mikmod --disable-mms --disable-modplug --disable-mp4v2 --enable-mpc --enable-mpg123 --disable-openal --disable-opus --disable-oss --disable-pipe-output --disable-pulse --disable-recorder-output --disable-sidplay --disable-sndfile --enable-sqlite --disable-systemd-daemon --enable-vorbis --enable-wavpack --disable-wildmidi --disable-zzip --enable-icu --enable-glib --disable-aac --with-zeroconf=avahi --with-s ystemdsystemunitdir=/usr/lib/systemd/system --enable-database --disable-roar --disable-documentation --enable-dsd --enable-largefile --disable-despotify --disable- osx --disable-shine-encoder --disable-solaris-output --enable-tcp --enable-un --disable-werror --docdir=/usr/share/doc/mpd-0.19.1 --enable-shout --enable-vorbis-en coder --enable-httpd-output --enable-lame-encoder --disable-twolame-encoder --enable-wave-encoder --enable-neighbor-plugins checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for style of include used by make... GNU checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99... -std=gnu99 checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++... none checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking whether make sets $(MAKE)... (cached) yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking if g++ supports C++0x features without additional flags... no checking if g++ supports C++0x features with -std=c++0x... yes checking if g++ supports C++0x features with -std=gnu++0x... yes checking for library containing clock_gettime... none required checking for library containing syslog... none required checking for library containing socket... none required checking for library containing gethostbyname... none required checking for pipe2... yes checking for accept4... yes checking for getpwnam_r... yes checking for getpwuid_r... yes checking for eventfd... yes checking for signalfd... yes checking for library containing exp... -lm checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -std=gnu99 -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking valgrind/memcheck.h usability... no checking valgrind/memcheck.h presence... no checking for valgrind/memcheck.h... no checking sys/prctl.h usability... yes checking sys/prctl.h presence... yes checking for sys/prctl.h... yes checking for prctl... yes checking if compiler needs -Werror to reject unknown flags... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for pthread_setname_np in -lpthread... yes checking for poll... yes checking for epoll_create1... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for boostlib >= 1.46... yes checking for ICU... yes checking for GLIB... yes checking for ipv6... yes checking for struct ucred... yes checking for getpeereid... no checking for inotify_init... yes checking for inotify_init1... yes checking tcpd.h usability... yes checking tcpd.h presence... yes checking for tcpd.h... yes checking for request_init in -lwrap... yes checking whether libwrap is compatible with C++... yes checking for ID3TAG... yes checking for AVAHI... yes checking for SQLITE... yes checking for CURL... yes checking for SMBCLIENT... no checking for smbc_init in -lsmbclient... yes checking for ZLIB... yes configure: auto-detected zlib support checking for BZ2_bzDecompressInit in -lbz2... yes checking for bzip2... /bin/bzip2 configure: error: expat disabled -- required for UPnP !!! Please attach the following file when seeking support: !!! /var/tmp/portage/media-sound/mpd-0.19.1/work/mpd-0.19.1/config.log * ERROR: media-sound/mpd-0.19.1::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 3534: Called econf '--disable-libmpdclient' '--disable-expat' '--enable-upnp' '--disable-adplug' '--enable-alsa' '--disable-ao' '--enable-audiofile' '--enable-bzip2' '--disable-cdio-paranoia' '--disable-iso9660' '--enable-curl' '--enable-smbclient' '--disable-nfs' '--disable-debug' '--enable-ffmpeg' '--enable-fifo' '--enable-flac' '--disable-fluidsynth' '--disable-gme' '--enable-id3' '--enable-inotify' '--enable-ipv6' '--disable-jack' '--disable-soundcloud' '--enable-libwrap' '--disable-lsr' '--disable-soxr' '--enable-mad' '--disable-mikmod' '--disable-mms' '--disable-modplug' '--disable-mp4v2' '--enable-mpc' '--enable-mpg123' '--disable-openal' '--disable-opus' '--disable-oss' '--disable-pipe-output' '--disable-pulse' '--disable-recorder-output' '--disable-sidplay' '--disable-sndfile' '--enable-sqlite' '--disable-systemd-daemon' '--enable-vorbis' '--enable-wavpack' '--disable-wildmidi' '--disable-zzip' '--enable-icu' '--enable-glib' '--disable-aac' '--with-zeroconf=avahi' '--with-systemdsystemunitdir=/usr/lib/systemd/system' '--enable-database' '--disable-roar' '--disable-documentation' '--enable-dsd' '--enable-largefile' '--disable-despotify' '--disable-osx' '--disable-shine-encoder' '--disable-solaris-output' '--enable-tcp' '--enable-un' '--disable-werror' '--docdir=/usr/share/doc/mpd-0.19.1' '--enable-shout' '--enable-vorbis-encoder' '--enable-httpd-output' '--enable-lame-encoder' '--disable-twolame-encoder' '--enable-wave-encoder' '--enable-neighbor-plugins' * phase-helpers.sh, line 584: Called die * The specific snippet of code: * die "econf failed" Portage 2.2.8-r2 (default/linux/amd64/13.0/desktop, gcc-4.9.1, glibc-2.19-r1, 3.16.0-pf1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.16.0-pf1-x86_64-AMD_E-450_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.2 KiB Mem: 7761628 total, 3295148 free KiB Swap: 10485756 total, 10485756 free Timestamp of tree: Tue, 21 Oct 2014 00:45:01 +0000 ld GNU ld (GNU Binutils) 2.23.2 ccache version 3.1.9 [disabled] app-shells/bash: 4.2_p53 dev-java/java-config: 2.2.0 dev-lang/perl: 5.18.2-r2 dev-lang/python: 2.7.7, 3.3.5-r1, 3.4.1 dev-util/ccache: 3.1.9-r3 dev-util/cmake: 2.8.12.2-r1 dev-util/pkgconfig: 0.28-r1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.12.6, 1.13.4 sys-devel/binutils: 2.23.2 sys-devel/gcc: 4.9.1 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2-r1 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.13 (virtual/os-headers) sys-libs/glibc: 2.19-r1 Repositories: sunrise sublime-text mv bitcoin spring gentoo mipl_emc ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -fomit-frame-pointer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -fomit-frame-pointer -pipe" DISTDIR="/var/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.vectranet.pl/gentoo/ http://de-mirror.org/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/sublime-text /var/lib/layman/mv /var/lib/layman/bitcoin /var/lib/layman/Spring /usr/portage /usr/local/portage/gentoo.mipl" SYNC="rsync://rsync.pl.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups cxx dbus directfb djvu dri dts dvd dvdr emboss encode exif fam fbcon ffmpeg firefox flac fontconfig fortran gdbm gif glamor gnome-keyring gpm gstreamer gtk iconv icu ipv6 jpeg jpeg2k lame lcms ldap libnotify mad matroska mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp orc pam pango pcre pdf png policykit ppds quicktime raw readline samba sdl session smp spell sse sse2 sse3 ssl ssse3 startup-notification svg tcpd threads tiff truetype udev udisks unicode upnp upower usb v4l vim-syntax vorbis wmf wxwidgets x264 xcb xcomposite xinerama xml xpm xv xvid zeroconf zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en pl en_US pl_PL" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="radeon" XFCE_PLUGINS="brightness menu trash logout" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" USE_PYTHON="2.7 3.3" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
REQUIRED_USE=" ... upnp? ( expat )" maybe?
Adding expat USE flag solve problem, so so if upnp is set expat should be too.
Created attachment 387120 [details, diff] ebuild patch
(In reply to Michal Plichta from comment #3) > Created attachment 387120 [details, diff] [details, diff] > ebuild patch That patch doesn't solve the problem at all, try it ;) Jeroen already mentioned the proper fix in comment #1, which I just added in CVS.