Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Dec 2018 20:42:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        multimedia@FreeBSD.org
Subject:   [Bug 234230] [PATCH] multimedia/vlc3: Fix plugin cache broken after issuing strip(1) on every plugin
Message-ID:  <bug-234230-12827@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 234230
           Summary: [PATCH] multimedia/vlc3: Fix plugin cache broken after
                    issuing strip(1) on every plugin
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: multimedia@FreeBSD.org
          Reporter: wulf@freebsd.org
          Assignee: multimedia@FreeBSD.org
             Flags: maintainer-feedback?(multimedia@FreeBSD.org)

Created attachment 200319
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D200319&action=
=3Dedit
Regenerate plugin cache broken by strip(1)

At the end of port staging Makefile issues strip(1) cmd on every plugin
bundled.
That leads to stalled content of plugin cache (plugins.dat) and results in a
lot of warnings [1] at the start of vlc and sometimes causes startup crashes
[2] e.g. when gtk2 widgets are enabled with qt5ct.

Fix it with extra run of vlc-cache-gen right after the plugins have been
stripped.

[1]. vlc warnings:

$ vlc
VLC media player 3.0.4 Vetinari (revision 3.0.4-0-gf615db6332)
[0000000800af0060] main libvlc error: stale plugins cache: modified
/usr/local/lib/vlc/plugins/mux/libmux_ps_plugin.so
[0000000800af0060] main libvlc error: stale plugins cache: modified
/usr/local/lib/vlc/plugins/mux/libmux_ogg_plugin.so
[0000000800af0060] main libvlc error: stale plugins cache: modified
/usr/local/lib/vlc/plugins/mux/libmux_wav_plugin.so

[2]. vlc crash:

[0000000800acd060] main libvlc: Running vlc with the default interface. Use
'cvlc' to use vlc without interface.
qt5ct: using qt5ct plugin

(<unknown>:89888): Gtk-ERROR **: 23:30:11.352: GTK+ 2.x symbols detected. U=
sing
GTK+ 2.x and GTK+ 3 in the same process is not supported
zsh: trace trap (core dumped)  vlc

--=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-234230-12827>