Lmms: VST compilation fail on Ubuntu 17.04

Created on 19 May 2017  路  7Comments  路  Source: LMMS/lmms

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

Most helpful comment

@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

All 7 comments

@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.

Was this page helpful?
0 / 5 - 0 ratings