Bug 207632

Summary: multimedia/obs-studio: Crashes on start (Cannot mix incompatible Qt library (version 0x50401) with this library)
Product: Ports & Packages Reporter: Buglie <bsdbugs>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: bsdbugs, koobs, vanilla, w.schwarzenfeld
Priority: --- Keywords: crash, needs-qa
Version: Latest   
Hardware: Any   
OS: Any   

Description Buglie 2016-03-02 00:48:40 UTC
I installed obs-studio with "pkg install obs-studio"
and can't start the program.

i get this error:

$ obs
Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /usr/local/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /usr/local/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/themes/Default.qss
Attempted path: /usr/local/share/obs/obs-studio/themes/Default.qss
Attempted path: share/obs/obs-studio/license/gplv2.txt
Attempted path: /usr/local/share/obs/obs-studio/license/gplv2.txt
Cannot mix incompatible Qt library (version 0x50401) with this library (version 0x50501)
Abort trap (core dumped)
$ 


------------------------------------------------------------------------------

My system is:

$ uname -a
FreeBSD MyBSD 10.2-RELEASE-p9 FreeBSD 10.2-RELEASE-p9 #0: Thu Jan 14 01:32:46 UTC 2016     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
Comment 1 Buglie 2016-03-02 01:10:49 UTC
When i try to compile it from ports i get after 100% of compiling process this error:
...
[100%] Linking CXX executable obs
/usr/local/lib/libQt5Network.so.5.4.1: undefined reference to `QNonContiguousByteDevice::disableReset()'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
--- obs/obs ---
*** [obs/obs] Error code 1

make[3]: stopped in /usr/ports/multimedia/obs-studio/work/obs-studio-0.9.1
1 error

make[3]: stopped in /usr/ports/multimedia/obs-studio/work/obs-studio-0.9.1
--- obs/CMakeFiles/obs.dir/all ---
*** [obs/CMakeFiles/obs.dir/all] Error code 2

make[2]: stopped in /usr/ports/multimedia/obs-studio/work/obs-studio-0.9.1
1 error

make[2]: stopped in /usr/ports/multimedia/obs-studio/work/obs-studio-0.9.1
*** [all] Error code 2

make[1]: stopped in /usr/ports/multimedia/obs-studio/work/obs-studio-0.9.1
1 error

make[1]: stopped in /usr/ports/multimedia/obs-studio/work/obs-studio-0.9.1
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/multimedia/obs-studio
Comment 2 Vanilla I. Shu freebsd_committer freebsd_triage 2016-04-25 15:26:08 UTC
Maybe you can try obs-studio 0.14.1, I just committed to ports tree.
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2016-08-07 15:20:42 UTC
Re-assign to pool, kmoore@ is no longer maintainer.

@Buglie, is this still an issue for you after 0.14.1 as per comment 2?
Comment 4 Walter Schwarzenfeld 2018-01-13 22:47:49 UTC
We have version at 20.1.3. Is the problem still present? If not, please close the PR.
Comment 5 Walter Schwarzenfeld 2018-01-15 05:05:37 UTC
Port has no maintainer.
Version 20.1.3_1 installs fine under 10.4-RELEASE. 10.2 is EOL. So it is overcome by events.