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

Bug 808041

Summary: dev-util/lttng-tools-2.7.1 - ../.../tid.h: error: static declaration of gettid follows non-static declaration
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Yixun Lan <dlan>
Status: RESOLVED OBSOLETE    
Severity: normal CC: gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: Fixed in newer versions already in tree
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 691846    
Attachments: emerge-info.txt
dev-util:lttng-tools-2.7.1:20210813-152428.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-08-13 16:17:18 UTC
In file included from ../../../src/common/error.h:33,
                 from compat-epoll.c:29:
../../../src/common/compat/tid.h:36:21: error: static declaration of ‘gettid’ follows non-static declaration
   36 | static inline pid_t gettid(void)
      |                     ^~~~~~
In file included from /usr/include/unistd.h:1187,
                 from compat-epoll.c:26:

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

  This is an stable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j3_stable-20210810-092808

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.3.1
 [3] x86_64-pc-linux-gnu-11.2.0 *
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.53.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-bin-8  system-vm

  [1]   php7.3
  [2]   php7.4 *

  HEAD of ::gentoo
commit dded543cc0ed6e19d4b80533bf145ae9680a110e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Aug 13 14:37:48 2021 +0000

    2021-08-13 14:37:46 UTC

emerge -qpvO dev-util/lttng-tools
[ebuild  N    ] dev-util/lttng-tools-2.7.1  USE="ust"
Comment 1 Toralf Förster gentoo-dev 2021-08-13 16:17:19 UTC
Created attachment 732611 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-13 16:17:21 UTC
Created attachment 732613 [details]
dev-util:lttng-tools-2.7.1:20210813-152428.log
Comment 3 Toralf Förster gentoo-dev 2021-08-13 16:17:22 UTC
Created attachment 732615 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-08-13 16:17:24 UTC
Created attachment 732617 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-08-13 16:17:25 UTC
Created attachment 732619 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-13 16:17:26 UTC
Created attachment 732621 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-08-13 16:17:27 UTC
Created attachment 732623 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-17 09:29:00 UTC
Ping
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-18 04:15:56 UTC
Fixed in newer versions anyway.
Comment 10 Emily Rowlands 2022-03-29 16:24:53 UTC
It looks like the version that this was reported for is no longer in-tree as of c4235e4f23224afe3cc67e821d6630c03d239083 (2021-11-22)