Comments (4)
hacker@ubuntu:~/vxsig$ bazel build -c opt //vxsig:vxsig --verbose_failures
INFO: Analyzed target //vxsig:vxsig (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
ERROR: /home/hacker/.cache/bazel/bazel_hacker/2d6676569272affd55cecfcb749b2caa/external/com_google_binexport/BUILD.bazel:100:11: C++ compilation of rule '@com_google_binexport//:filesystem' failed (Exit 1): gcc failed: error executing command
(cd /home/hacker/.cache/bazel/bazel_hacker/2d6676569272affd55cecfcb749b2caa/sandbox/linux-sandbox/2/execroot/com_google_vxsig &&
exec env -
PATH=/home/hacker/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=/proc/self/cwd
/usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections -fdata-sections '-std=c++0x' -MD -MF bazel-out/k8-opt/bin/external/com_google_binexport/objs/filesystem/filesystem.d '-frandom-seed=bazel-out/k8-opt/bin/external/com_google_binexport/objs/filesystem/filesystem.o' -D__CLANG_SUPPORT_DYN_ANNOTATION -iquote external/com_google_binexport -iquote bazel-out/k8-opt/bin/external/com_google_binexport -iquote external/com_google_absl -iquote bazel-out/k8-opt/bin/external/com_google_absl -iquote external/com_google_protobuf -iquote bazel-out/k8-opt/bin/external/com_google_protobuf -iquote external/zlib -iquote bazel-out/k8-opt/bin/external/zlib -Ibazel-out/k8-opt/bin/external/com_google_binexport/virtual_includes/filesystem -Ibazel-out/k8-opt/bin/external/com_google_binexport/virtual_includes/status -Ibazel-out/k8-opt/bin/external/com_google_binexport/virtual_includes/statusor -Ibazel-out/k8-opt/bin/external/com_google_binexport/virtual_includes/types -isystem external/com_google_binexport/stubs -isystem bazel-out/k8-opt/bin/external/com_google_binexport/stubs -isystem external/com_google_protobuf/src -isystem bazel-out/k8-opt/bin/external/com_google_protobuf/src -isystem external/zlib/zlib/include -isystem bazel-out/k8-opt/bin/external/zlib/zlib/include '-std=c++17' -Wno-narrowing -Wno-sign-compare -fexceptions -fno-canonical-system-headers -Wno-builtin-macro-redefined '-D__DATE="redacted"' '-D__TIMESTAMP="redacted"' '-D__TIME="redacted"' -c external/com_google_binexport/util/filesystem.cc -o bazel-out/k8-opt/bin/external/com_google_binexport/_objs/filesystem/filesystem.o)
Execution platform: @local_config_platform//:host
Use --sandbox_debug to see verbose messages from the sandbox gcc failed: error executing command
(cd /home/hacker/.cache/bazel/bazel_hacker/2d6676569272affd55cecfcb749b2caa/sandbox/linux-sandbox/2/execroot/com_google_vxsig &&
exec env -
PATH=/home/hacker/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=/proc/self/cwd
/usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections -fdata-sections '-std=c++0x' -MD -MF bazel-out/k8-opt/bin/external/com_google_binexport/objs/filesystem/filesystem.d '-frandom-seed=bazel-out/k8-opt/bin/external/com_google_binexport/objs/filesystem/filesystem.o' -D__CLANG_SUPPORT_DYN_ANNOTATION -iquote external/com_google_binexport -iquote bazel-out/k8-opt/bin/external/com_google_binexport -iquote external/com_google_absl -iquote bazel-out/k8-opt/bin/external/com_google_absl -iquote external/com_google_protobuf -iquote bazel-out/k8-opt/bin/external/com_google_protobuf -iquote external/zlib -iquote bazel-out/k8-opt/bin/external/zlib -Ibazel-out/k8-opt/bin/external/com_google_binexport/virtual_includes/filesystem -Ibazel-out/k8-opt/bin/external/com_google_binexport/virtual_includes/status -Ibazel-out/k8-opt/bin/external/com_google_binexport/virtual_includes/statusor -Ibazel-out/k8-opt/bin/external/com_google_binexport/virtual_includes/types -isystem external/com_google_binexport/stubs -isystem bazel-out/k8-opt/bin/external/com_google_binexport/stubs -isystem external/com_google_protobuf/src -isystem bazel-out/k8-opt/bin/external/com_google_protobuf/src -isystem external/zlib/zlib/include -isystem bazel-out/k8-opt/bin/external/zlib/zlib/include '-std=c++17' -Wno-narrowing -Wno-sign-compare -fexceptions -fno-canonical-system-headers -Wno-builtin-macro-redefined '-D__DATE="redacted"' '-D__TIMESTAMP="redacted"' '-D__TIME_="redacted"' -c external/com_google_binexport/util/filesystem.cc -o bazel-out/k8-opt/bin/external/com_google_binexport/_objs/filesystem/filesystem.o)
Execution platform: @local_config_platform//:host
Use --sandbox_debug to see verbose messages from the sandbox
external/com_google_binexport/util/filesystem.cc:39:10: fatal error: filesystem: No such file or directory
#include
^~~~~~~~~~~~
compilation terminated.
Target //vxsig:vxsig failed to build
INFO: Elapsed time: 0.518s, Critical Path: 0.16s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
from vxsig.
It can't run in Ubuntu 18 but it is good on Debian 10
from vxsig.
When installing bazel, it installs gcc-7, however, the code can be compiled by gcc-8 or gcc-9. Need to install gcc-8 and gcc-9
from vxsig.
We should upgrade to a later snapshot of BinExport that tries to avoid using C++17's filesystem
header.
from vxsig.
Related Issues (10)
- How to generate signatures for a set of binaries (more than two binaries) HOT 1
- Build is broken on bazel version >= 7, 6.5.0 is the last version that works. There's also a dependency on compiler version. HOT 2
- Replace usages of `std::set<T>` with `absl::flat_hash_set<T>` / `absl::bree_set<T>`
- VxSig doesn't seem to be producing correct Yara signatures when using static binaries HOT 2
- Add command-line options to control signature output
- Error generating signatures HOT 4
- Fail to build vxsig, absl header not found HOT 1
- BinExport files misformed HOT 1
- build error on windows: xargs: command not found HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vxsig.