Version: git (using KDE 4.4.5)
straight from the git repository on 3/9/2011: The error reported was Can't locate object method "setPhases" via package "ksb::Phases" at ./kdesrc/kdesrc-build/kdesrc-build line 5049.
Steps to Reproduce:
1. git clone git://anongit.kde.org/kdesrc-build
2. make a config file: ~/.kdesrc-buildrc
3. run kdesrc-build
Encountered an error in the execution of the script.
The error reported was Can't locate object method "setPhases" via package "ksb::Phases" at ./kdesrc/kdesrc-build/kdesrc-build line 5049.
Please submit a bug against kdesrc-build on http://bugs.kde.org/
I can confirm this bug
works as expected if a module name is passed in
appears to work okay if setPhases in line 5049 is replaced by phases
Git commit 91b2ed65c08be1ab3688481588f390b819b89397 by Michael Pyne.
Committed on 10/03/2011 at 05:36.
Pushed by mpyne into branch 'master'.
Actually use right method name.
Sometimes I really miss static typing. This is the kind of issue that is
supposed to be caught by unit tests in dynamic languages, but the test
suite isn't close to that extensive yet.
This fixes bug 268072 (kdesrc-build without modules passed in fails).
There is a test case which simulates kdesrc-build without modules passed
in, but it doesn't simulate the entire sequence and so didn't catch this
error. My apologies.
M +9 -3 kdesrc-build