mumble-voip / mumble

Mumble is an open-source, low-latency, high quality voice chat software.
https://www.mumble.info
Other
6.45k stars 1.12k forks source link

Failed to build 1.3.0_2198_g282d672-1 on Arch Linux #2976

Closed FunctionalHacker closed 7 years ago

FunctionalHacker commented 7 years ago

I don't know if this really belongs here, but this morning I was updating my AUR packages on my Arch box and it failed to build the latest snapshot of Mumble. Here's the output of pacaur: https://pastebin.com/WJ2vNTiv

mkrautz commented 7 years ago

Hi, thanks for reporting this!

From things like

make[2]: Entering directory '/home/sysadmin/.cache/pacaur/mumble-snapshot/src/mumble-1.3.0~2198&~g282d672~snapshot/src/mumble_proto'
make[2]: Nothing to be done for 'first'.
make[2]: Leaving directory '/home/sysadmin/.cache/pacaur/mumble-snapshot/src/mumble-1.3.0~2198~g282d672~snapshot/src/mumble_proto'

it seems to me that the build directory isn't clean.

My best bet is that your compiler has been upgraded since last time the Mumble tree was built, and the PCH files are now incompatible with the new compiler.

FunctionalHacker commented 7 years ago

Thanks for the input! How would I go about cleaning the build directory and fix the incompatible PCH files? I've been googling all day but I haven't been able to find a definitive answer.

davidebeatrici commented 7 years ago

Hi, the make clean command should clean up everything.

FunctionalHacker commented 7 years ago

make clean returns: "make: *** No rule to make target 'clean'. Stop."

I found the command "pacaur -Scc clean" which seems to delete most everything related to pacaur from my system, but when I try to rebuild mumble, still tells me: "==> WARNING: Using existing $srcdir/ tree" and returns the same errors as before.

mkrautz commented 7 years ago

I'd just try to delete the /home/sysadmin/.cache/pacaur/mumble-snapshot/src/mumble-1.3.0~2198&~g282d672~snapshot/ tree.

FunctionalHacker commented 7 years ago

That did the trick! Thanks alot :)

mkrautz commented 7 years ago

👍 Excellent. Closing.