Console Output

Started by upstream project "bcc-pr" build number 802
originally caused by:
 GitHub pull request #3225 of commit 1459fc2e86c99dac3f5ace47db66d9b9d87f3240, no merge conflicts.
Running as SYSTEM
Building remotely on ubuntu1604-slave-3b8 (ubuntu1604) in workspace /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/iovisor/bcc.git
 > git init /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604 # timeout=10
Fetching upstream changes from https://github.com/iovisor/bcc.git
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/iovisor/bcc.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/iovisor/bcc.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/iovisor/bcc.git # timeout=10
Fetching upstream changes from https://github.com/iovisor/bcc.git
 > git fetch --tags --progress https://github.com/iovisor/bcc.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10
JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://wiki.jenkins.io/display/JENKINS/Remove+Git+Plugin+BuildsByBranch+BuildData
Checking out Revision e17631db073c42ddc5e2f8e5e6e8284e2299af52 (refs/remotes/origin/pr/3225/merge)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f e17631db073c42ddc5e2f8e5e6e8284e2299af52 # timeout=10
Commit message: "Merge 1459fc2e86c99dac3f5ace47db66d9b9d87f3240 into 1cb5026e6f1d8dc7ca115cae579be4c53bec0c9e"
First time build. Skipping changelog.
Run condition [Execute Shell] enabling prebuild for step [Execute shell]
Run condition [Execute Shell] enabling prebuild for step [Execute shell]
[ubuntu1604] $ /bin/sh -xe /tmp/CommandInterpreterCondition3863108698902439960.sh
+ grep -q ^ID=fedora /etc/os-release
Run condition [Execute Shell] preventing perform for step [Execute shell]
[ubuntu1604] $ /bin/sh -xe /tmp/CommandInterpreterCondition6758419881144374715.sh
+ grep -q ^ID=ubuntu /etc/os-release
Run condition [Execute Shell] enabling perform for step [Execute shell]
[ubuntu1604] $ /bin/sh -xe /tmp/jenkins8385629972585374542.sh
+ git clean -df
+ seq 1 30
+ sudo fuser /var/lib/dpkg/lock
+ break
+ sudo dpkg -r bcc-tools libbcc libbcc-examples python-bcc bcc-lua
dpkg: warning: ignoring request to remove bcc-tools which isn't installed
dpkg: warning: ignoring request to remove libbcc which isn't installed
dpkg: warning: ignoring request to remove libbcc-examples which isn't installed
dpkg: warning: ignoring request to remove python-bcc which isn't installed
dpkg: warning: ignoring request to remove bcc-lua which isn't installed
+ rm -rf build
+ ./scripts/build-deb.sh test
+ set -e
+ PARALLEL=2
++ mktemp -d /tmp/debuild.XXXXXX
+ TMP=/tmp/debuild.P0oL5u
+ trap cleanup EXIT
+ git submodule update --init --recursive
Submodule 'src/cc/libbpf' (https://github.com/libbpf/libbpf.git) registered for path 'src/cc/libbpf'
Cloning into 'src/cc/libbpf'...
Submodule path 'src/cc/libbpf': checked out '33b017498543167b65fa948d3a0267794c78787f'
+ . scripts/git-tag.sh
+++ git describe --tags --abbrev=0
++ git_tag_latest=v0.18.0
+++ git rev-list v0.18.0.. --count
++ git_rev_count=5
++ git_rev_count=6
+++ git log --pretty=%s -n 1
++ git_subject='Merge 1459fc2e86c99dac3f5ace47db66d9b9d87f3240 into 1cb5026e6f1d8dc7ca115cae579be4c53bec0c9e'
++ release=6
++ [[ 6 != \1 ]]
+++ git log --pretty=%h -n 1
++ release=6.git.e17631d
++ revision=0.18.0
+ git archive HEAD --prefix=bcc/ --format=tar -o /tmp/debuild.P0oL5u/bcc_0.18.0.orig.tar
+ pushd src/cc/libbpf
~/jenkins/workspace/bcc-pr/label/ubuntu1604/src/cc/libbpf ~/jenkins/workspace/bcc-pr/label/ubuntu1604
+ git archive HEAD --prefix=bcc/src/cc/libbpf/ --format=tar -o /tmp/debuild.P0oL5u/bcc_libbpf_0.18.0.orig.tar
+ popd
~/jenkins/workspace/bcc-pr/label/ubuntu1604
+ pushd /tmp/debuild.P0oL5u
/tmp/debuild.P0oL5u ~/jenkins/workspace/bcc-pr/label/ubuntu1604
+ tar -A -f bcc_0.18.0.orig.tar bcc_libbpf_0.18.0.orig.tar
+ gzip bcc_0.18.0.orig.tar
+ tar xf bcc_0.18.0.orig.tar.gz
+ cd bcc
+ debuild=debuild
+ [[ test = \t\e\s\t ]]
+ debuild+=' --preserve-envvar PATH'
+ sudo tee /usr/local/bin/dpkg-deb
+ echo -e '#!/bin/bash\nexec /usr/bin/dpkg-deb -z1 "$@"'
#!/bin/bash
exec /usr/bin/dpkg-deb -z1 "$@"
+ sudo chmod +x /usr/local/bin/dpkg-deb
+ dch -b -v 0.18.0-6.git.e17631d 'Merge 1459fc2e86c99dac3f5ace47db66d9b9d87f3240 into 1cb5026e6f1d8dc7ca115cae579be4c53bec0c9e'
+ [[ test = \n\i\g\h\t\l\y ]]
+ DEB_BUILD_OPTIONS='nocheck parallel=2'
+ debuild --preserve-envvar PATH -us -uc
 dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: source package bcc
dpkg-buildpackage: source version 0.18.0-6.git.e17631d
dpkg-buildpackage: source distribution UNRELEASED
dpkg-buildpackage: source changed by Yonghong Song <iovisor@ubuntu1604-slave-3b8.c.io-visor.internal>
 dpkg-source --before-build bcc
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean --buildsystem=cmake --parallel --with python2,python3
   dh_testdir -O--buildsystem=cmake -O--parallel
   dh_auto_clean -O--buildsystem=cmake -O--parallel
   dh_clean -O--buildsystem=cmake -O--parallel
 dpkg-source -b bcc
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building bcc using existing ./bcc_0.18.0.orig.tar.gz
dpkg-source: info: building bcc in bcc_0.18.0-6.git.e17631d.debian.tar.xz
dpkg-source: info: building bcc in bcc_0.18.0-6.git.e17631d.dsc
 debian/rules build
dh build --buildsystem=cmake --parallel --with python2,python3
   dh_testdir -O--buildsystem=cmake -O--parallel
   dh_update_autotools_config -O--buildsystem=cmake -O--parallel
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/tmp/debuild.P0oL5u/bcc'
dh_auto_configure -- -DREVISION_LAST=0.18.0 -DREVISION=0.18.0 -DLLVM_DEFINITIONS="-D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" -DPYTHON_CMD="python2;python3"
	cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DREVISION_LAST=0.18.0 -DREVISION=0.18.0 "-DLLVM_DEFINITIONS=-D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" -DPYTHON_CMD=python2\;python3
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/x86_64-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/x86_64-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Revision is 0.18.0
-- Performing Test HAVE_NO_PIE_FLAG
-- Performing Test HAVE_NO_PIE_FLAG - Success
-- Performing Test HAVE_REALLOCARRAY_SUPPORT
-- Performing Test HAVE_REALLOCARRAY_SUPPORT - Failed
-- Found LLVM: /usr/lib/llvm-3.8/include 3.8.0
-- Found BISON: /usr/bin/bison (found version "3.0.4") 
-- Found FLEX: /usr/bin/flex (found version "2.6.0") 
-- Found LibElf: /usr/lib/x86_64-linux-gnu/libelf.so  
-- Performing Test ELF_GETSHDRSTRNDX
-- Performing Test ELF_GETSHDRSTRNDX - Success
-- Using static-libstdc++
-- Found LuaJIT: /usr/lib/x86_64-linux-gnu/libluajit-5.1.a;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so  
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu
make[1]: Leaving directory '/tmp/debuild.P0oL5u/bcc'
   dh_auto_build -O--buildsystem=cmake -O--parallel
	make -j2
make[1]: Entering directory '/tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu'
/usr/bin/cmake -H/tmp/debuild.P0oL5u/bcc -B/tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu/CMakeFiles /tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu'
make -f src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/build.make src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/depend
make -f src/cc/CMakeFiles/bpf-static.dir/build.make src/cc/CMakeFiles/bpf-static.dir/depend
make[3]: Entering directory '/tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu'
make[3]: Entering directory '/tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.P0oL5u/bcc /tmp/debuild.P0oL5u/bcc/src/cc/frontends/clang /tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu /tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu/src/cc/frontends/clang /tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu/src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/DependInfo.cmake --color=
cd /tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.P0oL5u/bcc /tmp/debuild.P0oL5u/bcc/src/cc /tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu /tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu/src/cc /tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu/src/cc/CMakeFiles/bpf-static.dir/DependInfo.cmake --color=
Scanning dependencies of target bpf-static
make[3]: Leaving directory '/tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu'
make -f src/cc/CMakeFiles/bpf-static.dir/build.make src/cc/CMakeFiles/bpf-static.dir/build
make[3]: Entering directory '/tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu'
[  1%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf.c.o
cd /tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc   -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.P0oL5u/bcc/src -I/tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.P0oL5u/bcc/src/cc -I/tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.P0oL5u/bcc/src/cc/frontends/b -I/tmp/debuild.P0oL5u/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.P0oL5u/bcc/src/cc/libbpf/include -I/tmp/debuild.P0oL5u/bcc/src/cc/libbpf/include/uapi  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY   -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-static.dir/libbpf.c.o   -c /tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c
In file included from /tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:49:0:
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.h:148:21: warning: ‘union bpf_iter_link_info’ declared inside parameter list
                     uint32_t link_info_len);
                     ^
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.h:148:21: warning: its scope is only this definition or declaration, which is probably not what you want
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c: In function ‘bcc_prog_load_xattr’:
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:603:30: error: ‘BPF_TRACE_FENTRY’ undeclared (first use in this function)
       expected_attach_type = BPF_TRACE_FENTRY;
                              ^
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:603:30: note: each undeclared identifier is reported only once for each function it appears in
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:606:30: error: ‘BPF_TRACE_FEXIT’ undeclared (first use in this function)
       expected_attach_type = BPF_TRACE_FEXIT;
                              ^
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:609:30: error: ‘BPF_LSM_MAC’ undeclared (first use in this function)
       expected_attach_type = BPF_LSM_MAC;
                              ^
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:612:30: error: ‘BPF_TRACE_ITER’ undeclared (first use in this function)
       expected_attach_type = BPF_TRACE_ITER;
                              ^
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:615:28: error: ‘BPF_PROG_TYPE_TRACING’ undeclared (first use in this function)
     if (attr->prog_type == BPF_PROG_TYPE_TRACING ||
                            ^
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:616:28: error: ‘BPF_PROG_TYPE_LSM’ undeclared (first use in this function)
         attr->prog_type == BPF_PROG_TYPE_LSM) {
                            ^
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:617:13: warning: implicit declaration of function ‘libbpf_find_vmlinux_btf_id’ [-Wimplicit-function-declaration]
       ret = libbpf_find_vmlinux_btf_id(attr->name + name_offset,
             ^
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:628:11: error: ‘struct bpf_load_program_attr’ has no member named ‘attach_btf_id’
       attr->attach_btf_id = ret;
           ^
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c: In function ‘bcc_prog_load’:
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:756:20: error: ‘BPF_PROG_TYPE_TRACING’ undeclared (first use in this function)
   if (prog_type != BPF_PROG_TYPE_TRACING && prog_type != BPF_PROG_TYPE_EXT)
                    ^
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:756:58: error: ‘BPF_PROG_TYPE_EXT’ undeclared (first use in this function)
   if (prog_type != BPF_PROG_TYPE_TRACING && prog_type != BPF_PROG_TYPE_EXT)
                                                          ^
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c: In function ‘bpf_new_ringbuf’:
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:1457:12: warning: implicit declaration of function ‘ring_buffer__new’ [-Wimplicit-function-declaration]
     return ring_buffer__new(map_fd, sample_cb, ctx, NULL);
            ^
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:1457:12: warning: return makes pointer from integer without a cast [-Wint-conversion]
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c: In function ‘bpf_free_ringbuf’:
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:1462:5: warning: implicit declaration of function ‘ring_buffer__free’ [-Wimplicit-function-declaration]
     ring_buffer__free(rb);
     ^
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c: In function ‘bpf_add_ringbuf’:
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:1469:12: warning: implicit declaration of function ‘ring_buffer__add’ [-Wimplicit-function-declaration]
     return ring_buffer__add(rb, map_fd, sample_cb, ctx);
            ^
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c: In function ‘bpf_poll_ringbuf’:
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:1476:12: warning: implicit declaration of function ‘ring_buffer__poll’ [-Wimplicit-function-declaration]
     return ring_buffer__poll(rb, timeout_ms);
            ^
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c: In function ‘bpf_consume_ringbuf’:
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:1483:12: warning: implicit declaration of function ‘ring_buffer__consume’ [-Wimplicit-function-declaration]
     return ring_buffer__consume(rb);
            ^
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c: At top level:
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:1487:21: warning: ‘union bpf_iter_link_info’ declared inside parameter list
                     uint32_t link_info_len)
                     ^
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:1486:5: error: conflicting types for ‘bcc_iter_attach’
 int bcc_iter_attach(int prog_fd, union bpf_iter_link_info *link_info,
     ^
In file included from /tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:49:0:
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.h:147:5: note: previous declaration of ‘bcc_iter_attach’ was here
 int bcc_iter_attach(int prog_fd, union bpf_iter_link_info *link_info,
     ^
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c: In function ‘bcc_iter_attach’:
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:1489:5: warning: implicit declaration of function ‘DECLARE_LIBBPF_OPTS’ [-Wimplicit-function-declaration]
     DECLARE_LIBBPF_OPTS(bpf_link_create_opts, link_create_opts);
     ^
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:1489:25: error: ‘bpf_link_create_opts’ undeclared (first use in this function)
     DECLARE_LIBBPF_OPTS(bpf_link_create_opts, link_create_opts);
                         ^
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:1489:47: error: ‘link_create_opts’ undeclared (first use in this function)
     DECLARE_LIBBPF_OPTS(bpf_link_create_opts, link_create_opts);
                                               ^
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:1493:12: warning: implicit declaration of function ‘bpf_link_create’ [-Wimplicit-function-declaration]
     return bpf_link_create(prog_fd, 0, BPF_TRACE_ITER, &link_create_opts);
            ^
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:1493:40: error: ‘BPF_TRACE_ITER’ undeclared (first use in this function)
     return bpf_link_create(prog_fd, 0, BPF_TRACE_ITER, &link_create_opts);
                                        ^
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c: In function ‘bcc_iter_create’:
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:1498:12: warning: implicit declaration of function ‘bpf_iter_create’ [-Wimplicit-function-declaration]
     return bpf_iter_create(link_fd);
            ^
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c: In function ‘bcc_iter_attach’:
/tmp/debuild.P0oL5u/bcc/src/cc/libbpf.c:1494:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
src/cc/CMakeFiles/bpf-static.dir/build.make:65: recipe for target 'src/cc/CMakeFiles/bpf-static.dir/libbpf.c.o' failed
make[3]: *** [src/cc/CMakeFiles/bpf-static.dir/libbpf.c.o] Error 1
make[3]: Leaving directory '/tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:243: recipe for target 'src/cc/CMakeFiles/bpf-static.dir/all' failed
make[2]: *** [src/cc/CMakeFiles/bpf-static.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
Scanning dependencies of target clang_frontend
make[3]: Leaving directory '/tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu'
make -f src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/build.make src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/build
make[3]: Entering directory '/tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu'
[  2%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/loader.cc.o
[  2%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/b_frontend_action.cc.o
cd /tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu/src/cc/frontends/clang && /usr/bin/x86_64-linux-gnu-g++    -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.P0oL5u/bcc/src -I/tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.P0oL5u/bcc/src/cc -I/tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.P0oL5u/bcc/src/cc/frontends/b -I/tmp/debuild.P0oL5u/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.P0oL5u/bcc/src/cc/libbpf/include -I/tmp/debuild.P0oL5u/bcc/src/cc/libbpf/include/uapi  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -Wall  -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -DKERNEL_MODULES_DIR='"/lib/modules"'   -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/clang_frontend.dir/b_frontend_action.cc.o -c /tmp/debuild.P0oL5u/bcc/src/cc/frontends/clang/b_frontend_action.cc
cd /tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu/src/cc/frontends/clang && /usr/bin/x86_64-linux-gnu-g++    -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.P0oL5u/bcc/src -I/tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.P0oL5u/bcc/src/cc -I/tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.P0oL5u/bcc/src/cc/frontends/b -I/tmp/debuild.P0oL5u/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.P0oL5u/bcc/src/cc/libbpf/include -I/tmp/debuild.P0oL5u/bcc/src/cc/libbpf/include/uapi  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -Wall  -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -DKERNEL_MODULES_DIR='"/lib/modules"'   -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/clang_frontend.dir/loader.cc.o -c /tmp/debuild.P0oL5u/bcc/src/cc/frontends/clang/loader.cc
/tmp/debuild.P0oL5u/bcc/src/cc/frontends/clang/b_frontend_action.cc: In member function ‘bool ebpf::BTypeVisitor::VisitVarDecl(clang::VarDecl*)’:
/tmp/debuild.P0oL5u/bcc/src/cc/frontends/clang/b_frontend_action.cc:1449:18: error: ‘BPF_MAP_TYPE_RINGBUF’ was not declared in this scope
       map_type = BPF_MAP_TYPE_RINGBUF;
                  ^
/tmp/debuild.P0oL5u/bcc/src/cc/frontends/clang/b_frontend_action.cc:1476:18: error: ‘BPF_MAP_TYPE_SK_STORAGE’ was not declared in this scope
       map_type = BPF_MAP_TYPE_SK_STORAGE;
                  ^
src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/build.make:89: recipe for target 'src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/b_frontend_action.cc.o' failed
make[3]: *** [src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/b_frontend_action.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:526: recipe for target 'src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/all' failed
make[2]: *** [src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/all] Error 2
make[2]: Leaving directory '/tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu'
Makefile:141: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/tmp/debuild.P0oL5u/bcc/obj-x86_64-linux-gnu'
dh_auto_build: make -j2 returned exit code 2
debian/rules:12: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc failed
+ cleanup
+ [[ -d /tmp/debuild.P0oL5u ]]
+ rm -rf /tmp/debuild.P0oL5u
Build step 'Conditional step (single)' marked build as failure
Taking single-use slave ubuntu1604-slave-3b8 offline.
Finished: FAILURE