FS#47614 - vlc: video output breaks if package is rebuilt with no changes

Attached to Project: Arch Linux
Opened by Alexander E. Patrakov (patrakov) - Monday, 04 January 2016, 09:35 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 04 January 2016, 15:04 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

First of all: don't panic. The existing binary package, vlc-2.2.1-11-x86_64.pkg.tar.xz, works for me as it should. In particular, it plays video in the same window where the menu bar and controls are shown.

However, if I rebuild the package without changes, I can no longer convince it to display video as before. It always displays video in a separate window.

Steps to reproduce:

Just rebuild the package from PKGBUILD and other files found at https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/vlc
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 04 January 2016, 15:04 GMT
Reason for closing:  Not a bug
Comment by Alexander E. Patrakov (patrakov) - Monday, 04 January 2016, 09:40 GMT
Also, rebuilding creates two extra plugins that are not found in the official package:

libfluidsynth_plugin.so
libstream_out_chromaprint_plugin.so

Please consider adjusting dependencies so that these plugins either reliably get built or reliably get disabled.
Comment by Alexander E. Patrakov (patrakov) - Monday, 04 January 2016, 10:09 GMT
The build log says here:

checking for QT... yes
checking for QTX11... no
configure: WARNING: Not building Qt Interface with X11 helpers.
checking for moc-qt5... /usr/bin/moc-qt5
checking for rcc-qt5... /usr/bin/rcc-qt4
checking for uic-qt5... /usr/bin/uic-qt5
checking whether Qt uses Xlib... no

So it looks like there must be no Qt5 on the build machine.
Comment by Alexander E. Patrakov (patrakov) - Monday, 04 January 2016, 10:19 GMT
Adding this to the prepare() function of the PKGBUILD fixes the bug for me:

sed -i -e 's:Qt5:DisabledQt5:g' configure
Comment by Alexander E. Patrakov (patrakov) - Monday, 04 January 2016, 10:32 GMT
I have also tried installing extra/qt5-x11extras to satisfy the dependency - but it produces a non-working build of vlc. Namely, the video area is now embedded in the main window, but it does not resize together with the window. So my suggestion would be to disable Qt5 detection for now, as described above.
Comment by Antonio Rojas (arojas) - Monday, 04 January 2016, 10:41 GMT
Packages in the repos are always assumed to be built in a clean chroot. So, unless you can reproduce this after building in a clean chroot, it's not a bug.

Loading...