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

Bug 829328

Summary: dev-util/lttng-tools-2.13.0 - kernel-probe.c: fatal error: sys/unistd.h: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: dlan
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702    
Attachments: emerge-info.txt
dev-util:lttng-tools-2.13.0:20211216-100730.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-12-16 10:51:42 UTC
too long lines were shrinked:

libtool: compile:  x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I../../include -I../../include -I../../src -I../../src -include config.h -Wall -Wno-incomplete-setjmp-declaration -Wdiscarded-qualifiers -Wmissing-declarations -Wmissing-prototypes -Wmissing-parameter-type -Wshadow -fno-strict-aliasing
/bin/sh ../../libtool  --tag=CC   --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../src -include config.h     -Wall -Wno-incomplete-setjmp-declaration -Wdiscarded-qualifiers -Wmissing-declarations -Wmissing-prototypes -Wmissing-paramete
libtool: compile:  x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I../../include -I../../include -I../../src -I../../src -include config.h -Wall -Wno-incomplete-setjmp-declaration -Wdiscarded-qualifiers -Wmissing-declarations -Wmissing-prototypes -Wmissing-parameter-type -Wshadow -fno-strict-aliasing
/bin/sh ../../libtool  --tag=CC   --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../src -include config.h     -Wall -Wno-incomplete-setjmp-declaration -Wdiscarded-qualifiers -Wmissing-declarations -Wmissing-prototypes -Wmissing-paramete
kernel-probe.c:23:10: fatal error: sys/unistd.h: No such file or directory
   23 | #include <sys/unistd.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:942: kernel-probe.lo] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-j4-20211215-000030

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.0 *
clang version 13.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Rust versions:
  [1]   rust-1.57.0 *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)

php cli:

  HEAD of ::gentoo
commit e9b84ce200a1979b07b75f96a04b8981aae0c565
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 16 09:21:48 2021 +0000

    2021-12-16 09:21:46 UTC

emerge -qpvO dev-util/lttng-tools
[ebuild  N    ] dev-util/lttng-tools-2.13.0  USE="ust"
Comment 1 Toralf Förster gentoo-dev 2021-12-16 10:51:43 UTC
Created attachment 759297 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-16 10:51:45 UTC
Created attachment 759298 [details]
dev-util:lttng-tools-2.13.0:20211216-100730.log
Comment 3 Toralf Förster gentoo-dev 2021-12-16 10:51:46 UTC
Created attachment 759299 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-12-16 10:51:47 UTC
Created attachment 759300 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-12-16 10:51:48 UTC
Created attachment 759301 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-16 10:51:49 UTC
Created attachment 759302 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-12-16 10:51:50 UTC
Created attachment 759303 [details]
temp.tar.bz2
Comment 8 CFuga 2022-06-24 15:49:52 UTC
Please close this bug. It was present in version 2.13.0 and 2.13.1, and fixed in 2.13.2. The current version in Gentoo tree is 2.13.7.

https://github.com/lttng/lttng-tools/commit/04db765912be2929f69b00d3732338b891a756b8