dejagnu broken (at least according to gcc45)
Jack Howarth
howarth at bromo.med.uc.edu
Mon Apr 18 20:46:27 PDT 2011
Does the MacPorts dejagnu package work for anyone? Using a fresh installation of MacPorts
on Snow Leopard, if I execute...
sudo port -d -k install gcc45
sudo port install expect
sudo port install dejagnu
and 'cd' into the build directory from the gcc45 package build, I find that...
sudo csh
make -k check
doesn't work properly.
[MacPro:_Users_howarth_ports_lang_gcc45/work/build] root# make -k check
autogen -T ../../gcc-4.5.2/fixincludes/check.tpl ../../gcc-4.5.2/fixincludes/inclhack.def
make[2]: autogen: No such file or directory
make[2]: *** [check] Error 1
make[1]: *** [check-fixincludes] Error 2
test -d testsuite || mkdir testsuite
test -d testsuite/gcc || mkdir testsuite/gcc
(rootme=`${PWDCMD-pwd}`; export rootme; \
srcdir=`cd ../../gcc-4.5.2/gcc; ${PWDCMD-pwd}` ; export srcdir ; \
cd testsuite/gcc; \
rm -f tmp-site.exp; \
sed '/set tmpdir/ s|testsuite$|testsuite/gcc|' \
< ../../site.exp > tmp-site.exp; \
/bin/sh ${srcdir}/../move-if-change tmp-site.exp site.exp; \
EXPECT=`if [ -f ${rootme}/../expect/expect ] ; then echo ${rootme}/../expect/expect ; else echo expect ; fi` ; export EXPECT ; \
if [ -f ${rootme}/../expect/expect ] ; then \
TCL_LIBRARY=`cd .. ; cd ${srcdir}/../tcl/library ; ${PWDCMD-pwd}` ; \
export TCL_LIBRARY ; fi ; \
runtestflags= ; \
if [ -n "" ] ; then \
runtestflags=""; \
elif [ -n "" ] ; then \
parts="`echo ' ' \
| sed 's/=[^ ]* / /g'`"; \
for part in `find $srcdir/testsuite/gcc* -name \*.exp` ; do \
part=`basename $part` ; \
case " $parts $runtestflags " in \
*" $part "*) ;; \
*) runtestflags="$runtestflags $part" ;; \
esac ; \
done ; \
fi ; \
`if [ -f ${srcdir}/../dejagnu/runtest ] ; then echo ${srcdir}/../dejagnu/runtest ; else echo runtest; fi` --tool gcc $runtestflags)
WARNING: Couldn't find the global config file.
WARNING: Couldn't find tool init file
Test Run By root on Mon Apr 18 23:35:52 2011
Native configuration is x86_64-apple-darwin10
=== gcc tests ===
Schedule of variations:
unix
Running target unix
Using /opt/local/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /opt/local/share/dejagnu/config/unix.exp as generic interface file for target.
WARNING: Couldn't find tool config file for unix, using default.
etc. Any ideas on how to fix this?
Jack
More information about the macports-dev
mailing list