Compilation of sci-calculators/qalculate-kde-0.9.6-r1 fails with: /usr/include/cln/string.h: In static member function 'static void* cln::cl_heap_string::operator new(size_t)': /usr/include/cln/string.h:21: error: exception handling disabled, use -fexceptions to enable This happens on my amd64 system, on x86 the configure runs twice and the compilation then succeeds. I don't know why this happens, but I was able to fix the problem on amd64 by forcing another run of configure: --- qalculate-kde-0.9.6-r1.ebuild.orig 2008-10-16 00:17:00.000000000 +0200 +++ qalculate-kde-0.9.6-r1.ebuild 2008-10-16 00:17:38.000000000 +0200 @@ -37,5 +37,5 @@ -i configure \ || die "Failed to remove -fno-exceptions from configure script" - kde_src_compile make + kde_src_compile configure make }
Created attachment 168792 [details, diff] proposed patch to ebuild Yeah, the way fno-exceptions is currently disabled in the ebuild is not optimal, but I have yet to find a way to do it more elegantly. That said, could you please try the attached patch for the ebuild and see if works. It may be slightly more robust than the current version. Thanks, Markus
It seems the "kde_src_compile myconf" is needed, without it it fails with: 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). But the new aproach seems OK, it compiled fine after I re-added the "myconf" call.
Created attachment 168794 [details, diff] Ebuild patch with re-added "myconf" call
(In reply to comment #3) > Created an attachment (id=168794) [edit] > Ebuild patch with re-added "myconf" call > Great, thanks much for testing! I'll look into the myconf thingy (I don't seem to need it) and will change the ebuild accordingly if it looks all right. Best, Markus
I've just committed these changes to qalculate-kde-0.9.6-r2. If these issues also happen for people in the stable branch we should probably stabilize this version soonish. Thanks, Markus