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

Bug 691700

Summary: dev-util/lttng-ust-2.10.1 : ../.../ust-tid.h:38:21: 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 FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=712730
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 691846    
Attachments: emerge-info.txt
dev-util:lttng-ust-2.10.1:20190807-165857.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2019-08-07 17:12:53 UTC
                 from backend.h:32,
                 from ring_buffer_backend.c:29:
../include/lttng/ust-tid.h:38:21: error: static declaration of ‘gettid’ follows non-static declaration
   38 | static inline pid_t gettid(void)
      |                     ^~~~~~
In file included from /usr/include/unistd.h:1170,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-libressl-20190803-113207

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6 (fallback)
  [2]   python2.7 (fallback)
  [3]   pypy (fallback)
  [4]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems) *

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.12.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO dev-util/lttng-ust
--- Invalid atom in /etc/portage/package.accept_keywords/00unstable: sys-libs/glibc-2.30
Comment 1 Toralf Förster gentoo-dev 2019-08-07 17:12:56 UTC
Created attachment 586048 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-08-07 17:12:59 UTC
Created attachment 586050 [details]
dev-util:lttng-ust-2.10.1:20190807-165857.log
Comment 3 Toralf Förster gentoo-dev 2019-08-07 17:13:01 UTC
Created attachment 586052 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-08-07 17:13:04 UTC
Created attachment 586054 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-08-07 17:13:07 UTC
Created attachment 586056 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-08-07 17:13:10 UTC
Created attachment 586058 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-08-07 17:13:13 UTC
Created attachment 586060 [details]
temp.tbz2
Comment 8 Sergei Trofimovich (RETIRED) gentoo-dev 2020-02-17 20:18:48 UTC
Fixed in dev-util/lttng-ust-2.11.0 by renamign gettid to lttng_gettid.