Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 869431 - dev-vcs/tig-2.5.7 - src/util.c: error: conflicting types for time_now; have int(struct timeval , struct timezone )
Summary: dev-vcs/tig-2.5.7 - src/util.c: error: conflicting types for time_now; have i...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-10 07:45 UTC by Toralf Förster
Modified: 2022-09-10 07:46 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.40 KB, text/plain)
2022-09-10 07:45 UTC, Toralf Förster
Details
dev-vcs:tig-2.5.7:20220910-061750.log (dev-vcs:tig-2.5.7:20220910-061750.log,6.88 KB, text/plain)
2022-09-10 07:45 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,56.05 KB, application/x-bzip)
2022-09-10 07:45 UTC, Toralf Förster
Details
environment (environment,59.81 KB, text/plain)
2022-09-10 07:45 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,60.83 KB, application/x-bzip)
2022-09-10 07:46 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.92 KB, application/x-bzip)
2022-09-10 07:46 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,16.74 KB, application/x-bzip)
2022-09-10 07:46 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-10 07:45:54 UTC
      |                                              ^~~~~~~~
src/util.c:101:42: warning: 'struct timezone' declared inside parameter list will not be visible outside of this definition or declaration
  101 | time_now(struct timeval *timeval, struct timezone *tz)
      |                                          ^~~~~~~~
src/util.c:101:1: error: conflicting types for 'time_now'; have 'int(struct timeval *, struct timezone *)'
  101 | time_now(struct timeval *timeval, struct timezone *tz)
      | ^~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j4-20220907-120004

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.62.1
  [2]   rust-1.62.1 *
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 0ebfc5ca824fc306f8c879484007cc171613f907
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 10 05:42:30 2022 +0000

    2022-09-10 05:42:29 UTC

emerge -qpvO dev-vcs/tig
[ebuild  N    ] dev-vcs/tig-2.5.7  USE="pcre unicode -test"
Comment 1 Toralf Förster gentoo-dev 2022-09-10 07:45:55 UTC
Created attachment 804373 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-10 07:45:56 UTC
Created attachment 804376 [details]
dev-vcs:tig-2.5.7:20220910-061750.log
Comment 3 Toralf Förster gentoo-dev 2022-09-10 07:45:57 UTC
Created attachment 804379 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-09-10 07:45:59 UTC
Created attachment 804382 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-10 07:46:00 UTC
Created attachment 804385 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-10 07:46:00 UTC
Created attachment 804388 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-10 07:46:01 UTC
Created attachment 804391 [details]
temp.tar.bz2