Summary: | net-nds/openldap-2.4.58-r2: build with large file support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Allen Webb <allenwebb> |
Component: | Current packages | Assignee: | Gentoo LDAP project <ldap-bugs> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | allenwebb, jstein, robbat2, vapier |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.openldap.org/show_bug.cgi?id=9987 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 471102 |
Description
Allen Webb
2023-01-19 18:52:09 UTC
This worked for me. diff --git a/net-nds/openldap/openldap-2.4.58-r2.ebuild b/net-nds/openldap/openldap-2.4.58-r2.ebuild index 22200554a..c19d6ed33 100644 --- a/net-nds/openldap/openldap-2.4.58-r2.ebuild +++ b/net-nds/openldap/openldap-2.4.58-r2.ebuild @@ -413,6 +413,8 @@ multilib_src_configure() { use debug && myconf+=( $(use_enable debug) ) + append-lfs-flags + # ICU exists only in the configure, nowhere in the codebase, bug #510858 export ac_cv_header_unicode_utypes_h=no ol_cv_lib_icu=no The upstream bug is: https://bugs.openldap.org/show_bug.cgi?id=9987 Can you verify it doesn't break ABI wrt libldap*? Thanks. Checking for obvious usage of off_t in exported functions yields nothing in header files except `include/portable.hin` which looks interesting:
```
> grep -rHni 'off_t'
libraries/liblmdb/mdb.c:1309: off_t me_size; /**< current file size */
libraries/liblmdb/mdb.c:3843: off_t off;
libraries/liblmdb/mdb.c:4775: off_t size, rsize;
servers/slapd/logging.c:62:static off_t logfile_fsize;
servers/slapd/overlays/homedir.c:1428: off_t pos = ftello( tp->file );
servers/slapd/overlays/homedir.c:1488: off_t pos = ftello( tp.file );
configure:22994:ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
configure:22995:if test "x$ac_cv_type_off_t" = xyes; then :
configure:23000:#define off_t long
configure.ac:2208:AC_CHECK_TYPE(off_t, long)
include/portable.hin:1108:#undef off_t
```
Taking a closer look at portable.hin:
```
/* Define to `long' if <sys/types.h> does not define. */
#undef off_t
```
So it doesn't look like there is something else defined to match off_t I would also need to search for.
Is there something else I should check besides off_t?
Please retest on 2.6.8. |