Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 880341 - dev-libs/libdnsres-0.1a-r3 - arc4random.c: error: call to undeclared function time; ISO C99 and later
Summary: dev-libs/libdnsres-0.1a-r3 - arc4random.c: error: call to undeclared function...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Netmon project
URL:
Whiteboard: patch; dead upstream
Keywords: PullRequest
Depends on:
Blocks: c99-porting gcc-14-stable
  Show dependency tree
 
Reported: 2022-11-08 08:51 UTC by Toralf Förster
Modified: 2024-10-20 20:22 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.60 KB, text/plain)
2022-11-08 08:51 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,2.65 KB, application/x-bzip)
2022-11-08 08:51 UTC, Toralf Förster
Details
dev-libs:libdnsres-0.1a-r3:20221107-231408.log (dev-libs:libdnsres-0.1a-r3:20221107-231408.log,44.48 KB, text/plain)
2022-11-08 08:51 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,62.12 KB, text/plain)
2022-11-08 08:51 UTC, Toralf Förster
Details
environment (environment,77.04 KB, text/plain)
2022-11-08 08:51 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,17.32 KB, application/x-bzip)
2022-11-08 08:51 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.50 KB, application/x-bzip)
2022-11-08 08:51 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,30.05 KB, application/x-bzip)
2022-11-08 08: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-11-08 08:51:35 UTC
      deprecated in all versions of C and is not supported in C2x
      [-Wdeprecated-non-prototype]
dewks(wks)
^
arc4random.c:19:11: 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_systemd-j4_test-20221107-060003

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
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.4
Python 3.10.8
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
php cli (if any):
GNU Make 4.4

  HEAD of ::gentoo
commit 389e31d93bef2036bae3539459c8dcdbef89b049
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 7 22:16:52 2022 +0000

    2022-11-07 22:16:51 UTC

emerge -qpvO dev-libs/libdnsres
[ebuild  N    ] dev-libs/libdnsres-0.1a-r3  USE="-static-libs"
Comment 1 Toralf Förster gentoo-dev 2022-11-08 08:51:36 UTC
Created attachment 828735 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-08 08:51:37 UTC
Created attachment 828737 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-11-08 08:51:38 UTC
Created attachment 828739 [details]
dev-libs:libdnsres-0.1a-r3:20221107-231408.log
Comment 4 Toralf Förster gentoo-dev 2022-11-08 08:51:40 UTC
Created attachment 828741 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-11-08 08:51:41 UTC
Created attachment 828743 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-11-08 08:51:42 UTC
Created attachment 828745 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-08 08:51:43 UTC
Created attachment 828747 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-11-08 08:51:45 UTC
Created attachment 828749 [details]
temp.tar.bz2
Comment 9 NHO 2024-04-06 12:39:29 UTC
Upstream appears dead...
I am unable to port it to musl. I am unable to fix clang compilation errors.
But C99 at least is fixable.