ruby3.3 uses libxcrypt during build, but it also exposes this header to
its downstreams by including -lcrypt in its pkgconf .pc. There is an
effort[1] to drop libcrypt-dev from the build-essential package set.
This will not happen during the trixie freeze, but some months into the
forky cycle. Once dropped, ruby3.3 and reverse dependencies of
ruby3.3-dev will fail to build from source. While looking into it, I
noticed that the .pc file also contains -lz without a matching
dependency. I'm attaching a patch to make these dependencies explicit.
It is safe for inclusion into trixie, but it does not warrant an upload
of its own at this time of the freeze.
Helmut