[Windows] build failed with: "must produce a single file"
See original GitHub issueDescription of the problem / feature request / question:
I am building a project in windows, it failed with:
/c/msys64/tmp/_bazel_usera/9l56y845/external/bazel_tools/tools/jdk/BUILD:187:17: in singlejar attribute of java_toolchain rule @bazel_tools//tools/jdk:toolchain: '@bazel_tools//tools/jdk:singlejar' must produce a single file.
while I can successfully build it in a linux VM,
Environment info
-
Operating System: Windows 7 Professional Service Pack 1
-
Bazel version (output of
bazel info release
):
Build label: 0.7.0- (@non-git) Build target: bazel-out/msvc_x64-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Mon Oct 30 02:52:43 2017 (1509331963) Build timestamp: 1509331963 Build timestamp as int: 1509331963
- Source code are downloaded from bazel release 0.7 dist.zip file: here
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (8 by maintainers)
Top Results From Across the Web
NET 5 not compiling to single file executables - Stack Overflow
All of this options still produce few files. I want make small single EXE for my console prog.
Read more >Self-Contained Single-File does not produce a single file
I have set it up to publish as a self-contained single-file. However, in the publish directory is the EXE file and four DLLs....
Read more >Error while creating production build in UWP - Microsoft Q&A
while preparing the build I am facing below issue, so able to build the app in release mode. Error 1: Severity Code Description...
Read more >Get help with Windows upgrade and installation errors
See some of the most common upgrade and installation errors for Windows 10 and Windows 11, and what you can do to try...
Read more >Failed Builds - Visual Studio App Center - Microsoft Learn
Usually this problem is because of uncommitted files, different tooling, or unrestored dependencies. To check, you can do a full git clone of ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@dslomov @meteorcloudy any updates?
I can confirm that bazel built with this patch on arm now works properly