Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 555646 - kde-apps/libkdcraw-4.14.3 : error: exception handling disabled, use -fexceptions to enable
Summary: kde-apps/libkdcraw-4.14.3 : error: exception handling disabled, use -fexcepti...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-07-22 17:08 UTC by Oleh
Modified: 2015-08-18 20:09 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,41.81 KB, text/plain)
2015-07-22 17:08 UTC, Oleh
Details
libraw-fix (libraw-fix.patch,552 bytes, patch)
2015-07-23 10:42 UTC, Oleh
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleh 2015-07-22 17:08:12 UTC
kde-apps/libkdcraw-4.14.3 does not build with media-libs/libraw-0.16.2

Reproducible: Always

Steps to Reproduce:
1. emerge =media-libs/libraw-0.16.2
2. emerge =kde-apps/libkdcraw-4.14.3
3. notice a failure
4. downgrade to libraw-0.16.0-r1
5. notice a successful compilation and installation of libkdcraw
Actual Results:  
In file included from [01m[K/usr/include/libraw/libraw.h:40:0[m[K,
                 from [01m[K/var/tmp/portage/kde-apps/libkdcraw-4.14.3/work/libkdcraw-4.14.3/libkdcraw/kdcraw_p.h:39[m[K,
                 from [01m[K/var/tmp/portage/kde-apps/libkdcraw-4.14.3/work/libkdcraw-4.14.3/libkdcraw/kdcraw_p.cpp:27[m[K:
[01m[K/usr/include/libraw/libraw_datastream.h:[m[K In member function ‘[01m[Kvirtual int LibRaw_buffer_datastream::get_char()[m[K’:
[01m[K/usr/include/libraw/libraw_datastream.h:154:17:[m[K [01;31m[Kerror: [m[Kexception handling disabled, use -fexceptions to enable
           throw LIBRAW_EXCEPTION_IO_EOF;
[01;32m[K                 ^[m[K
In file included from [01m[K/usr/include/libraw/libraw.h:40:0[m[K,
                 from [01m[K/var/tmp/portage/kde-apps/libkdcraw-4.14.3/work/libkdcraw-4.14.3/libkdcraw/kdcraw_p.h:39[m[K,
                 from [01m[K/var/tmp/portage/kde-apps/libkdcraw-4.14.3/work/libkdcraw-4.14.3/libkdcraw/kdcraw.cpp:31[m[K:
[01m[K/usr/include/libraw/libraw_datastream.h:[m[K In member function ‘[01m[Kvirtual int LibRaw_buffer_datastream::get_char()[m[K’:
[01m[K/usr/include/libraw/libraw_datastream.h:154:17:[m[K [01;31m[Kerror: [m[Kexception handling disabled, use -fexceptions to enable
           throw LIBRAW_EXCEPTION_IO_EOF;
[01;32m[K                 ^[m[K
libkdcraw/CMakeFiles/kdcraw.dir/build.make:100: recipe for target 'libkdcraw/CMakeFiles/kdcraw.dir/kdcraw_p.o' failed
make[2]: *** [libkdcraw/CMakeFiles/kdcraw.dir/kdcraw_p.o] Error 1
make[2]: *** Waiting for unfinished jobs....
libkdcraw/CMakeFiles/kdcraw.dir/build.make:77: recipe for target 'libkdcraw/CMakeFiles/kdcraw.dir/kdcraw.o' failed
make[2]: *** [libkdcraw/CMakeFiles/kdcraw.dir/kdcraw.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/kde-apps/libkdcraw-4.14.3/work/libkdcraw-4.14.3_build'
CMakeFiles/Makefile2:107: recipe for target 'libkdcraw/CMakeFiles/kdcraw.dir/all' failed
make[1]: *** [libkdcraw/CMakeFiles/kdcraw.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/kde-apps/libkdcraw-4.14.3/work/libkdcraw-4.14.3_build'
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2
 [31;01m*[0m ERROR: kde-apps/libkdcraw-4.14.3 failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=kde-apps/libkdcraw-4.14.3'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=kde-apps/libkdcraw-4.14.3'`.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/kde-apps/libkdcraw-4.14.3/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/kde-apps/libkdcraw-4.14.3/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/kde-apps/libkdcraw-4.14.3/work/libkdcraw-4.14.3_build'
 [31;01m*[0m S: '/var/tmp/portage/kde-apps/libkdcraw-4.14.3/work/libkdcraw-4.14.3'

Expected Results:  
libkdcraw built against libraw-0.16.2
Comment 1 Oleh 2015-07-22 17:08:35 UTC
Created attachment 407428 [details]
build.log
Comment 2 Andreas Sturmlechner gentoo-dev 2015-07-22 17:46:22 UTC
What's interesting is that it works here when built against media-libs/libraw-0.17.0_beta2
Comment 3 Oleh 2015-07-22 18:09:03 UTC
quite possible, but it's a beta release and is masked
Comment 4 Kenton Groombridge 2015-07-23 01:15:46 UTC
Same issue here.  Unmasking libraw-0.17.0_beta2 worked for me too.
Comment 5 Oleh 2015-07-23 10:42:42 UTC
Created attachment 407442 [details, diff]
libraw-fix

Attached patch allows to build libkdcraw-4.14.3 with libraw-0.16.2
Comment 6 Tom Li 2015-07-28 16:21:04 UTC
I can also confirm the issue.
Comment 7 Greg Turner 2015-07-29 08:55:24 UTC
Likewise; Oleg's patch W4M.
Comment 8 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2015-08-18 19:53:23 UTC
kde:
can somebody please apply this?
Comment 9 Johannes Huber (RETIRED) gentoo-dev 2015-08-18 20:09:32 UTC
Thanks all. This is fixed in git now. Please sync.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8837d51934b79fd46138e5bb3f7932ed0cdc0ab