Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 821419 Details for
Bug 875482
www-apache/mod_qos-11.72 - qsrespeed.c: error: call to undeclared function gettimeofday; ISO C99
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
www-apache:mod_qos-11.72:20221005-160455.log
www-apache:mod_qos-11.72:20221005-160455.log (text/plain), 16.74 KB, created by
Toralf Förster
on 2022-10-05 18:14:40 UTC
(
hide
)
Description:
www-apache:mod_qos-11.72:20221005-160455.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-10-05 18:14:40 UTC
Size:
16.74 KB
patch
obsolete
> * Package: www-apache/mod_qos-11.72:0 > * Repository: gentoo > * Maintainer: candrews@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking mod_qos-11.72.tar.gz to /var/tmp/portage/www-apache/mod_qos-11.72/work >>>> Source unpacked in /var/tmp/portage/www-apache/mod_qos-11.72/work >>>> Preparing source in /var/tmp/portage/www-apache/mod_qos-11.72/work/mod_qos-11.72 ... > * Running eautoreconf in '/var/tmp/portage/www-apache/mod_qos-11.72/work/mod_qos-11.72/tools' ... > * Running 'aclocal --system-acdir=/var/tmp/portage/www-apache/mod_qos-11.72/temp/aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running 'automake --add-missing --copy --foreign --force-missing' ... > [ ok ] > * Running elibtoolize in: mod_qos-11.72/tools/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/www-apache/mod_qos-11.72/work/mod_qos-11.72 ... > * econf: updating mod_qos-11.72/tools/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating mod_qos-11.72/tools/config.guess with /usr/share/gnuconfig/config.guess >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/mod_qos-11.72 --htmldir=/usr/share/doc/mod_qos-11.72/html --libdir=/usr/lib64 >checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking for x86_64-pc-linux-gnu-gcc... clang >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 clang accepts -g... yes >checking for clang option to enable C11 features... none needed >checking whether clang understands -c and -o together... yes >checking whether make supports the include directive... yes (GNU style) >checking dependency style of clang... none >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 vfork.h... no >checking for fcntl.h... yes >checking for netdb.h... yes >checking for stdlib.h... (cached) yes >checking for string.h... (cached) yes >checking for strings.h... (cached) yes >checking for sys/socket.h... yes >checking for unistd.h... (cached) yes >checking for pid_t... yes >checking how to run the C preprocessor... clang -E >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for uid_t in sys/types.h... yes >checking for fork... yes >checking for vfork... yes >checking for working fork... yes >checking for working vfork... (cached) yes >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking for GNU libc compatible malloc... yes >checking for ftruncate... yes >checking for gethostbyname... yes >checking for memset... yes >checking for regcomp... yes >checking for select... yes >checking for socket... yes >checking for strchr... yes >checking for strerror... yes >checking for strrchr... yes >checking for strstr... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating src/Makefile >config.status: creating config.h >config.status: executing depfiles commands >>>> Source configured. >'/var/tmp/portage/www-apache/mod_qos-11.72/temp/clang14.log' -> '/var/tmp/clang/www-apache/mod_qos-11.72/clang14.log' >'/var/tmp/portage/www-apache/mod_qos-11.72/temp/clang15.log' -> '/var/tmp/clang/www-apache/mod_qos-11.72/clang15.log' >>>> Compiling source in /var/tmp/portage/www-apache/mod_qos-11.72/work/mod_qos-11.72 ... >/usr/share/apr/build/libtool --silent --mode=compile clang -prefer-pic -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o mod_qos.lo mod_qos.c && touch mod_qos.slo >mod_qos.c:8606:67: warning: comparison of array 'pB->country' equal to a null > pointer is always false [-Wtautological-pointer-compare] > ...== 1 && (pB == NULL || pB->country == NULL)) { > ~~~~^~~~~~~ ~~~~ >1 warning generated. >/usr/share/apr/build/libtool --silent --mode=link clang -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--no-as-needed -o mod_qos.la -rpath /usr/lib64/apache2/modules -module -avoid-version mod_qos.lo >make -j4 -C /var/tmp/portage/www-apache/mod_qos-11.72/work/mod_qos-11.72/tools >make: Entering directory '/var/tmp/portage/www-apache/mod_qos-11.72/work/mod_qos-11.72/tools' >make all-recursive >make[1]: Entering directory '/var/tmp/portage/www-apache/mod_qos-11.72/work/mod_qos-11.72/tools' >Making all in src >make[2]: Entering directory '/var/tmp/portage/www-apache/mod_qos-11.72/work/mod_qos-11.72/tools/src' >clang -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qsfilter2.o qsfilter2.c >clang -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qs_util.o qs_util.c >clang -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qslog.o qslog.c >clang -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qspng.o qspng.c >qs_util.c:274:14: warning: address of array 'de->d_name' will always evaluate to > 'true' [-Wpointer-bool-conversion] > if(de->d_name && (strncmp(de->d_name, filename, strlen(filename)) == 0)) { > ~~~~^~~~~~ ~~ >qs_util.c:284:9: warning: address of array 'de->d_name' will always evaluate to > 'true' [-Wpointer-bool-conversion] > if(de->d_name && (strncmp(de->d_name, filename, strlen(filename)... > ~~~~^~~~~~ ~~ >2 warnings generated. >clang -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qsrotate.o qsrotate.c >qsfilter2.c:1815:38: warning: incompatible function pointer types passing 'int > (const char *const *, const char *const *)' to parameter of type > 'OPENSSL_sk_compfunc' (aka 'int (*)(const void *, const void *)') > [-Wincompatible-function-pointer-types] > STACK_OF(qs_rule_t) *st = sk_new(STACK_qs_cmp); > ^~~~~~~~~~~~ >/usr/include/openssl/stack.h:28:51: note: passing argument to parameter 'cmp' > here >OPENSSL_STACK *OPENSSL_sk_new(OPENSSL_sk_compfunc cmp); > ^ >qsfilter2.c:1815:26: warning: incompatible pointer types initializing 'struct > stack_st_qs_rule_t *' with an expression of type 'OPENSSL_STACK *' > (aka 'struct stack_st *') [-Wincompatible-pointer-types] > STACK_OF(qs_rule_t) *st = sk_new(STACK_qs_cmp); > ^ ~~~~~~~~~~~~~~~~~~~~ >qsfilter2.c:1823:15: warning: incompatible pointer types passing 'struct > stack_st_qs_rule_t *' to parameter of type 'OPENSSL_STACK *' > (aka 'struct stack_st *') [-Wincompatible-pointer-types] > sk_push(st, (char *)r); > ^~ >/usr/include/openssl/stack.h:42:36: note: passing argument to parameter 'st' > here >int OPENSSL_sk_push(OPENSSL_STACK *st, const void *data); > ^ >qsfilter2.c:1825:13: warning: incompatible pointer types passing 'struct > stack_st_qs_rule_t *' to parameter of type 'OPENSSL_STACK *' > (aka 'struct stack_st *') [-Wincompatible-pointer-types] > sk_sort(st); > ^~ >/usr/include/openssl/stack.h:50:37: note: passing argument to parameter 'st' > here >void OPENSSL_sk_sort(OPENSSL_STACK *st); > ^ >qsfilter2.c:1826:16: warning: incompatible pointer types passing 'struct > stack_st_qs_rule_t *' to parameter of type 'const OPENSSL_STACK *' (aka > 'const struct stack_st *') [-Wincompatible-pointer-types] > i = sk_num(st); > ^~ >/usr/include/openssl/stack.h:23:41: note: passing argument to parameter here >int OPENSSL_sk_num(const OPENSSL_STACK *); > ^ >qsfilter2.c:1828:33: warning: incompatible pointer types passing 'struct > stack_st_qs_rule_t *' to parameter of type 'const OPENSSL_STACK *' (aka > 'const struct stack_st *') [-Wincompatible-pointer-types] > r = (qs_rule_t *)sk_value(st, i-1); > ^~ >/usr/include/openssl/stack.h:24:45: note: passing argument to parameter here >void *OPENSSL_sk_value(const OPENSSL_STACK *, int); > ^ >qsrotate.c:228:13: warning: incompatible pointer types assigning to 'gzFile *' > (aka 'struct gzFile_s **') from 'gzFile' (aka 'struct gzFile_s *') > [-Wincompatible-pointer-types] > if((outfp = gzopen(dest,"wb")) == NULL) { > ^ ~~~~~~~~~~~~~~~~~ >qsrotate.c:235:13: warning: incompatible pointer types passing 'gzFile *' (aka > 'struct gzFile_s **') to parameter of type 'gzFile' (aka > 'struct gzFile_s *'); dereference with * [-Wincompatible-pointer-types] > gzwrite(outfp, buf, len); > ^~~~~ > * >/usr/include/zlib.h:1448:43: note: passing argument to parameter 'file' here >ZEXTERN int ZEXPORT gzwrite _Z_OF((gzFile file, voidpc buf, unsigned len)); > ^ >qsrotate.c:237:11: warning: incompatible pointer types passing 'gzFile *' (aka > 'struct gzFile_s **') to parameter of type 'gzFile' (aka > 'struct gzFile_s *'); dereference with * [-Wincompatible-pointer-types] > gzclose(outfp); > ^~~~~ > * >/usr/include/zlib.h:1631:46: note: passing argument to parameter 'file' here >ZEXTERN int ZEXPORT gzclose _Z_OF((gzFile file)); > ^ >3 warnings generated. >clang -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qssign.o qssign.c >6 warnings generated. >clang -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qs_apo.o qs_apo.c >clang -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qstail.o qstail.c >clang -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qsgrep.o qsgrep.c >clang -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qsexec.o qsexec.c >clang -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qscheck.o qscheck.c >clang -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qsgeo.o qsgeo.c >qscheck.c:316:17: warning: comparing a pointer to a null character constant; did > you mean to compare to NULL? [-Wpointer-compare] > if(&file[i] != '\0') { > ^~~~ > (void *)0 >qscheck.c:332:17: warning: comparing a pointer to a null character constant; did > you mean to compare to NULL? [-Wpointer-compare] > if(&sr[i] != '\0') { > ^~~~ > (void *)0 >clang -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qslogger.o qslogger.c >2 warnings generated. >clang -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qshead.o qshead.c >clang -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qsdt.o qsdt.c >clang -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qsrespeed.o qsrespeed.c >clang -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qsre.o qsre.c >clang -I/usr/include/libpng16 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/apr-1 -I/usr/include/apr-1 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o qsfilter2 qsfilter2.o qs_util.o -lssl -lcrypto -lapr-1 -laprutil-1 -luuid -lcrypt -lpthread -lgdbm -lexpat -L/usr/lib64 -lpcre -lpng16 -lz >qsrespeed.c:272:2: error: call to undeclared function 'gettimeofday'; ISO C99 > and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > gettimeofday(&tv, NULL); > ^ >qsrespeed.c:288:3: error: call to undeclared function 'gettimeofday'; ISO C99 > and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > gettimeofday(&tv, NULL); > ^ >2 errors generated. >make[2]: *** [Makefile:542: qsrespeed.o] Error 1 >make[2]: *** Waiting for unfinished jobs.... >make[2]: Leaving directory '/var/tmp/portage/www-apache/mod_qos-11.72/work/mod_qos-11.72/tools/src' >make[1]: *** [Makefile:364: all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/www-apache/mod_qos-11.72/work/mod_qos-11.72/tools' >make: *** [Makefile:305: all] Error 2 >make: Leaving directory '/var/tmp/portage/www-apache/mod_qos-11.72/work/mod_qos-11.72/tools' > * ERROR: www-apache/mod_qos-11.72::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=www-apache/mod_qos-11.72::gentoo'`, > * the complete build log and the output of `emerge -pqv '=www-apache/mod_qos-11.72::gentoo'`. > * The complete build log is located at '/var/log/portage/www-apache:mod_qos-11.72:20221005-160455.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/www-apache/mod_qos-11.72/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/www-apache/mod_qos-11.72/temp/environment'. > * Working directory: '/var/tmp/portage/www-apache/mod_qos-11.72/work/mod_qos-11.72/apache2' > * S: '/var/tmp/portage/www-apache/mod_qos-11.72/work/mod_qos-11.72' >
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 875482
:
821401
|
821404
|
821407
|
821410
|
821413
|
821416
| 821419