Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871294 - net-dns/opendnssec-2.1.13 - scheduler/task.c: error: call to undeclared function clamp; ISO C99 and
Summary: net-dns/opendnssec-2.1.13 - scheduler/task.c: error: call to undeclared funct...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: ~arch only
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-18 10:51 UTC by Toralf Förster
Modified: 2024-10-27 11:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.39 KB, text/plain)
2022-09-18 10:51 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,5.59 KB, application/x-bzip)
2022-09-18 10:51 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,213.80 KB, text/plain)
2022-09-18 10:51 UTC, Toralf Förster
Details
environment (environment,83.21 KB, text/plain)
2022-09-18 10:51 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,14.26 KB, application/x-bzip)
2022-09-18 10:51 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,22.48 KB, application/x-bzip)
2022-09-18 10:51 UTC, Toralf Förster
Details
net-dns:opendnssec-2.1.10-r2:20220918-103617.log (net-dns:opendnssec-2.1.10-r2:20220918-103617.log,29.13 KB, text/plain)
2022-09-18 10:51 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,32.64 KB, application/x-bzip)
2022-09-18 10:51 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
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.
Comment 11 Larry the Git Cow gentoo-dev 2024-07-08 03:19:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e940cb1186e1d25ab604cad4b3e02cb7a324b30e

commit e940cb1186e1d25ab604cad4b3e02cb7a324b30e
Author:     Eli Schwartz <eschwartz@gentoo.org>
AuthorDate: 2024-07-08 03:13:00 +0000
Commit:     Eli Schwartz <eschwartz@gentoo.org>
CommitDate: 2024-07-08 03:18:40 +0000

    net-dns/opendnssec: add patch to build with gcc 14
    
    Upstream's website appears to be having... issues. I did find a bug
    reporting link but it led to a subdomain with broken SSL. Unclear how to
    progress further.
    
    The sum totality of the issues is a lot of missing headers. Not only did
    this affect both configure checks as well as the installable artifacts,
    but it also triggered LTO type mismatch errors when the missing stdlib
    headers resulted in fake guessed prototypes that then mismatched libc.
    Killing two birds with one stone!
    
    Closes: https://bugs.gentoo.org/871294
    Closes: https://bugs.gentoo.org/879727
    Closes: https://bugs.gentoo.org/924367
    Closes: https://bugs.gentoo.org/927176
    Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>

 ...s-of-headers-to-pass-the-basic-c99-sniff-.patch | 89 ++++++++++++++++++++++
 ...c-2.1.13.ebuild => opendnssec-2.1.13-r1.ebuild} |  4 +
 2 files changed, 93 insertions(+)