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

Bug 871294

Summary: net-dns/opendnssec-2.1.13 - scheduler/task.c: error: call to undeclared function clamp; ISO C99 and
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=879727
https://github.com/opendnssec/opendnssec/pull/854
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
net-dns:opendnssec-2.1.10-r2:20220918-103617.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-09-18 10:51:40 UTC
      is deprecated in all versions of C [-Wstrict-prototypes]
schedule_create()
               ^
                void
scheduler/task.c:136:25: error: call to undeclared function 'clamp'; 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-j4-20220915-203738

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

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):
  [1]   php8.1 *
GNU Make 4.3.90

  HEAD of ::gentoo
commit 242cd1a84f2a8e702a79f513d0ae26ce7648d849
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 18 09:46:48 2022 +0000

    2022-09-18 09:46:48 UTC

emerge -qpvO net-dns/opendnssec
[ebuild  N    ] net-dns/opendnssec-2.1.10-r2  USE="mysql readline signer softhsm -debug -doc (-external-hsm) -opensc -sqlite -test"
Comment 1 Toralf Förster gentoo-dev 2022-09-18 10:51:41 UTC
Created attachment 811030 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 10:51:42 UTC
Created attachment 811033 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-18 10:51:43 UTC
Created attachment 811036 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-18 10:51:44 UTC
Created attachment 811039 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-18 10:51:45 UTC
Created attachment 811045 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-18 10:51:47 UTC
Created attachment 811051 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-18 10:51:48 UTC
Created attachment 811054 [details]
net-dns:opendnssec-2.1.10-r2:20220918-103617.log
Comment 8 Toralf Förster gentoo-dev 2022-09-18 10:51:49 UTC
Created attachment 811057 [details]
temp.tar.bz2
Comment 9 Petr Vaněk gentoo-dev 2023-12-31 23:06:02 UTC
2.1.13 is also affected
Comment 10 Agostino Sarubbo gentoo-dev 2024-01-02 10:51:25 UTC
gcc14_tinderbox has reproduced this issue with version 2.1.13 - Updating summary.