diff options
| author | Jeremy Fleischman <jeremyfleischman@gmail.com> | 2024-12-31 02:22:14 -0800 |
|---|---|---|
| committer | Jeremy Fleischman <jeremyfleischman@gmail.com> | 2024-12-31 12:52:25 -0800 |
| commit | c314e80587f9617258be0225497473fbdcc34ae4 (patch) | |
| tree | 12842e6590f67a4398d66c6234c13e8c02826cb2 /pkgs/development/python-modules/rangehttpserver | |
| parent | 84564712e67fd10bcee1650b5fb905150fe43354 (diff) | |
ceph: fix python build
`trustme` 1.2+ doesn't work with the old pinned version of
`cryptography` that `ceph` needs. This vendors the previous version of
`trustme`, which does work. How I got this:
```shell
git show fd30f2796b08596646c9a43fd439c4177f53c0ac~:pkgs/development/python-modules/trustme/default.nix > pkgs/tools/filesystems/ceph/old-python-packages/trustme.nix
```
I then added a warning on the top of the file, and updated the maintiner
to myself.
This fixes https://github.com/NixOS/nixpkgs/issues/359723
Unfortunately, the build goes on to fail trying to compile ceph itself.
I see a bunch of errors that look like this. Hopefully someone more
familiar with C++ can help figure this out:
/build/ceph-19.2.0/src/osd/osd_types.h: In lambda function:
/build/ceph-19.2.0/src/common/dout.h:196:73: error: call to non-'constexpr' function 'virtual unsigned int DoutPrefixProvider::get_subsys() const'
196 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \
| ~~~~~~~~~~~~~~~~^~
/build/ceph-19.2.0/src/common/dout.h:167:58: note: in definition of macro 'dout_impl'
167 | return (cctX->_conf->subsys.template should_gather<sub, v>()); \
| ^~~
/build/ceph-19.2.0/src/osd/osd_types.h:3704:3: note: in expansion of macro 'ldpp_dout'
3704 | ldpp_dout(dpp, 10) << "build_prior all_probe " << all_probe << dendl;
| ^~~~~~~~~
/build/ceph-19.2.0/src/common/dout.h:63:20: note: 'virtual unsigned int DoutPrefixProvider::get_subsys() const' declared here
63 | virtual unsigned get_subsys() const = 0;
| ^~~~~~~~~~
I've filed https://github.com/NixOS/nixpkgs/issues/369777 so we can fix
this in a follow up PR.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
