[SM-Grimoire-Bugs] [Bug 12719] New: koffice fails to build with openexr

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Sun Jun 18 19:38:44 EDT 2006


http://bugs.sourcemage.org/show_bug.cgi?id=12719

           Summary: koffice fails to build with openexr
           Product: Codex
           Version: test grimoire
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: critical
          Priority: P2
         Component: kde
        AssignedTo: sm-grimoire-bugs at lists.ibiblio.org
        ReportedBy: thomas-forum at orgis.org


I'm not so sure if the bug is correct here, but at least the koffice cast is 
the process showing the problem...

koffice (krita component, apparently) can link against openexr and does so if 
it finds openexr installed (regardless of enabling/disabling the optional 
dependency, there's no configure switch, apparently).

This linking fails due to openexr-1.2.2 being built with gcc34 instead of the 
default gcc40 (I think):

make[5]: Entering directory 
`/usr/src/koffice-1.5.1/krita/plugins/filters/imageenhancement'
/bin/sh ../../../../libtool --silent --tag=CXX --mode=compile 
g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I./../../../sdk -I./../../../core -I./../../../kritacolor/ -I./../../../ui -I../../../../lib/kofficeui -I../../../../lib/kofficeui -I../../../../lib/kofficecore -I../../../../lib/kofficecore -I../../../../lib/store -I../../../../lib/store -I../../../../lib/kwmf -I../../../../lib/kwmf -I../../../../lib/kopalette -I../../../../lib/kopalette -I/usr/include/qt -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-tbird -mmmx -m3dnow -pipe -DPIC -fPIC -O3 -fomit-frame-pointer -O3 -fomit-frame-pointer -O3 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF -fexceptions -c -o 
imageenhancement.lo imageenhancement.cpp
/bin/sh ../../../../libtool --silent --tag=CXX --mode=compile 
g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I./../../../sdk -I./../../../core -I./../../../kritacolor/ -I./../../../ui -I../../../../lib/kofficeui -I../../../../lib/kofficeui -I../../../../lib/kofficecore -I../../../../lib/kofficecore -I../../../../lib/store -I../../../../lib/store -I../../../../lib/kwmf -I../../../../lib/kwmf -I../../../../lib/kopalette -I../../../../lib/kopalette -I/usr/include/qt -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-tbird -mmmx -m3dnow -pipe -DPIC -fPIC -O3 -fomit-frame-pointer -O3 -fomit-frame-pointer -O3 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF -fexceptions -c -o 
kis_simple_noise_reducer.lo kis_simple_noise_reducer.cpp
/bin/sh ../../../../libtool --silent --tag=CXX --mode=compile 
g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I./../../../sdk -I./../../../core -I./../../../kritacolor/ -I./../../../ui -I../../../../lib/kofficeui -I../../../../lib/kofficeui -I../../../../lib/kofficecore -I../../../../lib/kofficecore -I../../../../lib/store -I../../../../lib/store -I../../../../lib/kwmf -I../../../../lib/kwmf -I../../../../lib/kopalette -I../../../../lib/kopalette -I/usr/include/qt -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-tbird -mmmx -m3dnow -pipe -DPIC -fPIC -O3 -fomit-frame-pointer -O3 -fomit-frame-pointer -O3 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF -fexceptions -c -o 
kis_wavelet_noise_reduction.lo kis_wavelet_noise_reduction.cpp
/bin/sh ../../../../libtool --silent --tag=CXX --mode=link 
g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-tbird -mmmx -m3dnow -pipe -DPIC -fPIC -O3 -fomit-frame-pointer -O3 -fomit-frame-pointer -O3 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF -fexceptions  -z 
combreloc -s -o 
kritaimageenhancement.la -rpath /usr/lib/kde3 -L/usr/lib -L/usr/X11R6/lib    -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/lib -R /usr/lib -R /usr/lib -R /usr/X11R6/lib  
imageenhancement.lo kis_simple_noise_reducer.lo 
kis_wavelet_noise_reduction.lo ../../../libkritacommon.la  
.libs/kis_wavelet_noise_reduction.o: In function 
`KisWaveletNoiseReduction::process(KSharedPtr<KisPaintDevice>, 
KSharedPtr<KisPaintDevice>, KisFilterConfiguration*, QRect const&)':
kis_wavelet_noise_reduction.cpp:(.text+0x939): undefined reference to 
`__cxa_get_exception_ptr'
kis_wavelet_noise_reduction.cpp:(.text+0xa52): undefined reference to 
`__cxa_get_exception_ptr'
collect2: ld returned 1 exit status
make[5]: *** [kritaimageenhancement.la] Error 1

Debugging the link command line behind this and some *.la files reveals that 
there are -L/opt/gcc34/... dirs/libs pulled in because of openexr libraries.

Without openexr installed, the build goes through fine.
Now I don't know for sure if one could make this link successful as kdelibs 
seems to have a dep on openexr, too, but doesn't fail to build - but then 
again, it could be that that dependency is actually not used (anymore?).
Another solution could be to upgrade openexr to a version that builds with 
gcc4; though there is no stable release but only the development version 1.3.0.
I didn't ever use any openexr files and cannot comment on how stable this 
version is...

Something has to happen, since with current grimoire, at least the koffice 
build _will_ fail if one has openexr cast for some reason.
It's more a build conflict than an optional dependency atm...

-- 
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the SM-Grimoire-Bugs mailing list