OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003613 [texinfo] regular use block always 2009-04-03 13:14 2010-03-15 12:09
Reporter pfelecan View Status public  
Assigned To dam
Priority normal Resolution fixed  
Status closed  
Summary 0003613: 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
Additional Information
Tags No tags attached.
Attached Files ? file icon t.texi [^] (741 bytes) 2009-04-03 13:14

- Relationships

-  Notes
(0005937)
dam (administrator)
2009-04-09 16:10

Fixed in 4.13,REV=2009.04.09_rev=a, released to newpkgs/
(0005943)
dam (administrator)
2009-04-09 23:04

Released to current/
(0007474)
dam (administrator)
2010-02-18 15:23
edited on: 2010-02-18 15:23

[Rupert Thurner]
As standard solaris has bash installed, is it really necessary, that texinfo depends on cswbash?

It could depend on SUNWbash, but I don't know how common the installation of that one is. It should work, though.

(0007475)
pfelecan (developer)
2010-02-18 18:58

IMHO we should depend on our stuff at least for coherency reasons but also for freshness.
(0007649)
dam (administrator)
2010-03-15 12:09

No immediate change neeed, closing.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker