Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jan 2023 02:17:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 269091] multimedia/mpv: Issues with Luajit-devel with other pkgs and error compiling  MPV default option
Message-ID:  <bug-269091-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269091

            Bug ID: 269091
           Summary: multimedia/mpv: Issues with Luajit-devel with other
                    pkgs and error compiling  MPV default option
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: multimedia@FreeBSD.org
          Reporter: info@jeaholding.com
             Flags: maintainer-feedback?(multimedia@FreeBSD.org)
          Assignee: multimedia@FreeBSD.org

So it looks like the MPV package has slightly deviated from others, packages
like the obs-studio and began using libluajit-5.1.so : lang/luajit-devel
instead of the libluajit-5.1.so : lang/luajit as in the port address makefi=
le.
This is causing conflict in packages like OBS-studio to record and mpv as
player.=20

I tried compiling from source (since it uses the lang/luajit instead of the
luajit-devel) and notice there is another issue/bug when compiling with def=
ault
options.

fatal error: too many errors emitted, stopping now [-ferror-limit=3D]
5 warnings and 20 errors generated.


(when putting MAKE_JOBS_UNSAFE =3D yes was not able to compile).

=3D=3D=3D>  Building for mpv-0.33.0_6,1
Waf: Entering directory `/usr/ports/multimedia/mpv/work/mpv-0.33.0/build'
[1/1] Compiling version.sh
20:42:54 runner ' sh ../version.sh
--cwd=3D"/usr/ports/multimedia/mpv/work/mpv-0.33.0"
--versionh=3D"generated/version.h" '
[ 42/493] Compiling video/out/vulkan/context_xlib.c
20:42:55 runner ['cc', '-O2', '-pipe', '-DLIBICONV_PLUG',
'-fstack-protector-strong', '-isystem', '/usr/local/include',
'-fno-strict-aliasing', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE',
'-D_FILE_OFFSET_BITS=3D64', '-Wall', '-std=3Dc11',
'-Werror=3Dimplicit-function-declaration', '-Wno-error=3Ddeprecated-declara=
tions',
'-Wno-error=3Dunused-function', '-Wempty-body', '-Wdisabled-optimization',
'-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=3Dformat-securit=
y',
'-Wno-redundant-decls', '-Wvla', '-Wimplicit-fallthrough', '-fno-math-errno=
',
'-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch',
'-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-resul=
t',
'-Wno-logical-op-parentheses', '-fcolor-diagnostics',
'-Wno-tautological-compare', '-Wno-tautological-constant-out-of-range-compa=
re',
'-pthread', '-I/usr/local/include', '-pthread', '-pthread', '-pthread', '-I=
.',
'-I..', '-I../../../../../../local/include',
'-I../../../../../../local/include/lua52',
'-I../../../../../../local/include/libepoll-shim',
'-I../../../../../../local/include/freetype2',
'-I../../../../../../local/include/libpng16',
'-I../../../../../../local/include/harfbuzz',
'-I../../../../../../local/include/glib-2.0',
'-I../../../../../../local/lib/glib-2.0/include',
'-I../../../../../../local/include/fribidi',
'-I../../../../../../local/include/libdrm',
'-I../../../../../../local/include/uchardet', '-D_THREAD_SAFE',
'-D_THREAD_SAFE', '-D_THREAD_SAFE', '../video/out/vulkan/context_xlib.c', '=
-c',
'-o/usr/ports/multimedia/mpv/work/mpv-0.33.0/build/video/out/vulkan/context=
_xlib.c.29.o',
'-DLIBICONV_PLUG', '-isystem', '/usr/local/include']
../video/out/vulkan/context_xlib.c:61:33: error: incomplete definition of t=
ype
'struct pl_vk_inst'
    VkInstance inst =3D vk->vkinst->instance;
                      ~~~~~~~~~~^
../video/out/vulkan/common.h:32:18: note: forward declaration of 'struct
pl_vk_inst'
    const struct pl_vk_inst *vkinst;
                 ^
1 error generated.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269091-7788>