[opensuse-buildservice] How to solve libudev-devel:libudev-mini-devel conflict
In openSUSE:Factory:ARM the v4l-utils package has an unresolved dependency because v4l-utils requires udev for building which pulls in libudev1, but libgbm-devel depends on pkgconfig(udev) which resolves to libudev-mini-devel (we generally prefer that over libudev-devel) and pulls in libudev-mini1. How can the conflict between libudev1 and libudev-mini1 be solved? I tried adding "Prefer: libgbm-devel:libudev-devel", but that didn't change anything. 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
I think this is the correct solution: Conflict: libudev1:libudev-mini-devel This makes sure that libudev-mini-devel isn't considered if libudev1 is already selected. 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 Thu, 2015-10-15 at 10:44 +0200, Andreas Schwab wrote:
In openSUSE:Factory:ARM the v4l-utils package has an unresolved dependency because v4l-utils requires udev for building which pulls in libudev1, but libgbm-devel depends on pkgconfig(udev) which resolves to
You should probably wonder why v4l-utils really requires udev and not pkgconfig(udev)... Most likely this is just a work around for not having to own a directory where you install files to... Dominique -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Dominique Leuenberger / DimStar
On Thu, 2015-10-15 at 10:44 +0200, Andreas Schwab wrote:
In openSUSE:Factory:ARM the v4l-utils package has an unresolved dependency because v4l-utils requires udev for building which pulls in libudev1, but libgbm-devel depends on pkgconfig(udev) which resolves to
You should probably wonder why v4l-utils really requires udev and not pkgconfig(udev)...
udev and pkgconfig(udev) are unrelated (neither depends on the other). 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 Thursday 2015-10-15 10:44, Andreas Schwab wrote:
In openSUSE:Factory:ARM the v4l-utils package has an unresolved dependency because v4l-utils requires udev for building which pulls in libudev1, but libgbm-devel depends on pkgconfig(udev) which resolves to libudev-mini-devel (we generally prefer that over libudev-devel) and pulls in libudev-mini1. How can the conflict between libudev1 and libudev-mini1 be solved?
I would analyze it as follows: Since libudev-mini-devel requires libudev-mini1 which is marked as conflicting with libudev1 (hardrequired by udev by v4l-utils), the solver should abandon the libudev-mini-devel possibility for expansion of pkgconfig(udev) and never even get to a point where it has to consult Prefer lines. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Jan Engelhardt
On Thursday 2015-10-15 10:44, Andreas Schwab wrote:
In openSUSE:Factory:ARM the v4l-utils package has an unresolved dependency because v4l-utils requires udev for building which pulls in libudev1, but libgbm-devel depends on pkgconfig(udev) which resolves to libudev-mini-devel (we generally prefer that over libudev-devel) and pulls in libudev-mini1. How can the conflict between libudev1 and libudev-mini1 be solved?
I would analyze it as follows:
Since libudev-mini-devel requires libudev-mini1 which is marked as conflicting with libudev1 (hardrequired by udev by v4l-utils), the solver should abandon the libudev-mini-devel possibility for expansion of pkgconfig(udev) and never even get to a point where it has to consult Prefer lines.
The solver apparently doesn't look ahead. libudev-mini-devel doesn't conflict directly with libudev1, so it can still be selected to resolve pkgconfig(udev). The buildconfig of openSUSE:Factory contains "Conflict: libudev1:udev-mini" which probably was added to solve a similar conflict. 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
participants (3)
-
Andreas Schwab
-
Dominique Leuenberger / DimStar
-
Jan Engelhardt