Exclude read() from truss

Bertram Scharpf lists at bertram-scharpf.de
Fri Dec 16 23:27:50 UTC 2016


On Friday, 16. Dec 2016, 10:14:38 -0500, Kevin P. Neal wrote:
> On Fri, Dec 16, 2016 at 03:08:12PM +0100, Bertram Scharpf wrote:
> > 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.
> 
> That sounds like a error message from make. You can get debug output
> from make. Check the man page for details.

Ah, yes. It's emitted by Make. pkg-static exits with status
code 70 what is EX_SOFTWARE in "/usr/include/sysexits.h".
pkg uses these constants.

EX_SOFTWARE occurs in the source code 64 times. I probably can
ignore the code passages where an error message is generated.
But the majority is without a message. And there's the
truss/gdb problem again.

This package tool is a pain.

Bertram


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


More information about the freebsd-questions mailing list