Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jun 2015 15:50:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 200734] graphics/libkdcraw-kde4 : broken with update to graphics/libraw (breaks all KDE4 on F8, F9, DF)
Message-ID:  <bug-200734-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200734

            Bug ID: 200734
           Summary: graphics/libkdcraw-kde4 : broken with update to
                    graphics/libraw (breaks all KDE4 on F8, F9, DF)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: marino@FreeBSD.org
                CC: kde@FreeBSD.org
                CC: kde@FreeBSD.org

graphics/libkdcraw-kde4 will not build on gcc anymore:

cd /wrkdirs/usr/ports/graphics/libkdcraw-kde4/work/.build/libkdcraw &&
/usr/bin/c++   -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=47
-DKDE_DEFAULT_DEBUG_AREA=51002 -DKDE_DEPRECATED_WARNINGS -DMAKE_KDCRAW_LIB
-DQT_NO_CAST_TO_ASCII -DQT_NO_STL -D_REENTRANT -O2 -pipe -fstack-protector
-fno-strict-aliasing -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align
-Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions
-DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual
-fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -O2
-DNDEBUG -DQT_NO_DEBUG -fPIC
-I/wrkdirs/usr/ports/graphics/libkdcraw-kde4/work/.build/libkdcraw
-I/wrkdirs/usr/ports/graphics/libkdcraw-kde4/work/libkdcraw-4.14.3/libkdcraw
-I/wrkdirs/usr/ports/graphics/libkdcraw-kde4/work/libkdcraw-4.14.3
-I/wrkdirs/usr/ports/graphics/libkdcraw-kde4/work/.build -I/usr/local/include
-I/usr/local/include/KDE -I/usr/local/include/qt4/phonon
-I/usr/local/include/qt4/QtXmlPatterns -I/usr/local/include/qt4/QtXml
-I/usr/local/include/qt4/QtWebKit -I/usr/local/include/qt4/QtTest
-I/usr/local/include/qt4/QtSvg -I/usr/local/include/qt4/QtSql
-I/usr/local/include/qt4/QtScript -I/usr/local/include/qt4/QtOpenGL
-I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtDeclarative
-I/usr/local/include/qt4/QtDBus -I/usr/local/include/qt4/Qt3Support
-I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtCore
-I/usr/local/include/qt4/Qt -I/usr/local/share/qt4/mkspecs/default
-I/usr/local/include/qt4 -I/usr/local/include/libraw     -D_LARGEFILE64_SOURCE
-o CMakeFiles/kdcraw.dir/kdcraw.o -c
/wrkdirs/usr/ports/graphics/libkdcraw-kde4/work/libkdcraw-4.14.3/libkdcraw/kdcraw.cpp
In file included from /usr/local/include/libraw/libraw.h:40,
                 from
/wrkdirs/usr/ports/graphics/libkdcraw-kde4/work/libkdcraw-4.14.3/libkdcraw/kdcraw_p.h:39,
                 from
/wrkdirs/usr/ports/graphics/libkdcraw-kde4/work/libkdcraw-4.14.3/libkdcraw/kdcraw.cpp:31:
/usr/local/include/libraw/libraw_datastream.h: In member function 'virtual int
LibRaw_buffer_datastream::get_char()':
/usr/local/include/libraw/libraw_datastream.h:154: error: exception handling
disabled, use -fexceptions to enable
*** [libkdcraw/CMakeFiles/kdcraw.dir/kdcraw.o] Error code 1


It is caused by this change in libraw:

https://github.com/LibRaw/LibRaw/commit/22921dd7afdb8439627726531eae935eeab8d602


Simply adding CXXFLAGS+=-fexceptions before CMAKE_ARGS  *** WILL NOT WORK ***


I think it's because of these flags: -fno-exceptions -DQT_NO_EXCEPTIONS

These come after -fexceptions and cancel it out.

I don't know what the fix is (other than to revert graphics/libraw).

by the way, this port should have been bumped as a result of libraw update but
it wasn't.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200734-13>