~~ ^~~~~~~ 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"
Created attachment 816412 [details] emerge-info.txt
Created attachment 816415 [details] clang.tar.bz2
Created attachment 816418 [details] emerge-history.txt
Created attachment 816421 [details] environment
Created attachment 816424 [details] etc.portage.tar.bz2
Created attachment 816427 [details] logs.tar.bz2
Created attachment 816430 [details] sci-libs:hdf-4.2.15-r1:20221002-225027.log
Created attachment 816433 [details] temp.tar.bz2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddbb1f2c1f53b2fc22b91f7a131e78e7e802335a commit ddbb1f2c1f53b2fc22b91f7a131e78e7e802335a Author: Eli Schwartz <eschwartz93@gmail.com> AuthorDate: 2024-04-08 03:16:26 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-04-08 05:21:54 +0000 sci-libs/hdf: big fat gobs of Modern C backporting Ideally I would like to solve this by updating to a new upstream release. Unfortunately, that has a combination of complications: - existing patches don't apply - upstream changed download site - upstream changed up the codebase quite a bit, and notes: - XDR is now minimalist internals, and renamed - lots of internal headers were dropped, which "may cause codebases to stop compiling, so we are bumping the minor version" It apparently constitutes a major version. Surprisingly, porting individual Modern C fixes from upstream is *less* work. This message was sponsored by Big Science. Much gratitude. <3 Closes: https://bugs.gentoo.org/874414 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> sci-libs/hdf/files/hdf4-c99.patch | 371 +++++++++++++++++++++ .../{hdf-4.2.15-r1.ebuild => hdf-4.2.15-r2.ebuild} | 5 +- 2 files changed, 375 insertions(+), 1 deletion(-)