Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 16166] New: sub_depends administration is not robust

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 16166] New: sub_depends administration is not robust
  • Date: Wed, 17 Jan 2024 09:23:47 +0000

Bug ID 16166
Summary sub_depends administration is not robust
Product Sorcery
Version 1.16.x
Hardware All
OS All
Status NEW
Severity normal
Priority P2
Component depends
Assignee sm-sorcery-bugs AT lists.ibiblio.org
Reporter wich AT sourcemage.org
Classification Unclassified

When setting up a new system I ran into the situation where cairo is installed,
but does not have a bunch of optional dependencies enabled. When trying to cast
gtk+3 it requests a number of sub dependencies on cairo which should trigger a
cairo recast with the relevant optional dependencies enabled, but it didn't.

Further investigation reveals that the PRE_SUB_DEPENDS file from tablet was not
being run at all. Looking into sorcery code and examining the sorcery debug
output I saw that libdepends checks /var/state/sorcery/sub_depends for "known"
sub dependencies and as it turns out the gtk+3 to cairo sub dependencies are
already recorded there without cairo ever having been built with the needed
optional dependencies enabled!

What I suspect is what happened, but have not yet confirmed, is that upon first
trying to cast gtk+3 the PRE_SUB_DEPENDS was run, cairo was taking into the
cast queue with the relevant optional dependencies enabled. At that time
/var/state/sorcery/sub_depends was probably updated to reflect these sub
dependencies, however somewhere during the complete cast process some spell
failure led to cairo not actually being re-cast with the necessary optional
dependencies enabled, yet /var/state/sorcery/sub_depends was not updated to
reflect that the sub dependency was not satisfied.

Note that this concerns a virgin install, at no time was there ever a gtk+3 on
this system before and at no time was there ever a cairo with the relevant
optional dependencies enabled.

Also, I discovered this with sorcery test 1.16.0, but I am pretty sure that it
also exists in previous sorcery releases.


You are receiving this mail because:
  • You are the assignee for the bug.



Archive powered by MHonArc 2.6.24.

Top of Page