https://bugs.winehq.org/show_bug.cgi?id=55071
Bug ID: 55071 Summary: find_tool does not work for finding dlltool Product: Wine Version: 8.10 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dofficialgman@gmail.com Distribution: ---
attempting to build wine for arm64 using llvm-mingw
find_tool does not appear to work correctly. it should be able to find the dlltool from the PATH in the environment but it is not able to do so.
https://github.com/wine-mirror/wine/blob/master/tools/winebuild/utils.c#L227
As you can see below, llvm-dlltool is the PATH and find and which are able to find this binary but wine find_tool is not able to do so.
winebuild: cannot find the 'dlltool' tool Makefile:1535: recipe for target 'dlls/aclui/aarch64-windows/libaclui.a' failed make: *** [dlls/aclui/aarch64-windows/libaclui.a] Error 1
echo $PATH /home/ubuntu/wine/llvm-mingw/llvm-mingw-20230320-ucrt-ubuntu-18.04-aarch64/bin:/home/ubuntu/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
find /home/ubuntu/wine/llvm-mingw/llvm-mingw-20230320-ucrt-ubuntu-18.04-aarch64/bin -name *dlltool /home/ubuntu/wine/llvm-mingw/llvm-mingw-20230320-ucrt-ubuntu-18.04-aarch64/bin/llvm-dlltool /home/ubuntu/wine/llvm-mingw/llvm-mingw-20230320-ucrt-ubuntu-18.04-aarch64/bin/armv7-w64-mingw32-dlltool /home/ubuntu/wine/llvm-mingw/llvm-mingw-20230320-ucrt-ubuntu-18.04-aarch64/bin/x86_64-w64-mingw32uwp-dlltool /home/ubuntu/wine/llvm-mingw/llvm-mingw-20230320-ucrt-ubuntu-18.04-aarch64/bin/i686-w64-mingw32uwp-dlltool /home/ubuntu/wine/llvm-mingw/llvm-mingw-20230320-ucrt-ubuntu-18.04-aarch64/bin/aarch64-w64-mingw32uwp-dlltool /home/ubuntu/wine/llvm-mingw/llvm-mingw-20230320-ucrt-ubuntu-18.04-aarch64/bin/aarch64-w64-mingw32-dlltool /home/ubuntu/wine/llvm-mingw/llvm-mingw-20230320-ucrt-ubuntu-18.04-aarch64/bin/i686-w64-mingw32-dlltool /home/ubuntu/wine/llvm-mingw/llvm-mingw-20230320-ucrt-ubuntu-18.04-aarch64/bin/armv7-w64-mingw32uwp-dlltool /home/ubuntu/wine/llvm-mingw/llvm-mingw-20230320-ucrt-ubuntu-18.04-aarch64/bin/x86_64-w64-mingw32-dlltool
which llvm-dlltool /home/ubuntu/wine/llvm-mingw/llvm-mingw-20230320-ucrt-ubuntu-18.04-aarch64/bin/llvm-dlltool
https://bugs.winehq.org/show_bug.cgi?id=55071
dofficialgman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86-64 |aarch64