Bug 193657 - [PATCH] multimedia/ffmpeg doesn't compile
Summary: [PATCH] multimedia/ffmpeg doesn't compile
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: Thomas Zander
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-15 14:11 UTC by Farid Hajji
Modified: 2014-09-16 11:49 UTC (History)
2 users (show)

See Also:
farid: maintainer-feedback? (multimedia)


Attachments
patch-libadvice-Makefile to fix compile error (653 bytes, patch)
2014-09-15 14:11 UTC, Farid Hajji
no flags Details | Diff
full build log (18.04 KB, application/x-xz)
2014-09-15 15:48 UTC, Farid Hajji
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Farid Hajji 2014-09-15 14:11:50 UTC
Created attachment 147346 [details]
patch-libadvice-Makefile to fix compile error

When compiling multimedia/ffmpeg from the ports tree at revision r368119,
I get the following error messages:

libavdevice/libavdevice.so: undefined reference to `ff_timefilter_update'
libavdevice/libavdevice.so: undefined reference to `ff_timefilter_destroy'
libavdevice/libavdevice.so: undefined reference to `ff_timefilter_new'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [ffmpeg_g] Error 1
gmake[2]: Leaving directory `/zvolenc/ports/multimedia/ffmpeg/work/ffmpeg-2.3.3'
*** Error code 1

The solution is to add the following file patch-libavdevice-Makefile to
the files/ subdirectory of the post.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-09-15 14:11:50 UTC
Auto-assigned to maintainer multimedia@FreeBSD.org
Comment 2 Thomas Zander freebsd_committer freebsd_triage 2014-09-15 15:03:47 UTC
Do you have a full build log? I'd be interested in the origin of this issue.
Comment 3 Farid Hajji 2014-09-15 15:48:51 UTC
Created attachment 147349 [details]
full build log

Sure, here's the full build log.
Comment 4 commit-hook freebsd_committer freebsd_triage 2014-09-16 11:48:21 UTC
A commit references this bug:

Author: riggs
Date: Tue Sep 16 11:47:58 UTC 2014
New revision: 368305
URL: http://svnweb.freebsd.org/changeset/ports/368305

Log:
  - Fix build break if PULSEAUDIO is defined but not ALSA or LIBV4L

  PR:		193657
  Submitted by:	farid@hajji.name

Changes:
  head/multimedia/ffmpeg/files/patch-libavdevice-Makefile