Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Dec 2016 00:27:40 +0100
From:      Bertram Scharpf <lists@bertram-scharpf.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: Exclude read() from truss
Message-ID:  <20161216232740.GA80849@becker.bs.l>
In-Reply-To: <20161216151438.GA62626@neutralgood.org>
References:  <20161216140812.GA73997@becker.bs.l> <20161216151438.GA62626@neutralgood.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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



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