Skip to content

Instantly share code, notes, and snippets.

View advancedwebdeveloper's full-sized avatar

Yan Titarenko advancedwebdeveloper

View GitHub Profile
WORK=/tmp/go-build171770890
github.com/koblas/impalathing/services/fb303
mkdir -p $WORK/b038/
cd $WORK
/home/oceanfish81/gollvm_dist/bin/llvm-goc -fgo-importcfg=/dev/null -c -x c - -o /dev/null || true
github.com/koblas/impalathing/services/cli_service
mkdir -p $WORK/b038/_importcfgroot_/github.com/apache/thrift/lib/go
mkdir -p $WORK/b041/
ln -s /home/oceanfish81/go/pkg/gccgo_linux_amd64/github.com/apache/thrift/lib/go/libthrift.a $WORK/b038/_importcfgroot_/github.com/apache/thrift/lib/go/libthrift.a
cd /home/oceanfish81/go/src/github.com/koblas/impalathing/services/fb303
~/other_golang/gvisor$ go mod vendor
go: downloading github.com/containerd/fifo v0.0.0-20191213151349-ff969a566b00
go: downloading github.com/containerd/containerd v1.3.4
go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd
go: downloading github.com/containerd/console v0.0.0-20191206165004-02ecf6a7291e
go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: downloading github.com/containerd/go-runc v0.0.0-20200220073739-7016d3ce2328
go: downloading github.com/containerd/typeurl v0.0.0-20200205145503-b45ef1f1f737
go: downloading github.com/docker/docker v1.4.2-0.20191028175130-9e7d5ac5ea55
go: finding module for package gvisor.dev/gvisor/pkg/sentry/unimpl/unimplemented_syscall_go_proto
@advancedwebdeveloper
advancedwebdeveloper / gist:5f48ca20934f1f68d02487c931edd5cc
Created September 17, 2020 15:57
Python exec. is present - but not found
INFO: Analyzed target //source/exe:envoy-static (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
INFO: From CcCmakeMakeRule external/envoy/bazel/foreign_cc/zlib/include [for host]:
INFO: From Executing genrule @io_opentracing_cpp//:generate_version_h:
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is Clang 11.0.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
@advancedwebdeveloper
advancedwebdeveloper / gist:cadbdb9590bbd9bc936d2803c6cde91c
Created September 17, 2020 15:37
Bazel fails to build Envoy, cause of zlib's build bottleneck
~/envoy> ../bazelisk-linux-amd64 build -c opt //source/exe:envoy-static
Starting local Bazel server and connecting to it...
INFO: Analyzed target //source/exe:envoy-static (686 packages loaded, 23720 targets configured).
INFO: Found 1 target...
ERROR: /home/oceanfish81/.cache/bazel/_bazel_oceanfish81/576e593554943bd0e96fab8a5f10ec10/external/envoy/bazel/foreign_cc/BUILD:219:21: error executing shell command: '/bin/bash -c #!/usr/bin/env bash
function cleanup_function() {
local ecode=$?
if [ $ecode -eq 0 ]; then
cleanup_on_success
else
>cmake -G Ninja -DCMAKE_MAKE_PROGRAM=ninja -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_C_COMPILER=clang-cl -DCMAKE_C_FLAGS="-fms-compatibility-version=19.00 --target=i686--windows" -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_CXX_FLAGS="-fms-compatibility-version=19.00 --target=i686--windows" -DLLVM_PATH="../../llvm-project-master/llvm-project-master/llvm" -DCMAKE_INSTALL_PREFIX="C:\Program Files\LLVM\lib\libcxx" -DLIBCXX_ENABLE_SHARED=YES -DLIBCXX_ENABLE_STATIC=NO -DLIBCXX_ENABLE_EXPERIMENTAL_LIBRARY=NO ../libcxx-10.0.0.src
-- The CXX compiler identification is Clang 10.0.0 with MSVC-like command-line
-- The C compiler identification is Clang 10.0.0 with MSVC-like command-line
-- Check for working CXX compiler: C:/Program Files/LLVM/bin/clang-cl.exe
-- Check for working CXX compiler: C:/Program Files/LLVM/bin/clang-cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: C:/Program