Package Base Details: bcc

Git Clone URL: https://aur.archlinux.org/bcc.git (read-only)
Keywords: control eBPF kernel performance tracing
Submitter: troyengel
Maintainer: edh (eklausmeier)
Last Packager: edh
Votes: 27
Popularity: 0.303557
First Submitted: 2016-01-01 18:37
Last Updated: 2019-05-29 14:54

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

furcifer_oustale commented on 2018-03-30 13:25

Hi,

Just tested 0.5.0-3: Works fine, thanks!

Furcifer Oustaleti

edh commented on 2018-03-30 12:51

Thanks for all the feedback! I was testing some stuff out but @cippaciong already provided the right answer before I could. Luckily the patch is contained within a single commit (c0d1694e28) and can be easily backported. Can you give the latest version of this package a try. Compilation using clang/llvm version 6.0.0 is working fine on my machine.

furcifer_oustale commented on 2018-03-28 11:11

@cippaciong: Building the most recent Version (76bec4d5e94f56b42b6417f27b06f95773c8e283) of bcc from git works fine: https://pastebin.com/n04BFrcW

cippaciong commented on 2018-03-28 08:01

@furcifer_oustale: https://github.com/iovisor/bcc/issues/1513 It's probably related to the recent upgrade of llvm to version 6.0 on arch. Can you try to build bcc cloning from git?

furcifer_oustale commented on 2018-03-27 20:11

Hi,

The build seems to be broken: When trying to upgrade to 0.5.0-2 i get

https://pastebin.com/j7irHCRZ

The error message is pretty descriptive, but unfortunately i am not a C++ programmer

Furcifer Oustaleti

Edit: Moved error message to pastebin

edh commented on 2018-02-24 18:01

@cmsigler Thanks!

The checksum was still the one of the original file which was previously shipped with the PKGBUILD and I forgot to update it to reflect the new source of the patch.

I think it is wrong and too cumbersome to rename man pages which clash with other packages. Considering that I introduced the change in the PKGBUILD and upstream explicitly installs them elsewhere I will in this case simply stick to how it was intended to be installed hence I will stop moving man pages around.

cmsigler commented on 2018-02-24 17:27

Sorry, maybe pastebin is less broken:

https://pastebin.com/dM4Vnt7R

Clemmitt

cmsigler commented on 2018-02-24 17:19

Hi again,

After a little digging, it seems to me like the postfix manpage should probably be trace(5), not trace(8), since trace is a queue subdirectory, not a command. Should an upstream bug be filed? Perhaps that's beyond the scope of this AUR. I mean, human naming collisions happen all the time even if one tries to be careful.

Here's a PKGBUILD patch, WFM, YMMV:

--- PKGBUILD.orig 2018-02-23 06:59:20.000000000 -0500 +++ PKGBUILD 2018-02-24 12:11:10.413947263 -0500 @@ -14,7 +14,7 @@ source=("https://github.com/iovisor/${pkgname}/archive/v${pkgver}.tar.gz" 'fix_build_issue_for_llvm_5.0.1.patch::https://github.com/iovisor/bcc/commit/bd7fa55bb39b8978dafd0b299e35616061e0a368.patch') sha512sums=('12de5ef04185dccd0847fc97ae855b386e0c81b545ae497af797667925ebedf97164c17fb99468abae3f87fb3ddfdba5200070f80b3bbcad63c2355497012f0e' - '1c4a453a0663237b1ebebd4fdc60e7f6add8380bf624cfa6dd28e57a73d6db89b0a562c8bcaa788d8d59f69240b574b123d07e1eeb63da3a255d3b5e40c6221b') + 'f518f32584b1f828af5df00972c33e6efc7f4327fd65505156e6dec96e4e2f6e7fafb50fb0855693d586223dce4f6cbf7db34ae252358636decc5dbe7f6121a7')

prepare() { cd "${srcdir}/${pkgbase}-${pkgver}" @@ -69,6 +69,10 @@

cd "${srcdir}/${pkgbase}-${pkgver}/build/man"
make DESTDIR="${pkgdir}" install

+ + # Stupidly rename man page that clashes with trace(8) from extra/postfix + mv -f "${pkgdir}"/usr/share/bcc/man/man8/trace.8 "${pkgdir}"/usr/share/bcc/man/man8/trace-bcc.8 + mv "${pkgdir}"/usr/share/{bcc/man,} }

================

HTH.

Clemmitt

cmsigler commented on 2018-02-24 16:19

Hi,

sha512sum is incorrect for fix_build_issue_for_llvm_5.0.1.patch. As of this moment I find it to be:

f518f32584b1f828af5df00972c33e6efc7f4327fd65505156e6dec96e4e2f6e7fafb50fb0855693d586223dce4f6cbf7db34ae252358636decc5dbe7f6121a7

There's also a problem with bcc-tools. A man page /usr/share/man/man8/trace.8.gz installed by postfix 3.3.0-1 clashes with an identical name in the .pkg.tar.xz generated for bcc-tools. I'll try to patch this locally and if I have success I'll post my patch.

HTH.

Clemmitt

edh commented on 2018-02-15 23:10

I recently adopted the package and will try to maintain it in the future as good as possible. The very recent commit first of all update the package to v0.5.0 and basically overhauls the entire PKGBUILD. In addition to slight cosmetic changes I altered the following:

  • Patch cmake configuration using a git-commit from master

  • Move man pages into the "correct" place (but not the binaries)

  • Adjust architecture field for arch-independent packages like python bindings and scripting tools

  • Cleanup build directory handling

  • Add dependencies required for checking the package to checkdepends (checking is done while building; there is no separate check task)

  • Remove outdated patch concerning cppex

Please let me know whether you have any addition request or recommendations!