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

Bug 883271

Summary: mail-client/alpine-2.26-r1 - adrbklib.c: error: incompatible function pointer types passing int
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Robert G. Siebeck <gentoo.2019>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/32265
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
mail-client:alpine-2.26-r1:20221127-074017.log.bz2
temp.tar.bz2
var.tmp.clang.tar.bz2

Description Toralf Förster gentoo-dev 2022-11-27 10:38:11 UTC
      is deprecated in all versions of C and is not supported in C2x
      [-Wdeprecated-non-prototype]
    return((*pcollator)(r, s));
                       ^
adrbklib.c:4705:64: error: incompatible function pointer types passing 'int
      (const char *, const char *)' to parameter of type '__compar_fn_t' (aka
      'int (*)(const void *, const void *)')

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j4-20221126-170006

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.5
Python 3.10.8
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.65.0 *
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *

  HEAD of ::gentoo
commit 5c7a1d01fa865e52b9610ac91599de04509fd6ba
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Nov 27 06:08:12 2022 +0000

    2022-11-27 06:08:12 UTC

emerge -qpvO mail-client/alpine
[ebuild  N    ] mail-client/alpine-2.26-r1  USE="chappa ipv6 nls ssl -kerberos -ldap -onlyalpine -passfile -smime"
Comment 1 Toralf Förster gentoo-dev 2022-11-27 10:38:12 UTC
Created attachment 837505 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-27 10:38:13 UTC
Created attachment 837507 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-27 10:38:14 UTC
Created attachment 837509 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-27 10:38:15 UTC
Created attachment 837511 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-27 10:38:16 UTC
Created attachment 837513 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-27 10:38:17 UTC
Created attachment 837515 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-27 10:38:19 UTC
Created attachment 837517 [details]
mail-client:alpine-2.26-r1:20221127-074017.log.bz2
Comment 8 Toralf Förster gentoo-dev 2022-11-27 10:38:20 UTC
Created attachment 837519 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-27 10:38:21 UTC
Created attachment 837521 [details]
var.tmp.clang.tar.bz2
Comment 10 Larry the Git Cow gentoo-dev 2023-08-19 06:08:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48ed3cf79fcd349f5014d31ff4d4f18abb897f72

commit 48ed3cf79fcd349f5014d31ff4d4f18abb897f72
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-08-11 18:24:26 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-08-19 06:08:09 +0000

    mail-client/alpine: Fix incompatible function pointer types
    
    Closes: https://bugs.gentoo.org/883271
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/32265
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 mail-client/alpine/alpine-2.26-r2.ebuild           |  91 ++++++++++
 .../files/alpine-2.26-fix-clang16-build.patch      | 185 +++++++++++++++++++++
 2 files changed, 276 insertions(+)