Bug 158289 - [patch] multimedia/ffmpeg 0.7.1,1 cannot build with filters yadif and gradfun
Summary: [patch] multimedia/ffmpeg 0.7.1,1 cannot build with filters yadif and gradfun
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Matuska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-25 11:10 UTC by Edward.Sanford.Sutton, III
Modified: 2011-06-29 15:24 UTC (History)
0 users

See Also:


Attachments
file.diff (315 bytes, patch)
2011-06-25 11:10 UTC, Edward.Sanford.Sutton, III
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Edward.Sanford.Sutton, III 2011-06-25 11:10:10 UTC
I cannot build ffmpeg 0.7.1,1 successfully on my system. I have not been able to figure out the makefile system to get compiler/makefile output that tells me what is being executed from make to the compiler but I suspect an include issue of some sort; running gmake in the work directory manually causes gmake to use 100% on a cpu core but does nothing further. I heard other reports of the trouble with no ideas or fixes. The following errors result (on a repeat make to clean output towards the failure):

===>  Building for ffmpeg-0.7.1,1
LD      ffmpeg_g
LD      ffprobe_g
LD      ffserver_g
libavfilter/libavfilter.so: undefined reference to `ff_yadif_filter_line_sse2'
libavfilter/libavfilter.so: undefined reference to `ff_gradfun_blur_line_sse2'
libavfilter/libavfilter.so: undefined reference to `ff_gradfun_filter_line_mmx2'
libavfilter/libavfilter.so: undefined reference to `ff_yadif_filter_line_ssse3'
libavfilter/libavfilter.so: undefined reference to `ff_yadif_filter_line_sse2'
libavfilter/libavfilter.so: undefined reference to `ff_yadif_filter_line_mmx'
libavfilter/libavfilter.so: undefined reference to `ff_gradfun_filter_line_ssse3'
libavfilter/libavfilter.so: undefined reference to `ff_gradfun_blur_line_sse2'
libavfilter/libavfilter.so: undefined reference to `ff_gradfun_filter_line_mmx2'
libavfilter/libavfilter.so: undefined reference to `ff_yadif_filter_line_ssse3'
libavfilter/libavfilter.so: undefined reference to `ff_yadif_filter_line_mmx'
libavfilter/libavfilter.so: undefined reference to `ff_gradfun_filter_line_ssse3'
gmake: *** [ffprobe_g] Error 1
gmake: *** Waiting for unfinished jobs....
libavfilter/libavfilter.so: undefined reference to `ff_yadif_filter_line_sse2'
libavfilter/libavfilter.so: undefined reference to `ff_gradfun_blur_line_sse2'
gmake: *** [ffmpeg_g] Error 1
libavfilter/libavfilter.so: undefined reference to `ff_gradfun_filter_line_mmx2'
libavfilter/libavfilter.so: undefined reference to `ff_yadif_filter_line_ssse3'
libavfilter/libavfilter.so: undefined reference to `ff_yadif_filter_line_mmx'
libavfilter/libavfilter.so: undefined reference to `ff_gradfun_filter_line_ssse3'
gmake: *** [ffserver_g] Error 1
*** Error code 1

Stop in /usr/ports/multimedia/ffmpeg.
*** Error code 1

Stop in /usr/ports/multimedia/ffmpeg.

Fix: More of a workaround until I can find out what the compiler is doing:
cd /usr/ports/multimedia/ffmpeg;make CONFIGURE_ARGS+="--disable-filter=yadif --disable-filter=gradfun"

or apply the following diff
How-To-Repeat: cd /usr/ports/multimedia/ffmpeg;make
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-06-27 05:05:02 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mm

Fix synopsis and assign.
Comment 2 Martin Matuska freebsd_committer freebsd_triage 2011-06-27 08:53:14 UTC
Please update your ports tree and try building again.
You are probably missing
"multimedia/ffmpeg/files/patch-libavfilter-Makefile".

-- 
Martin Matuska
FreeBSD committer
http://blog.vx.sk
Comment 3 Martin Matuska freebsd_committer freebsd_triage 2011-06-27 08:53:52 UTC
State Changed
From-To: open->feedback

Awaiting submitter feedback.
Comment 4 Edward.Sanford.Sutton, III 2011-06-28 10:50:07 UTC
Please close now; its working.
Other than a recursive loop of ffmpeg>freei0r>opencv>[repeat] (solved by 
changing opencv back to defaults with rmconfig) I now have all options but 
alsa (not sure if I have a use for it) checked and have a successful build. 
Thank you.
Comment 5 dfilter service freebsd_committer freebsd_triage 2011-06-29 15:16:35 UTC
mm          2011-06-29 14:16:13 UTC

  FreeBSD ports repository

  Modified files:
    multimedia/ffmpeg    Makefile 
    multimedia/ffmpeg-devel Makefile 
  Log:
  Reintroduce OPENCV and FREI0R options and enable by default
  Remove SSSE3 and CPUDETECT options (now always on)
  
  PR:     ports/149889, ports/156803, ports/158289, ports/158331
  
  Revision  Changes    Path
  1.146     +12 -18    ports/multimedia/ffmpeg-devel/Makefile
  1.132     +20 -30    ports/multimedia/ffmpeg/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 6 Martin Matuska freebsd_committer freebsd_triage 2011-06-29 15:24:56 UTC
State Changed
From-To: feedback->closed

Resolved. Thanks!