I met this error when emerging audacious under the session of KDE 4.0.4. I have tried different versions of libmcs such as 0.6.1 and 0.7.1, but still no success. The following is the error message. * Messages for package dev-libs/libmcs-0.7.1: * * ERROR: dev-libs/libmcs-0.7.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3318: 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/dev-libs/libmcs-0.7.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libmcs-0.7.1/temp/environment'. My USE:USE="gtk gtk2 gnome 7zip X alsa acpi -arts audiofile bash-completion bdf bzip2 cairo chroot cjk curl dvd dbus divx encode flac fontconfig gd gnutls gif gs gphoto2 hal id3 imagemagick imlib immqt-bc java jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kerberos mad mime mimencode mp3 mp4 mpeg mplayer net network ogg pango pdf php pic png posix qt qt3 qt3support qt4 opengl rar real t1lib sdl sockets socks5 ssse3 ssl svga thinkpad tiff truetype type1 vorbis win32codecs wma wmf xv unicode xvid zip vim-syntax glitz svg gcj nptl" Reproducible: Always
This is just the message that there is an error, but no information what the problem may be. Please attach the build.log, provide `emerge --info` output and reopen.
Created attachment 153435 [details] emerge --info
Created attachment 153437 [details] build.log
Comment on attachment 153437 [details] build.log >>> Unpacking source... >>> Unpacking libmcs-0.7.1.tgz to /var/tmp/portage/dev-libs/libmcs-0.7.1/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-libs/libmcs-0.7.1/work/libmcs-0.7.1 ... * econf: updating libmcs-0.7.1/config.sub with /usr/share/gnuconfig/config.sub * econf: updating libmcs-0.7.1/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-gconf --enable-kconfig --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... x86_64-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 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 ln -s works... yes checking whether make sets $(MAKE)... yes checking for library containing strerror... none required checking for shared library system... POSIX checking for dlopen in -ldl... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -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 limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking for an ANSI C-conforming const... yes checking whether closedir returns void... no checking for strstr... yes checking for memset... yes checking for setlocale... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strtol... yes checking for strtod... yes checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether stat accepts an empty string... no checking for pkg-config... /usr/bin/pkg-config checking for libmowgli >= 0.4.0... yes checking MOWGLI_CFLAGS... -I/usr/include/libmowgli checking MOWGLI_LIBS... -lmowgli checking for gconf-2.0 >= 2.6.0... yes checking GCONF_CFLAGS... -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include checking GCONF_LIBS... -pthread -lgconf-2 -lORBit-2 -lgthread-2.0 -lrt -lgobject-2.0 -lglib-2.0 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 for main in -lkdecore... yes configure: creating ./config.status config.status: creating buildsys.mk config.status: creating extra.mk config.status: creating libmcs.pc config.status: creating src/libmcs/mcs_config.h Configuration: Keyfile backend: yes GConf backend : yes KConfig backend: yes Now type "make" to build, and "make install" to install. Thank you for using mcs. [K[0;36mEntering directory [1;36msrc[0;36m.[0m [K[0;36mEntering directory [1;36mlibmcs[0;36m.[0m [K[0;33mGenerating dependencies...[0m [K[0;32mSuccessfully generated dependencies.[0m [K[0;33mCompiling [1;33mmcs_backends.c[0;33m...[0m [K[0;32mSuccessfully compiled [1;32mmcs_backends.c[0;32m.[0m [K[0;33mCompiling [1;33mmcs_handle_factory.c[0;33m...[0m [K[0;32mSuccessfully compiled [1;32mmcs_handle_factory.c[0;32m.[0m [K[0;33mCompiling [1;33mmcs_init.c[0;33m...[0m [K[0;32mSuccessfully compiled [1;32mmcs_init.c[0;32m.[0m [K[0;33mCompiling [1;33mmcs_loader.c[0;33m...[0m [K[0;32mSuccessfully compiled [1;32mmcs_loader.c[0;32m.[0m [K[0;33mCompiling [1;33mmcs_util.c[0;33m...[0m [K[0;32mSuccessfully compiled [1;32mmcs_util.c[0;32m.[0m [K[0;33mLinking [1;33mlibmcs.so[0;33m...[0m [K[0;32mSuccessfully linked [1;32mlibmcs.so[0;32m.[0m [K[0;36mLeaving directory [1;36mlibmcs[0;36m.[0m [K[0;36mEntering directory [1;36mbackends[0;36m.[0m [K[0;36mEntering directory [1;36mdefault[0;36m.[0m [K[0;33mGenerating dependencies...[0m [K[0;32mSuccessfully generated dependencies.[0m [K[0;33mCompiling [1;33mkeyfile.c[0;33m...[0m [K[0;32mSuccessfully compiled [1;32mkeyfile.c[0;32m.[0m [K[0;33mLinking [1;33mkeyfile.so[0;33m...[0m [K[0;32mSuccessfully linked [1;32mkeyfile.so[0;32m.[0m [K[0;36mLeaving directory [1;36mdefault[0;36m.[0m [K[0;36mEntering directory [1;36mgconf[0;36m.[0m [K[0;33mGenerating dependencies...[0m [K[0;32mSuccessfully generated dependencies.[0m [K[0;33mCompiling [1;33mgconf.c[0;33m...[0m [K[0;32mSuccessfully compiled [1;32mgconf.c[0;32m.[0m [K[0;33mLinking [1;33mgconf.so[0;33m...[0m [K[0;32mSuccessfully linked [1;32mgconf.so[0;32m.[0m [K[0;36mLeaving directory [1;36mgconf[0;36m.[0m [K[0;36mEntering directory [1;36mkconfig[0;36m.[0m [K[0;33mGenerating dependencies...[0m In file included from /usr/kde/4.0/include/kdecore_export.h:24, from /usr/kde/4.0/include/kconfigbase.h:27, from /usr/kde/4.0/include/kconfig.h:27, from kconfig.cc:47: /usr/kde/4.0/include/kdemacros.h:162:29: error: QtCore/qglobal.h: No such file or directory In file included from /usr/kde/4.0/include/kconfig.h:27, from kconfig.cc:47: /usr/kde/4.0/include/kconfigbase.h:29:27: error: QtCore/QtGlobal: No such file or directory In file included from kconfig.cc:47: /usr/kde/4.0/include/kconfig.h:31:26: error: QtCore/QString: No such file or directory /usr/kde/4.0/include/kconfig.h:32:27: error: QtCore/QVariant: No such file or directory /usr/kde/4.0/include/kconfig.h:33:29: error: QtCore/QByteArray: No such file or directory /usr/kde/4.0/include/kconfig.h:34:24: error: QtCore/QList: No such file or directory In file included from kconfig.cc:48: /usr/kde/4.0/include/kapplication.h:44:30: error: QtGui/QApplication: No such file or directory In file included from /usr/kde/4.0/include/ksharedconfig.h:26, from /usr/kde/4.0/include/kcomponentdata.h:23, from /usr/kde/4.0/include/kapplication.h:45, from kconfig.cc:48: /usr/kde/4.0/include/ksharedptr.h:30:47: error: QtCore/QExplicitlySharedDataPointer: No such file or directory /usr/kde/4.0/include/ksharedptr.h:31:33: error: QtCore/QAtomicPointer: No such file or directory In file included from kconfig.cc:49: /usr/kde/4.0/include/kcmdlineargs.h:23:24: error: QtCore/QBool: No such file or directory In file included from /usr/kde/4.0/include/klocale.h:26, from /usr/kde/4.0/include/kcmdlineargs.h:25, from kconfig.cc:49: /usr/kde/4.0/include/klocalizedstring.h:25:24: error: QtCore/QChar: No such file or directory /usr/kde/4.0/include/klocalizedstring.h:26:30: error: QtCore/QLatin1Char: No such file or directory /usr/kde/4.0/include/klocalizedstring.h:27:30: error: QtCore/QStringList: No such file or directory [K[0;31mFailed to generate dependencies![0m make[7]: *** [depend] Error 1 make[6]: *** [all] Error 1 make[5]: *** [subdirs] Error 1 make[4]: *** [all] Error 1 make[3]: *** [subdirs] Error 1 make[2]: *** [all] Error 1 make[1]: *** [subdirs] Error 1 make: *** [all] Error 1 [31;01m*[0m [31;01m*[0m ERROR: dev-libs/libmcs-0.7.1 failed. [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 49: Called src_compile [31;01m*[0m environment, line 3316: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m emake || die "emake failed" [31;01m*[0m The die message: [31;01m*[0m emake failed [31;01m*[0m [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant. [31;01m*[0m A complete build log is located at '/var/tmp/portage/dev-libs/libmcs-0.7.1/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-libs/libmcs-0.7.1/temp/environment'. [31;01m*[0m
Created attachment 153441 [details] New log file. From the log file above, the compiler complains because it can't locate the QtCore and QtGui in the folder /usr/kde/4.0/include. I figured out that these two directories are located at /usr/include/qt4/. Therefore, I created two soft link. Now the compiler doesn't complain about the QtCore and QtGui, but I still get the following building error.I have no idea how to continue anymore.
The ebuild itself is quite a bad one. Automagic dependencies are not acceptable and setting the runtime dependencies variable after adding it to the dependencies doesn't work either.
Very well, that's the end of the KDE USE-flag for libmcs then.
+*libmcs-0.7.1-r1 (17 May 2008) + + 17 May 2008; <chainsaw@gentoo.org> +libmcs-0.7.1-r1.ebuild: + Drop KDE functionality as it stopped working. Simplify ebuild. Closes bug + #222453.