[opensuse-buildservice] gcc-c++ not available at build
Hi, Has gcc-c++ been removed as one of the automatically included dependencies at build time in OBS? A large number of packages in devel:languages:R:released are now failing to build due to g++ no longer being available, and we've changed nothing in the R-base-devel package Requires which they all rely on. Can anyone shed some light on this? -- Later, Darin -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Mittwoch, 28. März 2018, 15:57:30 CEST wrote Darin Perusich:
Hi,
Has gcc-c++ been removed as one of the automatically included dependencies at build time in OBS? A large number of packages in devel:languages:R:released are now failing to build due to g++ no longer being available, and we've changed nothing in the R-base-devel package Requires which they all rely on.
Can anyone shed some light on this?
It was never installed by default before. If it worked before some other package required it, you had it in prjconf or in BuildRequires. But does not matter much, if your package needs it, it should BuildRequire it IMHO -- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am Wed, 28 Mar 2018 16:01:57 +0200 schrieb Adrian Schröter <adrian@suse.de>:
On Mittwoch, 28. März 2018, 15:57:30 CEST wrote Darin Perusich:
Hi,
Has gcc-c++ been removed as one of the automatically included dependencies at build time in OBS? A large number of packages in devel:languages:R:released are now failing to build due to g++ no longer being available, and we've changed nothing in the R-base-devel package Requires which they all rely on.
Can anyone shed some light on this?
It was never installed by default before. If it worked before some other package required it, you had it in prjconf or in BuildRequires.
But does not matter much, if your package needs it, it should BuildRequire it IMHO
We have BuildRequires: gcc-c++ in R-base.spec. Some traces: For example AlgDesign fails, that has Requires: R-base and BuildRequires: R-base-devel. R-base-devel requires R-core-devel R-core-devel requires R-base. I would expect gcc-g++ coming onto the field there? Nevertheless, nothing changed on our side, what makes the failed builds strange. Detlef
-- 'People who say "I have nothing to hide" misunderstand the purpose of surveillance. It was never about privacy. It's about power.' E. Snowden Dr. Detlef Steuer Helmut-Schmidt-Universität Fakultät WiSo Holstenhofweg 85 22043 Hamburg Tel: 040/6541-2819 mail: steuer@hsu-hh.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Mittwoch, 28. März 2018, 16:27:40 CEST wrote Detlef Steuer:
Am Wed, 28 Mar 2018 16:01:57 +0200 schrieb Adrian Schröter <adrian@suse.de>:
On Mittwoch, 28. März 2018, 15:57:30 CEST wrote Darin Perusich:
Hi,
Has gcc-c++ been removed as one of the automatically included dependencies at build time in OBS? A large number of packages in devel:languages:R:released are now failing to build due to g++ no longer being available, and we've changed nothing in the R-base-devel package Requires which they all rely on.
Can anyone shed some light on this?
It was never installed by default before. If it worked before some other package required it, you had it in prjconf or in BuildRequires.
But does not matter much, if your package needs it, it should BuildRequire it IMHO
We have BuildRequires: gcc-c++
in R-base.spec.
and R-base is building, right?
Some traces:
For example AlgDesign fails, that has Requires: R-base and BuildRequires: R-base-devel.
R-base-devel requires R-core-devel
R-core-devel requires R-base. I would expect gcc-g++ coming onto the field there?
That is not how BuildRequires are working. You should maybe add a Requires: gcc-c++ as well to some of your -devel packages. At least if these -devel packages are not usable without a c++ compiler.
Nevertheless, nothing changed on our side, what makes the failed builds strange.
Detlef
-- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Mittwoch, 28. März 2018 16:27:40 CEST Detlef Steuer wrote:
Am Wed, 28 Mar 2018 16:01:57 +0200
schrieb Adrian Schröter <adrian@suse.de>:
On Mittwoch, 28. März 2018, 15:57:30 CEST wrote Darin Perusich:
Hi,
Has gcc-c++ been removed as one of the automatically included dependencies at build time in OBS? A large number of packages in devel:languages:R:released are now failing to build due to g++ no longer being available, and we've changed nothing in the R-base-devel package Requires which they all rely on.
Can anyone shed some light on this?
It was never installed by default before. If it worked before some other package required it, you had it in prjconf or in BuildRequires.
But does not matter much, if your package needs it, it should BuildRequire it IMHO
We have BuildRequires: gcc-c++
in R-base.spec.
Some traces:
For example AlgDesign fails, that has Requires: R-base and BuildRequires: R-base-devel.
R-base-devel requires R-core-devel
R-core-devel requires R-base. I would expect gcc-g++ coming onto the field there?
BuildRequires are not transitive. gcc-c++ is required to build R-base, but not for installing it. So building AlgDesign requires R-base-devel, and thus R-core-devel and R-base, but not gcc-c++, install time requires *are* transitive. Kind regards, Stefan -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Mär 28 2018, Detlef Steuer <steuer@hsu-hh.de> wrote:
We have BuildRequires: gcc-c++
in R-base.spec.
That means gcc-c++ will be installed when *building* R-base. It says nothing about the dependencies of the packages it produces.
Some traces:
For example AlgDesign fails, that has Requires: R-base and BuildRequires: R-base-devel.
R-base-devel requires R-core-devel
R-core-devel requires R-base. I would expect gcc-g++ coming onto the field there?
No, unless R-base *requires* gcc-c++. BuildRequires is about build-time dependencies. Requires is about install-time dependencies. Build-time dependencies are not transitive. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am Wed, 28 Mar 2018 16:40:41 +0200 schrieb Andreas Schwab <schwab@suse.de>:
On Mär 28 2018, Detlef Steuer <steuer@hsu-hh.de> wrote:
We have BuildRequires: gcc-c++
in R-base.spec.
That means gcc-c++ will be installed when *building* R-base. It says nothing about the dependencies of the packages it produces.
Some traces:
For example AlgDesign fails, that has Requires: R-base and BuildRequires: R-base-devel.
R-base-devel requires R-core-devel
R-core-devel requires R-base. I would expect gcc-g++ coming onto the field there?
No, unless R-base *requires* gcc-c++.
BuildRequires is about build-time dependencies. Requires is about install-time dependencies. Build-time dependencies are not transitive.
Ok, that is like I did it from the beginning of times, erhh OBS, until at some time in the long forgotten past I obviously misunderstood a hint regarding some *Requires. Well. Thx for clarification. Will have to add a few Requires. It remains the question: Why did the build results change *now*? May be not so important, will have to find the proper place to add gcc-g++ anyway. Detlef
Andreas.
-- 'People who say "I have nothing to hide" misunderstand the purpose of surveillance. It was never about privacy. It's about power.' E. Snowden Dr. Detlef Steuer Helmut-Schmidt-Universität Fakultät WiSo Holstenhofweg 85 22043 Hamburg Tel: 040/6541-2819 mail: steuer@hsu-hh.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Wednesday 2018-03-28 16:59, Detlef Steuer wrote:
It remains the question: Why did the build results change *now*? May be not so important, will have to find the proper place to add gcc-g++ anyway.
Chances are you will have to add it to AlgDesign. The presence of a C++ header alone does not necessarily mandate a C++ compiler (let alone any one specific compiler like g++). There is fancy stuff like Java JNI and clang++. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (6)
-
Adrian Schröter
-
Andreas Schwab
-
Brüns, Stefan
-
Darin Perusich
-
Detlef Steuer
-
Jan Engelhardt