Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874501 - net-misc/getdate-1.2-r2 - getdate.c: error: type specifier missing, defaults to int; ISO C99 and
Summary: net-misc/getdate-1.2-r2 - getdate.c: error: type specifier missing, defaults ...
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-03 08:08 UTC by Toralf Förster
Modified: 2022-10-19 09:21 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.96 KB, text/plain)
2022-10-03 08:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,86.15 KB, text/plain)
2022-10-03 08:08 UTC, Toralf Förster
Details
environment (environment,61.09 KB, text/plain)
2022-10-03 08:08 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,29.47 KB, application/x-bzip)
2022-10-03 08:08 UTC, Toralf Förster
Details
net-misc:getdate-1.2-r2:20221003-020122.log (net-misc:getdate-1.2-r2:20221003-020122.log,3.21 KB, text/plain)
2022-10-03 08:08 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,16.44 KB, application/x-bzip)
2022-10-03 08:08 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-03 08:08:50 UTC
getdate.c:207:6: warning: format specifies type 'int' but the argument has type
      'time_t' (aka 'long') [-Wformat]
            max_change);
            ^~~~~~~~~~
getdate.c:254:1: error: type specifier missing, defaults to 'int'; ISO C99 and
      later do not support implicit int [-Werror,-Wimplicit-int]
main (int argc, char *argv[])

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20221002-132844

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

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 Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *
GNU Make 4.3

  HEAD of ::gentoo
commit e89f3623ec9bc8d116dd4e75e08b0f0b5ef2cdbf
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Oct 3 01:02:05 2022 +0000

    2022-10-03 01:02:04 UTC

emerge -qpvO net-misc/getdate
[ebuild  N    ] net-misc/getdate-1.2-r2
Comment 1 Toralf Förster gentoo-dev 2022-10-03 08:08:51 UTC
Created attachment 816940 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 08:08:52 UTC
Created attachment 816943 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-03 08:08:53 UTC
Created attachment 816946 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-03 08:08:55 UTC
Created attachment 816949 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-03 08:08:55 UTC
Created attachment 816952 [details]
net-misc:getdate-1.2-r2:20221003-020122.log
Comment 6 Toralf Förster gentoo-dev 2022-10-03 08:08:56 UTC
Created attachment 816955 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-10-19 09:21:59 UTC
The bug has been closed via the following commit(s):

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

commit 82879c233f6f8be1e6626a2b44718a6ba4fc14b3
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-19 09:17:59 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-19 09:21:45 +0000

    net-misc/getdate: fix build w/ upcoming clang16
    
    Closes: https://bugs.gentoo.org/874501
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 net-misc/getdate/files/getdate-1.2-clang16.patch | 8 ++++++++
 net-misc/getdate/getdate-1.2-r2.ebuild           | 3 ++-
 2 files changed, 10 insertions(+), 1 deletion(-)