Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 716042

Summary: dev-util/sysdig-kmod-0.26.6 : /.../ppm.h: error: field last_print_time has incomplete type
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713786    
Attachments: emerge-info.txt
dev-util:sysdig-kmod-0.26.6:20200403-162834.log
emerge-history.txt
environment
etc.portage.tbz2

Description Toralf Förster gentoo-dev 2020-04-03 16:58:17 UTC
  CC [M]  /var/tmp/portage/dev-util/sysdig-kmod-0.26.6/work/sysdig-kmod-0.26.6_build/driver/src/main.o
In file included from /var/tmp/portage/dev-util/sysdig-kmod-0.26.6/work/sysdig-kmod-0.26.6_build/driver/src/main.c:55:
/var/tmp/portage/dev-util/sysdig-kmod-0.26.6/work/sysdig-kmod-0.26.6_build/driver/src/ppm.h:54:18: error: field last_print_time has incomplete type
   54 |  struct timespec last_print_time;
      |                  ^~~~~~~~~~~~~~~
/var/tmp/portage/dev-util/sysdig-kmod-0.26.6/work/sysdig-kmod-0.26.6_build/driver/src/main.c: In function ppm_ioctl:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-20200330-171543

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.42.0
  [2]   rust-1.42.0 *
The following VMs are available for generation-2:
1)	JamVM JDK 2.0.0 [jamvm]
2)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
*)	AdoptOpenJDK JRE 8.242_p08 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   jamvm 
  [2]   openjdk-bin-8 
  [3]   openjdk-jre-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri 03 Apr 2020 03:37:47 PM UTC

emerge -qpvO dev-util/sysdig-kmod
[ebuild  N    ] dev-util/sysdig-kmod-0.26.6
Comment 1 Toralf Förster gentoo-dev 2020-04-03 16:58:20 UTC
Created attachment 629448 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-03 16:58:23 UTC
Created attachment 629450 [details]
dev-util:sysdig-kmod-0.26.6:20200403-162834.log
Comment 3 Toralf Förster gentoo-dev 2020-04-03 16:58:26 UTC
Created attachment 629452 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-04-03 16:58:29 UTC
Created attachment 629454 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-04-03 16:58:32 UTC
Created attachment 629456 [details]
etc.portage.tbz2
Comment 6 Holger Hoffstätte 2020-04-04 15:47:28 UTC
Upstream [bug](https://github.com/draios/sysdig/issues/1609) and a terrible [patch](https://github.com/hhoffstaette/sysdig/commit/8da6752798b058f6ed7a242ad05e272d301f2cb5) by me. Drop into /etc/portage/patches, driver builds and (AFAICT) works.
Testers welcome. :)
Comment 7 Holger Hoffstätte 2020-07-07 11:02:28 UTC
This has been fixed upstream in 0.26.7.
Comment 8 Holger Hoffstätte 2022-03-09 14:12:56 UTC
This bug can be closed, the problem is fixed in 0.27.x.