https://bugs.winehq.org/show_bug.cgi?id=51749
Bug ID: 51749 Summary: Wine 6.17 fails to build under Slackware64 Current with multilib Product: Wine Version: 6.17 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: advapi32 Assignee: wine-bugs@winehq.org Reporter: ozan.turkyilmaz@gmail.com Regression SHA1: abb17573ce52274387ff6e4d5015d5212f215321 Distribution: Slackware
Wine 6.17 does not build under Slackware64 Current under multilib. I was able to build Wine 6.15 fine. Build error is below:
tools/winegcc/winegcc -o dlls/avicap32/avicap32.so --wine-objdir . -m32 -fno-PIC -Wl,-z,notext \ -fasynchronous-unwind-tables -munix -shared dlls/avicap32/v4l.o -lntdll libs/port/libwine_port.a \ -Wl,--subsystem,unixlib -ldl /usr/bin/ld: cannot find -lntdll collect2: error: ld returned 1 exit status winegcc: /usr/bin/32/gcc failed make: *** [Makefile:9493: dlls/avicap32/avicap32.so] Error 2
git bisect outcome is below: abb17573ce52274387ff6e4d5015d5212f215321 is the first bad commit commit abb17573ce52274387ff6e4d5015d5212f215321 Author: Zebediah Figura zfigura@codeweavers.com Date: Wed Sep 1 15:56:46 2021 -0500
avicap32: Build with msvcrt.
Signed-off-by: Zebediah Figura zfigura@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
dlls/avicap32/Makefile.in | 7 ++- dlls/avicap32/avicap32_main.c | 135 ++++++++--------------------------------- dlls/avicap32/unixlib.h | 33 ++++++++++ dlls/avicap32/v4l.c | 137 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 201 insertions(+), 111 deletions(-) create mode 100644 dlls/avicap32/unixlib.h create mode 100644 dlls/avicap32/v4l.c
https://bugs.winehq.org/show_bug.cgi?id=51749
--- Comment #1 from Rafał Mużyło galtgendo@o2.pl --- Will you offer a larger portion of your build log ?
The bit you provided *may* suggest a parallel build problem, but it's difficult to tell...
https://bugs.winehq.org/show_bug.cgi?id=51749
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
https://bugs.winehq.org/show_bug.cgi?id=51749
--- Comment #2 from Ozan Türkyılmaz ozan.turkyilmaz@gmail.com --- Created attachment 70637 --> https://bugs.winehq.org/attachment.cgi?id=70637 build.log
Full build log
https://bugs.winehq.org/show_bug.cgi?id=51749
Cord Bleibaum cordbleibaum@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cordbleibaum@gmail.com
--- Comment #3 from Cord Bleibaum cordbleibaum@gmail.com --- I'm having the same problem under Fedora 34 under multilib
https://bugs.winehq.org/show_bug.cgi?id=51749
--- Comment #4 from Ozan Türkyılmaz ozan.turkyilmaz@gmail.com --- I did couple of tests if I simply do make, it fails. if I do make -j2, it builds.
https://bugs.winehq.org/show_bug.cgi?id=51749
--- Comment #5 from Cord Bleibaum cordbleibaum@gmail.com --- (In reply to Ozan Türkyılmaz from comment #4)
I did couple of tests if I simply do make, it fails. if I do make -j2, it builds.
For me the same worked, so I'd guess it's a build order problem
https://bugs.winehq.org/show_bug.cgi?id=51749
--- Comment #6 from Cord Bleibaum cordbleibaum@gmail.com --- It seems to need "dlls/ntdll/libntdll.def" built first (added it to unix_deps in makedep.c, output_module in the if (native_unix_lib) block, and then compiling worked)
https://bugs.winehq.org/show_bug.cgi?id=51749
--- Comment #7 from Cord Bleibaum cordbleibaum@gmail.com --- Fixed for me with latest version on master
https://bugs.winehq.org/show_bug.cgi?id=51749
--- Comment #8 from Ozan Türkyılmaz ozan.turkyilmaz@gmail.com --- Latest make commits fixed thi problem. It builds fine now.
https://bugs.winehq.org/show_bug.cgi?id=51749
Ozan Türkyılmaz ozan.turkyilmaz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #9 from Ozan Türkyılmaz ozan.turkyilmaz@gmail.com --- Lastest make file commits fixed this.
https://bugs.winehq.org/show_bug.cgi?id=51749
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.20.