Skip to content

{fedora-{38,39},ubuntu-mantic,debian-trixie}-minimal: pyzmq build failure #36027

Closed

Description

@mkoeppe
[pyzmq-24.0.1]     In file included from /usr/include/c++/13/ext/alloc_traits.h:34,
  [pyzmq-24.0.1]                      from /usr/include/c++/13/bits/basic_string.h:39,
  [pyzmq-24.0.1]                      from /usr/include/c++/13/string:54,
  [pyzmq-24.0.1]                      from /usr/include/c++/13/bits/locale_classes.h:40,
  [pyzmq-24.0.1]                      from /usr/include/c++/13/bits/ios_base.h:41,
  [pyzmq-24.0.1]                      from /usr/include/c++/13/ios:44,
  [pyzmq-24.0.1]                      from /usr/include/c++/13/istream:40,
  [pyzmq-24.0.1]                      from /usr/include/c++/13/sstream:40,
  [pyzmq-24.0.1]                      from bundled/zeromq/src/zmtp_engine.cpp:41:
  [pyzmq-24.0.1]     /usr/include/c++/13/bits/alloc_traits.h: In instantiation of 'struct std::__allocator_traits_base::__rebind<zmq::secure_allocator_t<unsigned char>, unsigned char, void>':
  [pyzmq-24.0.1]     /usr/include/c++/13/bits/alloc_traits.h:94:11:   required by substitution of 'template<class _Alloc, class _Up> using std::__alloc_rebind = typename std::__allocator_traits_base::__rebind<_Alloc, _Up>::type [with _Alloc = zmq::secure_allocator_t<unsigned char>; _Up = unsigned char]'
  [pyzmq-24.0.1]     /usr/include/c++/13/bits/alloc_traits.h:228:8:   required by substitution of 'template<class _Alloc> template<class _Tp> using std::allocator_traits< <template-parameter-1-1> >::rebind_alloc = std::__alloc_rebind<_Alloc, _Tp> [with _Tp = unsigned char; _Alloc = zmq::secure_allocator_t<unsigned char>]'
  [pyzmq-24.0.1]     /usr/include/c++/13/ext/alloc_traits.h:126:65:   required from 'struct __gnu_cxx::__alloc_traits<zmq::secure_allocator_t<unsigned char>, unsigned char>::rebind<unsigned char>'
  [pyzmq-24.0.1]     /usr/include/c++/13/bits/stl_vector.h:88:21:   required from 'struct std::_Vector_base<unsigned char, zmq::secure_allocator_t<unsigned char> >'
  [pyzmq-24.0.1]     /usr/include/c++/13/bits/stl_vector.h:425:11:   required from 'class std::vector<unsigned char, zmq::secure_allocator_t<unsigned char> >'
  [pyzmq-24.0.1]     bundled/zeromq/src/curve_client_tools.hpp:64:76:   required from here
  [pyzmq-24.0.1]     /usr/include/c++/13/bits/alloc_traits.h:70:31: error: static assertion failed: allocator_traits<A>::rebind_alloc<A::value_type> must be A
  [pyzmq-24.0.1]        70 |                         _Tp>::value,
  [pyzmq-24.0.1]           |                               ^~~~~

https://github.com/sagemath/sage/actions/runs/5706565894/job/15486087970#step:8:2141

Activity

  1. mkoeppe commented on Aug 8, 2023

    @mkoeppe
    ContributorAuthor

    Upgrading to pyzmq-25.1.0 does not fix this

  2. added a commit that references this issue on Nov 9, 2023
    dfde868
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions