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

Bug 882615

Summary: sys-fs/bcachefs-tools-24_p20221120 - .../bit_spinlock.h: error: call to undeclared function futex; ISO C99 and later do not suppor
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Matt Jolly <kangie>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt.bz2
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
sys-fs:bcachefs-tools-24_p20221120:20221123-060003.log

Description Toralf Förster gentoo-dev 2022-11-23 17:16:22 UTC
too long lines were shrinked:

  cargo:rustc-link-lib=dylib=bcachefs
  cargo:rustc-link-search=/var/tmp/portage/sys-fs/bcachefs-tools-24_p20221120/work/bcachefs-tools-f1f88825c371f84edb85a156de5e1962503d23b2

  --- stderr
  /var/tmp/portage/sys-fs/bcachefs-tools-24_p20221120/work/bcachefs-tools-f1f88825c371f84edb85a156de5e1962503d23b2/include/linux/bit_spinlock.h:20:3: error: call to undeclared function 'futex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  /var/tmp/portage/sys-fs/bcachefs-tools-24_p20221120/work/bcachefs-tools-f1f88825c371f84edb85a156de5e1962503d23b2/include/linux/bit_spinlock.h:28:2: error: call to undeclared function 'futex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  /var/tmp/portage/sys-fs/bcachefs-tools-24_p20221120/work/bcachefs-tools-f1f88825c371f84edb85a156de5e1962503d23b2/include/linux/bit_spinlock.h:39:2: error: call to undeclared function 'futex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]

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

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

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.5
Python 3.10.8
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
*)	Eclipse Temurin JRE 17.0.5_p8 [openjdk-jre-bin-17]
3)	Eclipse Temurin JRE 8.352_p08 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-17 
  [2]   openjdk-jre-bin-8 
  [3]   openjdk-jre-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit 729cdd1167f4204ff2b2ce92f7a5bc06cfb73a32
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Nov 23 05:46:52 2022 +0000

    2022-11-23 05:46:52 UTC

emerge -qpvO sys-fs/bcachefs-tools
[ebuild  N    ] sys-fs/bcachefs-tools-24_p20221120  USE="-debug -fuse -test"
Comment 1 Toralf Förster gentoo-dev 2022-11-23 17:16:23 UTC
Created attachment 836033 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-23 17:16:24 UTC
Created attachment 836035 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-11-23 17:16:26 UTC
Created attachment 836037 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-23 17:16:27 UTC
Created attachment 836039 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-23 17:16:28 UTC
Created attachment 836041 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-23 17:16:30 UTC
Created attachment 836043 [details]
sys-fs:bcachefs-tools-24_p20221120:20221123-060003.log
Comment 7 Matt Jolly gentoo-dev 2023-06-16 23:02:15 UTC
cannot repro on bcachefs-tools-24_p20230603.ebuild; previous ebuild removed from tree.