Exclude read() from truss

Bertram Scharpf lists at bertram-scharpf.de
Fri Dec 16 14:08:21 UTC 2016


there's another bug in the ports. I tried to fix it but
I cannot find where the termination happens.

  ===>   Registering installation for texlive-texmf-20150523_3
  [packager.bs.l] Installing texlive-texmf-20150523_3...
  pkg-static: Fail to create temporary file: /usr/local/share/texmf-dist/fonts/vf/huerta/alegreya/.AlegreyaSansSC-Thin-tosf-ly1.vf.QWG
  /usr/local/bin/mktexlsr: 1: Too many open files
  mktexlsr: Done.
  /usr/local/bin/mktexlsr: 1: Too many open files
  mktexlsr: Done.
  *** Error code 70

  make: stopped in /usr/ports/print/texlive-texmf

Although the mktexlsr fails this doesn't cause the termination.
I grepped /usr/ports/Mk and pkg-static for "*** Error code" but
did not find anything.

Next, I tried to call the make reinstall through truss, but
the unpacking of the archives logs all calls to the read()
system function what produces hundreds of megabytes of
output and never gets done.

Is there a way to tell truss to leave out the read() calls?
The standard /usr/bin/truss has no -t option.


Bertram Scharpf
Stuttgart, Deutschland/Germany

More information about the freebsd-questions mailing list