Summary: | media-video/kino fails because of underlinking | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | QA | CC: | atoth, bircoph, mgorny, sam |
Priority: | Normal | Keywords: | NeedPatch, PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 372079 | ||
Attachments: |
Build log
build.log emerge --info kino-1.3.4-avcodec.patch kino-1.3.4.ebuild.patch |
Description
Diego Elio Pettenò (RETIRED)
2011-06-17 13:16:57 UTC
src/Makefile should have "AVCODEC_LIBS = -lavformat -lavcodec -lavutil" Hello, I got an underlinking issue with kino-1.3.4 and libav even with gnu ld: i686-pc-linux-gnu-g++ -march=native -m32 -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-loop-im -fweb -frename-registers -fomit-frame-pointer -mfpmath=sse -pipe -frecord-gcc-switches -fvisibility-inlines-hidden -ffast-math -march=native -m32 -O2 -funswitch-loops -fpredictive-commoning -Wl,-O1 -Wl,--as-needed -pipe -o kino main.o support.o callbacks.o message.o preferences.o preferences_dialog.o playlist.o filehandler.o riff.o avi.o frame.o error.o ieee1394io.o framedisplayer.o oss.o jogshuttle.o mediactrl.o kino_common.o page_editor.o page_capture.o page_timeline.o page_export.o page_bttv.o export.o page_export_1394.o page_export_avi.o page_export_stills.o page_export_audio.o page_export_mjpeg.o page_export_pipe.o page_trim.o page_magick.o commands.o v4l.o displayer.o gtkenhancedscale.o kino_av_pipe.o image_create.o image_filters.o image_transitions.o audio_filters.o audio_transitions.o storyboard.o stringutils.o smiltime.o rwpipe.o -pthread -Wl,--export-dynamic -ldv -liec61883 -lasound -lgthread-2.0 -lglade-2.0 -lxml2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfreetype -lfontconfig -lavformat -lswscale -lsamplerate -lquicktime -lz cell-renderers/libcellrenderers.a -lXv -lXext -ldl -lpthread -lrom1394 -lavc1394 -lraw1394 -lm -lSM -lICE -lX11 -pthread /usr/lib/gcc/i686-pc-linux-gnu/4.7.3/../../../../i686-pc-linux-gnu/bin/ld: frame.o: undefined reference to symbol 'av_init_packet@@LIBAVCODEC_54' /usr/lib/gcc/i686-pc-linux-gnu/4.7.3/../../../../i686-pc-linux-gnu/bin/ld: note: 'av_init_packet@@LIBAVCODEC_54' is defined in DSO /usr/lib/libavcodec.so.54 so try adding it to the linker command line /usr/lib/libavcodec.so.54: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status Created attachment 357320 [details]
build.log
Created attachment 357322 [details]
emerge --info
Created attachment 357374 [details, diff]
kino-1.3.4-avcodec.patch
NeedPatch? Here you go :)
This one forces full linking.
Created attachment 357376 [details, diff]
kino-1.3.4.ebuild.patch
Update ebuild to apply avcodec patch and to run eautoreconf, because autotools's file is patched.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=292b5f397891b16e290c5eca9e09dc207450891e commit 292b5f397891b16e290c5eca9e09dc207450891e Author: Sam James <sam@gentoo.org> AuthorDate: 2022-07-12 01:53:41 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-12 01:53:41 +0000 profiles: last-rite media-video/kino Bug: https://bugs.gentoo.org/372053 Bug: https://bugs.gentoo.org/438248 Bug: https://bugs.gentoo.org/740528 Bug: https://bugs.gentoo.org/778338 Bug: https://bugs.gentoo.org/832380 Bug: https://bugs.gentoo.org/834406 Signed-off-by: Sam James <sam@gentoo.org> profiles/package.mask | 6 ++++++ 1 file changed, 6 insertions(+) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dae8d14c08cd92a30d2231d54cffd154de78f38d commit dae8d14c08cd92a30d2231d54cffd154de78f38d Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2022-08-16 08:03:05 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2022-08-16 08:03:05 +0000 media-video/kino: treeclean Closes: https://bugs.gentoo.org/740528 Closes: https://bugs.gentoo.org/778338 Closes: https://bugs.gentoo.org/834406 Closes: https://bugs.gentoo.org/438248 Closes: https://bugs.gentoo.org/372053 Closes: https://bugs.gentoo.org/832380 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> media-video/kino/Manifest | 1 - media-video/kino/files/kino-1.3.4-desktop.patch | 14 -- media-video/kino/files/kino-1.3.4-ffmpeg3.patch | 157 --------------------- media-video/kino/files/kino-1.3.4-ffmpeg4.patch | 13 -- media-video/kino/files/kino-1.3.4-libav-0.7.patch | 60 -------- media-video/kino/files/kino-1.3.4-libav-0.8.patch | 57 -------- .../files/kino-1.3.4-libavcodec-pkg-config.patch | 11 -- media-video/kino/files/kino-1.3.4-v4l1.patch | 22 --- media-video/kino/kino-1.3.4-r2.ebuild | 105 -------------- media-video/kino/metadata.xml | 14 -- profiles/package.mask | 6 - 11 files changed, 460 deletions(-) |