[Bug 251044] multimedia/handbrake: Fails to build: dav1d not found

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 11 10:58:14 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251044

            Bug ID: 251044
           Summary: multimedia/handbrake: Fails to build: dav1d not found
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: cuicui at gmail.com
                CC: naito.yuichiro at gmail.com
             Flags: maintainer-feedback?(naito.yuichiro at gmail.com)
                CC: naito.yuichiro at gmail.com

Created attachment 219548
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=219548&action=edit
Updated file/patch-contrib_ffmpeg_module.defs

Similar to bug #244432, this time it's a different error.

When ffmpeg/configure script tests for dav1d, it gets a linker error due to
libpthread not being linked in. Upon further inspection, it seems that dav1d.pc
generated has -pthread in Libs.private. pkg-config assume you are linking
dynamically, so private dependencies are not included by default. But they are
required for static linking.

Fix is to pass in --pkg-config-flags=--static to ffmpeg's configure script.

I've attached the fix. It's an updated file/patch-contrib_ffmpeg_module.defs
(It's not a patch of a patch).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list