Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 816601 Details for
Bug 874438
sys-auth/libnss-pgsql-1.5.0_beta-r1 - backend.c: error: call to undeclared function asprintf; ISO C99 and
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sys-auth:libnss-pgsql-1.5.0_beta-r1:20221002-234617.log
sys-auth:libnss-pgsql-1.5.0_beta-r1:20221002-234617.log (text/plain), 13.39 KB, created by
Toralf Förster
on 2022-10-03 07:59:01 UTC
(
hide
)
Description:
sys-auth:libnss-pgsql-1.5.0_beta-r1:20221002-234617.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-10-03 07:59:01 UTC
Size:
13.39 KB
patch
obsolete
> * Package: sys-auth/libnss-pgsql-1.5.0_beta-r1:0 > * Repository: gentoo > * Maintainer: pgsql-bugs@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking libnss-pgsql-1.5.0-beta.tgz to /var/tmp/portage/sys-auth/libnss-pgsql-1.5.0_beta-r1/work >>>> Source unpacked in /var/tmp/portage/sys-auth/libnss-pgsql-1.5.0_beta-r1/work >>>> Preparing source in /var/tmp/portage/sys-auth/libnss-pgsql-1.5.0_beta-r1/work/libnss-pgsql-1.5.0-beta ... > * Applying libnss-pgsql-1.5.0_beta-gentoo.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/sys-auth/libnss-pgsql-1.5.0_beta-r1/work/libnss-pgsql-1.5.0-beta' ... > * Running 'libtoolize --install --copy --force --automake' ... > [ ok ] > * Running 'aclocal --system-acdir=/var/tmp/portage/sys-auth/libnss-pgsql-1.5.0_beta-r1/temp/aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running 'automake --add-missing --copy --force-missing' ... > [ ok ] > * Running elibtoolize in: libnss-pgsql-1.5.0-beta/ > * Running elibtoolize in: libnss-pgsql-1.5.0-beta/autoconf/ > * Applying portage/1.2.0 patch ... > * Applying sed/1.5.6 patch ... > * Applying as-needed/2.4.3 patch ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/sys-auth/libnss-pgsql-1.5.0_beta-r1/work/libnss-pgsql-1.5.0-beta ... > * econf: updating libnss-pgsql-1.5.0-beta/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating libnss-pgsql-1.5.0-beta/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating libnss-pgsql-1.5.0-beta/autoconf/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating libnss-pgsql-1.5.0-beta/autoconf/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/libnss-pgsql-1.5.0_beta-r1 --htmldir=/usr/share/doc/libnss-pgsql-1.5.0_beta-r1/html --with-sysroot=/ --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 gawk... (cached) gawk >checking whether ln -s works... yes >checking whether make sets $(MAKE)... (cached) yes >checking how to run the C preprocessor... clang -E >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 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/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/bin/x86_64-pc-linux-gnu-ld option to reload object files... -r >checking for x86_64-pc-linux-gnu-file... no >checking for file... file >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... x86_64-pc-linux-gnu-dlltool >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 clang 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... no >checking if : is a manifest tool... no >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 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... yes >checking for PQsetdbLogin in -lpq... yes >checking for egrep... (cached) /bin/grep -E >checking for stdlib.h... (cached) yes >checking for string.h... (cached) yes >checking for unistd.h... (cached) yes >checking for nss.h... yes >checking for an ANSI C-conforming const... yes >checking for uid_t in sys/types.h... yes >checking for inline... inline >checking for size_t... yes >checking for GNU libc compatible malloc... yes >checking for GNU libc compatible realloc... yes >checking for vprintf... yes >checking for atexit... 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 doc/Makefile >config.status: creating src/Makefile >config.status: creating config.h >config.status: executing depfiles commands >config.status: executing libtool commands >>>> Source configured. >'/var/tmp/portage/sys-auth/libnss-pgsql-1.5.0_beta-r1/temp/clang14.log' -> '/var/tmp/clang/sys-auth/libnss-pgsql-1.5.0_beta-r1/clang14.log' >'/var/tmp/portage/sys-auth/libnss-pgsql-1.5.0_beta-r1/temp/clang15.log' -> '/var/tmp/clang/sys-auth/libnss-pgsql-1.5.0_beta-r1/clang15.log' >>>> Compiling source in /var/tmp/portage/sys-auth/libnss-pgsql-1.5.0_beta-r1/work/libnss-pgsql-1.5.0-beta ... >make -j4 >make all-recursive >make[1]: Entering directory '/var/tmp/portage/sys-auth/libnss-pgsql-1.5.0_beta-r1/work/libnss-pgsql-1.5.0-beta' >Making all in src >make[2]: Entering directory '/var/tmp/portage/sys-auth/libnss-pgsql-1.5.0_beta-r1/work/libnss-pgsql-1.5.0-beta/src' >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o interface.lo interface.c >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o config.lo config.c >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o backend.lo backend.c >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o util.lo util.c >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c util.c -fPIC -DPIC -o .libs/util.o >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c config.c -fPIC -DPIC -o .libs/config.o >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c backend.c -fPIC -DPIC -o .libs/backend.o >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c interface.c -fPIC -DPIC -o .libs/interface.o >backend.c:154:2: error: call to undeclared function 'asprintf'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > asprintf(&stmt, "DECLARE nss_pgsql_internal_%s_curs SCROLL CURSOR FOR " > ^ >backend.c:189:7: warning: logical not is only applied to the left hand side of > this comparison [-Wlogical-not-parentheses] > if (!_shadowtransaction < 0) { > ^ ~ >backend.c:189:7: note: add parentheses after the '!' to evaluate the comparison > first > if (!_shadowtransaction < 0) { > ^ > ( ) >backend.c:189:7: note: add parentheses around left hand side expression to > silence this warning > if (!_shadowtransaction < 0) { > ^ > ( ) >backend.c:189:27: warning: result of comparison of constant 0 with boolean > expression is always false [-Wtautological-constant-compare] > if (!_shadowtransaction < 0) { > ~~~~~~~~~~~~~~~~~~~ ^ ~ >backend.c:216:9: error: call to undeclared function 'copy_attr_string'; ISO C99 > and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > return copy_attr_string(sptr, valptr, buffer, buflen, errnop); > ^ >backend.c:516:2: error: call to undeclared function 'asprintf'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > asprintf(&stmt, "FETCH FROM nss_pgsql_internal_%s_curs", what); > ^ >backend.c:552:2: error: call to undeclared function 'asprintf'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > asprintf(&stmt, "MOVE BACKWARD 1 IN nss_pgsql_internal_%s_curs", what); > ^ >2 warnings and 4 errors generated. >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c util.c -o util.o >/dev/null 2>&1 >make[2]: *** [Makefile:436: backend.lo] Error 1 >make[2]: *** Waiting for unfinished jobs.... >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c config.c -o config.o >/dev/null 2>&1 >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c interface.c -o interface.o >/dev/null 2>&1 >make[2]: Leaving directory '/var/tmp/portage/sys-auth/libnss-pgsql-1.5.0_beta-r1/work/libnss-pgsql-1.5.0-beta/src' >make[1]: *** [Makefile:404: all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/sys-auth/libnss-pgsql-1.5.0_beta-r1/work/libnss-pgsql-1.5.0-beta' >make: *** [Makefile:336: all] Error 2 > * ERROR: sys-auth/libnss-pgsql-1.5.0_beta-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=sys-auth/libnss-pgsql-1.5.0_beta-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=sys-auth/libnss-pgsql-1.5.0_beta-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/sys-auth:libnss-pgsql-1.5.0_beta-r1:20221002-234617.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-auth/libnss-pgsql-1.5.0_beta-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/sys-auth/libnss-pgsql-1.5.0_beta-r1/temp/environment'. > * Working directory: '/var/tmp/portage/sys-auth/libnss-pgsql-1.5.0_beta-r1/work/libnss-pgsql-1.5.0-beta' > * S: '/var/tmp/portage/sys-auth/libnss-pgsql-1.5.0_beta-r1/work/libnss-pgsql-1.5.0-beta' >
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 874438
:
816583
|
816586
|
816589
|
816592
|
816595
|
816598
| 816601 |
816604