1) Virus in binaries 2) can not be built from source on Windows 11 #108
Description
- Virus in binaries
Using VirusTotal – 2 malware detections. - Cannot be built from source on Windows 11
Install a fresh Windows 11 on a virtual machine, install the latest "Microsoft Visual C++ Redistributable" (MSVC 170), and download the latest Bazel executables, run "bazel build --config windows --compilation_mode=opt --copt=/GL //cdc_rsync"
WARNING: Target pattern parsing failed.
ERROR: Skipping '//cdc_rsync': error loading package 'cdc_rsync': Unable to find package for @@[unknown repo 'rules_cc' requested from @@]//cc:defs.bzl: The repository '@@[unknown repo 'rules_cc' requested from @@]' could not be resolved: No repository visible as '@rules_cc' from main repository. Was the repository introduced in WORKSPACE? The WORKSPACE file is disabled by default in Bazel 8 (late 2024) and will be removed in Bazel 9 (late 2025), please migrate to Bzlmod. See https://bazel.build/external/migration.
ERROR: error loading package 'cdc_rsync': Unable to find package for @@[unknown repo 'rules_cc' requested from @@]//cc:defs.bzl: The repository '@@[unknown repo 'rules_cc' requested from @@]' could not be resolved: No repository visible as '@rules_cc' from main repository. Was the repository introduced in WORKSPACE? The WORKSPACE file is disabled by default in Bazel 8 (late 2024) and will be removed in Bazel 9 (late 2025), please migrate to Bzlmod. See https://bazel.build/external/migration.
INFO: Elapsed time: 14.047s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
PS: tried 5 versions of bazel from 2022 to today, same problems