From owner-freebsd-gnome@FreeBSD.ORG Thu Jan 2 05:50:01 2014 Return-Path: Delivered-To: gnome@smarthost.ysv.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 81EF6927 for ; Thu, 2 Jan 2014 05:50:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5FFB8172B for ; Thu, 2 Jan 2014 05:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s025o1Nx044779 for ; Thu, 2 Jan 2014 05:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s025o19F044778; Thu, 2 Jan 2014 05:50:01 GMT (envelope-from gnats) Date: Thu, 2 Jan 2014 05:50:01 GMT Message-Id: <201401020550.s025o19F044778@freefall.freebsd.org> To: gnome@FreeBSD.org From: paul beard Subject: Re: ports/185252: pango can't find fonts X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: paul beard List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jan 2014 05:50:01 -0000 The following reply was made to PR ports/185252; it has been noted by GNATS. From: paul beard To: freebsd-gnats-submit , freebsd-ports-bugs@freebsd.org Cc: Subject: Re: ports/185252: pango can't find fonts Date: Wed, 1 Jan 2014 21:49:12 -0800 --089e0122f6ae689dd304eef65a69 Content-Type: text/plain; charset=UTF-8 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/ --089e0122f6ae689dd304eef65a69 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Not sure if this is a bug or just incorrect usage. non-roo= t users can invoke pango and get result. UID 0 cannot.=C2=A0

=

root:

41146: access("/usr/local/lib/libgmodule-2.0.so.0",0)= =3D 0 (0x0)

41146: open("/usr/local/lib/libgmodule-2.0.so.0",O_RDONLY,0277= 57761374) =3D 3 (0x3)

41146: open("../modules/pango.modules",O_RDONLY,0666) ERR#2 &#= 39;No such file or directory'


non-root:

41017: access("/usr/local/lib/libgmodule-2.0.so.0",0) =3D= 0 (0x0)

41017: open("/usr/local/lib/libgmodule-2.0.so.0",O_RDONLY,0277= 57761134) =3D 3 (0x3)

41017: open("/usr/local/lib/pango/1.8.0/modules.cache",O_RDONL= Y,0666) =3D 3 (0x3)

41017: open("/usr/local/etc/pango/pango.modules",O_RDONLY,0666= ) =3D 3 (0x3)

41017: stat("/usr/local/lib/pango/1.8.0/modules/pango-basic-fc.so&q= uot;,{ mode=3D-rwxr-xr-x ,inode=3D56008269,size=3D11499,blksize=3D16384 }) = =3D 0 (0x0)

41017: open("/usr/local/lib/pango/1.8.0/modules/pango-basic-fc.so&q= uot;,O_RDONLY,06361253337) =3D 3 (0x3)





On Sat, Dec 28, 201= 3 at 5:48 PM, paul beard <paulbeard@gmail.com> wrote:
If the font called by rrdto= ol (how I'm using this) is DejaVu [Serif|Sans] the result is an empty p= ng file but no complaining about the missing pango.modules file.=C2=A0

84476: access("/usr/local/lib/libgmodule-2.0.so.0",0) =3D 0 (0x0)=

84476: open("= /usr/local/lib/libgmodule-2.0.so.0",O_RDONLY,027757761234) =3D 3 (0x3)=


-rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 0 Dec 28 17:42 /usr/local/www/tes= t.png


<= p style=3D"margin:0px;font-size:11px;font-family:Menlo">Change it to Times,= Courier, whatever and get these results:=C2=A0


84842: access("/usr/l= ocal/lib/libgmodule-2.0.so.0",0) =3D 0 (0x0)

84842: open("/usr/local/lib/libgmodule-2.0.so.0",O_RDONLY,0277577= 61274) =3D 3 (0x3)

84842: open(&q= uot;../modules/pango.modules",O_RDONLY,0666) ERR#2 'No such file o= r directory'


-rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 13110 Dec 28 17:46 /usr/local/www= /test.png





On Sat, Dec 28,= 2013 at 1:40 PM, <FreeBSD-gnats-submit@freebsd.org>= ; 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=3D185252

>Category: =C2=A0 =C2=A0 =C2=A0 ports
>Responsible: =C2=A0 =C2=A0freebsd-ports-bugs
>Synopsis: =C2=A0 =C2=A0 =C2=A0 pango can't find fonts
>Arrival-Date: =C2=A0 Sat Dec 28 21:40:00 UTC 2013



--
Paul Beard / www.paulbeard.org/



--
Paul Beard /= www.paulbeard.org/
--089e0122f6ae689dd304eef65a69--