* Re: Testsuite: further observations
@ 2001-01-18 6:55 Christian Iseli
0 siblings, 0 replies; 6+ messages in thread
From: Christian Iseli @ 2001-01-18 6:55 UTC (permalink / raw)
To: pfeifer; +Cc: gcc
> When running the testsuite on a sparc-sun-solaris2.8 bix, I get the
> following error/warning (srcdir is /sw/test/gcc/gcc):
>
> Making check in libsupc++
> Making check in src
> chmod +x ./mkcheck
> ./mkcheck 0 `pwd` /sw/test/gcc/gcc/libstdc++-v3
> /usr/bin/env: No such file or directory
> *** Error code 127
> make: Warning: Target `check' not remade because of errors
> Current working directory /files/pfeifer/OBJ-0118-1246/sparc-sun-solaris2.8/libstdc++-v3
> *** Error code 1
>
> What might be the problem here? What should I check?
> Might this be a Sun make problem?
The line in mkcheck reads "#! /usr/bin/env bash", so I'd say you don't have bash
available on your box...
Just a guess, though.
Cheers,
Christian
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Testsuite: further observations
2001-01-18 8:44 ` Gerald Pfeifer
@ 2001-01-18 8:50 ` Gabriel Dos Reis
0 siblings, 0 replies; 6+ messages in thread
From: Gabriel Dos Reis @ 2001-01-18 8:50 UTC (permalink / raw)
To: Gerald Pfeifer
Cc: Florian Weimer, Christian Iseli, Robert Lipe, gcc, libstdc++
Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> writes:
[...]
| On Thu, 18 Jan 2001, Robert Lipe wrote:
| > mkcheck is a bash-only program. It doesn't work right on systems
| > without bash. Even if you fix up the '/usr/bin/env bash' stuff, it
| > still uses (or at least used to use) bash-specific nested function
| > syntax. One of the v3/codesourcery guys was converting it to use
| > DejaGNU.
|
| Hmm, any idea when this will be done? If this is not fixed soon, we
| should add a note to the documentation at < http://gcc.gnu.org/install >.
This night or tomorrow night.
-- Gaby
CodeSourcery, LLC http://www.codesourcery.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Testsuite: further observations
2001-01-18 7:02 ` Robert Lipe
@ 2001-01-18 8:44 ` Gerald Pfeifer
2001-01-18 8:50 ` Gabriel Dos Reis
0 siblings, 1 reply; 6+ messages in thread
From: Gerald Pfeifer @ 2001-01-18 8:44 UTC (permalink / raw)
To: Florian Weimer, Christian Iseli, Robert Lipe; +Cc: gcc, libstdc++
On 18 Jan 2001, Florian Weimer wrote:
> mkcheck starts with the following line:
>
> #!/usr/bin/env bash
On Thu, 18 Jan 2001, Christian Iseli wrote:
> The line in mkcheck reads "#! /usr/bin/env bash", so I'd say you don't
> have bash available on your box...
Right to the point. Boy, have I been blind! :-(
On Thu, 18 Jan 2001, Robert Lipe wrote:
> mkcheck is a bash-only program. It doesn't work right on systems
> without bash. Even if you fix up the '/usr/bin/env bash' stuff, it
> still uses (or at least used to use) bash-specific nested function
> syntax. One of the v3/codesourcery guys was converting it to use
> DejaGNU.
Hmm, any idea when this will be done? If this is not fixed soon, we
should add a note to the documentation at < http://gcc.gnu.org/install >.
Gerald
--
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Testsuite: further observations
2001-01-18 6:03 Gerald Pfeifer
2001-01-18 6:26 ` Florian Weimer
@ 2001-01-18 7:02 ` Robert Lipe
2001-01-18 8:44 ` Gerald Pfeifer
1 sibling, 1 reply; 6+ messages in thread
From: Robert Lipe @ 2001-01-18 7:02 UTC (permalink / raw)
To: Gerald Pfeifer; +Cc: gcc
Gerald Pfeifer wrote:
> When running the testsuite on a sparc-sun-solaris2.8 bix, I get the
> following error/warning (srcdir is /sw/test/gcc/gcc):
>
> Making check in libsupc++
> Making check in src
> chmod +x ./mkcheck
> ./mkcheck 0 `pwd` /sw/test/gcc/gcc/libstdc++-v3
> /usr/bin/env: No such file or directory
> *** Error code 127
mkcheck is a bash-only program. It doesn't work right on systems
without bash. Even if you fix up the '/usr/bin/env bash' stuff, it
still uses (or at least used to use) bash-specific nested function
syntax. One of the v3/codesourcery guys was converting it to use
DejaGNU.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Testsuite: further observations
2001-01-18 6:03 Gerald Pfeifer
@ 2001-01-18 6:26 ` Florian Weimer
2001-01-18 7:02 ` Robert Lipe
1 sibling, 0 replies; 6+ messages in thread
From: Florian Weimer @ 2001-01-18 6:26 UTC (permalink / raw)
To: Gerald Pfeifer; +Cc: gcc
Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> writes:
> ./mkcheck 0 `pwd` /sw/test/gcc/gcc/libstdc++-v3
> /usr/bin/env: No such file or directory
> *** Error code 127
> What might be the problem here? What should I check?
mkcheck starts with the following line:
#!/usr/bin/env bash
Obviously, on your Solaris box, 'env' is in /bin (or somewhere else).
('env' is used to look up the path for bash in the environment,
because this path differs from system to system.)
> Might this be a Sun make problem?
I don't think this is a likely cause.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Testsuite: further observations
@ 2001-01-18 6:03 Gerald Pfeifer
2001-01-18 6:26 ` Florian Weimer
2001-01-18 7:02 ` Robert Lipe
0 siblings, 2 replies; 6+ messages in thread
From: Gerald Pfeifer @ 2001-01-18 6:03 UTC (permalink / raw)
To: gcc
When running the testsuite on a sparc-sun-solaris2.8 bix, I get the
following error/warning (srcdir is /sw/test/gcc/gcc):
Making check in libsupc++
Making check in src
chmod +x ./mkcheck
./mkcheck 0 `pwd` /sw/test/gcc/gcc/libstdc++-v3
/usr/bin/env: No such file or directory
*** Error code 127
make: Warning: Target `check' not remade because of errors
Current working directory /files/pfeifer/OBJ-0118-1246/sparc-sun-solaris2.8/libstdc++-v3
*** Error code 1
What might be the problem here? What should I check?
Might this be a Sun make problem?
After that, the next problem is:
(rootme=`pwd`; export rootme; \
srcdir=`cd /sw/test/gcc/gcc/gcc; pwd` ; export srcdir ; \
cd testsuite; \
EXPECT=expect ; export EXPECT ; \
if [ -f ${rootme}/../expect/expect ] ; then \
TCL_LIBRARY=`cd .. ; cd /sw/test/gcc/gcc/gcc/../tcl/library ; pwd` ; \
export TCL_LIBRARY ; fi ; \
runtest --tool gcc )
WARNING: Couldn't find the global config file.
Test Run By pfeifer on Thu Jan 18 14:44:19 2001
Native configuration is sparc-sun-solaris2.8
=== gcc tests ===
The line
TCL_LIBRARY=`cd .. ; cd /sw/test/gcc/gcc/gcc/../tcl/library ; pwd`
looks extremely weird to me.
In fact, why do we want to set TCL_LIBRARY at all which I had already
set to /sw/test/gcc/dejagnu/share/tcl8.0 manually?
(Note that srcdir is /sw/test/gcc/gcc and I installed dejagnu to
/sw/test/gcc/dejagnu, so dejagnu does not reside within srcdir but
one level above.)
Gerald
--
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2001-01-18 8:50 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-18 6:55 Testsuite: further observations Christian Iseli
-- strict thread matches above, loose matches on Subject: below --
2001-01-18 6:03 Gerald Pfeifer
2001-01-18 6:26 ` Florian Weimer
2001-01-18 7:02 ` Robert Lipe
2001-01-18 8:44 ` Gerald Pfeifer
2001-01-18 8:50 ` Gabriel Dos Reis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).