iovisor / iovisor/bcc

Debian Jessie build from source is hanging

Open
#1,434 24 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
22.7k
Forks
4.1k
Avg merge
5d 13h
Merged PRs (30d)
3

Description

I am following this guide: https://github.com/iovisor/bcc/blob/master/INSTALL.md?utf8=%E2%9C%93#debian---source

I had to modify `CMakeLists.txt` to include the -std=c++11 option so it would build at all. But when running `debuild -b -uc -us`, numerous tests fail with the exception "Exception: Failed to compile BPF module", and debuild hangs on test "Start 29: py_test_tools_memleak"

Any idea what's wrong? I am running a 4-14-rc7 kernel on debian version 8.9.

Attached is my build output.
[bcc_0.4.0-1_amd64.build.txt](https://github.com/iovisor/bcc/files/1444797/bcc_0.4.0-1_amd64.build.txt)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with INSTALL.md's Debian source-build instructions and the attached build output; reproduce debuild -b -uc -us on Debian 8.9 with kernel 4.14-rc7. Inspect the failed BPF compilation and py_test_tools_memleak test. Done means identifying the cause and making the source build complete without those failures or documenting the supported setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cmake, debian, linux
Domain
build-system, operating-systems, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.