Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 13904] New: dispel -d doesn't restore /var/state/sorcery/depends

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 13904] New: dispel -d doesn't restore /var/state/sorcery/depends
  • Date: 29 Jul 2007 19:39:14 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=13904

Summary: dispel -d doesn't restore /var/state/sorcery/depends
Product: Sorcery
Version: 1.14.x
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Dispel
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: iuso AT sourcemage.org


Running devel sorcery 20070418 without castfs.

I had flac 1.1.2 installed, and /var/state/sorcery/depends contained these
lines:

flac:g++:on:required::
flac:xmms:off:optional::
flac:nasm:on:optional::--disable-asm-optimizations
flac:libogg:on:optional::
flac:id3lib:on:optional::

Then I upgraded flac to 1.2.0. After the upgrade, the same lines were present
(which was expected because no dependency options or selections had changed).

Later on I needed to downgrade flac to 1.1.2 again, so I did `dispel -d flac
1.1.2`. After that, there were no lines beginning with 'flac:' in
/var/state/sorcery/depends. This caused flac's PRE_SUB_DEPENDS to behave
incorrectly due to is_depends_enabled not being able to retrieve the
dependency
information.

I manually fixed the problem by doing `cat
/var/state/sorcery/tablet/flac/20070426234210/depends >>
/var/state/sorcery/depends`. I suggest that future sorcery releases should
handle a downgrade more thoroughly. I believe that the same bug may also apply
to information stored in /var/state/sorcery/sub_depends, but I have not
tested it.

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



  • [SM-Sorcery-Bugs] [Bug 13904] New: dispel -d doesn't restore /var/state/sorcery/depends, bugzilla-daemon, 07/29/2007

Archive powered by MHonArc 2.6.24.

Top of Page