![]() ![]() prevents addition of new git submodules. adds # -*- coding: utf-8 -*- to the top of python files. you must provide list of target files as input in your. sorts the lines in specified files (defaults to alphabetical). ensures that a file is either empty, or ends with one newline. replaces double quoted strings with single quoted strings. detects *your* aws credentials from the aws cli credentials file. detects symlinks which are changed to regular files with a content of a path which that symlink was pointing to. checks for debugger imports and p圓7+ `breakpoint()` calls in python source. checks yaml files for parseable syntax. ensures that links to vcs websites are s. checks toml files for parseable syntax. checks for symlinks which do not point to anything. checks for files that contain merge conflict strings. sets a standard for formatting json files. ensures that (non-binary) files with a shebang are executable. ![]() checks json files for parseable syntax. ensures that (non-binary) executables have a shebang. checks a common error of defining a docstring after code. checks for files that would conflict in case-insensitive filesystems. requires literal syntax when initializing empty or zero python builtin types. forbids files which have a utf-8 byte-order marker. simply checks whether the files parse as valid python. so, hence libplugin.so can't be linked fully statically.)Ĭhecking with patchelf reveals the source of the loading issue, the rpath of libplugin.- prevents giant files from being committed. (In my real use-case, libplugin.so is a Python extension module, which in turn depends on a third-party library libappcode.so that's only available as a. ![]() runfiles/_main_/external/child:Īccessing libplugin.so via. Ldd $nfiles/child/libplugin.so | grep appcodeĪccessing libplugin.so via. Ldd $nfiles/_main_/external/child/libplugin.so | grep appcodeĮcho "Accessing libplugin.so via. Possible related to #6481 ? Any other information, logs, or outputs that you want to share?ĭemonstrating the issue (see full repro repo):Įcho "Accessing libplugin.so via. Have you found anything relevant by searching the web? Release 0.18.0 What's the output of git remote get-url origin git rev-parse master git rev-parse HEAD ? Ubuntu 16.04.5 LTS, x86_64 (but also repros on OS X) What's the output of bazel info release? What operating system are you running Bazel on? ![]() Running C shows that A is visible while B is not, leading to a crash when trying to load A. Then include A in data for a target C in the main workspace. Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.įrom an external workspace, build a link_shared=True cc_binary A that links against a cc_library B also in the external project. so within the runfiles to the _solib_ directory within the runfiles. The core issue seems to be the relative path from the. so can get out of sync with the actual filesystem tree, causing load-time link errors. so uses linkshared=1 and itself depends on some other libraries (I can reproduce it with both cc_library and cc_import deps). However, I'm running into an issue with the case where that. so to be later dynamically loaded from runfiles. Description of the problem / feature request: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |