Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 729156 Details for
Bug 805929
sys-auth/pam_p11-0.3.1 - match_openssh.c: error: RSA_new is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sys-auth:pam_p11-0.3.1:20210801-094621.log
sys-auth:pam_p11-0.3.1:20210801-094621.log (text/plain), 19.06 KB, created by
Toralf Förster
on 2021-08-01 10:09:06 UTC
(
hide
)
Description:
sys-auth:pam_p11-0.3.1:20210801-094621.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2021-08-01 10:09:06 UTC
Size:
19.06 KB
patch
obsolete
> * Package: sys-auth/pam_p11-0.3.1 > * Repository: gentoo > * Maintainer: polynomial-c@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking pam_p11-0.3.1.tar.gz to /var/tmp/portage/sys-auth/pam_p11-0.3.1/work >>>> Source unpacked in /var/tmp/portage/sys-auth/pam_p11-0.3.1/work >>>> Preparing source in /var/tmp/portage/sys-auth/pam_p11-0.3.1/work/pam_p11-0.3.1 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/sys-auth/pam_p11-0.3.1/work/pam_p11-0.3.1 ... > * econf: updating pam_p11-0.3.1/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating pam_p11-0.3.1/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/pam_p11-0.3.1 --htmldir=/usr/share/doc/pam_p11-0.3.1/html --with-sysroot=/ --libdir=/usr/lib64 --with-pamdir=/lib64/security >checking for a BSD-compatible install... /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a thread-safe mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >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 we are using the GNU C compiler... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed >checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes >checking for style of include used by make... GNU >checking dependency style of x86_64-pc-linux-gnu-gcc... none >checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config >checking pkg-config is at least version 0.9.0... yes >checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for ANSI C header files... yes >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking whether byte ordering is bigendian... no >checking for a sed that does not truncate output... /bin/sed >checking whether NLS is requested... yes >checking for msgfmt... /usr/bin/msgfmt >checking for gmsgfmt... /usr/bin/gmsgfmt >checking for xgettext... /usr/bin/xgettext >checking for msgmerge... /usr/bin/msgmerge >checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld >checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes >checking for shared library run path origin... done >checking for CFPreferencesCopyAppValue... no >checking for CFLocaleCopyCurrent... no >checking for GNU gettext in libc... yes >checking whether to use NLS... yes >checking where the gettext function comes from... libc >checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E >checking whether ln -s works... yes >checking for a sed that does not truncate output... (cached) /bin/sed >checking whether make sets $(MAKE)... (cached) yes >checking how to print strings... printf >checking for a sed that does not truncate output... (cached) /bin/sed >checking for fgrep... /bin/grep -F >checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld >checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes >checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B >checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm >checking the maximum length of command line arguments... 1572864 >checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop >checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop >checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r >checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump >checking how to recognize dependent libraries... pass_all >checking for x86_64-pc-linux-gnu-dlltool... no >checking for dlltool... no >checking how to associate runtime and link libraries... printf %s\n >checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar >checking for archiver @FILE support... @ >checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok >checking for sysroot... / >checking for a working dd... /bin/dd >checking how to truncate binary pipes... /bin/dd bs=4096 count=1 >checking for x86_64-pc-linux-gnu-mt... no >checking for mt... mt >checking if mt is a manifest tool... no >checking for dlfcn.h... yes >checking for objdir... .libs >checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no >checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC >checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes >checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes >checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes >checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes >checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes >checking whether -lc should be explicitly linked in... no >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... yes >checking for LIBP11... yes >checking for OPENSSL... yes >checking for EVP_MD_CTX_new... yes >checking for EVP_MD_CTX_free... yes >checking for EVP_MD_CTX_reset... yes >checking for pam_authenticate in -lpam... yes >checking for ANSI C header files... (cached) yes >checking for sys/wait.h that is POSIX.1 compatible... yes >checking for string.h... (cached) yes >checking syslog.h usability... yes >checking syslog.h presence... yes >checking for syslog.h... yes >checking fcntl.h usability... yes >checking fcntl.h presence... yes >checking for fcntl.h... yes >checking for unistd.h... (cached) yes >checking security/pam_ext.h usability... yes >checking security/pam_ext.h presence... yes >checking for security/pam_ext.h... yes >checking security/pam_misc.h usability... yes >checking security/pam_misc.h presence... yes >checking for security/pam_misc.h... yes >checking for size_t... yes >checking for stdlib.h... (cached) yes >checking for GNU libc compatible malloc... yes >checking for stdlib.h... (cached) yes >checking for GNU libc compatible realloc... yes >checking whether lstat correctly handles trailing slash... yes >checking whether stat accepts an empty string... no >checking for vprintf... yes >checking for _doprnt... no >checking for memset... yes >checking for strdup... yes >checking for strerror... yes >checking for PKCS11_enumerate_public_keys... yes >checking for PKCS11_is_logged_in... yes >checking for pam_vprompt... yes >checking for openpam_ttyconv... no >checking for misc_conv in -lpam_misc... 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 po/Makefile.in >config.status: creating config.h >config.status: executing depfiles commands >config.status: executing po-directories commands >config.status: creating po/POTFILES >config.status: creating po/Makefile >config.status: executing libtool commands > >pam_p11 has been configured with the following options: > > >Version: 0.3.1 >Libraries: /usr/lib64 > >Host: x86_64-pc-linux-gnu >Compiler: x86_64-pc-linux-gnu-gcc >Preprocessor flags: >Compiler flags: -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wextra -Wno-unused-parameter -Werror >Linker flags: -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 >Libraries: > >pamdir /lib64/security > >PAM_CFLAGS: >PAM_LIBS: -lpam >LIBP11_CFLAGS: >LIBP11_LIBS: -lp11 >OPENSSL_CFLAGS: >OPENSSL_LIBS: -lcrypto > >>>> Source configured. >>>> Compiling source in /var/tmp/portage/sys-auth/pam_p11-0.3.1/work/pam_p11-0.3.1 ... >make -j3 >make all-recursive >make[1]: Entering directory '/var/tmp/portage/sys-auth/pam_p11-0.3.1/work/pam_p11-0.3.1' >Making all in po >make[2]: Entering directory '/var/tmp/portage/sys-auth/pam_p11-0.3.1/work/pam_p11-0.3.1/po' >make[2]: Nothing to be done for 'all'. >make[2]: Leaving directory '/var/tmp/portage/sys-auth/pam_p11-0.3.1/work/pam_p11-0.3.1/po' >Making all in src >make[2]: Entering directory '/var/tmp/portage/sys-auth/pam_p11-0.3.1/work/pam_p11-0.3.1/src' >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wextra -Wno-unused-parameter -Werror -c -o pam_p11.lo pam_p11.c >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wextra -Wno-unused-parameter -Werror -c -o base64.lo base64.c >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wextra -Wno-unused-parameter -Werror -c -o match_openssh.lo match_openssh.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wextra -Wno-unused-parameter -Werror -c base64.c -fPIC -DPIC -o .libs/base64.o >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wextra -Wno-unused-parameter -Werror -c match_openssh.c -fPIC -DPIC -o .libs/match_openssh.o >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wextra -Wno-unused-parameter -Werror -c pam_p11.c -fPIC -DPIC -o .libs/pam_p11.o >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wextra -Wno-unused-parameter -Werror -c base64.c -o base64.o >/dev/null 2>&1 >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wextra -Wno-unused-parameter -Werror -c -o match_opensc.lo match_opensc.c >match_openssh.c: In function âssh1_line_to_keyâ: >match_openssh.c:71:9: error: âRSA_newâ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] > 71 | rsa = RSA_new(); > | ^~~ >In file included from /usr/include/openssl/x509.h:36, > from match_openssh.c:11: >/usr/include/openssl/rsa.h:201:28: note: declared here > 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); > | ^~~~~~~ >match_openssh.c:142:9: error: âRSA_set0_keyâ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] > 142 | if (!RSA_set0_key(rsa, rsa_n, rsa_e, NULL)) > | ^~ >In file included from /usr/include/openssl/x509.h:36, > from match_openssh.c:11: >/usr/include/openssl/rsa.h:207:27: note: declared here > 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); > | ^~~~~~~~~~~~ >match_openssh.c:145:9: error: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] > 145 | EVP_PKEY_assign_RSA(key, rsa); > | ^~~~~~~~~~~~~~~~~~~ >In file included from match_openssh.c:9: >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >match_openssh.c: In function âssh2_line_to_keyâ: >match_openssh.c:232:9: error: âRSA_newâ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] > 232 | rsa = RSA_new(); > | ^~~ >In file included from /usr/include/openssl/x509.h:36, > from match_openssh.c:11: >/usr/include/openssl/rsa.h:201:28: note: declared here > 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); > | ^~~~~~~ >match_openssh.c:235:9: error: âRSA_set0_keyâ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] > 235 | if (!RSA_set0_key(rsa, rsa_n, rsa_e, NULL)) { > | ^~ >In file included from /usr/include/openssl/x509.h:36, > from match_openssh.c:11: >/usr/include/openssl/rsa.h:207:27: note: declared here > 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); > | ^~~~~~~~~~~~ >match_openssh.c:237:17: error: âRSA_freeâ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] > 237 | RSA_free(rsa); > | ^~~~~~~~ >In file included from /usr/include/openssl/x509.h:36, > from match_openssh.c:11: >/usr/include/openssl/rsa.h:293:28: note: declared here > 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); > | ^~~~~~~~ >match_openssh.c:241:9: error: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] > 241 | EVP_PKEY_assign_RSA(key, rsa); > | ^~~~~~~~~~~~~~~~~~~ >In file included from match_openssh.c:9: >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >match_openssh.c: In function âssh_nistp_line_to_keyâ: >match_openssh.c:338:9: error: âEC_KEY_new_by_curve_nameâ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] > 338 | ec_key = EC_KEY_new_by_curve_name(nid); > | ^~~~~~ >In file included from /usr/include/openssl/x509.h:33, > from match_openssh.c:11: >/usr/include/openssl/ec.h:996:31: note: declared here > 996 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >match_openssh.c:346:9: error: âEC_KEY_set_public_key_affine_coordinatesâ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] > 346 | if (!EC_KEY_set_public_key_affine_coordinates(ec_key, x, y)) { > | ^~ >In file included from /usr/include/openssl/x509.h:33, > from match_openssh.c:11: >/usr/include/openssl/ec.h:1120:27: note: declared here > 1120 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >match_openssh.c:347:17: error: âEC_KEY_freeâ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] > 347 | EC_KEY_free(ec_key); > | ^~~~~~~~~~~ >In file included from /usr/include/openssl/x509.h:33, > from match_openssh.c:11: >/usr/include/openssl/ec.h:1001:28: note: declared here > 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); > | ^~~~~~~~~~~ >match_openssh.c:354:9: error: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] > 354 | EVP_PKEY_assign_EC_KEY(key, ec_key); > | ^~~~~~~~~~~~~~~~~~~~~~ >In file included from match_openssh.c:9: >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >match_openssh.c: In function âmatch_user_opensshâ: >match_openssh.c:403:17: error: âEVP_PKEY_cmpâ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] > 403 | if (1 == EVP_PKEY_cmp(authkey, key)) { > | ^~ >In file included from match_openssh.c:9: >/usr/include/openssl/evp.h:1418:5: note: declared here > 1418 | int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b); > | ^~~~~~~~~~~~ >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wextra -Wno-unused-parameter -Werror -c match_opensc.c -fPIC -DPIC -o .libs/match_opensc.o >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wextra -Wno-unused-parameter -Werror -c pam_p11.c -o pam_p11.o >/dev/null 2>&1 >cc1: all warnings being treated as errors >make[2]: *** [Makefile:523: match_openssh.lo] Error 1 >make[2]: *** Waiting for unfinished jobs.... >match_opensc.c: In function âmatch_user_openscâ: >match_opensc.c:51:17: error: âEVP_PKEY_cmpâ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] > 51 | if (1 == EVP_PKEY_cmp(authkey, key)) { > | ^~ >In file included from /usr/include/openssl/pem.h:22, > from match_opensc.c:11: >/usr/include/openssl/evp.h:1418:5: note: declared here > 1418 | int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b); > | ^~~~~~~~~~~~ >cc1: all warnings being treated as errors >make[2]: *** [Makefile:523: match_opensc.lo] Error 1 >make[2]: Leaving directory '/var/tmp/portage/sys-auth/pam_p11-0.3.1/work/pam_p11-0.3.1/src' >make[1]: *** [Makefile:496: all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/sys-auth/pam_p11-0.3.1/work/pam_p11-0.3.1' >make: *** [Makefile:407: all] Error 2 > * ERROR: sys-auth/pam_p11-0.3.1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=sys-auth/pam_p11-0.3.1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=sys-auth/pam_p11-0.3.1::gentoo'`. > * The complete build log is located at '/var/log/portage/sys-auth:pam_p11-0.3.1:20210801-094621.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-auth/pam_p11-0.3.1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/sys-auth/pam_p11-0.3.1/temp/environment'. > * Working directory: '/var/tmp/portage/sys-auth/pam_p11-0.3.1/work/pam_p11-0.3.1' > * S: '/var/tmp/portage/sys-auth/pam_p11-0.3.1/work/pam_p11-0.3.1' >
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 805929
:
729141
|
729144
|
729147
|
729150
|
729153
| 729156 |
729159