[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #44768] gdiffmk(1) is not Solaris 10 /bin/sh compatible - PATCH pro

From: Peter Bray
Subject: [bug #44768] gdiffmk(1) is not Solaris 10 /bin/sh compatible - PATCH provided
Date: Sat, 25 Apr 2015 01:32:40 +0000
User-agent: Mozilla/5.0 (X11; SunOS i86pc; rv:29.0) Gecko/20100101 Firefox/29.0

Follow-up Comment #16, bug #44768 (project groff):

Mike (& Werner),

As you suggested the script still does not run on Solaris 10
natively. See attached test-suite.log-Solaris10-sh-sed-diff.

  - Solaris 10 /bin/sh does not support test's -ef test
  - GNU sed is required, 
  - GNU diff is required for reasons mentioned in usage

Changing the script to #! /bin/bash fixes the script complaint about
test's -ef option. /bin/bash is standard on Solaris 10 (version
3.00.16 on Sun Solaris 10 Update 8 and version 3.2.51 on Oracle
Solaris 10 update 11) .

I have GNU sed compiled locally as gsed, and GNU diff as gdiff,
neither of these are normally available on Solaris 10.

If I make these changes to the build script (./gdiffmk) than re-run
"gmake check", I get a clean result

Changing gsed back to sed results in the attached
test-suite.log-Solaris10-sed-GNU-diff-bash, which shows that it is
more than the failure to parse one expression that Solaris sed(1) can
not handle. As per my previous suggestion, "Developed with GNU sed(1),
other implementations not verified"

The only remaining changes that could be applied are the previously
mentioned @BASH@, @DIFF@, @SED@ substitutions at build time. But I
think Mike can consider the script complete from his point of view.


(file #33777, file #33778)

Additional Item Attachment:

File name: test-suite.log-Solaris10-sh-sed-diff Size:2 KB
File name: test-suite.log-Solaris10-sed-GNU-diff-bash Size:2 KB


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]