https://bugs.winehq.org/show_bug.cgi?id=49823
Bug ID: 49823 Summary: Wine-staging 5.17 build fails on older Debian/Ubuntu versions Product: Wine-staging Version: 5.17 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dimesio@earthlink.net CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
Building the wine-staging packages failed on Debian 9, Ubuntu 16.04, and Ubuntu 18.04. No problem on newer Debian/Ubuntu versions, Fedora, or the wine-devel packages.
[ 846s] unix/file.c: In function 'FILE_CreateSymlink': [ 846s] unix/file.c:6093:48: error: 'RENAME_EXCHANGE' undeclared (first use in this function); did you mean 'SONAME_LIBSANE'? [ 846s] if (!renameat2( -1, tmplink, -1, unix_src, RENAME_EXCHANGE )) [ 846s] ^~~~~~~~~~~~~~~ [ 846s] SONAME_LIBSANE [ 846s] unix/file.c:6093:48: note: each undeclared identifier is reported only once for each function it appears in [ 846s] unix/file.c: In function 'FILE_RemoveSymlink': [ 846s] unix/file.c:6418:49: error: 'RENAME_EXCHANGE' undeclared (first use in this function); did you mean 'SONAME_LIBSANE'? [ 846s] if (!renameat2( -1, tmpfile, -1, unix_name, RENAME_EXCHANGE )) [ 846s] ^~~~~~~~~~~~~~~ [ 846s] SONAME_LIBSANE [ 846s] Makefile:945: recipe for target 'unix/file.o' failed [ 846s] make[2]: *** [unix/file.o] Error 1 [ 846s] make[2]: Leaving directory '/usr/src/packages/BUILD/dlls/ntdll' [ 846s] Makefile:9337: recipe for target 'dlls/ntdll' failed [ 846s] make[1]: *** [dlls/ntdll] Error 2