Commit Graph

153 Commits

Author SHA1 Message Date
Tom Stellard
cea18683f7 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-05 02:07:51 +00:00
Andreas Schneider
154efe221b Fix FTBFS / Increase the over-estimation for sparse files in tests 2020-10-29 14:43:19 +01:00
Andreas Schneider
69d51729c5 Bump release version 2020-10-27 12:50:51 +01:00
Andreas Schneider
755067edc3 Use %bcond_without lmdb 2020-10-27 12:49:56 +01:00
Andreas Schneider
adebf43374 Use %bcond_without python3 2020-10-27 09:47:55 +01:00
Alexander Bokovoy
3a0fc87015 Rebuild against Python 3.9 2020-10-22 11:58:55 +03:00
Fedora Release Engineering
4357eb0382 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 05:00:10 +00:00
Tom Stellard
0d5b2b50d4 Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
2020-07-13 21:10:03 +00:00
Günther Deschner
7b58253196 Increase build number to re-build with new side-tag 2020-07-09 23:16:05 +02:00
Lukas Slebodnik
2cfa7f1a9f libldb-2.2.0 is required for samba 4.13rc1 2020-07-09 15:48:00 +02:00
Lukas Slebodnik
be959b8986 rhbz#1837364 - libldb-2.1.4 is available 2020-07-02 14:12:34 +02:00
Lukas Slebodnik
537021283f Update URLs for source files 2020-07-02 14:11:38 +02:00
Miro Hrončok
27056452ea Rebuilt for Python 3.9 2020-05-26 02:50:45 +02:00
Lukas Slebodnik
09ad21db32 Disable lmdb support for ppc64le
New tests added in 2.1.3 fails on ppc64l4
It failed in ldb_connect

(gdb) l
2166            }
2167            ldb_module_set_private(ldb_kv->module, ldb_kv);
2168            talloc_steal(ldb_kv->module, ldb_kv);
2169
2170            if (ldb_kv_cache_load(ldb_kv->module) != 0) {
2171                    ldb_asprintf_errstring(ldb, "Unable to load ltdb cache "
2172                                           "records for backend '%s'", name);
2173                    talloc_free(ldb_kv->module);
2174                    return LDB_ERR_OPERATIONS_ERROR;
2175            }
(gdb) bt
 #0  ldb_kv_init_store (ldb_kv=0x10003f5e0, name=0x7ffff7064bc0 "ldb_mdb backend", ldb=0x10003f3b0, options=0x7fffffffdee8, _module=0x10003f3b0) at ../../ldb_key_value/ldb_kv.c:2171
 #1  0x00007ffff7063f70 in lmdb_connect (ldb=0x10003f3b0, url=<optimized out>, flags=<optimized out>, options=0x7fffffffdee8, _module=0x10003f3b0) at ../../ldb_mdb/ldb_mdb.c:1141
 #2  0x00007ffff7f1bc04 in ldb_module_connect_backend (ldb=0x10003f3b0, url=0x100038fd0 "mdb://lmdb_free_list_test.ldb", options=0x7fffffffdee8, backend_module=0x10003f3b0)
     at ../../common/ldb_modules.c:217
 #3  0x00007ffff7f451d0 in ldb_connect (ldb=0x10003f3b0, url=0x100038fd0 "mdb://lmdb_free_list_test.ldb", flags=<optimized out>, options=0x7fffffffdee8) at ../../common/ldb.c:269
 #4  0x0000000100002c44 in setup (state=0x1000302b0) at ../../tests/ldb_lmdb_free_list_test.c:170
 #5  0x00007ffff7e67da8 in cmocka_run_one_test_or_fixture () from /lib64/libcmocka.so.0
 #6  0x00007ffff7e68490 in _cmocka_run_group_tests () from /lib64/libcmocka.so.0
 #7  0x0000000100001478 in main (argc=<optimized out>, argv=<optimized out>) at ../../tests/ldb_lmdb_free_list_test.c:666

sh-5.0# ./bin/ldb_lmdb_free_list_test
[==========] Running 3 test(s).
[ RUN      ] test_free_list_no_read_lock
Could not run test: 0x1 != 0
[   LINE   ] --- ../../tests/ldb_lmdb_free_list_test.c:171: error: Failure!Test setup failed
[  ERROR   ] test_free_list_no_read_lock
Failed to connect to 'mdb://lmdb_free_list_test.ldb' with backend 'mdb': Unable to load ltdb cache records for backend 'ldb_mdb backend'[ RUN      ] test_free_list_read_lock
Could not run test: 0x1 != 0
[   LINE   ] --- ../../tests/ldb_lmdb_free_list_test.c:171: error: Failure!Test setup failed
[  ERROR   ] test_free_list_read_lock
Failed to connect to 'mdb://lmdb_free_list_test.ldb' with backend 'mdb': Unable to load ltdb cache records for backend 'ldb_mdb backend'[ RUN      ] test_free_list_stale_reader
Could not run test: 0x1 != 0
[   LINE   ] --- ../../tests/ldb_lmdb_free_list_test.c:171: error: Failure!Test setup failed
[  ERROR   ] test_free_list_stale_reader
Failed to connect to 'mdb://lmdb_free_list_test.ldb' with backend 'mdb': Unable to load ltdb cache records for backend 'ldb_mdb backend'[==========] 3 test(s) run.
[  PASSED  ] 0 test(s).
2020-05-22 10:37:32 +02:00
Lukas Slebodnik
fd1e6aae63 rhbz#1837364 New: libldb-2.1.3 is available 2020-05-20 12:01:55 +02:00
Lukas Slebodnik
5b9048a02e Fix typo in date 2020-04-28 11:44:31 +02:00
Lukas Slebodnik
9beb03eed5 rhbz#1828721 New: libldb-2.1.2 is available 2020-04-28 11:40:49 +02:00
Günther Deschner
6f5fde39a8 libldb-2.1.1 is available
resolves: rhbz#1807066

Guenther
2020-02-26 15:06:07 +01:00
Fedora Release Engineering
9a01bc7f03 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 09:35:31 +00:00
Lukas Slebodnik
a366c15c50 Workaround for failure on ppc64le 2020-01-23 00:39:52 +01:00
Lukas Slebodnik
e7e5c5f5b9 Always check the signature of the tarball 2020-01-22 21:30:30 +01:00
Lukas Slebodnik
0c3e05356f rhbz#1748422 - libldb-2.1.0 is available 2020-01-22 17:14:30 +01:00
Lukas Slebodnik
8f21ab5316 rhbz#1748422 - libldb-2.0.8 is available 2019-12-16 17:54:18 +01:00
Lukas Slebodnik
6be587f708 rhbz#1748422 - libldb-2.0.7 is available 2019-09-11 21:39:42 +02:00
Lukas Slebodnik
26fa84681f rhbz#1748422 - New upstream release 2.0.6 2019-09-04 08:18:32 +02:00
Lukas Slebodnik
bb9c7beaf2 Disable toggle_guidindex_check_pack test for ppc64le
It is a temporary workaround to unblock other packages
2019-08-26 13:16:36 +02:00
Lukas Slebodnik
507e6988dd rhbz#1683147 - libldb-2.0.5 is available 2019-08-26 10:45:29 +02:00
Lukas Slebodnik
f542d96b3e Remove python2 packages
* resolves: rhbz#1737644 - libldb, libtalloc, libtevent, libtdb: Remove Python 2 subpackages from Fedora 31+
2019-08-26 10:36:03 +02:00
Miro Hrončok
ccccd5ba2f Rebuilt for Python 3.8 2019-08-19 10:18:04 +02:00
Fedora Release Engineering
08f4139def - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 13:40:44 +00:00
Günther Deschner
efb1a3e7eb Add missing sources 2019-07-13 13:10:35 +02:00
Günther Deschner
4efa35f8c5 New upstream release 1.5.5
Guenther
2019-07-13 11:56:46 +02:00
Lukas Slebodnik
482b42ed8b rhbz#1718113 - samba fail to build with Python 3.8
AttributeError: module 'time' has no attribute 'clock'
2019-06-14 15:12:14 +02:00
Lukas Slebodnik
1c4ad7a580 Add missing patch 2019-06-03 22:44:31 +02:00
Lukas Slebodnik
b08d8b3a27 rhbz#1711638 - fails to build with Python 3.8.0a4 2019-06-03 17:00:42 +02:00
Lukas Slebodnik
d97cb83bae New upstream release 1.5.4 2019-03-06 12:33:44 +01:00
Lukas Slebodnik
110f3b7d49 New upstream release 1.5.3 2019-02-14 14:32:11 +01:00
Fedora Release Engineering
3c20801c8b - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 07:31:33 +00:00
Lukas Slebodnik
d707c03707 Use deterministic order of dict for tests 2019-01-18 21:04:28 +01:00
Lukas Slebodnik
f5b18a5dbb Revert "Workaround for wrong order of repr on s390x"
It did not work for some reason.

This reverts commit 2a4d9797fa.
2019-01-18 21:04:05 +01:00
Lukas Slebodnik
2a4d9797fa Workaround for wrong order of repr on s390x
The standard dictionary in Python 3.7 is ordered
But it can fail with python2

Simple reproducer:
for i in {1..10}; do PYTHONHASHSEED=random python2 -c 'import ldb; msg = ldb.Message(); msg.dn = ldb.Dn(ldb.Ldb(), "dc=foo29"); msg["dc"] = b"foo"; print(repr(msg)) '; done

======================================================================
FAIL: test_repr (__main__.LdbMsgTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/python/api.py", line 2322, in test_repr
    "Message({'dn': Dn('dc=foo29'), 'dc': MessageElement(['foo'])})")
AssertionError: "Message({'dc': MessageElement(['foo']), 'dn': Dn('dc=foo29')})" != "Message({'dn': Dn('dc=foo29'), 'dc': MessageElement(['foo'])})"
----------------------------------------------------------------------
Ran 1025 tests in 29.146s
FAILED (failures=1)
2019-01-18 18:13:20 +01:00
Lukas Slebodnik
5996f46405 Remove dependency on pkg-config from devel Requires
provide .pc file does not mean that package requires pkg-config
2019-01-18 16:32:01 +01:00
Lukas Slebodnik
1ddfd04fdf Remove unnecessary workarounds 2019-01-18 16:32:01 +01:00
Lukas Slebodnik
f79e4c7cba Update conditional build of lmdb 2019-01-18 16:32:01 +01:00
Lukas Slebodnik
160b21d5a3 Fix out of bound in ldb_wildcard_compare 2019-01-18 16:32:01 +01:00
Lukas Slebodnik
26bfbd96ca Fix detection of HAVE_LARGEFILE with python2
+ use autosetup
+ rebase 2nd patch
2019-01-18 16:32:01 +01:00
Lukas Slebodnik
d423db1bd0 Workaround for hardcoded path in Makefile
sh-4.4# make all
PYTHONHASHSEED=1 WAF_MAKE=1  ../../buildtools/bin/waf build
/bin/sh: ../../buildtools/bin/waf: No such file or directory
make: *** [Makefile:7: all] Error 127
2019-01-18 16:32:01 +01:00
Lukas Slebodnik
30d8d25f36 Update python2/3 builds 2019-01-18 16:32:01 +01:00
Lukas Slebodnik
9427f0d5bc Make python2 optional 2019-01-18 16:32:01 +01:00
Lukas Slebodnik
c627f945ea New upstream release - 1.5.2 2019-01-18 16:31:43 +01:00