Updates 2025-04-12 - Unable to build Mixxx from source

can’t build mixxx :sob:

Auto MOC seems to fail

In file included from /home/roman/Developer/Downloads/mixxx-2.5/src/qml/qmlwaveformoverview.cpp:4:
/home/roman/Developer/Downloads/mixxx-2.5/build/mixxx-qml-lib_autogen/include/moc_qmlwaveformoverview.cpp: In static member function ‘static void mixxx::qml::QmlWaveformOverview::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)’:
/home/roman/Developer/Downloads/mixxx-2.5/build/mixxx-qml-lib_autogen/include/moc_qmlwaveformoverview.cpp:237:43: error: no matching function for call to ‘mixxx::qml::QmlWaveformOverview::rendererChanged()’
  237 |                 Q_EMIT _t->rendererChanged();
      |                        ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/roman/Developer/Downloads/mixxx-2.5/src/qml/qmlwaveformoverview.cpp:1:
/home/roman/Developer/Downloads/mixxx-2.5/src/qml/qmlwaveformoverview.h:61:10: note: candidate: ‘void mixxx::qml::QmlWaveformOverview::rendererChanged(Renderer)’
   61 |     void rendererChanged(mixxx::qml::QmlWaveformOverview::Renderer renderer);
      |          ^~~~~~~~~~~~~~~
/home/roman/Developer/Downloads/mixxx-2.5/src/qml/qmlwaveformoverview.h:61:10: note:   candidate expects 1 argument, 0 provided
[180/882] Building CXX object CMakeFiles/mixxx-qml-lib.dir/src/qml/qmlplayerproxy.cpp.o
ninja: build stopped: subcommand failed.
[exit 1]

tried release and fresh git clones

1 Like

Your post in the recent Stable Updates thread has been moved to its own topic as the subject is off-topic.

Hint: mixxx is in the official repos, no need to build it from source. :wink:

1 Like

Yea, but I actually need to compile it because I have personal mods for it. (I tried without my mods like I said)

I successfully compiled 2 days ago. so it must be related to this update push

No idea what that means.

Please see:

By the way, I often create modified packages. I suggest starting with the Arch PKGBUILD and go from there.

personal mods = I downloaded the source from github and modified the code

To make it easier, create your own fork (if you haven’t already), then just change the source array URL in the PKGBUILD to your repo. Also might want to rename the package to something unique; i.e., mixxx-mod or something that provides mixxx.

I’m off to eat and relax for the evening. Have fun tinkering! :wave:

1 Like

like I said got nothing to do with what I add or not.
it doesnt build. from release download. But it did 2 days ago.

I used mixxx yesterday. And it stopped working with todays Update.
Which always happens when you push updates.

used build tools:
cmake
ninja
make

Hmm… I just tried building it in a clean chroot and it failed at about 15% with the same error you posted above.

If you can reproduce it on Arch, then you can submit an Arch bug report as a GitLab issue here.

Thing is, I don’t know why it’s failing, so I’m not even qualified to create a report as I don’t have enough information.

1 Like

All I can think of is that the source code uses automatic mocups to populate other code. This part looks like it could be related to that. But I don’t know how this mockup works or if any of the build tools are affected.

Could also stuff being deprecated and tossed.

Have you checked upstream issues?

Er, wow…2.2k issues and 306 PRs? :scream:

Anyway…

1 Like