bug comments 633

Bryan Dumm bryan at bcpub.com
Thu Sep 18 07:38:39 PDT 2003


[Bug 633] New: Syntax of packages' log files

> Syntax of XML log files for packages needs to be 
> discussed and then implemented.

Ok I am not sure what part of log files that this report
is about. A log stamp or the results of the commands?

Either way, take a look at this


the log stamp part

<amin:log month="9" day="11" year="2003" hour="3" minute="28" second="16"  
location="localhost">

the results ( i cut some of this... notice it is valid xml)

<amin:profile xmlns:amin='http://projectamin.org/ns/'>
<!--Bash-2.05b-->
	<amin:command name='unpack'>
		<amin:param name='target'>/mnt/lfs/si/lsbsi-bootstrap/usr/src</amin:param>
		<amin:param 
name='archive'>/mnt/lfs/si/lsbsi-bootstrap/dir-sources/33/bash-2.05b.tar.gz</amin:param>
	<amin:message type='success'>Unpacking : 
/mnt/lfs/si/lsbsi-bootstrap/dir-sources/33/bash-2.05b.tar.gz Destination : 
/mnt/lfs/si/lsbsi-bootstrap/usr/src</amin:message><amin:message 
type='OUT'>bash-2.05b/
bash-2.05b/CWRU/
bash-2.05b/CWRU/misc/
bash-2.05b/CWRU/misc/open-files.c
bash-2.05b/CWRU/misc/sigs.c
bash-2.05b/CWRU/misc/sigstat.c
bash-2.05b/CWRU/misc/bison
bash-2.05b/xmalloc.h
bash-2.05b/y.tab.c
bash-2.05b/y.tab.h
bash-2.05b/parser-built
</amin:message></amin:command>
	<amin:command name='configure'>
		<amin:flag>enable-static-link</amin:flag>
		<amin:flag>prefix=/mnt/lfs/si/lsbsi-bootstrap/usr</amin:flag>
		<amin:flag>bindir=/mnt/lfs/si/lsbsi-bootstrap/bin</amin:flag>
		<amin:flag>with-curses</amin:flag>
		<amin:shell 
name='dir'>/mnt/lfs/si/lsbsi-bootstrap/usr/src/bash-2.05b</amin:shell>
	<amin:message type='success'>Executing ./configure 
--enable-static-link, 
--prefix=/mnt/lfs/si/lsbsi-bootstrap/usr, 
--bindir=/mnt/lfs/si/lsbsi-bootstrap/bin, --with-curses in 
/mnt/lfs/si/lsbsi-bootstrap/usr/src/bash-2.05b</amin:message><amin:message 
type='OUT'>checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu

Beginning configuration for bash-2.05b-release for i686-pc-linux-gnu

checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... 
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
config.status: creating support/Makefile
config.status: creating examples/loadables/Makefile
config.status: creating examples/loadables/perl/Makefile
config.status: creating config.h
</amin:message></amin:command>
	<amin:command name='make'>
		<amin:shell 
name='dir'>/mnt/lfs/si/lsbsi-bootstrap/usr/src/bash-2.05b</amin:shell>
	<amin:message type='success'>Executing make  in 
/mnt/lfs/si/lsbsi-bootstrap/usr/src/bash-2.05b</amin:message><amin:message 
type='OUT'>gcc  -DPROGRAM='"bash"' 
-DCONF_HOSTTYPE='"i686"' 
-DCONF_OSTYPE='"linux-gnu"' 
-DCONF_MACHTYPE='"i686-pc-linux-gnu"' 
-DCONF_VENDOR='"pc"' -DSHELL -DHAVE_CONFIG_H  -I.  -I. 
-I./include -I./lib  -g -o mksyntax ./mksyntax.c
rm -f syntax.c
./mksyntax -o syntax.c
/bin/sh ./support/mkversion.sh -b -S . -s release -d 2.05b -o newversion.h \
&& mv newversion.h version.h
gcc  -DPROGRAM='"bash"' 
-DCONF_HOSTTYPE='"i686"' 
-DCONF_OSTYPE='"linux-gnu"' 
-DCONF_MACHTYPE='"i686-pc-linux-gnu"' 
-DCONF_VENDOR='"pc"' -DSHELL -DHAVE_CONFIG_H  -I.  -I. 
-I./include -I./lib  -g -c -o buildversion.o ./version.c
gcc  -DPROGRAM='"bash"' 
-DCONF_HOSTTYPE='"i686"' 
-DCONF_OSTYPE='"linux-gnu"' 
-DCONF_MACHTYPE='"i686-pc-linux-gnu"' 
-DCONF_VENDOR='"pc"' -DSHELL -DHAVE_CONFIG_H  -I.  -I. 
-I./include -I./lib  -g -o bashversion ./support/bashversion.c buildversion.o

	  ***********************************************************
	  *                                                         *
	  * GNU bash, version 2.05b.0(1)-release (i686-pc-linux-gnu)
	  *                                                         *
	  ***********************************************************

rm -f shell.o
gcc  -DPROGRAM='"bash"' 
-DCONF_HOSTTYPE='"i686"' 
-DCONF_OSTYPE='"linux-gnu"' 
-DCONF_MACHTYPE='"i686-pc-linux-gnu"' 
-DCONF_VENDOR='"pc"' -DSHELL -DHAVE_CONFIG_H  -I.  -I. 
-I./include -I./lib  -g -O2 -c shell.c
rm -f eval.o
gcc  -DPROGRAM='"bash"' 
-DCONF_HOSTTYPE='"i686"' 
-DCONF_OSTYPE='"linux-gnu"' 
-DCONF_MACHTYPE='"i686-pc-linux-gnu"' 
-DCONF_VENDOR='"pc"' -DSHELL -DHAVE_CONFIG_H  -I.  -I. 
-I./include -I./lib  -g -O2 -c eval.c
make[1]: Entering directory 
`/mnt/lfs/si/lsbsi-bootstrap/usr/src/bash-2.05b/builtins'
rm -f mkbuiltins.o
gcc -c  -DHAVE_CONFIG_H -DSHELL  -I. -I..  -I.. -I../include -I../lib -I.   -g 
mkbuiltins.c
gcc -static -rdynamic -g -O2 -o mkbuiltins mkbuiltins.o 
./mkbuiltins -externfile builtext.h -structfile builtins.c \
    -noproduction -D .  ./alias.def ./bind.def ./break.def ./builtin.def 
./cd.def ./colon.def ./command.def ./declare.def ./echo.def ./enable.def 
./eval.def ./getopts.def ./exec.def ./exit.def ./fc.def ./fg_bg.def 
./hash.def ./help.def ./history.def ./jobs.def ./kill.def ./let.def 
./read.def ./return.def ./set.def ./setattr.def ./shift.def ./source.def 
./suspend.def ./test.def ./times.def ./trap.def ./type.def ./ulimit.def 
./umask.def ./wait.def ./reserved.def ./pushd.def ./shopt.def ./printf.def 
./complete.def
make[1]: Leaving directory 
`/mnt/lfs/si/lsbsi-bootstrap/usr/src/bash-2.05b/builtins'
rm -f y.tab.o
gcc  -DPROGRAM='"bash"' 
-DCONF_HOSTTYPE='"i686"' 
-DCONF_OSTYPE='"linux-gnu"' 
-DCONF_MACHTYPE='"i686-pc-linux-gnu"' 
-DCONF_VENDOR='"pc"' -DSHELL -DHAVE_CONFIG_H  -I.  -I. 
-I./include -I./lib  -g -O2 -c y.tab.c
rm -f general.o
gcc  -DPROGRAM='"bash"' 
-DCONF_HOSTTYPE='"i686"' 
-DCONF_OSTYPE='"linux-gnu"' 
-DCONF_MACHTYPE='"i686-pc-linux-gnu"' 
-DCONF_VENDOR='"pc"' -DSHELL -DHAVE_CONFIG_H  -I.  -I. 
-I./include -I./lib  -g -O2 -c general.c
rm -f make_cmd.o
gcc  -DPROGRAM='"bash"' 
-DCONF_HOSTTYPE='"i686"' 
-DCONF_OSTYPE='"linux-gnu"' 
-DCONF_MACHTYPE='"i686-pc-linux-gnu"' 
-DCONF_VENDOR='"pc"' -DSHELL -DHAVE_CONFIG_H  -I.  -I. 
-I./include -I./lib  -g -O2 -c make_cmd.c
rm -f print_cmd.o
make[1]: Leaving directory 
`/mnt/lfs/si/lsbsi-bootstrap/usr/src/bash-2.05b/lib/tilde'
make[1]: Entering directory 
`/mnt/lfs/si/lsbsi-bootstrap/usr/src/bash-2.05b/lib/malloc'
gcc  -I. -I../.. -I../.. -I../../include -I../../lib -DHAVE_CONFIG_H -DSHELL  
-g -O2 -DRCHECK -Dbotch=programming_error   -c malloc.c
gcc  -I. -I../.. -I../.. -I../../include -I../../lib -DHAVE_CONFIG_H -DSHELL  
-g -O2 -DRCHECK -Dbotch=programming_error   -c trace.c
gcc  -I. -I../.. -I../.. -I../../include -I../../lib -DHAVE_CONFIG_H -DSHELL  
-g -O2 -DRCHECK -Dbotch=programming_error   -c stats.c
gcc  -I. -I../.. -I../.. -I../../include -I../../lib -DHAVE_CONFIG_H -DSHELL  
-g -O2 -DRCHECK -Dbotch=programming_error   -c table.c
gcc  -I. -I../.. -I../.. -I../../include -I../../lib -DHAVE_CONFIG_H -DSHELL  
-g -O2 -DRCHECK -Dbotch=programming_error   -c watch.c
rm -f libmalloc.a
ar cr libmalloc.a malloc.o  trace.o stats.o table.o watch.o
test -n "ranlib" && ranlib libmalloc.a
make[1]: Leaving directory 
`/mnt/lfs/si/lsbsi-bootstrap/usr/src/bash-2.05b/lib/malloc'
rm -f bash
gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob -L./lib/tilde 
-L./lib/malloc -L./lib/sh -static -static -rdynamic  -g -O2 -o bash shell.o 
eval.o y.tab.o general.o make_cmd.o print_cmd.o  dispose_cmd.o execute_cmd.o 
variables.o copy_cmd.o error.o expr.o flags.o jobs.o subst.o hashcmd.o 
hashlib.o mailcheck.o trap.o input.o unwind_prot.o pathexp.o sig.o test.o 
version.o alias.o array.o arrayfunc.o braces.o bracecomp.o bashhist.o 
bashline.o  list.o stringlib.o locale.o findcmd.o redir.o pcomplete.o 
pcomplib.o syntax.o xmalloc.o -lbuiltins -lsh -lreadline -lhistory -lcurses 
-lglob -ltilde -lmalloc  
ls -l bash
-rwxr-xr-x    1 root     root      2342327 Aug 10 05:46 bash
size bash
   text	   data	    bss	    dec	    hex	filename
 939913	  31184	  24600	 995697	  f3171	bash
</amin:message></amin:command>
	<amin:command name='make'>
		<amin:param>install</amin:param>
		<amin:shell 
name='dir'>/mnt/lfs/si/lsbsi-bootstrap/usr/src/bash-2.05b</amin:shell>
	<amin:message type='success'>Executing make install in 
/mnt/lfs/si/lsbsi-bootstrap/usr/src/bash-2.05b</amin:message><amin:message 
type='OUT'>
	  ***********************************************************
	  *                                                         *
	  * GNU bash, version 2.05b.0(1)-release (i686-pc-linux-gnu)
	  *                                                         *
	  ***********************************************************

/bin/install -c -m 0755 bash /mnt/lfs/si/lsbsi-bootstrap/bin/bash
/bin/install -c -m 0555 bashbug /mnt/lfs/si/lsbsi-bootstrap/bin/bashbug
( cd ./doc ; /usr/bin/make  \
	man1dir=/mnt/lfs/si/lsbsi-bootstrap/usr/man/man1 man1ext=.1 \
	man3dir=/mnt/lfs/si/lsbsi-bootstrap/usr/man/man3 man3ext=.3 \
	infodir=/mnt/lfs/si/lsbsi-bootstrap/usr/info htmldir= DESTDIR= install )
make[1]: Entering directory 
`/mnt/lfs/si/lsbsi-bootstrap/usr/src/bash-2.05b/doc'
test -d /mnt/lfs/si/lsbsi-bootstrap/usr/man/man1 || /bin/sh ../support/mkdirs 
/mnt/lfs/si/lsbsi-bootstrap/usr/man/man1
test -d /mnt/lfs/si/lsbsi-bootstrap/usr/info || /bin/sh ../support/mkdirs 
/mnt/lfs/si/lsbsi-bootstrap/usr/info
if test -n "" ; then \
	test -d  || /bin/sh ../support/mkdirs  ; \
fi
/bin/install -c -m 644 ./bash.1 
/mnt/lfs/si/lsbsi-bootstrap/usr/man/man1/bash.1
/bin/install -c -m 644 ./bashbug.1 
/mnt/lfs/si/lsbsi-bootstrap/usr/man/man1/bashbug.1
/bin/install -c -m 644 ./bashref.info 
/mnt/lfs/si/lsbsi-bootstrap/usr/info/bash.info
if /bin/sh -c 'install-info --version' >/dev/null 
2>&1; then \
	install-info --dir-file=/mnt/lfs/si/lsbsi-bootstrap/usr/info/dir 
/mnt/lfs/si/lsbsi-bootstrap/usr/info/bash.info; \
else true; fi
if test -n "" ; then \
	/bin/install -c -m 644 ./bash.html  ; \
	/bin/install -c -m 644 ./bashref.html  ; \
fi
make[1]: Leaving directory 
`/mnt/lfs/si/lsbsi-bootstrap/usr/src/bash-2.05b/doc'
( cd ./builtins ; /usr/bin/make  DESTDIR= install )
make[1]: Entering directory 
`/mnt/lfs/si/lsbsi-bootstrap/usr/src/bash-2.05b/builtins'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory 
`/mnt/lfs/si/lsbsi-bootstrap/usr/src/bash-2.05b/builtins'
</amin:message></amin:command>
	<amin:command name='link'>
		<amin:param name='source'>bash</amin:param>
                <amin:param name='target'>sh</amin:param>
                <amin:flag>sf</amin:flag>
                <amin:shell 
name='dir'>/mnt/lfs/si/lsbsi-bootstrap/bin</amin:shell>
	<amin:message type='success'>Creating a ln link from 
/mnt/lfs/si/lsbsi-bootstrap/bin/sh to bash.</amin:message></amin:command>
	<amin:command name='remove'>
		<amin:param name='target'>bash-2.05b</amin:param>
		<amin:flag>rf</amin:flag>
		<amin:shell name='dir'>/mnt/lfs/si/lsbsi-bootstrap/usr/src/</amin:shell>
	<amin:message type='success'>Removed bash-2.05b from 
/mnt/lfs/si/lsbsi-bootstrap/usr/src/</amin:message></amin:command>
</amin:profile>
</amin:log>




More information about the alfs-discuss mailing list