Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 13448] New: new debug system is malfunctioning (syntax errors/command not found)

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 13448] New: new debug system is malfunctioning (syntax errors/command not found)
  • Date: 21 Jan 2007 18:38:36 -0000

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

Summary: new debug system is malfunctioning (syntax
errors/command not found)
Product: Sorcery
Version: 1.14.x
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: subroutines
AssignedTo: pmahon AT sourcemage.org
ReportedBy: jakakranjc AT email.si
CC: sm-sorcery-bugs AT lists.ibiblio.org


Spells are to be cast:
---------------------------
init.d

Do you want to cast these spells? [y]

/var/lib/sorcery/modules/libcast: eval: line 712: syntax error near
unexpected
token `('
/var/lib/sorcery/modules/libcast: eval: line 712: `local
_stddbg_file=${BASH_SOURCE[0]} ; _stddbg_file=${_stddbg_file##*/};
debug_message "${_stddbg_file}" "${FUNCNAME[0]}@$LINENO" Started
show_downloading() on init.d from /tmp/sorcery/cast/17916/download.init.d'
Waiting for any Solo casts to complete...
Waiting for any other casts of init.d to complete... done.
/var/lib/sorcery/modules/libstate: eval: line 167: syntax error near
unexpected
token `('
/var/lib/sorcery/modules/libstate: eval: line 167: `local
_stddbg_file=${BASH_SOURCE[0]} ; _stddbg_file=${_stddbg_file##*/};
debug_message "${_stddbg_file}" "${FUNCNAME[0]}@$LINENO"
get_depends_options()
- START=init\.d'
staging disabled
Building init.d
Using gcc version: 4.1.1
Installing in dir: /usr/src
init.d 2.2.0
Preparing to install init.d
/etc/sysconfig/init
was previously modified by SA?
Therefore, it was not reaped.

/var/lib/sorcery/modules/libstate: eval: line 714: syntax error near
unexpected
token `('
/var/lib/sorcery/modules/libstate: eval: line 714: `local
_stddbg_file=${BASH_SOURCE[0]} ; _stddbg_file=${_stddbg_file##*/};
debug_message "${_stddbg_file}" "${FUNCNAME[0]}@$LINENO" Running
remove_spell()
on init.d'
Dispelled spell: init.d

Creating directories...


Installing files...

`/var/lib/sorcery/codex/test/smgl/init.d/files/auto_init' -> `/etc/init.d/
auto_init'
mkdir: created directory `/etc/init.d/runlevels/%1'
mkdir: created directory `/etc/init.d/runlevels/%4'
`/var/lib/sorcery/codex/test/smgl/init.d/files/rc' -> `/etc/init.d/rc'
`/var/lib/sorcery/codex/test/smgl/init.d/files/smgl_functions' ->
`/etc/init.d/
smgl_functions'
`/var/lib/sorcery/codex/test/smgl/init.d/files/smgl_init' -> `/etc/init.d/
smgl_init'
`/var/lib/sorcery/codex/test/smgl/init.d/files/smgl_telinit' -> `/etc/init.d/
smgl_telinit'
`/var/lib/sorcery/codex/test/smgl/init.d/files/smgl_runlevel' -> `/etc/init.d/
smgl_runlevel'
`/var/lib/sorcery/codex/test/smgl/init.d/files/_default' -> `/etc/init.d/
runlevels/%default'
`/var/lib/sorcery/codex/test/smgl/init.d/files/_rescue' -> `/etc/init.d/
runlevels/%rescue'
`/var/lib/sorcery/codex/test/smgl/init.d/files/_single' -> `/etc/init.d/
runlevels/%single'

Installing facility, shutdown, and init configfiles...

No new options to merge into /etc/sysconfig/facilities...
No new options to merge into /etc/sysconfig/init...

Creating runlevel dependency files...

Making runlevel S depend on runlevel DEV
Making runlevel 1 depend on runlevel S
Making runlevel 2 depend on runlevel 1
Making runlevel 3 depend on runlevel 2
Making runlevel 4 depend on runlevel 3
Making runlevel 5 depend on runlevel 4

Other stuff...

`/etc/shutdown.conf' -> `sysconfig/shutdown'
`/etc/init.d/runlevels/rc' -> `/bin/true'
`/etc/init.d/runlevels/%auto' -> `%default'
installing mountroot.sh
Installing mountroot.sh to runlevel S...
script mountroot.sh installed and enabled. Disable with 'telinit disable
mountroot.sh'.
If you want to [re]start the service now, issue 'telinit run mountroot.sh
[re]start'.
No new options to merge into /etc/sysconfig/init...
installing devices
Installing devices to runlevel DEV...
script devices installed and enabled. Disable with 'telinit disable
devices'.
If you want to [re]start the service now, issue 'telinit run devices
[re]start'.
installing smgl-misc
Installing smgl-misc to runlevel 3...
script smgl-misc installed and enabled. Disable with 'telinit disable smgl-
misc'.
If you want to [re]start the service now, issue 'telinit run smgl-misc
[re]start'.
installing hostname.sh
Installing hostname.sh to runlevel S...
script hostname.sh installed and enabled. Disable with 'telinit disable
hostname.sh'.
If you want to [re]start the service now, issue 'telinit run hostname.sh
[re]start'.
installing mountall.sh
Installing mountall.sh to runlevel S...
script mountall.sh installed and enabled. Disable with 'telinit disable
mountall.sh'.
If you want to [re]start the service now, issue 'telinit run mountall.sh
[re]start'.
No new options to merge into /etc/sysconfig/init...
installing single
Installing single to runlevel S...
script single installed and enabled. Disable with 'telinit disable single'.
If you want to [re]start the service now, issue 'telinit run single
[re]start'.
installing smgl-default-remote-fs
Installing smgl-default-remote-fs to runlevel 3...
script smgl-default-remote-fs installed and enabled. Disable with 'telinit
disable smgl-default-remote-fs'.
If you want to [re]start the service now, issue 'telinit run smgl-default-
remote-fs [re]start'.
installing smgl-suspend-single
Installing smgl-suspend-single to runlevel 2...
script smgl-suspend-single installed and enabled. Disable with 'telinit
disable smgl-suspend-single'.
If you want to [re]start the service now, issue 'telinit run smgl-suspend-
single [re]start'.
No new options to merge into /etc/sysconfig/init...
/var/lib/sorcery/modules/libapi: line 1015: eval local
_stddbg_file=${BASH_SOURCE[0]} ;
_stddbg_file=${_stddbg_file##*/};
debug_message "${_stddbg_file}" "${FUNCNAME[0]}@$LINENO" "$@": No
such
file or directory
/var/lib/sorcery/modules/libapi: line 696: eval local
_stddbg_file=${BASH_SOURCE[0]} ;
_stddbg_file=${_stddbg_file##*/};
debug_message "${_stddbg_file}" "${FUNCNAME[0]}@$LINENO" "$@": No
such
file or directory
Made mountroot.sh provider of root_fs
/var/lib/sorcery/modules/libapi: line 1015: eval local
_stddbg_file=${BASH_SOURCE[0]} ;
_stddbg_file=${_stddbg_file##*/};
debug_message "${_stddbg_file}" "${FUNCNAME[0]}@$LINENO" "$@": No
such
file or directory
/var/lib/sorcery/modules/libapi: line 696: eval local
_stddbg_file=${BASH_SOURCE[0]} ;
_stddbg_file=${_stddbg_file##*/};
debug_message "${_stddbg_file}" "${FUNCNAME[0]}@$LINENO" "$@": No
such
file or directory
Made mountall.sh provider of local_fs
/var/lib/sorcery/modules/libapi: line 1015: eval local
_stddbg_file=${BASH_SOURCE[0]} ;
_stddbg_file=${_stddbg_file##*/};
debug_message "${_stddbg_file}" "${FUNCNAME[0]}@$LINENO" "$@": No
such
file or directory
/var/lib/sorcery/modules/libapi: line 696: eval local
_stddbg_file=${BASH_SOURCE[0]} ;
_stddbg_file=${_stddbg_file##*/};
debug_message "${_stddbg_file}" "${FUNCNAME[0]}@$LINENO" "$@": No
such
file or directory
Made smgl-default-remote-fs provider of remote_fs
tty devices in inittab set to /dev/tty[1-6]
/var/lib/sorcery/modules/libstate: eval: line 714: syntax error near
unexpected
token `('
/var/lib/sorcery/modules/libstate: eval: line 714: `local
_stddbg_file=${BASH_SOURCE[0]} ; _stddbg_file=${_stddbg_file##*/};
debug_message "${_stddbg_file}" "${FUNCNAME[0]}@$LINENO" Running
remove_spell()
on init.d'
Creating compile log /var/log/sorcery/compile/init.d-2.2.0.gz
Creating castfs debug log
/var/log/sorcery/compile/init.d-2.2.0.castfs.dbglog.gz
Creating tablet in directory /var/state/sorcery/tablet/init.d/20070121125154
Creating install log /var/log/sorcery/install/init.d-2.2.0
Creating MD5 log /var/log/sorcery/md5sum/init.d-2.2.0
Creating cache file /var/cache/sorcery/init.d-2.2.0-i686-pc-linux-gnu.tar.gz
Finished processing install requests.

Spells installed successfully:
------------------------------
init.d


I went into the sorcery menu to check if I needed to reset any debug options,
didn't change anything, but the new settings were applied. Before, the errors
were a bit different (bash: : command not found). Also tried adding some
additional quotes around "$@" in STD_DEBUG_HEAD, but that didn't seem to make
a
difference.

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



  • [SM-Sorcery-Bugs] [Bug 13448] New: new debug system is malfunctioning (syntax errors/command not found), bugzilla-daemon, 01/21/2007

Archive powered by MHonArc 2.6.24.

Top of Page