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

Bug 822261

Summary: dev-util/lttng-modules-2.13.0 - /.../ring_buffer_frontend.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=849515
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.13.0:20211107-054842.log
emerge-history.txt
environment
etc.portage.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-11-07 09:44:50 UTC
  CC [M]  /var/tmp/portage/dev-util/lttng-modules-2.13.0/work/lttng-modules-2.13.0/src/lttng-ring-buffer-metadata-client.o
/var/tmp/portage/dev-util/lttng-modules-2.13.0/work/lttng-modules-2.13.0/src/lib/ringbuffer/ring_buffer_frontend.c: In function 'lib_ring_buffer_set_quiescent_channel':
/var/tmp/portage/dev-util/lttng-modules-2.13.0/work/lttng-modules-2.13.0/src/lib/ringbuffer/ring_buffer_frontend.c:775:17: error: implicit declaration of function 'get_online_cpus'; did you mean 'get_online_mems'? [-Werror=implicit-function-declaration]
  775 |                 get_online_cpus();
      |                 ^~~~~~~~~~~~~~~
      |                 get_online_mems
/var/tmp/portage/dev-util/lttng-modules-2.13.0/work/lttng-modules-2.13.0/src/lib/ringbuffer/ring_buffer_frontend.c:782:17: error: implicit declaration of function 'put_online_cpus'; did you mean 'num_online_cpus'? [-Werror=implicit-function-declaration]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20211105-190003

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 13.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.8
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.56.1 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 4968498ca7f5c03342ff3a96040078a385374b23
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Nov 7 04:51:44 2021 +0000

    2021-11-07 04:51:43 UTC

emerge -qpvO dev-util/lttng-modules
[ebuild  N    ] dev-util/lttng-modules-2.13.0  USE="-dist-kernel"
Comment 1 Toralf Förster gentoo-dev 2021-11-07 09:44:51 UTC
Created attachment 749250 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-11-07 09:44:52 UTC
Created attachment 749253 [details]
dev-util:lttng-modules-2.13.0:20211107-054842.log
Comment 3 Toralf Förster gentoo-dev 2021-11-07 09:44:54 UTC
Created attachment 749256 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-11-07 09:44:55 UTC
Created attachment 749259 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-11-07 09:44:56 UTC
Created attachment 749262 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-11-07 09:44:57 UTC
Created attachment 749265 [details]
temp.tar.bz2
Comment 7 David Seifert gentoo-dev 2022-12-03 20:57:32 UTC

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