Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58150 - kdemultimedia-3.2.3 fails to build: I/usr/kde/3.2/include/arts: Command not found
Summary: kdemultimedia-3.2.3 fails to build: I/usr/kde/3.2/include/arts: Command not f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-24 01:14 UTC by Oliver Schoett
Modified: 2004-09-02 14:33 UTC (History)
1 user (show)

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


Attachments
Output of the initial "configure" stage (configure.log,23.76 KB, text/plain)
2004-07-24 01:25 UTC, Oliver Schoett
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Schoett 2004-07-24 01:14:16 UTC
kdemultimedia-3.2.3 fails to build (even with MAKEOPTS="-j1" as suggested elsewhere).  Here are the initial error messages:

make[3]: Entering directory `/var/tmp/portage/kdemultimedia-3.2.3/work/kdemultimedia-3.2.3/xine_artsplugin'
I/usr/kde/3.2/include/arts -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include  -I/usr/include ./xinePlayObject.idl
make[3]: I/usr/kde/3.2/include/arts: Command not found
make[3]: [xinePlayObject.cc] Error 127 (ignored)
/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.2/include/arts -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include  -I/usr/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O2 -pipe -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o xinePlayObject.lo xinePlayObject.cc
g++: xinePlayObject.cc: No such file or directory
g++: no input files
make[3]: *** [xinePlayObject.lo] Error 1

In the file /var/tmp/portage/kdemultimedia-3.2.3/work/kdemultimedia-3.2.3/xine_artsplugin/Makefile, we have the line

MCOPIDL = 

which seems to cause the problem.

Reproducible: Always
Steps to Reproduce:
MAKEOPTS="-j1" nice emerge -Duv world

Actual Results:  
Build failure as described above

Expected Results:  
Build kdemultimedia-3.2.3 (among others)

Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7)
=================================================================
System uname: 2.6.7 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages notitles sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.inode.at/
http://gentoo.mirror.sdv.fr http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
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="X acpi alsa avi berkdb cdr crypt cups dvd emacs encode esd foomaticdb gdbm
gif gnome gphoto2 gpm gtk gtk2 guile imlib java jpeg libg++ libwww mad mbox
mikmod motif mozilla mpeg ncurses oggvorbis opengl pam pdflib perl png python qt
quicktime readline samba sdl slang spell sse ssl svga tcpd tetex tiff truetype
usb x86 xml2 xmms xv zlib"
Comment 1 Oliver Schoett 2004-07-24 01:25:57 UTC
Created attachment 36048 [details]
Output of the initial "configure" stage

Note that configure does not look for mcopidl, but only for dcopidl items
Comment 2 Oliver Schoett 2004-07-24 01:58:42 UTC
I tried to work around the problem with

MAKEOPTS="-j1" USE=arts nice emerge -Duv --oneshot kdemultimedia

but got another error:

Making all in builder
make[3]: Entering directory `/var/tmp/portage/kdemultimedia-3.2.3/work/kdemultimedia-3.2.3/arts/builder'
Making all in pics
make[4]: Entering directory `/var/tmp/portage/kdemultimedia-3.2.3/work/kdemultimedia-3.2.3/arts/builder/pics'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/var/tmp/portage/kdemultimedia-3.2.3/work/kdemultimedia-3.2.3/arts/builder/pics'
make[4]: Entering directory `/var/tmp/portage/kdemultimedia-3.2.3/work/kdemultimedia-3.2.3/arts/builder'
/usr/qt/3/bin/uic -L /usr/kde/3.2/lib/kde3/plugins/designer -nounload -o propertypanelbase.h ./propertypanelbase.ui
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arts/runtime -I../../arts/runtime  -I/usr/kde/3.2/include/arts  -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O2 -pipe -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o autorouter.o autorouter.cpp
/usr/qt/3/bin/moc ./main.h -o main.moc
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arts/runtime -I../../arts/runtime  -I/usr/kde/3.2/include/arts  -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O2 -pipe -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o main.o main.cpp
main.cpp:56:25: kartsserver.h: No such file or directory
main.cpp: In member function `bool ArtsBuilderWindow::save(QString)':
main.cpp:605: error: `KArtsServer' undeclared (first use this function)
main.cpp:605: error: (Each undeclared identifier is reported only once for each 
   function it appears in.)
make[4]: *** [main.o] Error 1

Perhaps I should explain why I don't have arts and kde in my USE flags: I do not wish to use KDE, but one application program (rosegarden) is based on KDE and pulls in a lot of KDE libraries.
Comment 3 bugs 2004-07-24 16:30:15 UTC
Getting the same problem.
USE="acpi acpi4linux alsa apache2 async cjk dvd dvdimap fbcon gimpprint gtk2 innodb maildir mmx mng mozcalendar mozsvg mpeg4 music openal pcap plotutils
rage128 samba tiff unicode vim-with-x -apm -fam -gnome -arts -mbox -python -gtk"
Going to retry with -arts turned off.
I have arts, I just would rather not things use it.
Comment 4 oosterwoud 2004-07-25 02:04:16 UTC
Got troubles here also.
I picked out this piece.
---------------------------
make[3]: Entering directory `/var/tmp/portage/kdemultimedia-3.2.3/work/kdemultimedia-3.2.3/xine_artsplugin'
I/usr/kde/3.2/include/arts -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include  -I/usr/include ./xinePlayObject.idl
make[3]: I/usr/kde/3.2/include/arts: Command not found
make[3]: [xinePlayObject.cc] Error 127 (ignored)
I/usr/kde/3.2/include/arts -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include  -I/usr/include ./xinePlayObject.idl
make[3]: I/usr/kde/3.2/include/arts: Command not found
make[3]: [xinePlayObject.h] Error 127 (ignored)
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.2/include/arts -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include  -I/usr/include  -DQT_THREAD_SUPPORT  -D_REENTRANT -U__STRICT_ANSI__ -DNDEBUG -O2  -O2 -march=pentium3 -fomit-frame-pointer -c -o audio_fifo_out.lo audio_fifo_out.c
/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.2/include/arts -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include  -I/usr/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium3 -fomit-frame-pointer -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o xinePlayObject.lo xinePlayObject.cc
/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.2/include/arts -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include  -I/usr/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium3 -fomit-frame-pointer -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o xinePlayObject_impl.lo xinePlayObject_impl.cpp
g++: xinePlayObject.cc: No such file or directory
g++: no input files
make[3]: *** [xinePlayObject.lo] Error 1
--------------------------------------------
Compile stops because of : g++: xinePlayObject.cc: No such file or directory.
And this must be because of the first make listed above.
I would suspect an incorrect makefile.
Comment 5 Peter Dedecker 2004-07-25 04:05:11 UTC
Yups, I've got the same (I think).  I'm planning to use KDE, so I have "-gtk -gnome kde qt" in my USE.  Here's some output:

libtool: link: cannot find the library '/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.2/libstdc++.la'
make[3]: *** [juk] Error 1
make[3]: leaving directory '/var/tmp/portage/kdemultimedia-3.2.3/work/kdemultimedia-3.2.3/juk'
make[2]: *** [all-recursive] Error 1
make[2]: leaving directory '/var/tmp/portage/kdemultimedia-3.2.3/work/kdemultimedia-3.2.3/juk'
make[1]: *** [all-recursive] Error 1
make[1]: leaving directory '/var/tmp/portage/kdemultimedia-3.2.3/work/kdemultimedia-3.2.3/juk'
make: *** [all] Error 2

!!! ERROR: kde-base/kdemultimedia-3.2.3 failed
!!! Function kde_src_compile, Line 130, Exitcode 2
!!! died running emake, kde_src_compile: make
Comment 6 Luca Barbato gentoo-dev 2004-07-25 11:43:48 UTC
You have the wrong path, please issue an env-update followed by a source /etc/profile.

For the problem related to missing .la please run /sbin/fix_libtool_files.sh
Comment 7 Jan Wiele 2004-07-25 15:08:51 UTC
try emerging kdelibs with USE="arts ..." in make.conf
Comment 8 Peter Dedecker 2004-07-25 15:27:27 UTC
> For the problem related to missing .la please run /sbin/fix_libtool_files.sh

Nope, this didn't fix anything.  The problem 's still the same.  It's a fresh install from gentoo 2004.1 stage 3 with the packages CD, so the previous gcc was 3.3.2-r5 and now there's gcc-3.3.3-r6 installed (Friday Jul 23).

> try emerging kdelibs with USE="arts ..." in make.conf

If this is an answer for me: I always had arts in my USE and kdelibs was installed before kdemultimedia (I used "emerge --update --usepkg kde").

Thanks!
Comment 9 bugs 2004-07-26 04:50:01 UTC
USE="arts" emerge kdelibs kdemultimedia

did in fact do it for me.
Thanks.
Comment 10 Peter Dedecker 2004-07-26 08:07:29 UTC
> USE="arts" emerge kdelibs kdemultimedia

I tried this again, but the problem remains.

Is this the rigth place to post this problem, of did I have to make a new topic/bug?
Comment 11 Caleb Tennis (RETIRED) gentoo-dev 2004-07-26 11:19:07 UTC
patching kde.eclass as follows should fix this problem.  I'd appreciate it if someone would try it and verify that it fixes things...

diff -u -3 -p -u -r1.100 kde.eclass
--- kde.eclass  23 Jul 2004 18:23:47 -0000      1.100
+++ kde.eclass  26 Jul 2004 18:18:34 -0000
@@ -88,7 +88,7 @@ kde_src_compile() {
                                else
                                        myconf="$myconf --disable-debug --without-debug"
                                fi
-                               myconf="$myconf `use_with arts`"
+                               [ "$KDEMINORVER" -ge 3 ] && myconf="$myconf `use_with arts`"
                                debug-print "$FUNCNAME: myconf: set to ${myconf}"
                                ;;
                        configure)
Comment 12 oosterwoud 2004-07-26 15:02:32 UTC
sorry, but the answer of kyberneticist@yahoo.com worked for me.
The Arts of open source !
Comment 13 rmgentoo 2004-07-26 17:13:29 UTC
The comment by Caleb Tennis (caleb@gentoo.org) seems to work. I tried everything before and none of it worked. My problem seemed more severe than the problems of others because no KDE based application that used arts would compile (kdemultimedia, kdeaddons, kdepim, k3b, etc.). So far, while not having compiled all of them, the fix seems to work.

One note that, a copy/paste of the diff hangs patch. Not a big deal because the file is easy to edit as it is just one line that needs changing.
Comment 14 Oliver Schoett 2004-07-27 13:10:21 UTC
Sorry, the patch in Comment #11 does not suffice for me.  The command
MAKEOPTS="-j1" nice emerge -Duv --oneshot kdemultimedia
results in the failure I already reported in Comment #2.  I do have arts-1.2.3 installed.

make[4]: Entering directory `/var/tmp/portage/kdemultimedia-3.2.3/work/kdemultimedia-3.2.3/arts/builder'
/usr/qt/3/bin/uic -L /usr/kde/3.2/lib/kde3/plugins/designer -nounload -o propertypanelbase.h ./propertypanelbase.ui
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arts/runtime -I../../arts/runtime  -I/usr/kde/3.2/include/arts  -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O2 -pipe -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o autorouter.o autorouter.cpp
/usr/qt/3/bin/moc ./main.h -o main.moc
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arts/runtime -I../../arts/runtime  -I/usr/kde/3.2/include/arts  -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O2 -pipe -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o main.o main.cpp
main.cpp:56:25: kartsserver.h: No such file or directory
main.cpp: In member function `bool ArtsBuilderWindow::save(QString)':
main.cpp:605: error: `KArtsServer' undeclared (first use this function)
main.cpp:605: error: (Each undeclared identifier is reported only once for each 
   function it appears in.)
make[4]: *** [main.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/kdemultimedia-3.2.3/work/kdemultimedia-3.2.3/arts/builder'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.2.3/work/kdemultimedia-3.2.3/arts/builder'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.2.3/work/kdemultimedia-3.2.3/arts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.2.3/work/kdemultimedia-3.2.3'
make: *** [all] Error 2

!!! ERROR: kde-base/kdemultimedia-3.2.3 failed.
!!! Function kde_src_compile, Line 130, Exitcode 2
!!! died running emake, kde_src_compile:make
Comment 15 Caleb Tennis (RETIRED) gentoo-dev 2004-07-27 13:14:56 UTC
You may need to go back and rebuild kdelibs as it was probably compiled without arts support.
Comment 16 Oliver Schoett 2004-07-27 13:20:20 UTC
Additional information:

$ locate kartsserver.h
/usr/kde/3.1/include/arts/kartsserver.h

Note the 3.1 here.  Probably the file got installed under KDE 3.1 already.  If this is the reason, we have an interesting design problem: headers installed by ebuilds under earlier KDE versions are no longer found under later KDE versions.  Presumably the problem can be cured by re-emerging kdelibs (going to try that now); but it would be nice if emerge did the right thing automatically.
Comment 17 Caleb Tennis (RETIRED) gentoo-dev 2004-07-27 13:23:58 UTC
I think the problem here is that kde 3.2 isn't exactly set up to run without arts, but the eclass still did "--with-arts or --without-arts" and kdemultimedia probably wasn't designed to work "--without-arts".
Comment 18 Oliver Schoett 2004-07-27 15:44:32 UTC
> You may need to go back and rebuild kdelibs as it was probably
> compiled without arts support.

After re-emerging kdelibs, I could now successfully emerge kdemultimedia; so this is WORKSFORME.  What I find strange is that I had the USE=arts flag *un*set all the time, but emerging kdelibs produced the header file /usr/kde/3.2/include/arts/kartsserver.h, which it seems not to have done previously.
Comment 19 Jan Stanzel 2004-07-29 08:37:16 UTC
Re-emerging kdelibs wir USE="arts" works for me, too (I had the same problem before). But with kde-3.2.2 everything worked fine with having -arts in my USE Flags. Any ideas what causes the break in 3.2.3?
Comment 20 Caleb Tennis (RETIRED) gentoo-dev 2004-09-02 14:33:45 UTC
should all be fixed now.