dejagnu-1.4.4 build/check bug: path includes inexistent "dejagnu" directory

[email protected]
Newsgroups gmane.comp.sysutils.dejagnu.bugs
Message-ID <[email protected]>
Hi
Building/checking dejagnu-1.4.4 fails because config.guess
is called via a "dejagnu" directory which is not existent
(at least not in the distribution tarball):
    /build/dejagnu-1.4.4/dejagnu/../config.guess
and "21 unexpected failures" occur, exit with error.

Workaround:
    mkdir dejagnu-1.4.4/dejagnu

After creating this empty directory in the distribution,
all tests pass (but only after reconfiguring!):
# of expected passes		59

Greetings
Arto


System:     sparc-sun-solaris2.6
Compiler:   gcc-4.1.2

output from 'gmake check':
----------------------------------------------------------------
...
...
gmake[5]: Entering directory `/build/dejagnu-1.4.4_static-obj:test_g412-b2175020070420-g0-O3-mcpu=supersparc/testsuite'
Making a new site.exp file...
srcdir=`CDPATH="${ZSH_VERSION+.}:" && cd /build/dejagnu-1.4.4/./testsuite && pwd`; export srcdir; \
	EXPECT=expect; export EXPECT; \
	runtest=` if [ -f /build/dejagnu-1.4.4/./runtest ] ; then echo /build/dejagnu-1.4.4/./runtest; else echo "ERROR: runtest not found" ; exit 1; fi`; \
	if /bin/ksh -c "$runtest --version" > /dev/null 2>&1; then \
	  l='dejagnu'; for tool in $l; do \
	    $runtest  --srcdir $srcdir ; \
	  done; \
	else echo "WARNING: could not find \`runtest'" 1>&2; :;\
	fi
WARNING: Couldn't find the global config file.
WARNING: No tool specified
Test Run By anirkko on Wed May  2 15:23:25 2007
Native configuration is couldn't execute "/build/dejagnu-1.4.4/dejagnu/../config.guess": no such file or directory

		===  tests ===

Schedule of variations:
    unix

Running target unix
Using /build/dejagnu-1.4.4/testsuite/../config/base-config.exp as tool-and-target-specific interface file.
Using /build/dejagnu-1.4.4/config/unix.exp as generic interface file for target.
Using /build/dejagnu-1.4.4/testsuite/config/default.exp as tool-and-target-specific interface file.
Running /build/dejagnu-1.4.4/testsuite/libdejagnu/tunit.exp ...
Running /build/dejagnu-1.4.4/testsuite/runtest.all/libs.exp ...
Running /build/dejagnu-1.4.4/testsuite/runtest.all/options.exp ...
FAIL: Loading library files
FAIL: Bad argument
FAIL: Bad tool name
...
...
FAIL: unresolved
FAIL: unsupported

		===  Summary ===

# of expected passes		3
# of unexpected failures	21
gmake[5]: *** [check-DEJAGNU] Error 1
gmake[5]: Leaving directory
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.