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

Bug 870631

Summary: www-apache/pwauth-2.3.10-r1:0 - main.c: error: call to undeclared function check_auth; ISO C99 and later
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
emerge-history.txt
environment
etc.portage.tar.bz2
temp.tar.bz2
www-apache:pwauth-2.3.10-r1:20220917-092019.log

Description Toralf Förster gentoo-dev 2022-09-17 09:38:22 UTC
                                   ^
./config.h:332:24: warning: '/*' within block comment [-Wcomment]
/* #define ENV_METHOD           /**/
                                ^
main.c:92:13: error: call to undeclared function 'check_auth'; 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-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 ec05c818e3a32b4ece41460ae4c90a89d92b8bee
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 08:03:28 2022 +0000

    2022-09-17 08:03:27 UTC

emerge -qpvO www-apache/pwauth
[ebuild  N    ] www-apache/pwauth-2.3.10-r1  USE="pam -domain-aware -faillog -ignore-case"
Comment 1 Toralf Förster gentoo-dev 2022-09-17 09:38:23 UTC
Created attachment 806815 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 09:38:24 UTC
Created attachment 806818 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-09-17 09:38:25 UTC
Created attachment 806821 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-17 09:38:26 UTC
Created attachment 806824 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-17 09:38:27 UTC
Created attachment 806827 [details]
temp.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-17 09:38:29 UTC
Created attachment 806830 [details]
www-apache:pwauth-2.3.10-r1:20220917-092019.log
Comment 7 Larry the Git Cow gentoo-dev 2022-09-29 04:27:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f0b320d0db1beb60f0a124d07a280cd2e330fa2

commit 8f0b320d0db1beb60f0a124d07a280cd2e330fa2
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-09-29 00:55:34 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-09-29 04:17:53 +0000

    www-apache/pwauth: fix build with clang
    
    Fixes both issues with clang16 and older clang depending on USE.
    These fixes exist upstream and in a PR, but does not seem to be
    any activity anymore.
    
    Revbump given may help with potential runtime issues on other
    compilers.
    
    Closes: https://bugs.gentoo.org/870631
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 www-apache/pwauth/files/pwauth-2.3.10-clang.patch  | 39 +++++++++++++++++
 .../pwauth/files/pwauth-2.3.10-warnings.patch      | 51 ++++++++++++++++++++++
 ...th-2.3.10-r1.ebuild => pwauth-2.3.10-r2.ebuild} |  4 +-
 3 files changed, 93 insertions(+), 1 deletion(-)