Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 804376 Details for
Bug 869431
dev-vcs/tig-2.5.7 - src/util.c: error: conflicting types for time_now; have int(struct timeval , struct timezone )
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-vcs:tig-2.5.7:20220910-061750.log
dev-vcs:tig-2.5.7:20220910-061750.log (text/plain), 6.88 KB, created by
Toralf Förster
on 2022-09-10 07:45:56 UTC
(
hide
)
Description:
dev-vcs:tig-2.5.7:20220910-061750.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-09-10 07:45:56 UTC
Size:
6.88 KB
patch
obsolete
> * Package: dev-vcs/tig-2.5.7 > * Repository: gentoo > * Maintainer: gyakovlev@gentoo.org chutzpah@gentoo.org > * USE: abi_x86_64 amd64 elibc_musl kernel_linux pcre unicode userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking tig-2.5.7.tar.gz to /var/tmp/portage/dev-vcs/tig-2.5.7/work >>>> Source unpacked in /var/tmp/portage/dev-vcs/tig-2.5.7/work >>>> Preparing source in /var/tmp/portage/dev-vcs/tig-2.5.7/work/tig-2.5.7 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-vcs/tig-2.5.7/work/tig-2.5.7 ... >./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --docdir=/usr/share/doc/tig-2.5.7 --htmldir=/usr/share/doc/tig-2.5.7/html --libdir=/usr/lib --with-pcre --with-ncursesw >configure: loading site script /usr/share/config.site >checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-gcc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether the compiler supports GNU C... yes >checking whether x86_64-gentoo-linux-musl-gcc accepts -g... yes >checking for x86_64-gentoo-linux-musl-gcc option to enable C11 features... none needed >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for execinfo.h... no >checking for paths.h... yes >checking for stdint.h... (cached) yes >checking for stdlib.h... (cached) yes >checking for string.h... (cached) yes >checking for sys/time.h... yes >checking for unistd.h... (cached) yes >checking for wordexp.h... yes >checking for gettimeofday... yes >checking for x86_64-gentoo-linux-musl-gcc options needed to detect all undeclared functions... none needed >checking whether environ is declared... no >checking whether errno is declared... yes >checking for mkstemps... yes >checking for setenv... yes >checking for strndup... yes >checking for wordexp... yes >checking for x86_64-gentoo-linux-musl-pkg-config... /usr/bin/x86_64-gentoo-linux-musl-pkg-config >checking pkg-config is at least version 0.9.0... yes >checking for ncursesw via pkg-config... yes >checking for working ncursesw/curses.h... yes >checking for working ncursesw.h... no >checking for working ncurses.h... yes >checking for tgetent... no >checking for tgetent in -lncursesw... no >checking for tgetent in -ltinfow... yes >checking which library has the termcap functions... using libtinfow >checking for readline/readline.h... yes >checking for readline/history.h... yes >checking version of installed readline library... 8.1 >checking for iconv... yes >checking for iconv declaration... > extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); >checking for pcre2posix.h... yes >checking for regexec in -lpcre2-posix... yes >checking for gsed... no >checking for asciidoc... asciidoc >checking for xmlto... xmlto >checking for docbook2pdf... no >configure: creating ./config.status >config.status: creating config.make >config.status: creating config.h >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-vcs/tig-2.5.7/work/tig-2.5.7 ... >make -j4 V=1 >x86_64-gentoo-linux-musl-gcc -I. -Iinclude -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include -MMD -MP -MF .deps/src/tig.d -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -DHAVE_CONFIG_H '-DTIG_VERSION="2.5.7"' '-DSYSCONFDIR="/etc"' -c -o src/tig.o src/tig.c >x86_64-gentoo-linux-musl-gcc -I. -Iinclude -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include -MMD -MP -MF .deps/src/types.d -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -DHAVE_CONFIG_H '-DTIG_VERSION="2.5.7"' '-DSYSCONFDIR="/etc"' -c -o src/types.o src/types.c >x86_64-gentoo-linux-musl-gcc -I. -Iinclude -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include -MMD -MP -MF .deps/src/string.d -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -DHAVE_CONFIG_H '-DTIG_VERSION="2.5.7"' '-DSYSCONFDIR="/etc"' -c -o src/string.o src/string.c >x86_64-gentoo-linux-musl-gcc -I. -Iinclude -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include -MMD -MP -MF .deps/src/util.d -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -DHAVE_CONFIG_H '-DTIG_VERSION="2.5.7"' '-DSYSCONFDIR="/etc"' -c -o src/util.o src/util.c >In file included from src/util.c:15: >include/tig/util.h:85:46: warning: 'struct timezone' declared inside parameter list will not be visible outside of this definition or declaration > 85 | int time_now(struct timeval *timeval, struct timezone *tz); > | ^~~~~~~~ >In file included from src/tig.c:18: >include/tig/util.h:85:46: warning: 'struct timezone' declared inside parameter list will not be visible outside of this definition or declaration > 85 | int time_now(struct timeval *timeval, struct timezone *tz); > | ^~~~~~~~ >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) > | ^~~~~~~~ >include/tig/util.h:85:5: note: previous declaration of 'time_now' with type 'int(struct timeval *, struct timezone *)' > 85 | int time_now(struct timeval *timeval, struct timezone *tz); > | ^~~~~~~~ >src/util.c: In function 'time_now': >src/util.c:111:53: error: invalid application of 'sizeof' to incomplete type 'struct timezone' > 111 | memset(tz, 0, sizeof(*tz)); > | ^ >make: *** [Makefile:383: src/util.o] Error 1 >make: *** Waiting for unfinished jobs.... > * ERROR: dev-vcs/tig-2.5.7::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=dev-vcs/tig-2.5.7::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-vcs/tig-2.5.7::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-vcs:tig-2.5.7:20220910-061750.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-vcs/tig-2.5.7/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-vcs/tig-2.5.7/temp/environment'. > * Working directory: '/var/tmp/portage/dev-vcs/tig-2.5.7/work/tig-2.5.7' > * S: '/var/tmp/portage/dev-vcs/tig-2.5.7/work/tig-2.5.7' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 869431
:
804373
| 804376 |
804379
|
804382
|
804385
|
804388
|
804391