Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 877192 Details for
Bug 919231
www-apache/mod_qos-11.74-r1 - qsfilter2.c: error: passing argument 1 of OPENSSL_sk_new from incompatible pointer type [-Wincompatible-pointer-types]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
www-apache:mod_qos-11.74-r1:20231204-034037.log
www-apache:mod_qos-11.74-r1:20231204-034037.log (text/plain), 14.81 KB, created by
Toralf Förster
on 2023-12-04 20:19:08 UTC
(
hide
)
Description:
www-apache:mod_qos-11.74-r1:20231204-034037.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-12-04 20:19:08 UTC
Size:
14.81 KB
patch
obsolete
> * Package: www-apache/mod_qos-11.74-r1:0 > * Repository: gentoo > * Maintainer: candrews@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking mod_qos-11.74.tar.gz to /var/tmp/portage/www-apache/mod_qos-11.74-r1/work >>>> Source unpacked in /var/tmp/portage/www-apache/mod_qos-11.74-r1/work >>>> Preparing source in /var/tmp/portage/www-apache/mod_qos-11.74-r1/work/mod_qos-11.74 ... > * Applying mod_qos-11.74-fix-incompatible-pointer-to-integer-conversion.diff ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/www-apache/mod_qos-11.74-r1/work/mod_qos-11.74/tools' ... > * Running 'aclocal --system-acdir=/var/tmp/portage/www-apache/mod_qos-11.74-r1/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.74/tools/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/www-apache/mod_qos-11.74-r1/work/mod_qos-11.74 ... > * econf: updating mod_qos-11.74/tools/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating mod_qos-11.74/tools/config.sub with /usr/share/gnuconfig/config.sub >./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.74-r1 --htmldir=/usr/share/doc/mod_qos-11.74-r1/html --libdir=/usr/lib64 >checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /usr/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... x86_64-pc-linux-gnu-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-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed >checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes >checking whether make supports the include directive... yes (GNU style) >checking dependency style of x86_64-pc-linux-gnu-gcc... 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... x86_64-pc-linux-gnu-gcc -E >checking for grep that handles long lines and -e... /usr/bin/grep >checking for egrep... /usr/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. >>>> Compiling source in /var/tmp/portage/www-apache/mod_qos-11.74-r1/work/mod_qos-11.74 ... >/usr/share/apr/build/libtool --silent --mode=compile x86_64-pc-linux-gnu-gcc -prefer-pic -O2 -pipe -march=native -fno-diagnostics-color -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: In function 'qos_encrypt': >mod_qos.c:2172:3: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 2172 | hmac_p = HMAC_CTX_new(); > | ^~~~~~ >In file included from mod_qos.c:103: >/usr/include/openssl/hmac.h:33:33: note: declared here > 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); > | ^~~~~~~~~~~~ >mod_qos.c:2175:3: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 2175 | HMAC_Init_ex(hmac_p, sconf->rawKey, sconf->rawKeyLen, EVP_md5(), NULL); > | ^~~~~~~~~~~~ >/usr/include/openssl/hmac.h:43:27: note: declared here > 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, > | ^~~~~~~~~~~~ >mod_qos.c:2179:3: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 2179 | HMAC_Update(hmac_p, b, l); > | ^~~~~~~~~~~ >/usr/include/openssl/hmac.h:45:27: note: declared here > 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, > | ^~~~~~~~~~~ >mod_qos.c:2180:3: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 2180 | HMAC_Final(hmac_p, hash, &hashLen); > | ^~~~~~~~~~ >/usr/include/openssl/hmac.h:47:27: note: declared here > 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, > | ^~~~~~~~~~ >mod_qos.c:2184:3: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 2184 | HMAC_CTX_free(hmac_p); > | ^~~~~~~~~~~~~ >/usr/include/openssl/hmac.h:35:28: note: declared here > 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); > | ^~~~~~~~~~~~~ >mod_qos.c: In function 'qos_decrypt': >mod_qos.c:2321:5: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 2321 | hmac_p = HMAC_CTX_new(); > | ^~~~~~ >/usr/include/openssl/hmac.h:33:33: note: declared here > 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); > | ^~~~~~~~~~~~ >mod_qos.c:2324:5: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 2324 | HMAC_Init_ex(hmac_p, sconf->rawKey, sconf->rawKeyLen, EVP_md5(), NULL); > | ^~~~~~~~~~~~ >/usr/include/openssl/hmac.h:43:27: note: declared here > 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, > | ^~~~~~~~~~~~ >mod_qos.c:2328:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 2328 | HMAC_Update(hmac_p, &buf[QOS_HASH_LEN], buf_len); > | ^~~~~~~~~~~ >/usr/include/openssl/hmac.h:45:27: note: declared here > 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, > | ^~~~~~~~~~~ >mod_qos.c:2329:5: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 2329 | HMAC_Final(hmac_p, hash, &hashLen); > | ^~~~~~~~~~ >/usr/include/openssl/hmac.h:47:27: note: declared here > 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, > | ^~~~~~~~~~ >mod_qos.c:2333:5: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 2333 | HMAC_CTX_free(hmac_p); > | ^~~~~~~~~~~~~ >/usr/include/openssl/hmac.h:35:28: note: declared here > 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); > | ^~~~~~~~~~~~~ >/usr/share/apr/build/libtool --silent --mode=link x86_64-pc-linux-gnu-gcc -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.74-r1/work/mod_qos-11.74/tools >make: Entering directory '/var/tmp/portage/www-apache/mod_qos-11.74-r1/work/mod_qos-11.74/tools' >make all-recursive >make[1]: Entering directory '/var/tmp/portage/www-apache/mod_qos-11.74-r1/work/mod_qos-11.74/tools' >Making all in src >make[2]: Entering directory '/var/tmp/portage/www-apache/mod_qos-11.74-r1/work/mod_qos-11.74/tools/src' >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qsfilter2.o qsfilter2.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qs_util.o qs_util.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qslog.o qslog.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libpng16 -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o qspng.o qspng.c >qs_util.c: In function âqs_setuidâ: >qs_util.c:322:5: warning: ignoring return value of âsetgidâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 322 | setgid(gid); > | ^~~~~~~~~~~ >qs_util.c:323:5: warning: ignoring return value of âsetuidâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 323 | setuid(uid); > | ^~~~~~~~~~~ >qsfilter2.c: In function âmainâ: >qsfilter2.c:1803:38: error: passing argument 1 of âOPENSSL_sk_newâ from incompatible pointer type [-Wincompatible-pointer-types] > 1803 | STACK_OF(qs_rule_t) *st = sk_new((qs_rule_t *)STACK_qs_cmp); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | qs_rule_t * >In file included from /usr/include/openssl/safestack.h:24, > from qsfilter2.c:59: >/usr/include/openssl/stack.h:34:51: note: expected âOPENSSL_sk_compfuncâ {aka âint (*)(const void *, const void *)â} but argument is of type âqs_rule_t *â > 34 | OPENSSL_STACK *OPENSSL_sk_new(OPENSSL_sk_compfunc cmp); > | ~~~~~~~~~~~~~~~~~~~~^~~ >qsfilter2.c:1803:31: error: initialization of âstruct stack_st_qs_rule_t *â from incompatible pointer type âOPENSSL_STACK *â {aka âstruct stack_st *â} [-Wincompatible-pointer-types] > 1803 | STACK_OF(qs_rule_t) *st = sk_new((qs_rule_t *)STACK_qs_cmp); > | ^~~~~~ >qsfilter2.c:1811:15: error: passing argument 1 of âOPENSSL_sk_pushâ from incompatible pointer type [-Wincompatible-pointer-types] > 1811 | sk_push(st, (char *)r); > | ^~ > | | > | struct stack_st_qs_rule_t * >/usr/include/openssl/stack.h:49:36: note: expected âOPENSSL_STACK *â {aka âstruct stack_st *â} but argument is of type âstruct stack_st_qs_rule_t *â > 49 | int OPENSSL_sk_push(OPENSSL_STACK *st, const void *data); > | ~~~~~~~~~~~~~~~^~ >qsfilter2.c:1813:13: error: passing argument 1 of âOPENSSL_sk_sortâ from incompatible pointer type [-Wincompatible-pointer-types] > 1813 | sk_sort(st); > | ^~ > | | > | struct stack_st_qs_rule_t * >/usr/include/openssl/stack.h:57:37: note: expected âOPENSSL_STACK *â {aka âstruct stack_st *â} but argument is of type âstruct stack_st_qs_rule_t *â > 57 | void OPENSSL_sk_sort(OPENSSL_STACK *st); > | ~~~~~~~~~~~~~~~^~ >qsfilter2.c:1814:16: error: passing argument 1 of âOPENSSL_sk_numâ from incompatible pointer type [-Wincompatible-pointer-types] > 1814 | i = sk_num(st); > | ^~ > | | > | struct stack_st_qs_rule_t * >/usr/include/openssl/stack.h:29:20: note: expected âconst OPENSSL_STACK *â {aka âconst struct stack_st *â} but argument is of type âstruct stack_st_qs_rule_t *â > 29 | int OPENSSL_sk_num(const OPENSSL_STACK *); > | ^~~~~~~~~~~~~~~~~~~~~ >qsfilter2.c:1816:33: error: passing argument 1 of âOPENSSL_sk_valueâ from incompatible pointer type [-Wincompatible-pointer-types] > 1816 | r = (qs_rule_t *)sk_value(st, i-1); > | ^~ > | | > | struct stack_st_qs_rule_t * >/usr/include/openssl/stack.h:30:24: note: expected âconst OPENSSL_STACK *â {aka âconst struct stack_st *â} but argument is of type âstruct stack_st_qs_rule_t *â > 30 | void *OPENSSL_sk_value(const OPENSSL_STACK *, int); > | ^~~~~~~~~~~~~~~~~~~~~ >qslog.c: In function âgetFreeMemâ: >qslog.c:647:7: warning: ignoring return value of âsystemâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 647 | system(command); > | ^~~~~~~~~~~~~~~ >make[2]: *** [Makefile:542: qsfilter2.o] Error 1 >make[2]: *** Waiting for unfinished jobs.... >make[2]: Leaving directory '/var/tmp/portage/www-apache/mod_qos-11.74-r1/work/mod_qos-11.74/tools/src' >make[1]: *** [Makefile:364: all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/www-apache/mod_qos-11.74-r1/work/mod_qos-11.74/tools' >make: *** [Makefile:305: all] Error 2 >make: Leaving directory '/var/tmp/portage/www-apache/mod_qos-11.74-r1/work/mod_qos-11.74/tools' > * ERROR: www-apache/mod_qos-11.74-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=www-apache/mod_qos-11.74-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=www-apache/mod_qos-11.74-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/www-apache:mod_qos-11.74-r1:20231204-034037.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/www-apache/mod_qos-11.74-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/www-apache/mod_qos-11.74-r1/temp/environment'. > * Working directory: '/var/tmp/portage/www-apache/mod_qos-11.74-r1/work/mod_qos-11.74/apache2' > * S: '/var/tmp/portage/www-apache/mod_qos-11.74-r1/work/mod_qos-11.74' >
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 919231
:
877185
|
877186
|
877187
|
877188
|
877189
|
877190
|
877191
| 877192