Tiago Quelhas

Results 146 comments of Tiago Quelhas

Does the bug go away if you use `--noenable_runfiles` instead of `--nobuild_runfile_links`? This is admittedly very confusing, but `--noenable_runfiles` means "no runfile symlinks are created ever", while `--nobuild_runfilke_links` means "no...

(Note: assigning to the core team because they're the best owner for runfiles-related issues. I'm not actually convinced there's a bug, this might just be an unfortunate consequence of how...

> However, here you're invoking the binary directly outside of Bazel On a second look, I'm not sure this statement is true. But I'm still interested in the result of...

> It seems like --noenable_runfiles makes this issue go away but many other tests (expectedly) fail Ok, that validates the theory that the problem is that the `Main` binary is...

I think this happens because `Format` is defined in `sane.go`, which uses cgo, and cgo is disabled by default when cross-compiling. You need to set the `CGO_ENABLED` and `CC` environment...

I haven't tried, but it should work, assuming you're able to compile it against libsane (and libsane has a driver for your scanner).

To be honest, I can see it being confusing both ways (from the standpoint of someone setting `--profile=foo`, how would they guess that `command.profile.gz` is what it's called in the...

FYI, I expect a couple of tests have to be amended: https://cs.opensource.google/bazel/bazel/+/master:src/test/shell/bazel/remote/remote_build_event_uploader_test.sh;l=543;drc=416c6c6c129d15e88e1ab9003150d4c1fb04fd80 https://cs.opensource.google/bazel/bazel/+/master:src/test/shell/bazel/remote/remote_build_event_uploader_test.sh;l=563;drc=416c6c6c129d15e88e1ab9003150d4c1fb04fd80

I'm pretty sure that treating both `/` and `\` as separators on Windows is intentional (see the implementation of [`WindowsOsPathPolicy.normalize`](https://cs.opensource.google/bazel/bazel/+/master:src/main/java/com/google/devtools/build/lib/vfs/WindowsOsPathPolicy.java;l=111;drc=82d6cf2772f725753ca233b67b2d9d4d8e14a0c3)). The backslashes are also canonicalized to forward slashes (i.e., you...