Commit graph

33 commits

Author SHA1 Message Date
Alejandro Angulo 4c296f58df
ldb: copy cross fix from tevent
Saw the following while building on an x86_64-linux host for an
armv6l-linux target:

```
Testing pyembed configuration: Could not build a python embedded interpreter
```

I dug into the config log and this seemed to be cause of the issue:

```
['armv6l-unknown-linux-gnueabihf-gcc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-g', '-fwrapv', '-O3',
 '-I/nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/include/python3.10', '-I/nix/store/kaiinm7cjirmv4zd3pdqa
r23rsypfqlh-libxcrypt-4.4.33/include', '-DNDEBUG', '../../test.c', '-c', '-o/build/ldb-2.6.1/bin/.conf_check_59d3a0a5b9
6e327858e281d280fec4ed/testbuild/default/test.c.1.o']
err: In file included from /nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/include/python3.10/Python.h:8,
                 from ../../test.c:432:
/nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/include/python3.10/pyconfig.h:1480: warning: "SIZEOF_LONG" r
edefined
 1480 | #define SIZEOF_LONG 8
      |
../../test.c:154: note: this is the location of the previous definition
  154 | #define SIZEOF_LONG 4
      |
/nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/include/python3.10/pyconfig.h:1504: warning: "SIZEOF_SIZE_T"
 redefined
 1504 | #define SIZEOF_SIZE_T 8
      |
../../test.c:156: note: this is the location of the previous definition
  156 | #define SIZEOF_SIZE_T 4
      |
/nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/include/python3.10/pyconfig.h:1507: warning: "SIZEOF_TIME_T" redefined
 1507 | #define SIZEOF_TIME_T 8
      |
../../test.c:170: note: this is the location of the previous definition
  170 | #define SIZEOF_TIME_T 4
      |
/nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/include/python3.10/pyconfig.h:1513: warning: "SIZEOF_VOID_P" redefined
 1513 | #define SIZEOF_VOID_P 8
      |
../../test.c:166: note: this is the location of the previous definition
  166 | #define SIZEOF_VOID_P 4
      |
In file included from /nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/include/python3.10/Python.h:50:
/nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/include/python3.10/pyport.h:746:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
  746 | #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
      |  ^~~~~
```
2023-02-20 09:49:43 -08:00
Artturin 0d4a49af86 ldb: fix cross & add libxcrypt
ERROR: Python module pytdb of version 1.4.7 not found, and bundling disabled
2023-02-11 17:53:14 +02:00
Wanja Zaeske cd80df9e8a ldb: 2.3.0 -> 2.6.1 2023-01-15 22:20:35 +01:00
Rick van Schijndel 7d58a30286
treewide: pkgs/development/libraries: mark broken for darwin 2022-05-30 13:42:53 +02:00
Martin Weinelt ea3253a371
ldb: 2.2.0 -> 2.3.0 2021-04-02 15:05:16 +02:00
Ben Siraphob 66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
R. RyanTM 668e9f2cb3 ldb: 2.1.4 -> 2.2.0 2020-08-06 07:23:36 +00:00
R. RyanTM 54e98623da ldb: 2.1.3 -> 2.1.4 2020-07-05 12:55:37 +00:00
R. RyanTM 0428650dae ldb: 2.1.2 -> 2.1.3 2020-05-22 05:49:18 +00:00
R. RyanTM 9ffd5507e1 ldb: 2.1.1 -> 2.1.2 2020-05-06 23:21:13 -07:00
Greg Price 7547cf9dfc treewide: Fix up stripDebugList attrs to be lists.
The documentation says this should be a list, and it already is in
about half the expressions that set it.

The difference doesn't matter at present, because these values are all
space-free literals.  But it will in a future with __structuredAttrs .

(The similar attr stripAllList has no users in the nixpkgs tree, so
there's nothing to do to fix any of those up.)
2020-04-06 21:26:52 -07:00
Jan Tojnar 4cfdc7af53
ldb: 1.3.3 → 2.1.1
* Move build tools to nativeBuildInputs
* Switch to Python 3 as it is required by most Samba libraries
* Do not yet enable the experimental lmdb backend introduced in 1.4.0

Changes:
* https://git.samba.org/samba.git/?p=samba.git;a=commit;h=4e2eb5660a11cea215d39495844aa76ffb5a1a2e
* https://git.samba.org/samba.git/?p=samba.git;a=commit;h=3eecdbcc38dbe084b285c9720443d819304f7b97
* https://git.samba.org/samba.git/?p=samba.git;a=commit;h=b7f0ee93f58e663bb8fc0b39985aa49b254582d9
* https://git.samba.org/samba.git/?p=samba.git;a=commit;h=bdbb9422c0430d74c3173822257e23a9dfb2713e
* https://git.samba.org/samba.git/?p=samba.git;a=commit;h=340cb9ca97bc2a23f102f80897a8d8f4809f0072
* https://git.samba.org/samba.git/?p=samba.git;a=commit;h=de3bb5cd5236565f2b79644d99e55d03b254b65e
* https://git.samba.org/samba.git/?p=samba.git;a=commit;h=09d281d69b668a71e4457889bb5e949414a664fb
* https://git.samba.org/samba.git/?p=samba.git;a=commit;h=81648d576d56e924945b2214ac12ca6a40679db8
* https://git.samba.org/samba.git/?p=samba.git;a=commit;h=86d480ade25953a175b0837667ce5efb8b7e65df
* https://git.samba.org/samba.git/?p=samba.git;a=commit;h=80bd467affbda1d962f4deb3caa8a42c6531425d
* https://git.samba.org/samba.git/?p=samba.git;a=commit;h=bc0d16c9d8eacd254552ff28726a2ba5f2a1c8c0
* https://git.samba.org/samba.git/?p=samba.git;a=commit;h=c37b94fd0a7b24df93b664ad4c2d197c516c9dce
* https://git.samba.org/samba.git/?p=samba.git;a=commit;h=79460b1b9f3452d6d68014b84f4a9dc3988bd916
* https://git.samba.org/samba.git/?p=samba.git;a=commit;h=0ca46a37268c8219192abc3ab5f2546a02ed8862
2020-03-31 05:16:10 +02:00
Jan Tojnar b04ace2fbb
ldb: clean up expression
* format with nixpkgs-fmt
* quote homepage as per RFC 0045
* split name → pname & version
* do not use aliases
* switch to wafHook
2020-03-31 04:52:46 +02:00
Andreas Rammhold 84c1b2fbd8 ldb: apply patch for CVE-2019-3824 2019-03-20 14:18:58 +01:00
Jörg Thalheim b5c1deca8a
treewide: remove wkennington as maintainer
He prefers to contribute to his own nixpkgs fork triton.
Since he is still marked as maintainer in many packages
this leaves the wrong impression he still maintains those.
2019-01-26 10:05:32 +00:00
Ryan Mulligan 0d5eb901ad treewide: http -> https 2018-06-23 04:34:55 -07:00
R. RyanTM eb8bc80998 ldb: 1.1.31 -> 1.3.3
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/ldb/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/mffzix64mb7vjl2kandfj05n4lz0k8fy-ldb-1.3.3/bin/ldbadd --help’ got 0 exit code
- ran ‘/nix/store/mffzix64mb7vjl2kandfj05n4lz0k8fy-ldb-1.3.3/bin/ldbsearch --help’ got 0 exit code
- ran ‘/nix/store/mffzix64mb7vjl2kandfj05n4lz0k8fy-ldb-1.3.3/bin/ldbdel --help’ got 0 exit code
- ran ‘/nix/store/mffzix64mb7vjl2kandfj05n4lz0k8fy-ldb-1.3.3/bin/ldbmodify --help’ got 0 exit code
- ran ‘/nix/store/mffzix64mb7vjl2kandfj05n4lz0k8fy-ldb-1.3.3/bin/ldbedit --help’ got 0 exit code
- ran ‘/nix/store/mffzix64mb7vjl2kandfj05n4lz0k8fy-ldb-1.3.3/bin/ldbrename --help’ got 0 exit code
- found 1.3.3 with grep in /nix/store/mffzix64mb7vjl2kandfj05n4lz0k8fy-ldb-1.3.3
- directory tree listing: https://gist.github.com/c6a5cda289b4f02fa7a87af2345baf74
2018-05-12 14:39:22 +02:00
Bruno Bigras 80b7298420 ldb: 1.1.27 → 1.1.31
fix #39572
2018-04-29 19:23:01 +03:00
Tuomas Tynkkynen eef3601b08 Revert "ldb: 1.1.27 -> 1.3.1"
This reverts commit bc474e2dd8.

Source hash is incorrect:

https://hydra.nixos.org/build/68234054

And even fixing it doesn't make it compile:

Checking for system tdb (>=1.3.15)                                                : not found
ERROR: System library tdb of version 1.3.15 not found, and bundling disabled
builder for ‘/nix/store/bxnawxa402vrv4qmcmj2hmp98a0bz7li-ldb-1.3.1.drv’ failed with exit code 1
error: build of ‘/nix/store/bxnawxa402vrv4qmcmj2hmp98a0bz7li-ldb-1.3.1.drv’ failed
2018-01-27 16:23:43 +02:00
Lengyel Balazs bc474e2dd8 ldb: 1.1.27 -> 1.3.1 2018-01-18 21:34:33 +01:00
John Ericson ed14223f8c treewide: Manual fix more pkg-config build-inputs 2017-09-21 15:49:54 -04:00
Eelco Dolstra c3bc8b2996 ldb: 1.1.26 -> 1.1.27
Also, strip the modules to prevent a dependency on gcc.
2016-09-19 20:03:40 +02:00
Bjørn Forsman bd01fad0ed Captialize meta.description of all packages
In line with the Nixpkgs manual.

A mechanical change, done with this command:

  find pkgs -name "*.nix" | \
      while read f; do \
          sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \
      done

I manually skipped some:

* Descriptions starting with an abbreviation, a user name or package name
* Frequently generated expressions (haskell-packages.nix)
2016-06-20 13:55:52 +02:00
Vladimír Čunát 530214321d tevent, ldb: security updates needed for samba
I managed to find no news or changelog on these,
so it's rather a black box to me, but it's clear that (some) bumps
were required for samba.
2016-03-14 19:46:39 +01:00
William A. Kennington III a11a88aad9 ldb: 1.1.21 -> 1.1.23 2015-11-07 18:51:34 -08:00
William A. Kennington III 3989c87ee1 ldb: 1.1.20 -> 1.1.21 2015-07-31 17:11:10 -07:00
William A. Kennington III 973b736c17 ldb: 1.1.19 -> 1.1.20 2015-02-09 17:05:57 -08:00
Edward Tjörnhammar 33a8a51657 fetchurl: collate samba project urls into a mirror 2015-02-08 22:29:27 +01:00
Rickard Nilsson 52cb8db899 libldb: Add mirror url 2015-02-04 17:05:16 +01:00
William A. Kennington III 257b2ae888 ldb: Update dependency list 2015-01-02 17:22:37 -08:00
William A. Kennington III 085f7e2d42 ldb: 1.1.18 -> 1.1.19 2015-01-02 10:43:55 -08:00
William A. Kennington III 2fa60c3112 ldb: 1.1.17 -> 1.1.18 2014-12-04 15:18:24 -08:00
William A. Kennington III 63629dbd5c ldb: Add package 2014-11-06 15:05:02 -08:00