Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 812026 Details for
Bug 871492
sys-auth/pam-pgsql-0.7.3.2-r1 - src/backend_pgsql.c: error: call to undeclared function crypt; ISO C99
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sys-auth:pam-pgsql-0.7.3.2-r1:20220918-163334.log
sys-auth:pam-pgsql-0.7.3.2-r1:20220918-163334.log (text/plain), 13.49 KB, created by
Toralf Förster
on 2022-09-18 16:46:34 UTC
(
hide
)
Description:
sys-auth:pam-pgsql-0.7.3.2-r1:20220918-163334.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-09-18 16:46:34 UTC
Size:
13.49 KB
patch
obsolete
> * Package: sys-auth/pam-pgsql-0.7.3.2-r1:0 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking pam-pgsql-0.7.3.2.tar.gz to /var/tmp/portage/sys-auth/pam-pgsql-0.7.3.2-r1/work >>>> Source unpacked in /var/tmp/portage/sys-auth/pam-pgsql-0.7.3.2-r1/work >>>> Preparing source in /var/tmp/portage/sys-auth/pam-pgsql-0.7.3.2-r1/work/pam-pgsql-0.7.3.2 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/sys-auth/pam-pgsql-0.7.3.2-r1/work/pam-pgsql-0.7.3.2 ... > * econf: updating pam-pgsql-0.7.3.2/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating pam-pgsql-0.7.3.2/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-pgsql-0.7.3.2-r1 --htmldir=/usr/share/doc/pam-pgsql-0.7.3.2-r1/html --with-sysroot=/ --sysconfdir=/etc/security --libdir=/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 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 whether make supports nested variables... (cached) yes >checking whether to enable maintainer-specific portions of Makefiles... no >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking how to print strings... printf >checking for style of include used by make... GNU >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 we are using the GNU C compiler... yes >checking whether clang accepts -g... yes >checking for clang option to accept ISO C89... none needed >checking whether clang understands -c and -o together... yes >checking dependency style of clang... none >checking for a sed that does not truncate output... /bin/sed >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for fgrep... /bin/grep -F >checking for ld used by clang... /usr/bin/x86_64-pc-linux-gnu-ld >checking if the linker (/usr/bin/x86_64-pc-linux-gnu-ld) is GNU ld... yes >checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B >checking the name lister (/usr/bin/nm -B) interface... BSD nm >checking whether ln -s works... yes >checking the maximum length of command line arguments... 1572864 >checking whether the shell understands some XSI constructs... yes >checking whether the shell understands "+="... yes >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/bin/x86_64-pc-linux-gnu-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/nm -B output from clang object... ok >checking for sysroot... / >checking for x86_64-pc-linux-gnu-mt... no >checking for mt... mt >checking if mt is a manifest tool... no >checking how to run the C preprocessor... clang -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 for dlfcn.h... yes >checking for objdir... .libs >checking if clang supports -fno-rtti -fno-exceptions... yes >checking for clang option to produce PIC... -fPIC -DPIC >checking if clang PIC flag -fPIC -DPIC works... yes >checking if clang static flag -static works... yes >checking if clang supports -c -o file.o... yes >checking if clang supports -c -o file.o... (cached) yes >checking whether the clang linker (/usr/bin/x86_64-pc-linux-gnu-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... no >checking for x86_64-pc-linux-gnu-gcc... (cached) clang >checking whether we are using the GNU C compiler... (cached) yes >checking whether clang accepts -g... (cached) yes >checking for clang option to accept ISO C89... (cached) none needed >checking whether clang understands -c and -o together... (cached) yes >checking dependency style of clang... (cached) none >checking if clang supports -Wl,--no-undefined flag... yes >checking for clang way to treat warnings as errors... -Werror >checking if clang supports __attribute__(( visibility("default") ))... yes >checking if clang supports -fvisibility=hidden... yes >checking for library containing crypt... -lcrypt >checking for security/pam_modules.h... yes >checking for security/openpam.h... no >checking for security/pam_misc.h... yes >checking for pam_get_user in -lpam... yes >checking where to install the PAM module... $(libdir)/security >checking for openpam_ttyconv... no >checking for misc_conv in -lpam_misc... yes >checking for pg_config... /usr/bin/pg_config >checking for PostgreSQL libraries... yes >checking for x86_64-pc-linux-gnu-libgcrypt-config... /usr/bin/x86_64-pc-linux-gnu-libgcrypt-config >checking for LIBGCRYPT - version >= 1.2.0... yes (1.10.1-unknown) >checking LIBGCRYPT API version... okay >checking where to look for the pam_pgsql.conf file... /etc/security >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating config.h >config.status: executing depfiles commands >config.status: executing libtool commands >>>> Source configured. >'/var/tmp/portage/sys-auth/pam-pgsql-0.7.3.2-r1/temp/clang14.log' -> '/var/tmp/clang/sys-auth/pam-pgsql-0.7.3.2-r1/clang14.log' >'/var/tmp/portage/sys-auth/pam-pgsql-0.7.3.2-r1/temp/clang15.log' -> '/var/tmp/clang/sys-auth/pam-pgsql-0.7.3.2-r1/clang15.log' >>>> Compiling source in /var/tmp/portage/sys-auth/pam-pgsql-0.7.3.2-r1/work/pam-pgsql-0.7.3.2 ... >make -j4 pammoddir=/lib64/security >make all-am >make[1]: Entering directory '/var/tmp/portage/sys-auth/pam-pgsql-0.7.3.2-r1/work/pam-pgsql-0.7.3.2' >/bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc/security"' -Wall -fvisibility=hidden -I/usr/include/postgresql-13 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o src/pam_pgsql_la-pam_pgsql.lo `test -f 'src/pam_pgsql.c' || echo './'`src/pam_pgsql.c >/bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc/security"' -Wall -fvisibility=hidden -I/usr/include/postgresql-13 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o src/pam_pgsql_la-pam_pgsql_options.lo `test -f 'src/pam_pgsql_options.c' || echo './'`src/pam_pgsql_options.c >/bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc/security"' -Wall -fvisibility=hidden -I/usr/include/postgresql-13 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o src/pam_pgsql_la-backend_pgsql.lo `test -f 'src/backend_pgsql.c' || echo './'`src/backend_pgsql.c >/bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc/security"' -Wall -fvisibility=hidden -I/usr/include/postgresql-13 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o src/pam_pgsql_la-pam_get_service.lo `test -f 'src/pam_get_service.c' || echo './'`src/pam_get_service.c >libtool: compile: clang -DHAVE_CONFIG_H -I. -DSYSCONFDIR=\"/etc/security\" -Wall -fvisibility=hidden -I/usr/include/postgresql-13 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c src/pam_get_service.c -fPIC -DPIC -o src/.libs/pam_pgsql_la-pam_get_service.o >libtool: compile: clang -DHAVE_CONFIG_H -I. -DSYSCONFDIR=\"/etc/security\" -Wall -fvisibility=hidden -I/usr/include/postgresql-13 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c src/pam_pgsql_options.c -fPIC -DPIC -o src/.libs/pam_pgsql_la-pam_pgsql_options.o >libtool: compile: clang -DHAVE_CONFIG_H -I. -DSYSCONFDIR=\"/etc/security\" -Wall -fvisibility=hidden -I/usr/include/postgresql-13 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c src/pam_pgsql.c -fPIC -DPIC -o src/.libs/pam_pgsql_la-pam_pgsql.o >libtool: compile: clang -DHAVE_CONFIG_H -I. -DSYSCONFDIR=\"/etc/security\" -Wall -fvisibility=hidden -I/usr/include/postgresql-13 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c src/backend_pgsql.c -fPIC -DPIC -o src/.libs/pam_pgsql_la-backend_pgsql.o >/bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc/security"' -Wall -fvisibility=hidden -I/usr/include/postgresql-13 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o src/pam_pgsql_la-pam_get_pass.lo `test -f 'src/pam_get_pass.c' || echo './'`src/pam_get_pass.c >src/pam_pgsql_options.c:298:13: warning: unused function 'free_mod_options' > [-Wunused-function] >static void free_mod_options(modopt_t *options) { > ^ >src/backend_pgsql.c:282:16: error: call to undeclared function 'crypt'; ISO C99 > and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > s = strdup(crypt(pass, crypt_makesalt(op... > ^ >src/backend_pgsql.c:282:16: error: incompatible integer to pointer conversion > passing 'int' to parameter of type 'const char *' [-Wint-conversion] > ...s = strdup(crypt(pass, crypt_makesalt(options->pw_type))); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:187:34: note: passing argument to parameter '__s' here >extern char *strdup (const char *__s) > ^ >src/backend_pgsql.c:284:16: error: call to undeclared function 'crypt'; ISO C99 > and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > s = strdup(crypt(pass, salt)); > ^ >src/backend_pgsql.c:284:16: error: incompatible integer to pointer conversion > passing 'int' to parameter of type 'const char *' [-Wint-conversion] > s = strdup(crypt(pass, salt)); > ^~~~~~~~~~~~~~~~~ >/usr/include/string.h:187:34: note: passing argument to parameter '__s' here >extern char *strdup (const char *__s) > ^ >4 errors generated. >make[1]: *** [Makefile:576: src/pam_pgsql_la-backend_pgsql.lo] Error 1 >make[1]: *** Waiting for unfinished jobs.... >libtool: compile: clang -DHAVE_CONFIG_H -I. -DSYSCONFDIR=\"/etc/security\" -Wall -fvisibility=hidden -I/usr/include/postgresql-13 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c src/pam_get_pass.c -fPIC -DPIC -o src/.libs/pam_pgsql_la-pam_get_pass.o >1 warning generated. >make[1]: Leaving directory '/var/tmp/portage/sys-auth/pam-pgsql-0.7.3.2-r1/work/pam-pgsql-0.7.3.2' >make: *** [Makefile:390: all] Error 2 > * ERROR: sys-auth/pam-pgsql-0.7.3.2-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=sys-auth/pam-pgsql-0.7.3.2-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=sys-auth/pam-pgsql-0.7.3.2-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/sys-auth:pam-pgsql-0.7.3.2-r1:20220918-163334.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-auth/pam-pgsql-0.7.3.2-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/sys-auth/pam-pgsql-0.7.3.2-r1/temp/environment'. > * Working directory: '/var/tmp/portage/sys-auth/pam-pgsql-0.7.3.2-r1/work/pam-pgsql-0.7.3.2' > * S: '/var/tmp/portage/sys-auth/pam-pgsql-0.7.3.2-r1/work/pam-pgsql-0.7.3.2' >
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 871492
:
812008
|
812011
|
812014
|
812017
|
812020
|
812023
| 812026 |
812029