Bug 229254 - multimedia/vlc: is broken - This application failed to start because it could not find or load the Qt platform plugin "xcb" in "".
Summary: multimedia/vlc: is broken - This application failed to start because it could...
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-multimedia (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-23 17:41 UTC by andy
Modified: 2018-06-23 18:56 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andy 2018-06-23 17:41:34 UTC
FreeBSD BSD_12 12.0-CURRENT FreeBSD 12.0-CURRENT #44 r335389: Tue Jun 19 19:26:45 EDT 2018     root@BSD_12:/usr/obj/usr/src/amd64.amd64/sys/MYKERNEL  amd64 1200069

After a recent update(not sure to what) VLC fails to start.

I rebuilt all xcb* apps, several qt apps and VLC and it is still broken.


# vlc -vvvvvv
VLC media player 2.2.8 Weatherwax (revision 2.2.7-14-g3cc1d8cba9)
[0000000800e9d050] core libvlc debug: VLC media player - 2.2.8 Weatherwax
[0000000800e9d050] core libvlc debug: Copyright © 1996-2017 the VideoLAN team
[0000000800e9d050] core libvlc debug: revision 2.2.7-14-g3cc1d8cba9
[0000000800e9d050] core libvlc debug: configured with ./configure  '--enable-avcodec' '--enable-avformat' '--enable-dvbpsi' '--enable-fontconfig' '--enable-freetype' '--enable-libgcrypt' '--enable-libxml2' '--enable-oss' '--enable-postproc' '--enable-swscale' '--enable-vlc' '--disable-alsa' '--disable-chromaprint' '--disable-crystalhd' '--disable-dc1394' '--disable-decklink' '--disable-directfb' '--disable-dv1394' '--disable-fdkaac' '--disable-gles1' '--disable-gles2' '--disable-kai' '--disable-kva' '--disable-vnc' '--disable-opencv' '--disable-projectm' '--disable-telx' '--disable-tiger' '--disable-tremor' '--disable-udev' '--disable-update-check' '--disable-vcdx' '--disable-vsxu' '--disable-wasapi' '--disable-x26410b' '--with-kde-solid=/usr/local/share/apps/solid/actions' 'ac_cv_search_pthread_rwlock_init=-pthread' '--enable-a52' '--with-a52=/usr/local' '--disable-aa' '--disable-libass' '--enable-bonjour' '--disable-caca' '--enable-dbus' '--enable-dca' '--enable-dvdnav' '--enable-dvdread' '--enable-faad' '--enable-flac' '--disable-fluidsynth' '--disable-freerdp' '--disable-fribidi' '--disable-gme' '--disable-gnomevfs' '--enable-gnutls' '--enable-goom' '--disable-httpd' '--disable-jack' '--disable-kate' '--disable-bluray' '--disable-svg' '--disable-sftp' '--disable-lirc' '--disable-live555' '--disable-lua' '--enable-mad' '--with-mad=/usr/local' '--enable-mkv' '--disable-mod' '--enable-libmpeg2' '--disable-mtp' '--disable-mpc' '--disable-ncurses' '--enable-nls' '--enable-notify' '--enable-ogg' '--disable-optimizations' '--enable-opus' '--enable-png' '--disable-pulse' '--disable-realrtsp' '--enable-run-as-root' '--enable-samplerate' '--disable-schroedinger' '--disable-sdl' '--disable-sdl-image' '--disable-shout' '--disable-sid' '--disable-smbclient' '--disable-sndio' '--enable-speex' '--enable-sout' '--enable-taglib' '--enable-theora' '--enable-twolame' '--disable-upnp' '--enable-v4l2' '--enable-libva' '--enable-vcd' '--enable-libcddb' '--enable-vdpau' '--enable-vorbis' '--enable-xcb' '--enable-xvideo' '--with-x' '--enable-x264' '--enable-x265' '--disable-zvbi' '--enable-qt' '--disable-skins2' '--disable-libtar' '--with-qt-includes=/usr/local/include/qt5' '--with-qt-libraries=/usr/local/lib/qt5' '--with-extra-includes=/usr/local/include' '--with-extra-libs=/usr/local/lib' '--x-libraries=/usr/local/lib' '--x-includes=/usr/local/include' '--prefix=/usr/local' '--localstatedir=/var' '--mandir=/usr/local/man' '--disable-silent-rules' '--infodir=/usr/local/info/' '--build=amd64-portbld-freebsd12.0' 'build_alias=amd64-portbld-freebsd12.0' 'CC=cc' 'CFLAGS=-O2 -pipe  -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing' 'LDFLAGS= -fstack-protector' 'LIBS=-L/usr/local/lib' 'CPPFLAGS=-I/usr/local/include -DLIBICONV_PLUG' 'CPP=cpp' 'CXX=c++' 'CXXFLAGS=-O2 -pipe  -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -DLIBICONV_PLUG -std=c++11' 'PKG_CONFIG=pkgconf'
[0000000800e9d050] core libvlc debug: searching plug-in modules
[0000000800e9d050] core libvlc debug: loading plugins cache file /usr/local/lib/vlc/plugins/plugins.dat
[0000000800e9d050] core libvlc debug: recursively browsing `/usr/local/lib/vlc/plugins'
[0000000800e9d050] core libvlc debug: saving plugins cache /usr/local/lib/vlc/plugins/plugins.dat
[0000000800e9d050] core libvlc debug: plug-ins loaded: 394 modules
[0000000800e9d050] core libvlc debug: opening config file (/root/.config/vlc/vlcrc)
[0000000800e9d050] core libvlc debug: translation test: code is "C"
[0000000800e9d050] core libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU 
[0000000800ebe7d0] core input debug: Creating an input for 'Media Library'
[0000000800ebe7d0] core input debug: Input is a meta file: disabling unneeded options
[0000000800ebe7d0] core input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[0000000800ebe7d0] core input debug: `file/xspf-open:///root/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/root/.local/share/vlc/ml.xspf'
[0000000800ebe7d0] core input debug: creating demux: access='file' demux='xspf-open' location='/root/.local/share/vlc/ml.xspf' file='/root/.local/share/vlc/ml.xspf'
[0000000800f04630] core demux debug: looking for access_demux module matching "file": 12 candidates
[0000000800f04630] core demux debug: no access_demux modules matched
[0000000800ebe7d0] core input debug: creating access 'file' location='/root/.local/share/vlc/ml.xspf', path='/root/.local/share/vlc/ml.xspf'
[0000000800f04630] core access debug: looking for access module matching "file": 19 candidates
[0000000800f04630] filesystem access debug: opening file `/root/.local/share/vlc/ml.xspf'
[0000000800f04630] core access debug: using access module "filesystem"
[0000000800f047f0] core stream debug: Using stream method for AStream*
[0000000800f047f0] core stream debug: starting pre-buffering
[0000000800f047f0] core stream debug: received first data after 0 ms
[0000000800f047f0] core stream debug: pre-buffering done 296 bytes in 0s - 24088 KiB/s
[0000000800f04710] core stream debug: looking for stream_filter module matching "any": 9 candidates
[0000000800f04710] core stream debug: no stream_filter modules matched
[0000000800f04710] core stream debug: looking for stream_filter module matching "record": 9 candidates
[0000000800f04710] core stream debug: using stream_filter module "record"
[0000000800ebe7d0] core input debug: creating demux: access='file' demux='xspf-open' location='/root/.local/share/vlc/ml.xspf' file='/root/.local/share/vlc/ml.xspf'
[0000000800f048d0] core demux debug: looking for demux module matching "xspf-open": 60 candidates
[0000000800f048d0] xspf demux debug: using XSPF playlist reader
[0000000800f048d0] core demux debug: using demux module "playlist"
[0000000800ec1bb0] core demux meta debug: looking for meta reader module matching "any": 1 candidates
[0000000800ec1bb0] core demux meta debug: no meta reader modules matched
[0000000800ebe7d0] core input debug: `file/xspf-open:///root/.local/share/vlc/ml.xspf' successfully opened
[0000000801605310] core xml reader debug: looking for xml reader module matching "any": 1 candidates
[0000000801605310] core xml reader debug: using xml reader module "xml"
[0000000800f048d0] xspf demux debug: parsed 0 tracks successfully
[0000000800ebe7d0] core input debug: EOF reached
[0000000800f048d0] core demux debug: removing module "playlist"
[0000000800f04710] core stream debug: removing module "record"
[0000000800f04630] core access debug: removing module "filesystem"
[0000000800e963d0] core playlist debug: creating audio output
[0000000800ff7650] core audio output debug: looking for audio output module matching "any": 4 candidates
[0000000800ff7650] oss audio output debug: using FreeBSD native OSS ABI version 1200069 (0x040000) under BSD
[0000000800ff7650] core audio output debug: using audio output module "oss"
[0000000800e963d0] core playlist debug: keeping audio output
[0000000800ebef50] core interface debug: looking for interface module matching "hotkeys,none": 12 candidates
[0000000800ebef50] core interface debug: using interface module "hotkeys"
[0000000800ebf090] core interface debug: looking for interface module matching "globalhotkeys,none": 12 candidates
[0000000800ebf090] core interface debug: using interface module "xcb_hotkeys"
[0000000800ebeff0] core interface debug: looking for interface module matching "dbus,none": 12 candidates
[0000000800ebeff0] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc
[0000000800ebeff0] core interface debug: using interface module "dbus"
[0000000800e9d050] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0000000800ebf630] core interface debug: looking for interface module matching "any": 12 candidates
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Available platform plugins are: bsdfb, minimal, offscreen, vnc, xcb.

Reinstalling the application may fix this problem.
Abort trap (core dumped)


# pkg info | grep xcb
libxcb-1.13                    The X protocol C-language Binding (XCB) library
xcb-proto-1.13                 The X protocol C-language Binding (XCB) protocol
xcb-util-0.4.0_2,1             Module with libxcb/libX11 extension/replacement libraries
xcb-util-image-0.4.0_1         Port of Xlib's XImage and XShmImage functions
xcb-util-keysyms-0.4.0_1       Standard X key constants and conversion to/from keycodes
xcb-util-renderutil-0.3.9_1    Convenience functions for the Render extension
xcb-util-wm-0.4.1_3            Framework for window manager implementation
Comment 1 Walter Schwarzenfeld 2018-06-23 18:11:30 UTC
Do you have
either
export QT_QPA_PLATFORMTHEME="qt5ct"
in .bashrc
or
setenv QT_QPA_PLATFORMTHEME 'qt5ct'
in .cshrc?
Comment 2 andy 2018-06-23 18:29:13 UTC
Do you have
either
export QT_QPA_PLATFORMTHEME="qt5ct"
in .bashrc
or
setenv QT_QPA_PLATFORMTHEME 'qt5ct'
in .cshrc?

cat .bashrc
cat: .bashrc: No such file or directory

# cat .cshrc
# $FreeBSD: head/etc/root/dot.cshrc 278616 2015-02-12 05:35:00Z cperciva $
#
# .cshrc - csh resource script, read at beginning of execution by each shell
#
# see also csh(1), environ(7).
# more examples available at /usr/share/examples/csh/
#

alias h		history 25
alias j		jobs -l
alias la	ls -aF
alias lf	ls -FA
alias ll	ls -lAF

# A righteous umask
umask 22

set path = (/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin $HOME/bin)

setenv	EDITOR	vi
setenv	PAGER	more
setenv	BLOCKSIZE	K

if ($?prompt) then
	# An interactive shell -- set some stuff up
	set prompt = "%N@%m:%~ %# "
	set promptchars = "%#"

	set filec
	set history = 1000
	set savehist = (1000 merge)
	set autolist = ambiguous
	# Use history to aid expansion
	set autoexpand
	set autorehash
	set mail = (/var/mail/$USER)
	if ( $?tcsh ) then
		bindkey "^W" backward-delete-word
		bindkey -k up history-search-backward
		bindkey -k down history-search-forward
	endif

endif
Comment 3 andy 2018-06-23 18:56:27 UTC
Not sure what the exact fix is, but rebuilding all qt5 ports seems to have fixed the problem.  Closing the report.