[MacPorts] #52327: Buildbot fails incorrectly if calculated dependency tree becomes invalid during installation (was: Buildbot considers a port failed if conflicting ports are active)
MacPorts
noreply at macports.org
Thu Sep 22 20:38:35 CEST 2016
#52327: Buildbot fails incorrectly if calculated dependency tree becomes invalid
during installation
---------------------------+--------------------------------
Reporter: ryandesign@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: contrib | Version: 2.3.4
Resolution: | Keywords:
Port: |
---------------------------+--------------------------------
Comment (by cal@…):
Build 5623 of `gnss-sdr-devel` should not have failed, because at the
point where `gnuradio` was required by `gr-osmosdr`, `gnuradio-devel` was
already installed and would have satisfied the dependency of `gr-osmosdr`.
The problem is that at this point, we no longer know that `gr-osmosdr`
would accept the already-installed `gnuradio-devel`, because we run
dependency calculation first and then just stupidly iterate over the list.
A solution for this problem might be complicated… basically, while
iterating over the dependency tree and before installing a specific
dependency, we'd have to check whether the port(s) that require(s) the
current dependency still need it or the requirement has been satisfied
using other means (e.g., a path:, lib:, or bin: dependency) meanwhile.
This problem occurs more or less because we don't compute a closed form
solution of the dependency tree before actually installing.
To reset the incorrect state for now, you can just trigger a build of
gnuradio directly, which will ignore the failcache but update it on
success.
--
Ticket URL: <https://trac.macports.org/ticket/52327#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list