Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Dec 2016 15:08:12 +0100
From:      Bertram Scharpf <lists@bertram-scharpf.de>
To:        freebsd-questions@freebsd.org
Subject:   Exclude read() from truss
Message-ID:  <20161216140812.GA73997@becker.bs.l>

Next in thread | Raw E-Mail | Index | Archive | Help
Hi,

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

  Stop.
  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


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20161216140812.GA73997>