Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920379 - net-nds/openldap-2.6.6 - constraint.c: error: assignment to constraint from incompatible pointer type void [-Wincompatible-pointer-types]
Summary: net-nds/openldap-2.6.6 - constraint.c: error: assignment to constraint from i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo LDAP project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-20 13:32 UTC by Toralf Förster
Modified: 2024-02-09 14:57 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.70 KB, text/plain)
2023-12-20 13:32 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,7.57 KB, text/plain)
2023-12-20 13:32 UTC, Toralf Förster
Details
environment (environment,148.21 KB, text/plain)
2023-12-20 13:32 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,23.38 KB, application/x-xz)
2023-12-20 13:32 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,21.43 KB, application/x-xz)
2023-12-20 13:32 UTC, Toralf Förster
Details
net-nds:openldap-2.6.6:20231220-131457.log.xz (net-nds:openldap-2.6.6:20231220-131457.log.xz,17.75 KB, application/x-xz)
2023-12-20 13:32 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,38.95 KB, text/plain)
2023-12-20 13:32 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,52.11 KB, application/x-xz)
2023-12-20 13:32 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 2023-12-20 13:32:00 UTC
too long lines were shrinked:

libtool: compile:  x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DLDAP_CONNECTIONLESS -DOPENSSL_NO_MD2 -I../../../include -I/var/tmp/portage/net-nds/openldap-2.6.6/work/openldap-OPENLDAP_REL_ENG_2_6_6/include -I.. -I/var/tmp/portage/net-nds/openldap-2.6.6/work/openldap-OPEN
libtool: compile:  x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DLDAP_CONNECTIONLESS -DOPENSSL_NO_MD2 -I../../../include -I/var/tmp/portage/net-nds/openldap-2.6.6/work/openldap-OPENLDAP_REL_ENG_2_6_6/include -I.. -I/var/tmp/portage/net-nds/openldap-2.6.6/work/openldap-OPEN
libtool: compile:  x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DLDAP_CONNECTIONLESS -DOPENSSL_NO_MD2 -I../../../include -I/var/tmp/portage/net-nds/openldap-2.6.6/work/openldap-OPENLDAP_REL_ENG_2_6_6/include -I.. -I/var/tmp/portage/net-nds/openldap-2.6.6/work/openldap-OPEN
libtool: compile:  x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DLDAP_CONNECTIONLESS -DOPENSSL_NO_MD2 -I../../../include -I/var/tmp/portage/net-nds/openldap-2.6.6/work/openldap-OPENLDAP_REL_ENG_2_6_6/include -I.. -I/var/tmp/portage/net-nds/openldap-2.6.6/work/openldap-OPEN
libtool: compile:  x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DLDAP_CONNECTIONLESS -DOPENSSL_NO_MD2 -I../../../include -I/var/tmp/portage/net-nds/openldap-2.6.6/work/openldap-OPENLDAP_REL_ENG_2_6_6/include -I.. -I/var/tmp/portage/net-nds/openldap-2.6.6/work/openldap-OPEN
constraint.c: In function 'constraint_cf_gen':
constraint.c:560:43: error: assignment to 'constraint **' from incompatible pointer type 'void **' [-Wincompatible-pointer-types]
  560 |                                 for ( app = &on->on_bi.bi_private; *app; app = &(*app)->ap_next )
      |                                           ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd_merged_usr-20231220-094015

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
Python 3.11.6
php cli (if any):

  HEAD of ::gentoo
commit 73c6fb90aab8ec1c71e2ef8124e91742b63fea13
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Dec 20 10:16:54 2023 +0000

    2023-12-20 10:16:54 UTC

emerge -qpvO net-nds/openldap
[ebuild  N    ] net-nds/openldap-2.6.6  USE="argon2 cleartext crypt experimental kinit odbc overlays pbkdf2 sha2 smbkrb5passwd ssl syslog systemd -autoca -cxx -debug -gnutls -iodbc -kerberos -minimal -perl -samba -sasl (-selinux) -static-libs -tcpd -test" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2023-12-20 13:32:01 UTC
Created attachment 880075 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-20 13:32:02 UTC
Created attachment 880076 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-20 13:32:03 UTC
Created attachment 880077 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-20 13:32:04 UTC
Created attachment 880078 [details]
etc.portage.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-20 13:32:05 UTC
Created attachment 880079 [details]
logs.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-20 13:32:06 UTC
Created attachment 880080 [details]
net-nds:openldap-2.6.6:20231220-131457.log.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-20 13:32:08 UTC
Created attachment 880081 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2023-12-20 13:32:09 UTC
Created attachment 880082 [details]
temp.tar.xz
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-20 13:36:23 UTC
We need at least https://git.openldap.org/openldap/openldap/-/merge_requests/656 and https://git.openldap.org/openldap/openldap/-/merge_requests/638 but I think we need more for this as well.
Comment 10 Larry the Git Cow gentoo-dev 2024-02-09 14:57:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ea4601a769ef519b1e78c05ebd6e2fd31bf81f4

commit 7ea4601a769ef519b1e78c05ebd6e2fd31bf81f4
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2024-01-21 17:46:23 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-02-09 14:57:04 +0000

    net-nds/openldap: Fix type mismatches in lloadd
    
    Closes: https://bugs.gentoo.org/920379
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/34944
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../openldap-2.6.6-fix-type-mismatch-lloadd.patch  |  42 +
 net-nds/openldap/openldap-2.6.6-r1.ebuild          | 871 +++++++++++++++++++++
 2 files changed, 913 insertions(+)