GNU bug report logs - #47382
runtest doesn't work with Solaris 10 /bin/sh

Previous Next

Package: dejagnu;

Reported by: Rainer Orth <ro <at> CeBiTec.Uni-Bielefeld.DE>

Date: Thu, 25 Mar 2021 10:34:01 UTC

Owned by: jcb62281 <at> gmail.com

Severity: normal

Done: Jacob Bachmeyer <jcb62281 <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: jcb62281 <at> gmail.com
Cc: tracker <at> debbugs.gnu.org
Subject: bug#47382: closed (runtest doesn't work with Solaris 10 /bin/sh)
Date: Fri, 04 Jun 2021 04:13:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 03 Jun 2021 23:12:18 -0500
with message-id <60B9A822.2080101 <at> gmail.com>
and subject line Re: bug#47382: runtest doesn't work with Solaris 10 /bin/sh
has caused the debbugs.gnu.org bug report #47382,
regarding runtest doesn't work with Solaris 10 /bin/sh
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
47382: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=47382
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Rainer Orth <ro <at> CeBiTec.Uni-Bielefeld.DE>
To: bug-dejagnu <at> gnu.org
Subject: runtest doesn't work with Solaris 10 /bin/sh
Date: Thu, 25 Mar 2021 11:33:02 +0100
When trying DejaGnu 1.6.3 rc1 on Solaris 10, it failed immediately with:

runtest: syntax error at line 43: `execpath=$' unexpected

The script hardcodes #!/bin/sh, but the Solaris 10 /bin/sh is
effectively the old Bourne Shell and doesn't support $().

There are several options, I believe:

* Substitute a shell that does (like /bin/ksh in the Solaris 10 case).

* Rework the script to avoid the construct.

* Give up in horror and declare Solaris 10 unsupported, preferably with
  a decent error message at configure time.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


[Message part 3 (message/rfc822, inline)]
From: Jacob Bachmeyer <jcb62281 <at> gmail.com>
To: Rainer Orth <ro <at> CeBiTec.Uni-Bielefeld.DE>
Cc: 47382-done <at> debbugs.gnu.org
Subject: Re: bug#47382: runtest doesn't work with Solaris 10 /bin/sh
Date: Thu, 03 Jun 2021 23:12:18 -0500
This seems to be resolved as of 1.6.3-rc5, with all tests now passing on 
the gcc210 node at the GCC compile farm.

-- Jacob


This bug report was last modified 3 years and 352 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.