[tex-k] cweave of 2020 distribution produces a trap 6 on my High Sierre mac pro

david bone bone_david at mac.com
Mon Feb 15 21:27:11 CET 2021


Macpro running high sierra 10.13.6


Here is the terminal output for cweave 2014 distribution showing it works  followed by its 2020 distribution giving trap 6 abort.

 davids-MBP:yacco2 bone_david$ /usr/local/texlive/2014/bin/x86_64-darwin/cweave --version
CWEAVE 3.64 (TeX Live 2014)
kpathsea version 6.2.0
Copyright 2014 Silvio Levy and Donald E. Knuth.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the CWEAVE copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the CWEAVE source.
Primary author of CWEAVE: Silvio Levy and Donald E. Knuth.

davids-MBP:yacco2 bone_david$ /usr/local/texlive/2014/bin/x86_64-darwin/cweave --help
Usage: cweave [OPTIONS] WEBFILE[.w] [{CHANGEFILE[.ch]|-} [OUTFILE[.tex]]]
  Weave WEBFILE with CHANGEFILE into a TeX document.
  Default CHANGEFILE is /dev/null;
  TeX output goes to the basename of WEBFILE extended with `.tex'
  unless otherwise specified by OUTFILE; in this case, '-' specifies
  a null CHANGEFILE.

-b          suppress banner line on terminal
-f          do not force a newline after every C statement in output
-h          suppress success message on completion
-p          suppress progress report messages
-x          omit indices and table of contents
+e          enclose C material in \PB{...}
+s          print usage statistics
--help      display this help and exit
--version   output version information and exit

Email bug reports to tex-k at tug.org.

==> working cweave 2014 example
davids-MBP:yacco2 bone_david$ /usr/local/texlive/2014/bin/x86_64-darwin/cweave README
This is CWEAVE, Version 3.64 (TeX Live 2014)
*1*2*3*4*5*6*7*8*9*10*11*12*13*14*15*16*17*18*19*20*21*22*23*24*25*26*27*28*29*30*31*32
Writing the output file...*1*2*3*4*5*6*7*8*9*10*11*12*13*14*15*16*17*18*19*20*21*22*23*24*25*26*27*28*29*30*31*32
Writing the index...
Done.
(No errors were found.)

===>
===> 2020 cweave Problem
===>
davids-MBP:yacco2 bone_david$ which cweave
/Library/TeX/texbin/cweave

davids-MBP:texbin bone_david$ /Library/TeX/texbin/cweave --version
CWEAVE 3.64 (TeX Live 2020)
kpathsea version 6.3.2
Copyright 2020 Silvio Levy and Donald E. Knuth.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the CWEAVE copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the CWEAVE source.
Primary author of CWEAVE: Silvio Levy and Donald E. Knuth.
Contemporary development on https://github.com/ascherer/cwebbin.
davids-MBP:texbin bone_david$ 

davids-MBP:texbin bone_david$ /Library/TeX/texbin/cweave --help
Usage: cweave [OPTIONS] WEBFILE[.w] [{CHANGEFILE[.ch]|-} [OUTFILE[.tex]]]
  Weave WEBFILE with CHANGEFILE into a TeX document.
  Default CHANGEFILE is /dev/null;
  TeX output goes to the basename of WEBFILE extended with `.tex'
  unless otherwise specified by OUTFILE; in this case, '-' specifies
  a null CHANGEFILE.

+b          print banner line on terminal
+h          print success message on completion
+p          print progress report messages
+/-q        shortcut for '-bhp'; also '--quiet' (default)
+/-v        shortcut for '+bhp'; also '--verbose'
-e          do not enclose C material in \PB{...}
-f          do not force a newline after every C statement in output
-i          suppress indentation of parameter declarations
-o          suppress separation of declarations and statements
-x          omit indices, section names, table of contents
+lX         use macros for language X as of Xcwebmac.tex
+s          print usage statistics
--help      display this help and exit
--version   output version information and exit

Email bug reports to tex-k at tug.org.

===>
===> Bug when using 2020 cweave program:
===>
davids-MBP:yacco2 bone_david$ /Library/TeX/texbin/cweave README
Abort trap: 6

davids-MBP:yacco2 bone_david$ 

For the moment i can use the 2014 version that works. This is part of my compiler/compiler project that i am making  current for open source distribution / 2021.
Yacco2 is currently on ctan re 2015.

If i can be of help please let me know.
Thank you for putting some eyes and ears to this.
Dave Bone




More information about the tex-k mailing list.