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

Bug 874414

Summary: sci-libs/hdf-4.2.15-r1 - buffer.c: error: call to undeclared function time; ISO C99 and later do
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
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
clang.tar.bz2
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
sci-libs:hdf-4.2.15-r1:20221002-225027.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-03 07:55:51 UTC
                                 ~~                              ^~~~~~~
mkdir testdir
clang -DHAVE_CONFIG_H -I. -I../../hdf/src  -I../../hdf/src -I/usr/include/tirpc  -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o buffer.o buffer.c
clang -DHAVE_CONFIG_H -I. -I../../hdf/src  -I../../hdf/src -I/usr/include/tirpc  -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o fortest.o fortest.c
buffer.c:111:10: error: call to undeclared function 'time'; 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_no_multilib-j4-20221002-135637

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

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

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

  HEAD of ::gentoo
commit e8e29df7377eeab512ce76c90af9d3b810edc07f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Oct 2 21:17:02 2022 +0000

    2022-10-02 21:17:02 UTC

emerge -qpvO sci-libs/hdf
[ebuild  N    ] sci-libs/hdf-4.2.15-r1  USE="fortran szip -examples -static-libs -test"
Comment 1 Toralf Förster gentoo-dev 2022-10-03 07:55:52 UTC
Created attachment 816412 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 07:55:53 UTC
Created attachment 816415 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-03 07:55:54 UTC
Created attachment 816418 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-03 07:55:55 UTC
Created attachment 816421 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-03 07:55:56 UTC
Created attachment 816424 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-03 07:55:57 UTC
Created attachment 816427 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-03 07:55:59 UTC
Created attachment 816430 [details]
sci-libs:hdf-4.2.15-r1:20221002-225027.log
Comment 8 Toralf Förster gentoo-dev 2022-10-03 07:56:00 UTC
Created attachment 816433 [details]
temp.tar.bz2