Summary: | net-nds/openldap-2.6.8 failed to rebuild with gcc-14 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Leonid Kopylov <leonchik1976> |
Component: | Current packages | Assignee: | Gentoo LDAP project <ldap-bugs> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | gentoo, kangie |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412, 941869 | ||
Attachments: | build.log |
Description
Leonid Kopylov
2024-08-28 06:17:07 UTC
Created attachment 901401 [details]
build.log
I'm surprised that we haven't caught this before now; it's an incompatible pointer type: ``` var/tmp/portage/net-nds/openldap-2.6.8/work/openldap-OPENLDAP_REL_ENG_2_6_8/servers/slapd/overlays/.. -DSLAPD_IMPORT -c sssvlv.c sql-wrap.c: In function 'backsql_PrintErrors': sql-wrap.c:45:56: error: passing argument 5 of 'SQLError' from incompatible pointer type [-Wincompatible-pointer-types] 45 | for ( ; rc = SQLError( henv, hdbc, sth, state, &iSqlCode, msg, | ^~~~~~~~~ | | | SDWORD * {aka long int *} In file included from back-sql.h:177, from proto-sql.h:77, from sql-wrap.c:31: /usr/include/iodbc/sql.h:903:27: note: expected 'SQLINTEGER *' {aka 'int *'} but argument is of type 'SDWORD *' {aka 'long int *'} 903 | SQLINTEGER * NativeError, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ make[3]: *** [Makefile:332: sql-wrap.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... ``` |