[opensuse-buildservice] substitute doesn't work for kiwi deps
Hello, i have the next problem. repo A: has an rpm package X, that Requires Y \ (A is a repository for B) |- repo B: has a kiwi package that needs package X Y doesn't exist and project config has Substitute to other package Z. (in both projects) But kiwi package is in unresolvable state with "nothing provides Y" Any ideas?-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Kanstantsin Shautsou <gentoo.integer@gmail.com> writes:
Hello, i have the next problem. repo A: has an rpm package X, that Requires Y \ (A is a repository for B) |- repo B: has a kiwi package that needs package X
Y doesn't exist and project config has Substitute to other package Z. (in both projects) But kiwi package is in unresolvable state with "nothing provides Y" Any ideas?
Substitute only operates on direct build requires, by rewriting the specfile according to the substitution. I think you need to use Ignore. 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
On 10.07.2013, at 12:07, Andreas Schwab <schwab@suse.de> wrote:
Kanstantsin Shautsou <gentoo.integer@gmail.com> writes:
Hello, i have the next problem. repo A: has an rpm package X, that Requires Y \ (A is a repository for B) |- repo B: has a kiwi package that needs package X
Y doesn't exist and project config has Substitute to other package Z. (in both projects) But kiwi package is in unresolvable state with "nothing provides Y" Any ideas?
Substitute only operates on direct build requires, by rewriting the specfile according to the substitution. I think you need to use Ignore.
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." Then package Z would not be installed.-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Kanstantsin Shautsou <gentoo.integer@gmail.com> writes:
Then package Z would not be installed.
If you need Z then you need to BuildRequire it, or make Z provide Y. 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
small update: repo 0: contains Z \ repo A: has an rpm package X, that Requires Y (project config has Substitute to other package Z) \ (A is a repository for B) repo B: has a kiwi package that needs package X (project config has Substitute to other package Z) But kiwi package is in unresolvable state with "nothing provides Y"-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 10.07.2013, at 12:16, Kanstantsin Shautsou <gentoo.integer@gmail.com> wrote:
small update: repo 0: contains Z \ repo A: has an rpm package X, that Requires Y (project config has Substitute: Y Z) \ (A is a repository for B) repo B: has a kiwi package that needs package X (project config has Substitute: Y Z)
But kiwi package is in unresolvable state with "nothing provides Y" Ignore Y doesn't work either. 0_o-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Andreas Schwab
-
Kanstantsin Shautsou