What the heck is an "emake". The compile fails with a seg fault trying to run emake. Details below. make[3]: Leaving directory `/var/tmp/portage/arts-1.3.2/work/arts-1.3.2/flow/gslp p' make[3]: Entering directory `/var/tmp/portage/arts-1.3.2/work/arts-1.3.2/flow' ../mcopidl/mcopidl -t ../flow/artsflow.idl make[3]: *** [artsflow.cc] Segmentation fault make[3]: Leaving directory `/var/tmp/portage/arts-1.3.2/work/arts-1.3.2/flow' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/arts-1.3.2/work/arts-1.3.2/flow' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/arts-1.3.2/work/arts-1.3.2' make: *** [all] Error 2 !!! ERROR: kde-base/arts-1.3.2 failed. !!! Function kde_src_compile, Line 142, Exitcode 2 !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. emerge the package 2. 3. Actual Results: Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0,2.6.9-gentoo-r9 i686) ================================================================= System uname: 2.6.9-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.6.7 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Nov 21 2004, 03:43:05)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3 sys-devel/binutils: 2.15.92.0.2-r1, 2.14.90.0.8-r1 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -mtune=pentium4 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mtune=pentium4 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache digest distlocks sandbox sfperms" GENTOO_MIRRORS="http://mirror.etf.bg.ac.yu/gentoo http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.risq.qc.ca/ http://gentoo.spb.ru/rsync" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups encode esd f77 fam foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 guile imagemagick imlib jack java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd tiff truetype x86 xml xml2 xmms xv zlib" Expected Results: Compile and install correctly
Just for giggles I downloaded arts from kde.org and tried configuring and compiling that. I get exactly the same error but not the emake thing. I suspect my system is missing something but I'm not sure what. The previous version of arts compiled sucessfully. I did get arts-1.3.2 to compile on another system. I think that the problem is in the mcopidl tool but why??? What does it need??? I'll keep poking away and perhaps I can figure out what's happening
OK I figured it out... Arts has indigestion when being compiled using gcc-3-4-3-r1 but works with 3.3.4-r1 if I do the compile from the package I downloaded. Doing an emerge, I get the following: 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 i686-pc-linux-gnu-strip... no checking for strip... strip checking for a BSD-compatible install... /bin/install -c -p 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... configure: error: C compilercannot create executables See `config.log' for more details. !!! ERROR: kde-base/arts-1.3.2 failed. !!! Function kde_src_compile, Line 130, Exitcode 77 !!! died running ./configure, kde_src_compile:configure !!! If you need support, post the topmost build error, NOT this status message.
I get a segfault while compiling! same for both hardened and non hardened gcc profile.. escargot ~ # gcc-config -l [1] i686-pc-linux-gnu-3.3.4 [2] i686-pc-linux-gnu-3.4.3 [3] i686-pc-linux-gnu-3.4.3-hardened * [4] i686-pc-linux-gnu-3.4.3-hardenednopie [5] i686-pc-linux-gnu-3.4.3-hardenednossp escargot ~ # gcc-config 2 * Switching to i686-pc-linux-gnu-3.4.3 compiler ... emerge arts It looks like I'm using hardened 3.4.3... Making all in gslpp make[3]: Entering directory `/var/tmp/portage/arts-1.3.2/work/arts-1.3.2/flow/gs lpp' /bin/sh ../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -D HAVE_CONFIG_H -I. -I. -I../.. -I../../flow -I../../flow/gsl -I../../flow -I../.. /mcop -I../.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include - I../../libltdl -DQT_THREAD_SUPPORT -D_REENTRANT -pthread -I/usr/include/glib-2 .0 -I/usr/lib/glib-2.0/include -Wnon-virtual-dtor -Wno-long-long -Wundef -ans i -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-x p -O2 -pipe -fomit-frame-pointer -Wall -Wformat-security -Wmissing-format-attrib ute -fno-exceptions -fno-check-new -fno-common -ftemplate-depth-99 -c -o datah andle.lo `test -f 'datahandle.cpp' || echo './'`datahandle.cpp /bin/sh ../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++ -Wno n-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -W cast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strin gs -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fn o-common -ftemplate-depth-99 -o libgslpp.la datahandle.lo make[3]: Leaving directory `/var/tmp/portage/arts-1.3.2/work/arts-1.3.2/flow/gsl pp' make[3]: Entering directory `/var/tmp/portage/arts-1.3.2/work/arts-1.3.2/flow' ../mcopidl/mcopidl -t ../flow/artsflow.idl ../mcopidl/mcopidl -t ../flow/artsflow.idl make[3]: *** [artsflow.cc] Segmentation fault make[3]: *** Waiting for unfinished jobs.... make[3]: *** [artsflow.h] Segmentation fault make[3]: Leaving directory `/var/tmp/portage/arts-1.3.2/work/arts-1.3.2/flow' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/arts-1.3.2/work/arts-1.3.2/flow' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/arts-1.3.2/work/arts-1.3.2' make: *** [all] Error 2 !!! ERROR: kde-base/arts-1.3.2 failed. !!! Function kde_src_compile, Line 142, Exitcode 2 !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, NOT this status message.
*** This bug has been marked as a duplicate of 52533 ***