kid3-0.6 can't be build on a system with kde but without arts (i know this is a
mad setup, but i like alsa and hate the arts locking the sound device) on the
~x86 tree.
Reproducible: Always
Steps to Reproduce:
1. Build a system with kde and USE='-arts' and ACCEPT_KEYWORDS='~x86'
2. emerge kid3
Actual Results:
localhost ~ # emerge kid3
Calculating dependencies ...done!
>>> emerge (1 of 1) media-sound/kid3-0.6 to /
>>> md5 files ;-) kid3-0.5.ebuild
>>> md5 files ;-) kid3-0.6.ebuild
>>> md5 files ;-) files/digest-kid3-0.5
>>> md5 files ;-) files/digest-kid3-0.6
>>> md5 files ;-) files/kid3-0.5-configure.patch
>>> md5 src_uri ;-) kid3-0.6.tar.gz
>>> Unpacking source...
>>> Unpacking kid3-0.6.tar.gz to /var/tmp/portage/kid3-0.6/work
>>> Source unpacked.
* econf: updating kid3-0.6/admin/config.guess
with /usr/share/gnuconfig/config.guess
* econf: updating kid3-0.6/admin/config.sub
with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --with-kde --with-vorbis --with-flac
--with-musicbrainz --build=i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for kde-config... /usr/kde/3.4/bin/kde-config
checking where to install... /usr (as requested)
checking for style of include used by make... GNU
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
.....
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... libraries /usr/kde/3.4/lib, headers /usr/kde/3.4/include
checking if UIC has KDE plugins available... yes
checking for KDE paths... defaults
checking for dcopidl... /usr/kde/3.4/bin/dcopidl
checking for dcopidl2cpp... /usr/kde/3.4/bin/dcopidl2cpp
checking for mcopidl... not found
configure: error: The important program mcopidl was not found!
Please check whether you installed aRts correctly or use
--without-arts to compile without aRts support (this will remove
functionality).
!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/kid3-0.6/work/kid3-0.6/config.log
!!! ERROR: media-sound/kid3-0.6 failed.
!!! Function econf, Line 495, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.
Expected Results:
localhost ~ # emerge -v kid3
Calculating dependencies ...done!
>>> emerge (1 of 1) media-sound/kid3-0.6 to /
>>> md5 files ;-) kid3-0.5.ebuild
>>> md5 files ;-) kid3-0.6.ebuild
>>> md5 files ;-) files/digest-kid3-0.5
>>> md5 files ;-) files/digest-kid3-0.6
>>> md5 files ;-) files/kid3-0.5-configure.patch
>>> md5 src_uri ;-) kid3-0.6.tar.gz
>>> Unpacking source...
>>> Unpacking kid3-0.6.tar.gz to /var/tmp/portage/kid3-0.6/work
>>> Source unpacked.
QA Notice: USE Flag 'arts' not in IUSE for media-sound/kid3-0.6
* econf: updating kid3-0.6/admin/config.guess
with /usr/share/gnuconfig/config.guess
* econf: updating kid3-0.6/admin/config.sub
with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --with-kde --with-vorbis --with-flac
--with-musicbrainz --without-arts --build=i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
....
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... libraries /usr/kde/3.4/lib, headers /usr/kde/3.4/include
checking if UIC has KDE plugins available... yes
checking for KDE paths... defaults
checking for dcopidl... /usr/kde/3.4/bin/dcopidl
checking for dcopidl2cpp... /usr/kde/3.4/bin/dcopidl2cpp
checking for meinproc... /usr/kde/3.4/bin/meinproc
checking for xmllint... /usr/bin/xmllint
checking for library containing ID3Tag_Link... -lid3
checking for id3lib VBR support... yes
checking tunepimp/tp_c.h usability... yes
checking tunepimp/tp_c.h presence... yes
checking for tunepimp/tp_c.h... yes
checking vorbis/codec.h usability... yes
checking vorbis/codec.h presence... yes
checking for vorbis/codec.h... yes
checking FLAC++/metadata.h usability... yes
checking FLAC++/metadata.h presence... yes
checking for FLAC++/metadata.h... yes
checking for FLAC__StreamMetadata operator... yes
checking if admin should be compiled... no
checking if doc should be compiled... yes
checking if kid3 should be compiled... yes
checking if po should be compiled... yes
configure: creating ./config.status
fast creating Makefile
fast creating admin/Makefile
fast creating doc/Makefile
fast creating doc/de/Makefile
fast creating doc/en/Makefile
fast creating kid3/Makefile
fast creating po/Makefile
config.pl: fast created 7 file(s).
config.status: creating config.h
config.status: executing depfiles commands
Good - your configure finished. Start make now
emerge info
Portage 2.0.53_rc7 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r3,
2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.12.0_pre9
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
dev-lang/python: 2.4.2
sys-apps/sandbox: 1.2.13
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-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.20-r1
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mfpmath=sse,387 -march=pentium4 -pipe -fmove-all-movables
-freduce-all-givs -frename-registers -fweb -ffast-math -funswitch-loops
-funit-at-a-time"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-O2 -mfpmath=sse,387 -march=pentium4 -pipe -fmove-all-movables
-freduce-all-givs -frename-registers -fweb -ffast-math -funswitch-loops
-funit-at-a-time"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks sfperms strict"
GENTOO_MIRRORS="ftp://ftp.leo.org/.mnt/1/mirrors/gentoo/
http://gentoo.inode.at/ http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="de_DE.utf8"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac aalib acpi alsa apache2 avi berkdb big-tables
bitmap-fonts browserplugin bzip2 cdda cdparanoia cdr cjk cluster crypt css curl
daap directfb dlloader dts dvb dvd dvdr dvdread eds emboss encode esd
extensions extraengine fam fame fbcon ffmpeg firefox flac foomaticdb fortran
fpx freetype gcj gd gdbm gif gimp gimpprint glut gphoto2 gpm graphviz gstreamer
gtk gtk2 gtkhtml guile hal hardened howl httpd ieee1394 imagemagick imlib
ithreads java javascript jbig jce jpeg jpeg2k junit jython kde kdeenablefinal
lame lcms lesstif libcaca libg++ libvisual libwww lzo mad matroska md5sum
mikmod mjpeg mmap mmx mng mod motif mozdevelop mozilla mozsvg mozxmlterm mp3
mp4live mpeg mpeg2 musicbrainz mysql ncurses neXt nls nptl nptlonly nsplugin
objc offensive ogg oggvorbis on-the-fly-crypt opengl pcmcia pcre pdflib perl
pic plotutils png povray pvm python qt quicktime rdesktop readline reiserfs
rhino samba sane scanner sdl snmp speex spell sse sse2 ssl stream subp svg
sysfs tabs tcltk tcpd tetex tga theora threads tidy tiff toolbar truetype
truetype-fonts type1-fonts udev unicode usb userlocales utf8 vcd visualization
vlm vorbis wifi win32codecs wmf wxwindows xanim xgetdefault xine xml xml2 xmms
xscreensaver xv xvid yv12 zeroconf zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS
Here is a quick'n'dirty fix:
change in the ebuild
DEPEND="=x11-libs/qt-3*
>=media-libs/id3lib-3.8.3
kde? ( kde-base/kdelibs )
vorbis? ( media-libs/libvorbis )
flac? ( media-libs/flac )
musicbrainz? ( media-libs/tunepimp )
arts? ( kde-base/arts )"
local myconf="$(use_with kde)
$(use_with vorbis)
$(use_with flac)
$(use_with musicbrainz)
$(use_with arts)"
localhost ~ # ebuild /usr/portage/media-sound/kid3/kid3-0.6.ebuild digest
...
localhost ~ # emerge metadata
...
localhost ~ # emerge kid3