Mantis - ghostscript_filters
Viewing Issue Advanced Details
5290 minor always 2016-11-21 23:54 2016-11-22 08:38
baataboom  
dam  
normal  
confirmed  
open  
none    
none  
0005290: CUPS ghostscript filter refers to non-existent sed command
The following is found in the CUPS log file (/var/opt/csw/logs/cups/error_log) on Solaris 10.

/opt/csw/lib/cups/filter/gstopxl[143]: /opt/csw/bin/sed: not found

This sed command is referenced 15 times in the file.

I could not find any CSW package that installs sed in the above location.


I didn't see any other CUPS filters in that directory that used sed, so I'm going to modify the gstopxl filter to point to /bin/sed instead.
related to 0004913closed dam ghostscript pstopxl: Solaris /bin/sh cannot eval $( ), sed has not option -r 
Issue History
2016-11-21 23:54 baataboom New Issue
2016-11-22 00:17 baataboom Note Added: 0011218
2016-11-22 08:28 dam Status new => assigned
2016-11-22 08:28 dam Assigned To => dam
2016-11-22 08:36 dam Relationship added related to 0004913
2016-11-22 08:38 dam Note Added: 0011219
2016-11-22 08:38 dam Status assigned => confirmed

Notes
(0011218)
baataboom   
2016-11-22 00:17   
The attempted workaround regarding sed didn't work. It expects -E to be a valid option but it's isn't for /usr/bin/sed or /usr/xpg4/bin/sed. I've read that -E is valid on OSX and that it's an undocumented alias for -r on GNU sed.
(0011219)
dam   
2016-11-22 08:38   
This was introduced in the fix for 0004913
  https://buildfarm.opencsw.org/trac/browser/csw/mgar/pkg/ghostscript/trunk/files/0001-Use-ksh-and-GNU-sed-as-reported-in-4913.patch?rev=21288 [^]

This is obviously wrong as there is no /opt/csw/bin/sed. What is meant is /opt/csw/gnu/sed or /opt/csw/bin/gsed.