Bug 249218

Summary: audio/mixxx: ERROR:root:Build had unmet dependencies. Exiting.
Product: Ports & Packages Reporter: David Schlachter <fbsd-bugzilla>
Component: Individual Port(s)Assignee: Jose Alonso Cardenas Marquez <acm>
Status: Closed FIXED    
Severity: Affects Only Me CC: fbsd-bugzilla
Priority: --- Flags: bugzilla: maintainer-feedback? (acm)
Version: Latest   
Hardware: Any   
OS: Any   

Description David Schlachter 2020-09-09 17:48:41 UTC
Looks like an issue related to linking Qt libraries.

Relevant lines from build log (output of `sudo make` in `/usr/ports/audio/mixxx`):

    Configuring OpenGLES
    Configuring QtKeychain
    ERROR:root:Build had unmet dependencies. Exiting.

Downloading mixxx-2.2.4 source and building with scons (`scons -j1 optimize=native qtdir=/usr/local/share/qt5`) shows more detailed output:

    cc -o .sconf_temp/conftest_46 .sconf_temp/conftest_46.o -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib -lpthread -logg -lvorbis -lebur1
28 -lportaudio -lQtCore -lQtGui -lQtNetwork -lQtOpenGL -lQtScript -lQtScriptTools -lQtSql -lQtSvg -lQtTest -lQtXml -lQtConcurrent -lQtWidgets -llilv-0
    ld: error: unable to find library -lQtCore
    ld: error: unable to find library -lQtGui
    ld: error: unable to find library -lQtNetwork
    ld: error: unable to find library -lQtOpenGL
    ld: error: unable to find library -lQtScript
    ld: error: unable to find library -lQtScriptTools
    ld: error: unable to find library -lQtSql
    ld: error: unable to find library -lQtSvg
    ld: error: unable to find library -lQtTest
    ld: error: unable to find library -lQtXml
    ld: error: unable to find library -lQtConcurrent
    ld: error: unable to find library -lQtWidgets
    cc: error: linker command failed with exit code 1 (use -v to see invocation)
    scons: Configure: no
Comment 1 David Schlachter 2020-09-09 17:57:57 UTC
Reverting to python2 scons fixes the build. This could be a simple fix until the root cause is fixed, or until mixxx-2.3 is released (with new build system).

-USES=		compiler:c++11-lang gl iconv qt:5 pkgconfig scons xorg
+USES=		compiler:c++11-lang gl iconv qt:5 pkgconfig scons:python2 xorg
Comment 2 Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2020-12-14 20:54:17 UTC
(In reply to David Schlachter from comment #1)

It seems a problem with soundtouch library detection included into source code. It should works right now because soundtouch was updated to 2.2 and now
mixxx detect system soundtouch library.

Tell me if ot works for you for close this PR (don't forget update your ports tree and update audio/soundtouch and audio/mixxx)
Comment 3 David Schlachter 2020-12-14 21:12:00 UTC
The soundtouch update resolves the build issue. Thank you!