Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 610742 - net-libs/gnutls - please remove toolchain (gcc/clang) from DEPEND
Summary: net-libs/gnutls - please remove toolchain (gcc/clang) from DEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-23 22:43 UTC by Mike Gilbert
Modified: 2017-02-24 07:26 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2017-02-23 22:43:32 UTC
The devmanual states:

https://devmanual.gentoo.org/general-concepts/dependencies/index.html

It is not necessary, nor advisable, to specify dependencies upon toolchain packages like gcc, libc and so on, except where specific versions or packages (for example, glibc over uclibc) are required.


In other words, it is safe to assume that the user has a C++ compiler installed. You should not DEPEND on it explicitly.
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2017-02-24 06:09:45 UTC
You are the boss.
However before I do that, please explain me how can we make sure that c++ is available while gcc has USE flag that is controllable by user.
Comment 2 Arfrever Frehtes Taifersar Arahesis 2017-02-24 06:21:37 UTC
(Also please change ${EROOT} to ${EPREFIX}/ multilib_src_configure(). ${EROOT} is disallowed in src_* phases.)
Comment 3 Arfrever Frehtes Taifersar Arahesis 2017-02-24 06:38:39 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7022f02a6df878d478ffcd9dc9a56e0c6ecf643a

You need / after ${EPREFIX}
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-02-24 07:26:33 UTC
(In reply to Alon Bar-Lev from comment #1)
> You are the boss.
> However before I do that, please explain me how can we make sure that c++ is
> available while gcc has USE flag that is controllable by user.

You don't. Just as you don't verify that the value of CXX is correct. The build system does that, and outputs a clear error if user did something silly.