> Maybe Olek can give more insights. Though, in my opinion, it would be challenging to implement this for all kinds of package managers. Or we can simply track the files used by the compiler? Don't Bazel projects use libc of system? How would Bazel handle a libc/libstdc++ update right now?That's a good point. The libc version change isn't detected by Bazel, either. Which does require users to run bazel clean sometimes. I guess we can start with the approach of using -L, -I flags first, then try to improve hermeticity later.
On Fri, Apr 9, 2021 at 2:47 AM Jesse Chan <jc@linux.com> wrote:$ dpkg -L zlib1g-dev:amd64