From owner-freebsd-questions@freebsd.org Fri Dec 16 23:27:50 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6B00EC832E8 for ; Fri, 16 Dec 2016 23:27:50 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.74]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C36DA1E55 for ; Fri, 16 Dec 2016 23:27:49 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from becker.bs.l ([85.180.6.214]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.145]) with ESMTPSA (Nemesis) id 0LdVtC-1d0gO71QLi-00ijlB for ; Sat, 17 Dec 2016 00:27:41 +0100 Received: from bsch by becker.bs.l with local (Exim 4.87 (FreeBSD)) (envelope-from ) id 1cI1ue-000LBe-PQ for freebsd-questions@freebsd.org; Sat, 17 Dec 2016 00:27:40 +0100 Date: Sat, 17 Dec 2016 00:27:40 +0100 From: Bertram Scharpf To: freebsd-questions@freebsd.org Subject: Re: Exclude read() from truss Message-ID: <20161216232740.GA80849@becker.bs.l> Mail-Followup-To: freebsd-questions@freebsd.org References: <20161216140812.GA73997@becker.bs.l> <20161216151438.GA62626@neutralgood.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20161216151438.GA62626@neutralgood.org> User-Agent: Mutt/1.7.1 (2016-10-04) Sender: Bertram Scharpf X-Provags-ID: V03:K0:vJGzuwZa3fWp00h1SJboIPVR+t++bV5YkaoPPu2FumLn8L8DpUT fpAyzDsjvTAxQVhU/Tl/hXjYWm2bdCSOR6usd1NBCBsZW52rnR4sW3qTP4YVGKLGYCwLJRU QkMntNFX+CzwUpGDAINU0fNJaeQYJMM9H6bwqDVJaBwFvw+UwouxIjqLuGQ7hY0yo5qGUkZ JtJa2EMl4oWD7NWNDt8Fw== X-UI-Out-Filterresults: notjunk:1;V01:K0:nsC8jmmafBo=:88IMhE2PVSawjMTLRFonJM if57BQL7b93KTaos/vn+APWiu1T7L1qUFkO04Y3EnSqRG3Qa/RG34rxsL7eKTFh+yLaX08MwX /4yUIUbtHL0QVfsy+wabuCbS+vc52CxDzreH68CmA6hoE4KvspNhwE19VC9VBxYnvVi5kTJSm MtKWtUC79IXCF3r0DoBkdGneFt03+5mr+D1Jc3r9DrQ9VMg1vmUET5G7FRSMA273rlaUcf+Vs 6eLSS/AeW/d3S6ae/17TZak/60i7JxEmuQx9bHB8PJTpt+1PAVS+wbR81Ve83egD3pRZX/v1R 7E2vaW6iZmaA2N9b4lwpKo/KTdfSm/vYPrEJrwdvJa7aTuusyztqI1tItCaRy5j+W9UTJZMpc wszVDj6A6iW/bT1FmV93JOeW5uqaxXVhqj6r0mDUMz9Cjl+za2HO0bMcv/rXZJlbcRurfXGZN +I+Sz2gc0BJhTsNb4UaBJRkdbWHjJaCu7i5qr+nwaNwseMYEDa4qNN12YxXcg2U8VnfmFyzd2 lYYJVdedwA8NwrYN8Kuo6e5IWiWKfPzvyQRENwwRZNiKnoktviJZrQ/OrKzVrGJQx3oFGZFM9 veLW5BcDjwhJkVBb/41lLEbC7vmBVcxA5Mc9A6o7PPML489vSmDG2o5UIxna7Ocv88fK4ncVQ y4kvtKjtJBpuYNexipYnRZKNBLjC5dUxNnhEcGkc4a+qrbkk/pLXXZJagbyVfi68+ALE= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2016 23:27:50 -0000 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