From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jan 2 05:49:13 2014 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D32BD8F3; Thu, 2 Jan 2014 05:49:13 +0000 (UTC) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 95FCB1721; Thu, 2 Jan 2014 05:49:13 +0000 (UTC) Received: by mail-ig0-f170.google.com with SMTP id k19so40668971igc.1 for ; Wed, 01 Jan 2014 21:49:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=yoDdQARhvSCKjcRCgkhAdvQ6CT42UJyTiTsIuqKv604=; b=WBzgeInPhN+RQfsn7t8in7spwXXCYGV76Xqkr5Cqlgj2c/VSNHUyXAeJXLbHMhtg4H 7+TFqJRNsbea9PMIjI1gVdWrHj9TRc7bHiFYbvtrRE9o1vbsw0LMYYXmRUrgN0dZd9zS DWLls74FLDvJXLadYs6fN87TWa8m7dMaqyFrXROZhOFkztTmw5cq9GImT+icwfjryksZ PyRm3jexEjm0YrtgaHhID7sXvpkbbkzrzt8apMlrT68++xEvlypG2hckRn+lZYz0Uv34 zh3Lh2dxK5i6iGUtEyuhvbtOKeSwQOQi3aPsh5HUK9jlCZp3R2OMgGyqnxSNJB9BJAqG M2bw== MIME-Version: 1.0 X-Received: by 10.50.141.133 with SMTP id ro5mr68473088igb.35.1388641753012; Wed, 01 Jan 2014 21:49:13 -0800 (PST) Received: by 10.64.244.7 with HTTP; Wed, 1 Jan 2014 21:49:12 -0800 (PST) In-Reply-To: References: <20131228213858.4A775115A1@mail.thistledew.org> <201312282140.rBSLe0ZR035499@freefall.freebsd.org> Date: Wed, 1 Jan 2014 21:49:12 -0800 Message-ID: Subject: Re: ports/185252: pango can't find fonts From: paul beard To: freebsd-gnats-submit , freebsd-ports-bugs@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jan 2014 05:49:14 -0000 Not sure if this is a bug or just incorrect usage. non-root users can invoke pango and get result. UID 0 cannot. root: 41146: access("/usr/local/lib/libgmodule-2.0.so.0",0) = 0 (0x0) 41146: open("/usr/local/lib/libgmodule-2.0.so.0",O_RDONLY,027757761374) = 3 (0x3) 41146: open("../modules/pango.modules",O_RDONLY,0666) ERR#2 'No such file or directory' non-root: 41017: access("/usr/local/lib/libgmodule-2.0.so.0",0) = 0 (0x0) 41017: open("/usr/local/lib/libgmodule-2.0.so.0",O_RDONLY,027757761134) = 3 (0x3) 41017: open("/usr/local/lib/pango/1.8.0/modules.cache",O_RDONLY,0666) = 3 (0x3) 41017: open("/usr/local/etc/pango/pango.modules",O_RDONLY,0666) = 3 (0x3) 41017: stat("/usr/local/lib/pango/1.8.0/modules/pango-basic-fc.so",{ mode=-rwxr-xr-x ,inode=56008269,size=11499,blksize=16384 }) = 0 (0x0) 41017: open("/usr/local/lib/pango/1.8.0/modules/pango-basic-fc.so",O_RDONLY,06361253337) = 3 (0x3) On Sat, Dec 28, 2013 at 5:48 PM, paul beard wrote: > If the font called by rrdtool (how I'm using this) is DejaVu [Serif|Sans] > the result is an empty png file but no complaining about the missing > pango.modules file. > > 84476: access("/usr/local/lib/libgmodule-2.0.so.0",0) = 0 (0x0) > > 84476: open("/usr/local/lib/libgmodule-2.0.so.0",O_RDONLY,027757761234) = > 3 (0x3) > > -rw-r--r-- 1 root wheel 0 Dec 28 17:42 /usr/local/www/test.png > > > Change it to Times, Courier, whatever and get these results: > > > 84842: access("/usr/local/lib/libgmodule-2.0.so.0",0) = 0 (0x0) > > 84842: open("/usr/local/lib/libgmodule-2.0.so.0",O_RDONLY,027757761274) = > 3 (0x3) > > 84842: open("../modules/pango.modules",O_RDONLY,0666) ERR#2 'No such file > or directory' > > -rw-r--r-- 1 root wheel 13110 Dec 28 17:46 /usr/local/www/test.png > > > > > On Sat, Dec 28, 2013 at 1:40 PM, wrote: > >> Thank you very much for your problem report. >> It has the internal identification `ports/185252'. >> The individual assigned to look at your >> report is: freebsd-ports-bugs. >> >> You can access the state of your problem report at any time >> via this link: >> >> http://www.freebsd.org/cgi/query-pr.cgi?pr=185252 >> >> >Category: ports >> >Responsible: freebsd-ports-bugs >> >Synopsis: pango can't find fonts >> >Arrival-Date: Sat Dec 28 21:40:00 UTC 2013 >> > > > > -- > Paul Beard / www.paulbeard.org/ > -- Paul Beard / www.paulbeard.org/