Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 14273] New: Sorcery 1.13.7 and PROMPT_DELAY=0 do not remember your answers

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 14273] New: Sorcery 1.13.7 and PROMPT_DELAY=0 do not remember your answers
  • Date: 4 Feb 2008 18:40:25 -0000

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

Summary: Sorcery 1.13.7 and PROMPT_DELAY=0 do not remember your
answers
Product: Sorcery
Version: 1.13.x
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Cast
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: sandalle AT sourcemage.org


Tested with:

# sorcery -v
1.13.7
1.13.8-rc4

Sorcery 20080203 does not exhibit this behaviour.

I've noticed that when I set PROMPT_DELAY=0 and do a `sorcery rebuild` it
fails
because it cannot install sorcery-sound-ferris. I have *never* selected *any*
of
the sorcery-sound-* packages on this system, so why is it doing so now?

Quick test:

PROMPT_DELAY=30
# cast -r basesystem
Select what I want
...
Collating dependencies...
Spells are to be cast:
---------------------------
basesystem

Do you want to cast these spells? [y]

PROMPT_DELAY=0
# cast -c basesystem
...
All of my above options (e.g vim for TEXT-EDITOR) are remembered:
basesystem requires some TEXT-EDITOR.
Continue to use vim? [y]
...
Collating dependencies...
Spells are to be cast:
---------------------------
basesystem

Do you want to cast these spells? [y]

# cast -c basesystem
...
Run it again just to make sure, same as above

# cast -r basesystem
...
basesystem depends on tar
basesystem requires some TEXT-EDITOR.
(0) diakonos
(1) e3
(2) elvis
(3) emacs (installed)
(4) joe
(5) moe
(6) nano (installed)
(7) pico
(8) vim (installed)
(9) zile

Which one do you want? [3]

I had previously selected vim (8)
...
Collating dependencies...
Spells are to be cast:
---------------------------
basesystem diakonos ruby

Do you want to cast these spells? [y]

So...how did diakonos (0) get selected for TEXT-EDITOR when I had previously
selected vim (8) for the first run while the last run said it was going to use
emacs (3). And now, when I set PROMPT_DELAY=30 again and do a `cast -r
basesystem`, the example for TEXT-EDITOR is now:
basesystem has a dependency on some TEXT-EDITOR.
(0) diakonos
(1) e3
(2) elvis
(3) emacs (installed)
(4) joe
(5) moe
(6) nano (installed)
(7) pico
(8) vim (installed)
(9) zile

Which one do you want? [3] 8

So it's back to selecting the first installed.

but some of them change:
basesystem has an optional dependency on some BOOTLOADER (for a system boot
loader).
(0) [none]
(1) aboot
(2) grub (installed)
(3) lilo
(4) silo
(5) yaboot

Which one do you want? [0]

Before it had always been grub (2), even with the -r and PROMPT_DELAY=0.

I am unsure if `cast -r` is reproducing the same bug as `sorcery rebuild` and
I
am afraid it is not, since sorcery-sound-ferris is not, somehow, being
selected.

Would you like a DEBUG and/or SUPER_DEBUG log of the `sorcery rebuild` doing
this? Prefer I use git-bisect to see where it was introduced?

--
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 14273] New: Sorcery 1.13.7 and PROMPT_DELAY=0 do not remember your answers, bugzilla-daemon, 02/04/2008

Archive powered by MHonArc 2.6.24.

Top of Page