[Bug 50039] New: Wine 5.18+ fails build on Ubuntu 18.04 with libwine.so Makefile symbolic link

WineHQ Bugzilla wine-bugs at winehq.org
Thu Oct 22 09:25:43 CDT 2020


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 at winehq.org
          Reporter: simonnatella at 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, at bindir\@,/build/data64/build/bin,g' -e
's, at dlldir\@,/build/data64/build/lib64/wine,g' -e 's, at PACKAGE_STRING\@,Wine
5.19,g' -e 's, at 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, at bindir\@,/build/data64/build/bin,g' -e
's, at dlldir\@,/build/data64/build/lib64/wine,g' -e 's, at PACKAGE_STRING\@,Wine
5.19,g' -e 's, at 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.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list