Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 871585

Summary: app-crypt/coolkey-1.1.0-r9 - pk11install.c: error: call to undeclared function NSC_ModuleDBFunc; ISO
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
app-crypt:coolkey-1.1.0-r9:20220918-192631.log
clang.tar.bz2
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-09-18 20:14:59 UTC
make[2]: Leaving directory '/var/tmp/portage/app-crypt/coolkey-1.1.0-r9/work/coolkey-1.1.0/src/coolkey'
Making all in src/install
make[2]: Entering directory '/var/tmp/portage/app-crypt/coolkey-1.1.0-r9/work/coolkey-1.1.0/src/install'
clang -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/nss -I/usr/include/nspr     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-strict-aliasing -c -o pk11install.o pk11install.c
pk11install.c:203:20: error: call to undeclared function 'NSC_ModuleDBFunc'; 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-j4-20220915-203738

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

gcc-config -l:
 [1] 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:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

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

  HEAD of ::gentoo
commit 7ae0f0c2af645cc04d30025016d9b097e7836ed3
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 18 18:17:00 2022 +0000

    2022-09-18 18:16:59 UTC

emerge -qpvO app-crypt/coolkey
[ebuild  N    ] app-crypt/coolkey-1.1.0-r9  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2022-09-18 20:15:00 UTC
Created attachment 812401 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 20:15:02 UTC
Created attachment 812404 [details]
app-crypt:coolkey-1.1.0-r9:20220918-192631.log
Comment 3 Toralf Förster gentoo-dev 2022-09-18 20:15:03 UTC
Created attachment 812407 [details]
clang.tar.bz2
Comment 4 Toralf Förster gentoo-dev 2022-09-18 20:15:06 UTC
Created attachment 812410 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-09-18 20:15:07 UTC
Created attachment 812413 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-09-18 20:15:08 UTC
Created attachment 812416 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-18 20:15:09 UTC
Created attachment 812419 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-09-18 20:15:10 UTC
Created attachment 812422 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-10-14 11:57:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d9d5268d47dc05309f796e83117af9e978bc2d2

commit 0d9d5268d47dc05309f796e83117af9e978bc2d2
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-14 05:53:32 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-14 11:55:54 +0000

    app-crypt/coolkey: fix build w/ upcoming clang16
    
    Header that declare this is not installed, and seems like these
    headers would conflict in all sorts of ways here either way.
    
    An alternative fix could be to drop --enable-pk11install which is
    marked legacy (off by default), but don't know this package and
    no idea if anyone need this.
    
    Closes: https://bugs.gentoo.org/871585
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 app-crypt/coolkey/coolkey-1.1.0-r9.ebuild           |  3 ++-
 app-crypt/coolkey/files/coolkey-1.1.0-clang16.patch | 13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)