Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874438 - sys-auth/libnss-pgsql-1.5.0_beta-r1 - backend.c: error: call to undeclared function asprintf; ISO C99 and
Summary: sys-auth/libnss-pgsql-1.5.0_beta-r1 - backend.c: error: call to undeclared fu...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-03 07:58 UTC by Toralf Förster
Modified: 2022-10-03 07:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.86 KB, text/plain)
2022-10-03 07:58 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,1.69 KB, application/x-bzip)
2022-10-03 07:58 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,56.67 KB, text/plain)
2022-10-03 07:58 UTC, Toralf Förster
Details
environment (environment,76.00 KB, text/plain)
2022-10-03 07:58 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,8.78 KB, application/x-bzip)
2022-10-03 07:58 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.97 KB, application/x-bzip)
2022-10-03 07:59 UTC, Toralf Förster
Details
sys-auth:libnss-pgsql-1.5.0_beta-r1:20221002-234617.log (sys-auth:libnss-pgsql-1.5.0_beta-r1:20221002-234617.log,13.39 KB, text/plain)
2022-10-03 07:59 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,25.37 KB, application/x-bzip)
2022-10-03 07:59 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-10-03 07:58:53 UTC
too long lines were shrinked:

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]

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20221002-140811

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4 *
  [2]   php8.0
GNU Make 4.3

  HEAD of ::gentoo
commit f0563c90e636da833af43e4a5334c6ebddd3cf6a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Oct 2 22:16:57 2022 +0000

    2022-10-02 22:16:57 UTC

emerge -qpvO sys-auth/libnss-pgsql
[ebuild  N    ] sys-auth/libnss-pgsql-1.5.0_beta-r1
Comment 1 Toralf Förster gentoo-dev 2022-10-03 07:58:54 UTC
Created attachment 816583 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 07:58:55 UTC
Created attachment 816586 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-03 07:58:56 UTC
Created attachment 816589 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-03 07:58:58 UTC
Created attachment 816592 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-03 07:58:59 UTC
Created attachment 816595 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-03 07:59:00 UTC
Created attachment 816598 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-03 07:59:01 UTC
Created attachment 816601 [details]
sys-auth:libnss-pgsql-1.5.0_beta-r1:20221002-234617.log
Comment 8 Toralf Förster gentoo-dev 2022-10-03 07:59:02 UTC
Created attachment 816604 [details]
temp.tar.bz2