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

Bug 849515

Summary: dev-util/lttng-modules-2.12.5 - /.../ring_buffer_iterator.c: error: implicit declaration of function get_online_cpus
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 DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=822261
https://bugs.gentoo.org/show_bug.cgi?id=748522
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
dev-util:lttng-modules-2.12.5:20220603-021038.log
emerge-history.txt.bz2
environment
etc.portage.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-06-03 13:50:34 UTC
  LD [M]  /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/tests/lttng-test.o
  LD [M]  /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/tests/lttng-clock-plugin-test.o
  CC [M]  /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/lib/ringbuffer/ring_buffer_vfs.o
/var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/lib/ringbuffer/ring_buffer_iterator.c: In function channel_iterator_open’:
/var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/lib/ringbuffer/ring_buffer_iterator.c:504:17: error: implicit declaration of function get_online_cpus’; did you mean get_online_mems’? [-Werror=implicit-function-declaration]
  504 |                 get_online_cpus();
      |                 ^~~~~~~~~~~~~~~

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

  This is an stable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j4_stable-20220528-120004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-10.3.1
 [3] x86_64-pc-linux-gnu-11.3.0 *
clang/llvm (if any):
clang version 13.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.1
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.59.0 *
The following VMs are available for generation-2:
1)	OpenJDK 8.332_p09 [openjdk-8]
*)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-8 
  [2]   openjdk-bin-8  system-vm

php cli:

  HEAD of ::gentoo
commit 34d3a98ef981b16f4e1f31ecb9c4eb1be5a8f0fc
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Jun 3 01:03:01 2022 +0000

    2022-06-03 01:03:01 UTC

emerge -qpvO dev-util/lttng-modules
[ebuild  N    ] dev-util/lttng-modules-2.12.5  USE="-dist-kernel"
Comment 1 Toralf Förster gentoo-dev 2022-06-03 13:50:35 UTC
Created attachment 782489 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-06-03 13:50:36 UTC
Created attachment 782492 [details]
dev-util:lttng-modules-2.12.5:20220603-021038.log
Comment 3 Toralf Förster gentoo-dev 2022-06-03 13:50:37 UTC
Created attachment 782495 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-06-03 13:50:38 UTC
Created attachment 782498 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-06-03 13:50:40 UTC
Created attachment 782501 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-06-03 13:50:41 UTC
Created attachment 782504 [details]
temp.tar.bz2
Comment 7 David Seifert gentoo-dev 2022-12-03 20:57:39 UTC

*** This bug has been marked as a duplicate of bug 748522 ***