Summary: | net-libs/gnutls-3.5.9-r1: depends on sys-devel/gcc and >=net-dns/libidn2-0.16-r1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Fabian Groffen <grobian> |
Component: | Current packages | Assignee: | Crypto team [DISABLED] <crypto+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alonbl, prefix |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 609180 | ||
Bug Blocks: |
Description
Fabian Groffen
2017-02-22 12:04:34 UTC
For idn: As any non-maintainer commits... bug#609180 created the explicit dependency of idn and also did not enable in package the proper settings. For the gcc, we probably need some cc virtual with cxx USE, any recommendation how to make sure cxx is available in system? Is this because libstdc++ needs to be around? This is a generic issue... A package has cxx USE flag to build C++ library or whatever. The C compiler has a USE flag to enable or disable C++. How can we maintain integrity of the system? We do not have something like a virtual/cc[cxx] to depend on or even virtual/cxx, right? Errr, yes, but then it should be a library virtual/libcxx or something. Larger problem, which we now deal with by Portage's preserve-libs feature, such that if you upgrade/reinstall gcc without cxx, it keeps the lib around. (Or any lib in that way.) I think you should simply drop the gcc[cxx] depend. Not sure how I can remove this. gcc is currently the only one that is actually supported, if it should be ignored package.provided can be used. I'll try to build/run it with Clang. What I understand from your comment is that that doesn't work, I question that. gnutls compiles and links fine with clang/llvm and libc++. So it seems to me you can express this as || ( sys-devel/gcc[cxx?] sys-devel/clang ) FWIW: other packages that use c++ compilers/support don't depend on a compiler for that, for instance ncurses which is a direct @system dependency package. OK |