File does not exist: /usr/lib/i386-linux-gnu/wine/libwinecrt0.a
Full log:
https://hastebin.com/pubopoteke.erl
tresf suggested that this workaround could fix this for 17.04:
https://github.com/LMMS/lmms/pull/3130/files
@n-pigeon thanks for the bug report. libwinecrt0.a missing seems to be a common problem amongst build environments. Can you please sudo updatedb and post the output of locate libwinecrt0.a so that we can see where it's located and why it's failing?
Workaround not affective.Compiled with make -Bi to get operational app.
Output of sudo updatedb then locate libwinecrt0.a:
foo@foo:/media/foo$ sudo updatedb
foo@foo:/media/foo$ locate libwinecrt0.a
/usr/lib/i386-linux-gnu/wine/libwinecrt0.a
/usr/lib/x86_64-linux-gnu/wine/libwinecrt0.a
Compiled in Ubuntu 16.10 under Gnome using make v4.1
Edit:
Issue resolved but other issues discovered.
Oh sorry forgot about this.
Here is location: /usr/lib/x86_64-linux-gnu/wine/libwinecrt0.a
Sorry for late reply :<
@n-pigeon is libwine-dev:i386 installed?
@karmux yes
@n-pigeon reproduced on 17.04. libwine-dev:i386 installs /usr/lib/i386-linux-gnu/wine/libwinecrt0.a properly, but cmake still finds the 64-bit version...
This appears to be caused by wine64-tools, somewhat explained here #3142 (thanks @karmux!)
Note, wine32-tools:i386 will remove wine64-tools and compilation will succeed. I've added this information to our wiki here: https://github.com/LMMS/lmms/wiki/Dependencies-Ubuntu#winegcc-g-failed
sudo apt-get install libwine-dev:i386 wine32-tools:i386
Closing as duplicate of #3582. We'll work towards a more permanent solution over there.
Most helpful comment
@n-pigeon reproduced on 17.04.
libwine-dev:i386installs/usr/lib/i386-linux-gnu/wine/libwinecrt0.aproperly, but cmake still finds the 64-bit version...This appears to be caused by
wine64-tools, somewhat explained here #3142 (thanks @karmux!)Note,
wine32-tools:i386will removewine64-toolsand compilation will succeed. I've added this information to our wiki here: https://github.com/LMMS/lmms/wiki/Dependencies-Ubuntu#winegcc-g-failed