Summary: | media-video/bino-1.3.0: fails to build with media-video/libav-9 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Jožka Kejzlar (cuchac) <cuchac> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | lu_zero, nikoli, phobosk, proxy-maint, robbat2 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://tinderboxlogs.s3.amazonaws.com/tbamd64.excelsior.flameeyes.eu/media-video%3Abino-1.3.0%3A20121115-025935.html | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=465172 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 443230 | ||
Attachments: |
bino-1.4.1.ebuild.patch
ebuild, works fine with libav-9.1 |
Description
Diego Elio Pettenò (RETIRED)
2012-11-15 03:30:34 UTC
Upstream already fixed this in new bino version. I will submit ebuild of the new version. I could patch the current version, but backporting the changes seems too much work to me. Is it OK? Should the ebuild of current version be updated to depends on "<media-video/libav-9"? yes, please submit a diff between ebuilds for the new version and i'll update the depends on the old one. Created attachment 332586 [details, diff]
bino-1.4.1.ebuild.patch
Patch of Bino ebuild between version 1.3.0 and 1.4.1 - version 1.4.1 contains fix to libav 0.9 compatibility. Also adds "Support for NVIDIA Quadro SDI output" - "nvidia" USE flag seems appropriate.
(In reply to comment #3) Jozka: it does not link successfully. Output w/ V=1 added to emake. x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -pthread -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -o bino media_data.o media_object.o media_input.o dispatch.o command_file.o color_matrix.o video_output.o video_output_qt.o subtitle_renderer.o audio_output.o player.o gui.o lib_versions.o main.o qt_resources-rcc.o gui-moc.o video_output_qt-moc.o ../src/base/libbase.a -lavformat -lavcodec -lavutil -lavdevice -lswscale -lavutil -lass -lopenal -lGL -L/usr/lib -lGLEWmx -L/usr/lib64/qt4 -lQtOpenGL -lQtGui -lQtCore -lX11 -lpthread -lrt video_output_qt.o:(.bss+0x20): multiple definition of `__glewXGetVideoSyncSGI' dispatch.o:(.bss+0x28): first defined here video_output_qt.o:(.bss+0x0): multiple definition of `__glewXVideoResizeSUN' dispatch.o:(.bss+0x8): first defined here video_output_qt.o:(.bss+0x8): multiple definition of `__glewXGetVideoResizeSUN' dispatch.o:(.bss+0x10): first defined here video_output_qt.o:(.bss+0x10): multiple definition of `__glewXGetTransparentIndexSUN' dispatch.o:(.bss+0x18): first defined here ... (many more symbols) http://bino3d.org/news.html "January 27, 2013 Bino 1.4.2 is released! This version restores compatibility with the latest FFmpeg versions." Created attachment 339098 [details]
ebuild, works fine with libav-9.1
Reworked ebuild:
migrated to autotools-utils.eclass
pkgconfig is build depend
instead of removing docs --docdir configure option is used
'append-ldflags -Wl,-z,muldefs' solves linking problem
I do not have nvidia drivers in my systems, did not add quadro sdi related options.
The ebuild request for the new upstream version (1.4.2) has been created in a separate bug report -> bug #465172 Please review ... Thanks Thank you PhobosK for the new ebuild. It works fine here, tested with all USE flags / VIDEO_CARDS combinations. bino-1.4.2 in portage, closing, thanks for reporting and providing a solution! |