Mixxx 2.2.4 fails to compile

I am completely new to Mixxx. My DJ software for a long time was IDJC. It now fails to compile on my Gentoo computers and is no longer maintained. So I’m hoping to get Mixxx compiled.

I would appreciate any advice on what went wrong. This is the terminal output when it failed to compile:

>>> Verifying ebuild manifests
>>> Emerging (1 of 1) media-sound/mixxx-2.2.4::gentoo
>>> Failed to emerge media-sound/mixxx-2.2.4, Log file:
>>>  '/var/tmp/portage/media-sound/mixxx-2.2.4/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 1.85, 1.64, 1.65
 * Package:    media-sound/mixxx-2.2.4
 * Repository: gentoo
 * Maintainer: proaudio@gentoo.org
 * USE:        aac abi_x86_64 amd64 elibc_glibc ffmpeg kernel_linux lv2 mp3 mp4 opus shout userland_GNU wavpack
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Using python3.8 to build
 * Applying mixxx-2.0.0-docs.patch ...
patching file src/SConscript
Hunk #1 succeeded at 422 with fuzz 2 (offset 132 lines).
 [ ok ]
 * Applying mixxx-2.2.3-qt-5.14.patch ...
 [ ok ]
 * Applying mixxx-2.2.4-metadata.patch ...
 [ ok ]
scons -j4 prefix=/usr qtdir=/usr/lib64/qt5 faad=1 ffmpeg=1 hid=0 hifieq=1 lilv=1 m4a=1 mad=1 optimize=0 opus=1 qt5=1 shoutcast=1 vinylcontrol=1 wv=1
scons: Reading SConscript files ...
INFO:root:Target Platform: linux
INFO:root:Target Machine: x86_64
INFO:root:Build: debug
INFO:root:Toolchain: gnu
INFO:root:Crosscompile: NO
INFO:root:Qt path: /usr/lib64/qt5
AttributeError: module 'SCons.Warnings' has no attribute 'Warning':
  File "/var/tmp/portage/media-sound/mixxx-2.2.4/work/mixxx-release-2.2.4/SConstruct", line 72:
    build = mixxx.MixxxBuild(target, machine, build_type,
  File "/var/tmp/portage/media-sound/mixxx-2.2.4/work/mixxx-release-2.2.4/build/mixxx.py", line 216:
    self.env = Script.Environment(
  File "/usr/lib/python3.8/site-packages/SCons/Environment.py", line 1013:
    apply_tools(self, tools, toolpath)
  File "/usr/lib/python3.8/site-packages/SCons/Environment.py", line 116:
  File "/usr/lib/python3.8/site-packages/SCons/Environment.py", line 1870:
    tool = SCons.Tool.Tool(tool, toolpath, **kw)
  File "/usr/lib/python3.8/site-packages/SCons/Tool/__init__.py", line 120:
    module = self._tool_module()
  File "/usr/lib/python3.8/site-packages/SCons/Tool/__init__.py", line 209:
    module = spec.loader.load_module(spec.name)
  File "<frozen importlib._bootstrap_external>", line 462:
  File "<frozen importlib._bootstrap_external>", line 962:
  File "<frozen importlib._bootstrap_external>", line 787:
  File "<frozen importlib._bootstrap>", line 265:
  File "<frozen importlib._bootstrap>", line 702:
  File "<frozen importlib._bootstrap>", line 671:
  File "<frozen importlib._bootstrap_external>", line 783:
  File "<frozen importlib._bootstrap>", line 219:
  File "/var/tmp/portage/media-sound/mixxx-2.2.4/work/mixxx-release-2.2.4/build/qt5.py", line 46:
    class ToolQt5Warning(SCons.Warnings.Warning):
 * ERROR: media-sound/mixxx-2.2.4::gentoo failed (compile phase):
 *   escons failed.
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 2727:  Called escons 'prefix=/usr' 'qtdir=/usr/lib64/qt5' 'faad=1' 'ffmpeg=1' 'hid=0' 'hifieq=1' 'lilv=1' 'm4a=1' 'mad=1' 'optimize=0' 'opus=1' 'qt5=1' 'shoutcast=1' 'vinylcontrol=1' 'wv=1'
 *   environment, line 1386:  Called die
 * The specific snippet of code:
 *                   die -n "escons failed."

Mixxx 2.2.4 is unmaintained. We switched the build system with 2.3 from SCons to CMake.

Oh, okay. I was trying to go with 2.2.4 based on info on the site. It turns out that 2.2.4 has a scons warning patch someone in the Gentoo world wrote, so it seems to be compiling now. I’m sure I’ll switch to 2.3 when it’s stable. Thank you. :slight_smile: