Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510172 - kde-base/libkdcraw-4.12.5 does not build with media-libs/libraw[+openmp]
Summary: kde-base/libkdcraw-4.12.5 does not build with media-libs/libraw[+openmp]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on: kde-4.14.3-stable
Blocks:
  Show dependency tree
 
Reported: 2014-05-12 17:16 UTC by Peter Gantner (a.k.a. nephros)
Modified: 2015-02-18 17:47 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge.info.gz,3.62 KB, application/x-gzip)
2014-05-12 17:23 UTC, Peter Gantner (a.k.a. nephros)
Details
build log (libkdcraw-4.12.5-build.log.gz,6.02 KB, application/x-gzip)
2014-05-12 17:30 UTC, Peter Gantner (a.k.a. nephros)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Gantner (a.k.a. nephros) 2014-05-12 17:16:14 UTC
Not sure why exactly, but 

Reproducible: Always

Steps to Reproduce:
1. emerge libraw with openmp in USE
2. emerge =kde-base/libkdcraw-4.12.5
3. observe error (see attached build log)
4. emerge libraw with -openmp in USE
5. build is successful
Actual Results:  
See log file in attachment.
Comment 1 Peter Gantner (a.k.a. nephros) 2014-05-12 17:23:57 UTC
Created attachment 376790 [details]
emerge --info
Comment 2 Peter Gantner (a.k.a. nephros) 2014-05-12 17:30:30 UTC
Created attachment 376792 [details]
build log
Comment 3 Peter Gantner (a.k.a. nephros) 2014-05-12 17:32:01 UTC
Sorry, the actual error got lost in the above comment. Here it is:

/usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++   -O2 -pipe -march=native -w -fomit-frame-pointer -momit-leaf-frame-pointer  -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 -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden  -Wl,--enable-new-dtags  -Wl,-O1 -Wl,--as-needed CMakeFiles/libinfo.dir/libinfo.o  -o libinfo  -L/tmp/portage/kde-base/libkdcraw-4.12.5/work/libkdcraw-4.12.5_build/lib  -L/usr/lib64/qt4 -rdynamic ../lib/libkdcraw.so.23.0.0 /usr/lib64/qt4/libQtCore.so -lpthread /usr/lib64/qt4/libQtGui.so /usr/lib64/qt4/libQtGui.so /usr/lib64/qt4/libQtCore.so -lpthread -Wl,-rpath,/tmp/portage/kde-base/libkdcraw-4.12.5/work/libkdcraw-4.12.5_build/lib:/usr/lib64/qt4 
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_parallel_start'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_critical_name_end'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_loop_end'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_barrier'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_loop_dynamic_start'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_critical_name_start'
/usr/lib64/libraw_r.so.9: undefined reference to `omp_get_thread_num'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_loop_dynamic_next'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_parallel_end'
/usr/lib64/libraw_r.so.9: undefined reference to `omp_get_num_threads'
collect2: error: ld returned 1 exit status
make[2]: *** [test/libinfo] Error 1
make[1]: *** [test/CMakeFiles/libinfo.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_parallel_start'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_critical_name_end'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_loop_end'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_barrier'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_loop_dynamic_start'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_critical_name_start'
/usr/lib64/libraw_r.so.9: undefined reference to `omp_get_thread_num'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_loop_dynamic_next'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_parallel_end'
/usr/lib64/libraw_r.so.9: undefined reference to `omp_get_num_threads'
collect2: error: ld returned 1 exit status
make[2]: *** [test/raw2png] Error 1
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2014-05-12 21:10:41 UTC
Grr. 

kde-base/libkdcraw-4.12 was written with support for only libraw-0.16.

At last moment somebody from kde upstream realized that an actual libraw-0.16 release won't happen in time, so 0.15 support was patched back on hastily.

This is the result.

I'll have to investigate, but I *think* it's not as easy as generally specifying libraw[openmp].
Comment 5 Peter Gantner (a.k.a. nephros) 2014-05-13 06:25:53 UTC
(In reply to Andreas K. Hüttel from comment #4)

Well maybe it's enough to bump #506656. Will test later and report back.
Comment 6 Peter Gantner (a.k.a. nephros) 2014-05-13 11:02:04 UTC
I bumped the 0.16.0_beta1-r1 ebuild to 0.16.0 (removing two patches which did not apply), and tried to build against that.

Build/linking went fine - cannot test functionality ATM because the machine is non-graphical.

HTH
Comment 7 Johannes Huber (RETIRED) gentoo-dev 2015-02-18 17:47:59 UTC
Thanks all. 4.14.3 stable. Cleanup done by Michal. Closing then.

+
+  18 Feb 2015; Michał Górny <mgorny@gentoo.org> -libkdcraw-4.12.5.ebuild:
+  Remove KDE SC 4.12
+