Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 372343 - media-libs/opencv-2.1.0:fix missing dependency when using gstreamer useflag
Summary: media-libs/opencv-2.1.0:fix missing dependency when using gstreamer useflag
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-20 08:23 UTC by Samuel Martin
Modified: 2011-07-07 18:56 UTC (History)
0 users

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


Attachments
media-libs/opencv-2.1.0: fix media-libs/gst-plugins-base dependency (opencv-2.1.0-r1.ebuild,2.88 KB, text/plain)
2011-06-20 08:27 UTC, Samuel Martin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Martin 2011-06-20 08:23:00 UTC
hi,

i use to build packages from my overlays in newly setup chroot.

one of my packages that has opencv as dependency failed during emerge due to an opencv's missing dependency.

after check, it appears that when gstreamer useflag is enabled, opencv should depends on media-libs/gst-plugins-base.

--- logs ---
opencv config:
[binary  N    ]  media-libs/opencv-2.1.0  USE="ffmpeg gstreamer jpeg png python tiff v4l -debug -deprecated -examples -gtk -ieee1394 -ipp -jpeg2k -octave -sse -sse2 -sse3 -ssse3 -test -xine"  [0]

error:
Linking CXX executable ../../../sdk/bin/logo_cmd
/usr/lib/gcc/i486-pc-linux-gnu/4.4.5/../../../../i486-pc-linux-gnu/bin/ld: warning: libgstapp-0.10.so.0, needed by /usr/lib/gcc/i486-pc-linux-gnu/4.4.5/../../../libhighgui.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i486-pc-linux-gnu/4.4.5/../../../../i486-pc-linux-gnu/bin/ld: warning: libgstvideo-0.10.so.0, needed by /usr/lib/gcc/i486-pc-linux-gnu/4.4.5/../../../libhighgui.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i486-pc-linux-gnu/4.4.5/../../../libhighgui.so: undefined reference to `gst_app_src_set_caps'
/usr/lib/gcc/i486-pc-linux-gnu/4.4.5/../../../libhighgui.so: undefined reference to `gst_app_sink_set_max_buffers'
/usr/lib/gcc/i486-pc-linux-gnu/4.4.5/../../../libhighgui.so: undefined reference to `gst_app_sink_is_eos'
/usr/lib/gcc/i486-pc-linux-gnu/4.4.5/../../../libhighgui.so: undefined reference to `gst_app_sink_set_caps'
/usr/lib/gcc/i486-pc-linux-gnu/4.4.5/../../../libhighgui.so: undefined reference to `gst_app_sink_pull_buffer'
/usr/lib/gcc/i486-pc-linux-gnu/4.4.5/../../../libhighgui.so: undefined reference to `gst_app_sink_get_type'
/usr/lib/gcc/i486-pc-linux-gnu/4.4.5/../../../libhighgui.so: undefined reference to `gst_app_src_end_of_stream'
/usr/lib/gcc/i486-pc-linux-gnu/4.4.5/../../../libhighgui.so: undefined reference to `gst_video_format_new_caps'
/usr/lib/gcc/i486-pc-linux-gnu/4.4.5/../../../libhighgui.so: undefined reference to `gst_app_src_push_buffer'
/usr/lib/gcc/i486-pc-linux-gnu/4.4.5/../../../libhighgui.so: undefined reference to `gst_app_src_get_type'
/usr/lib/gcc/i486-pc-linux-gnu/4.4.5/../../../libhighgui.so: undefined reference to `gst_app_sink_set_drop'
collect2: ld returned 1 exit status
make[2]: *** [sdk/bin/logo_cmd] Error 1

sam
Comment 1 Samuel Martin 2011-06-20 08:27:37 UTC
Created attachment 277585 [details]
media-libs/opencv-2.1.0: fix media-libs/gst-plugins-base dependency
Comment 2 Pacho Ramos gentoo-dev 2011-06-28 09:22:04 UTC
Attach full build.log please
Comment 3 Pacho Ramos gentoo-dev 2011-07-07 18:56:44 UTC
And reopen when you provide it