Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 877011 - www-apache/mod_musicindex-1.4.1-r3 - html.c: error: call to undeclared function gettimeofday; ISO C99 and
Summary: www-apache/mod_musicindex-1.4.1-r3 - html.c: error: call to undeclared functi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-13 19:20 UTC by Toralf Förster
Modified: 2022-10-17 03:17 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.45 KB, text/plain)
2022-10-13 19:20 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,2.57 KB, application/x-bzip)
2022-10-13 19:20 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,151.17 KB, text/plain)
2022-10-13 19:20 UTC, Toralf Förster
Details
environment (environment,32.13 KB, text/plain)
2022-10-13 19:20 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,18.96 KB, application/x-bzip)
2022-10-13 19:20 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.99 KB, application/x-bzip)
2022-10-13 19:20 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,15.52 KB, application/x-bzip)
2022-10-13 19:20 UTC, Toralf Förster
Details
www-apache:mod_musicindex-1.4.1-r3:20221013-175641.log (www-apache:mod_musicindex-1.4.1-r3:20221013-175641.log,19.59 KB, text/plain)
2022-10-13 19:20 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-10-13 19:20:28 UTC
                                            ^~~~~~~~~
/usr/include/time.h:159:57: note: passing argument to parameter '__timer' here
extern struct tm *localtime_r (const time_t *__restrict __timer,
                                                        ^
html.c:1195:2: error: call to undeclared function 'gettimeofday'; 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_desktop_plasma-j4-20221012-170019

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.2
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.2
Python 3.10.8
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.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):
GNU Make 4.3

  HEAD of ::gentoo
commit 1f3889d84490fd85f9859c2ac8d670eb50822f60
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Oct 13 17:19:01 2022 +0000

    2022-10-13 17:19:00 UTC

emerge -qpvO www-apache/mod_musicindex
[ebuild  N    ] www-apache/mod_musicindex-1.4.1-r3  USE="cache flac mp3 mp4 mysql vorbis -archive"
Comment 1 Toralf Förster gentoo-dev 2022-10-13 19:20:30 UTC
Created attachment 823955 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-13 19:20:30 UTC
Created attachment 823957 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-13 19:20:32 UTC
Created attachment 823959 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-13 19:20:33 UTC
Created attachment 823961 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-13 19:20:34 UTC
Created attachment 823963 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-13 19:20:35 UTC
Created attachment 823965 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-13 19:20:36 UTC
Created attachment 823967 [details]
temp.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-10-13 19:20:38 UTC
Created attachment 823969 [details]
www-apache:mod_musicindex-1.4.1-r3:20221013-175641.log
Comment 9 Larry the Git Cow gentoo-dev 2022-10-17 03:17:29 UTC
The bug has been referenced in the following commit(s):

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

commit c7465d7977aabd921032f087a3823525e592c6e7
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-17 02:28:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-17 03:15:32 +0000

    www-apache/mod_musicindex: fix linking with LLD
    
    I think the Clang 16 issue was fixed with the APR patches.
    
    Bug: https://bugs.gentoo.org/877011
    Signed-off-by: Sam James <sam@gentoo.org>

 www-apache/mod_musicindex/mod_musicindex-1.4.1-r3.ebuild | 2 ++
 1 file changed, 2 insertions(+)