[bug-notifications] [texinfo 0003613]: texi2dvi doesn't work with /bin/sh

Mantis Bug Tracker noreply at opencsw.org
Thu Apr 9 23:04:43 CEST 2009


The following issue has been CLOSED 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=3613 
====================================================================== 
Reported By:                pfelecan
Assigned To:                dam
====================================================================== 
Project:                    texinfo
Issue ID:                   3613
Category:                   regular use
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     closed
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-04-03 13:14 CEST
Last Modified:              2009-04-09 23:04 CEST
====================================================================== 
Summary:                    texi2dvi doesn't work with /bin/sh
Description: 
The texi2dvi script uses as its default command interpreter /bin/sh

A simple invocation on the attached texi source gives:

texi2dvi t.texi
/opt/csw/bin/texi2dvi: local: not found
/opt/csw/bin/texi2dvi: BSTINPUTS: not found

Using explicitely the Bash command interpreter works:

bash texi2dvi t.texi
This is pdfeTeXk, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
 file:line:error style messages enabled.
entering extended mode
(./t.texi (/opt/csw/share/texmf-dist/tex/texinfo/texinfo.tex
Loading texinfo [version 2005-01-30.17]: Basics, pdf, fonts, page
headings,
tables, conditionals, indexing, sectioning, toc, environments, defuns,
macros,
cross references, insertions,
(/opt/csw/share/texmf-dist/tex/generic/epsf/epsf.tex) localization,
and turning on texinfo input format.) (./t.aux) [-1] )
Output written on t.dvi (1 page, 228 bytes).
Transcript written on t.log.

This is probably a "linuxism" as:

/bin/sh --version
GNU bash, version 3.2.48(1)-release (i486-pc-linux-gnu)
Copyright (C) 2007 Free Software Foundation, Inc.

My suggestion is to patch all the shell scripts in your package and make
it depend on CSWbash

See the enclosed test case

====================================================================== 

---------------------------------------------------------------------- 
 (0005937) dam (manager) - 2009-04-09 16:10
 http://www.opencsw.org/mantis/view.php?id=3613#c5937 
---------------------------------------------------------------------- 
Fixed in 4.13,REV=2009.04.09_rev=a, released to newpkgs/ 

---------------------------------------------------------------------- 
 (0005943) dam (manager) - 2009-04-09 23:04
 http://www.opencsw.org/mantis/view.php?id=3613#c5943 
---------------------------------------------------------------------- 
Released to current/ 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-03 13:14 pfelecan       New Issue                                    
2009-04-03 13:14 pfelecan       File Added: t.texi                           
2009-04-09 15:01 dam            Status                   new => assigned     
2009-04-09 15:01 dam            Assigned To               => dam             
2009-04-09 16:10 dam            Note Added: 0005937                          
2009-04-09 16:10 dam            Status                   assigned => resolved
2009-04-09 16:10 dam            Resolution               open => fixed       
2009-04-09 23:04 dam            Note Added: 0005943                          
2009-04-09 23:04 dam            Status                   resolved => closed  
======================================================================




More information about the bug-notifications mailing list