Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"fatal error: 'byteswap.h' file not found" while building OSS quipper #72

Closed
nmiculinic opened this issue Feb 26, 2019 · 1 comment
Closed

Comments

@nmiculinic
Copy link

 perf_data_converter (master) ✔ bazel build src:perf_to_profile                                                                                                                                          k8s [kubernetes-admin@kubernetes]

INFO: Invocation ID: 3c80c53b-bb6b-4ba4-82c2-1e2a29e678f2
DEBUG: Rule 'io_bazel' modified arguments {"sha256": "c290fbcc6de1e1a4d94408d32dd962aec90db6c670020784cf7a495385deb954"}
DEBUG: Rule 'boringssl' modified arguments {"sha256": "65991a30c481a2f753f2bca8f51ca84183d2d8be452514bd1fac1b774e478fb2"}
INFO: Analysed target //src:perf_to_profile (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
INFO: From Linking external/boringssl/libcrypto.a:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-fastbuild/bin/external/boringssl/_objs/crypto/cpu-aarch64-fuchsia.pic.o has no symbols
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-fastbuild/bin/external/boringssl/_objs/crypto/cpu-aarch64-linux.pic.o has no symbols
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-fastbuild/bin/external/boringssl/_objs/crypto/cpu-arm-linux.pic.o has no symbols
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-fastbuild/bin/external/boringssl/_objs/crypto/cpu-arm.pic.o has no symbols
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-fastbuild/bin/external/boringssl/_objs/crypto/cpu-ppc64le.pic.o has no symbols
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-fastbuild/bin/external/boringssl/_objs/crypto/poly1305.pic.o has no symbols
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-fastbuild/bin/external/boringssl/_objs/crypto/poly1305_arm.pic.o has no symbols
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-fastbuild/bin/external/boringssl/_objs/crypto/deterministic.pic.o has no symbols
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-fastbuild/bin/external/boringssl/_objs/crypto/fuchsia.pic.o has no symbols
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-fastbuild/bin/external/boringssl/_objs/crypto/windows.pic.o has no symbols
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-fastbuild/bin/external/boringssl/_objs/crypto/refcount_c11.pic.o has no symbols
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-fastbuild/bin/external/boringssl/_objs/crypto/thread_none.pic.o has no symbols
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-fastbuild/bin/external/boringssl/_objs/crypto/thread_win.pic.o has no symbols
ERROR: /Users/lpp/Desktop/perf_data_converter/src/quipper/BUILD:96:1: C++ compilation of rule '//src/quipper:dso' failed (Exit 1) cc_wrapper.sh failed: error executing command external/local_config_cc/cc_wrapper.sh -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -fcolor-diagnostics -fno-omit-frame-pointer '-std=c++0x' -MD -MF ... (remaining 60 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
In file included from src/quipper/dso.cc:5:
In file included from src/quipper/dso.h:14:
In file included from src/quipper/data_reader.h:11:
src/quipper/binary_data_utils.h:8:10: fatal error: 'byteswap.h' file not found
#include <byteswap.h>
         ^~~~~~~~~~~~
1 error generated.
Target //src:perf_to_profile failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 19.511s, Critical Path: 3.27s
INFO: 239 processes: 239 darwin-sandbox.
FAILED: Build did NOT complete successfully
 perf_data_converter (master) ✔ bazel build src:perf_to_profile                   k8s [kubernetes-admin@kubernetes]

 perf_data_converter (master) ✔                                                   k8s [kubernetes-admin@kubernetes]
 perf_data_converter (master) ✔ git rev-parse HEAD                                k8s [kubernetes-admin@kubernetes]
Alias tip: g rev-parse HEAD
0a61af58974212f0ec3c40833b563fa587f9f9e3
 perf_data_converter (master) ✔                                                   k8s [kubernetes-admin@kubernetes]
 perf_data_converter (master) ✔ uname -a                                          k8s [kubernetes-admin@kubernetes]
Darwin nmiculinics-MacBook-Pro.local 18.2.0 Darwin Kernel Version 18.2.0: Mon Nov 12 20:24:46 PST 2018; root:xnu-4903.231.4~2/RELEASE_X86_64 x86_64
@aalexand aalexand changed the title Cannot build "fatal error: 'byteswap.h' file not found" while building OSS quipper Feb 26, 2019
@lannadorai lannadorai assigned ZachMarcus and unassigned lannadorai Oct 31, 2019
@aalexand
Copy link
Collaborator

@nmiculinic We don't actively support Qupper on Darwin. If you have a fix and it's small enough, we can review it and get it in. If the fix is large and would add maintenance burden we probably won't. Closing the issue, please re-open if there is still interest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants