https://bugs.winehq.org/show_bug.cgi?id=50039
Bug ID: 50039 Summary: Wine 5.18+ fails build on Ubuntu 18.04 with libwine.so Makefile symbolic link Product: Wine Version: 5.18 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: build-env Assignee: wine-bugs@winehq.org Reporter: simonnatella@gmail.com Distribution: ---
I make community bi-arch wine builds for the Star Citizen community (used by others too due to high compatibility) on Ubuntu 18.04LTS using containers for each arch, and I've noticed that since Wine 5.18 builds fail on 64bit due to the following:
... gcc -m64 -c -o dlls/msvcrtd/onexit.o /build/wine-git/dlls/msvcrt/onexit.c -Idlls/msvcrtd -I/build/wine-git/dlls/msvcrtd \ -I/build/wine-git/dlls/msvcrt -Iinclude -I/build/wine-git/include -I/build/wine-git/include/msvcrt \ -D__WINESRC__ -D_MT -D_MSVCR_VER=0 -D_REENTRANT -fPIC -fasynchronous-unwind-tables -fno-builtin \ -fshort-wchar -mabi=ms -Wall -pipe -fno-stack-protector -fno-strict-aliasing \ -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Wshift-overflow=2 \ -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith \ -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 rm -f /build/data64/build/lib64/libwine.so && ln -s libwine.so.1 /build/data64/build/lib64/libwine.so LC_ALL=C sed -e 's,@bindir@,/build/data64/build/bin,g' -e 's,@dlldir@,/build/data64/build/lib64/wine,g' -e 's,@PACKAGE_STRING@,Wine 5.19,g' -e 's,@PACKAGE_VERSION@,5.19,g' /build/wine-git/tools/widl/widl.man.in
tools/widl/widl.man || (rm -f tools/widl/widl.man && false)
LC_ALL=C sed -e 's,@bindir@,/build/data64/build/bin,g' -e 's,@dlldir@,/build/data64/build/lib64/wine,g' -e 's,@PACKAGE_STRING@,Wine 5.19,g' -e 's,@PACKAGE_VERSION@,5.19,g' /build/wine-git/tools/winebuild/winebuild.man.in >tools/winebuild/winebuild.man || (rm -f tools/winebuild/winebuild.man && false) ln: failed to create symbolic link '/build/data64/build/lib64/libwine.so': No such file or directory Makefile:221721: recipe for target 'libs/wine/install-dev' failed make: *** [libs/wine/install-dev] Error 1 make: *** Waiting for unfinished jobs....
Switching to 19.10 fixes the issue, except that 19.10 is of course no longer updated and 20.04 would break the compatibility I'm aiming for.
I'm presuming it's some sort of autotools error, but I don't understand autotools much myself, nor how fixable this is.
https://bugs.winehq.org/show_bug.cgi?id=50039
--- Comment #1 from Alexandre Julliard julliard@winehq.org --- Please attach the complete build log starting with configure.
https://bugs.winehq.org/show_bug.cgi?id=50039
--- Comment #2 from molotov simonnatella@gmail.com --- Created attachment 68484 --> https://bugs.winehq.org/attachment.cgi?id=68484 wine-5.18-ubuntu-18.04-64bit.log
Wine 5.18 Ubuntu 18.04 64bit build log
https://bugs.winehq.org/show_bug.cgi?id=50039
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |ec99ba1b29a78bdace93bd30819 | |d6a90f78e091d
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Thanks! Hopefully fixed by ec99ba1b29a78bdace93bd30819d6a90f78e091d.
https://bugs.winehq.org/show_bug.cgi?id=50039
--- Comment #4 from molotov simonnatella@gmail.com --- (In reply to Alexandre Julliard from comment #3)
Thanks! Hopefully fixed by ec99ba1b29a78bdace93bd30819d6a90f78e091d.
Thanks Alexandre, I can confirm this has fixed it.
https://bugs.winehq.org/show_bug.cgi?id=50039
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.21.