Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871492 - sys-auth/pam-pgsql-0.7.3.2-r1 - src/backend_pgsql.c: error: call to undeclared function crypt; ISO C99
Summary: sys-auth/pam-pgsql-0.7.3.2-r1 - src/backend_pgsql.c: error: call to undeclare...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-18 16:46 UTC by Toralf Förster
Modified: 2022-10-03 00:38 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.77 KB, text/plain)
2022-09-18 16:46 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,1.80 KB, application/x-bzip)
2022-09-18 16:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,190.96 KB, text/plain)
2022-09-18 16:46 UTC, Toralf Förster
Details
environment (environment,84.24 KB, text/plain)
2022-09-18 16:46 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,14.58 KB, application/x-bzip)
2022-09-18 16:46 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,8.06 KB, application/x-bzip)
2022-09-18 16:46 UTC, Toralf Förster
Details
sys-auth:pam-pgsql-0.7.3.2-r1:20220918-163334.log (sys-auth:pam-pgsql-0.7.3.2-r1:20220918-163334.log,13.49 KB, text/plain)
2022-09-18 16:46 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,24.74 KB, application/x-bzip)
2022-09-18 16:46 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-09-18 16:46:24 UTC
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]

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-10.3.1
 [3] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.63.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):
GNU Make 4.3.90

  HEAD of ::gentoo
commit 86a956236f795efeb2d0fa11443b295b56e4be57
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 18 15:46:46 2022 +0000

    2022-09-18 15:46:46 UTC

emerge -qpvO sys-auth/pam-pgsql
[ebuild  N    ] sys-auth/pam-pgsql-0.7.3.2-r1
Comment 1 Toralf Förster gentoo-dev 2022-09-18 16:46:25 UTC
Created attachment 812008 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 16:46:26 UTC
Created attachment 812011 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-18 16:46:29 UTC
Created attachment 812014 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-18 16:46:30 UTC
Created attachment 812017 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-18 16:46:31 UTC
Created attachment 812020 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-18 16:46:33 UTC
Created attachment 812023 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-18 16:46:34 UTC
Created attachment 812026 [details]
sys-auth:pam-pgsql-0.7.3.2-r1:20220918-163334.log
Comment 8 Toralf Förster gentoo-dev 2022-09-18 16:46:35 UTC
Created attachment 812029 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-10-03 00:38:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bfa0c9d170e14d5dfa9a174298561432c96ed20

commit 5bfa0c9d170e14d5dfa9a174298561432c96ed20
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-02 23:04:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-03 00:38:09 +0000

    sys-auth/pam-pgsql: fix build with Clang 16
    
    Closes: https://bugs.gentoo.org/871492
    Signed-off-by: Sam James <sam@gentoo.org>

 ...7.3.2-Fix-crypt-implicit-function-declaration.patch | 18 ++++++++++++++++++
 ...l-0.7.3.2-r1.ebuild => pam-pgsql-0.7.3.2-r2.ebuild} |  6 +++++-
 2 files changed, 23 insertions(+), 1 deletion(-)