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

Bug 871378

Summary: sci-astronomy/predict-2.2.3-r2 - fodtrack.c: error: call to undeclared function usleep; ISO C99 and later
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Astronomy project <sci-astronomy>
Status: CONFIRMED ---    
Severity: normal    
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
environment
etc.portage.tar.bz2
sci-astronomy:predict-2.2.3-r2:20220918-115023.log

Description Toralf Förster gentoo-dev 2022-09-18 13:18:07 UTC
int main(argc,argv)
    ^
5 warnings generated.
 * Compiling fodtrack
fodtrack.c:100:3: error: call to undeclared function 'usleep'; ISO C99 and later
      do not support implicit function declarations
      [-Werror,-Wimplicit-function-declaration]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20220917-070004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

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

  HEAD of ::gentoo
commit e8176b4c385fc022aa4f3bd9744cd6ec4632c400
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 18 11:16:47 2022 +0000

    2022-09-18 11:16:46 UTC

emerge -qpvO sci-astronomy/predict
[ebuild  N    ] sci-astronomy/predict-2.2.3-r2  USE="nls -doc -gtk -xforms -xplanet"
Comment 1 Toralf Förster gentoo-dev 2022-09-18 13:18:07 UTC
Created attachment 811291 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 13:18:09 UTC
Created attachment 811294 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-09-18 13:18:10 UTC
Created attachment 811297 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-18 13:18:11 UTC
Created attachment 811300 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-18 13:18:12 UTC
Created attachment 811303 [details]
sci-astronomy:predict-2.2.3-r2:20220918-115023.log