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

Bug 875731

Summary: sci-visualization/gr-0.53.0 - /.../socket.c: error: implicit declaration of function usleep [-Werror,-Wimplicit-function-declarati
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Andreas K. Hüttel <dilfridge>
Status: RESOLVED OBSOLETE    
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
clang.tar.bz2
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
sci-visualization:gr-0.53.0:20221006-075550.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-06 20:15:07 UTC
too long lines were shrinked:

ninja -v -j4 -l0
[1/196] /var/tmp/portage/sci-visualization/gr-0.53.0/temp/clang -DGRDIR=\"/usr/gr\" -I/var/tmp/portage/sci-visualization/gr-0.53.0/work/gr-0.53.0/lib/gks -isystem /usr/include/freetype2  -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -
FAILED: CMakeFiles/gks_static.dir/lib/gks/socket.c.o 
/var/tmp/portage/sci-visualization/gr-0.53.0/temp/clang -DGRDIR=\"/usr/gr\" -I/var/tmp/portage/sci-visualization/gr-0.53.0/work/gr-0.53.0/lib/gks -isystem /usr/include/freetype2  -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -fno-colo
/var/tmp/portage/sci-visualization/gr-0.53.0/work/gr-0.53.0/lib/gks/socket.c:191:11: error: implicit declaration of function 'usleep' [-Werror,-Wimplicit-function-declaration]
          usleep(300000);
          ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20221005-090901

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.2
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.2
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   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 e0653d1b24afc9dba92b755900b3f846ecd60208
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Oct 6 06:18:56 2022 +0000

    2022-10-06 06:18:56 UTC

emerge -qpvO sci-visualization/gr
[ebuild  N    ] sci-visualization/gr-0.53.0  USE="cairo tiff truetype -ffmpeg -postscript"
Comment 1 Toralf Förster gentoo-dev 2022-10-06 20:15:08 UTC
Created attachment 822370 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-06 20:15:09 UTC
Created attachment 822373 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-06 20:15:11 UTC
Created attachment 822376 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-06 20:15:12 UTC
Created attachment 822379 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-06 20:15:13 UTC
Created attachment 822382 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-06 20:15:14 UTC
Created attachment 822385 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-06 20:15:15 UTC
Created attachment 822388 [details]
sci-visualization:gr-0.53.0:20221006-075550.log
Comment 8 Toralf Förster gentoo-dev 2022-10-06 20:15:17 UTC
Created attachment 822391 [details]
temp.tar.bz2
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2022-10-18 22:50:04 UTC
Badly needs a version bump (where I think this is fixed)
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2023-04-10 02:31:29 UTC
(In reply to Andreas K. Hüttel from comment #9)
> Badly needs a version bump (where I think this is fixed)

Is bumped now. Please reopen if problem persists.