[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
A possible bug during build.
From: |
George R Goffe |
Subject: |
A possible bug during build. |
Date: |
Fri, 1 Oct 2010 11:52:23 -0700 (PDT) |
Howdy,
I have a script that I use to build bash and other open source software. When I
unzip/tar the bash distribution file and run the script in the directory that
pops out, bash builds correctly (no make install yet). When I run the script
with NO changes, the build fails. Below is the tail end of the second log that
shows the error. If you need both logs I can send them, no problem. It's like
make distclean or make clean removes too many files, without either, the build
succeeds both times. I'm enclosing the script so you'll see my options.
Regards,
George...
o
o
o
rm -f stamp-poT
rm -f core core.* bash.po bash.1po bash.2po *.new.po
rm -fr *.o
make[1]: Leaving directory `/home/goffe/tools/bash/bash-4.1/po'
rm -f signames.h recho zecho printenv tests/recho tests/zecho tests/printenv
xcase tests/xcase mksignames lsignames.h mksyntax syntax.c bashversion
bashversion.o buildversion.o mksignames.o signames.o buildsignames.o
rc=$?
+ rc=0
if [ $rc = 0 ]
then
echo 'status of cmd='$rc'...'
else
echo 'status of cmd='$rc'...'
fi
+ '[' 0 = 0 ']'
+ echo 'status of cmd=0...'
make depend
+ make depend
status of cmd=0...
bash ./support/mkdep -c gcc -- -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"'
-DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"'
-DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/lsd/Linux/share/locale"'
-DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g
-O2 shell.c eval.c parse.y general.c make_cmd.c print_cmd.c y.tab.c
dispose_cmd.c execute_cmd.c variables.c version.c expr.c copy_cmd.c flags.c
subst.c hashcmd.c hashlib.c mailcheck.c test.c trap.c alias.c jobs.c nojobs.c
braces.c input.c bashhist.c array.c arrayfunc.c assoc.c sig.c pathexp.c
unwind_prot.c siglist.c bashline.c bracecomp.c error.c list.c stringlib.c
locale.c findcmd.c redir.c pcomplete.c pcomplib.c syntax.c xmalloc.c
bash: ./support/mkdep: No such file or directory
make: *** [depends] Error 127
rc=$?
+ rc=2
if [ $rc = 0 ]
then
echo 'status of cmd='$rc'...'
else
echo 'status of cmd='$rc'...'
fi
+ '[' 2 = 0 ']'
+ echo 'status of cmd=2...'
make -j $ncpus
+ make -j 1
status of cmd=2...
yacc -d ./parse.y
make: yacc: Command not found
make: *** [y.tab.c] Error 127
o
o
o
"It's not what you know that hurts you, It's what you know that ain't so." Wil
Rogers
mkconfig
Description: Binary data
- A possible bug during build.,
George R Goffe <=