Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jan 2014 21:49:12 -0800
From:      paul beard <paulbeard@gmail.com>
To:        freebsd-gnats-submit <FreeBSD-gnats-submit@freebsd.org>, freebsd-ports-bugs@freebsd.org
Subject:   Re: ports/185252: pango can't find fonts
Message-ID:  <CAMtcK2q_EVhfET=UrMKfNUaSUmOXJSEKybYWFa%2Bgp-Fd%2B%2BMg3Q@mail.gmail.com>
In-Reply-To: <CAMtcK2pdrUzn01nfYieaDNqQxNSfyx=suWMaFqDNhc2kSeo%2B-w@mail.gmail.com>
References:  <20131228213858.4A775115A1@mail.thistledew.org> <201312282140.rBSLe0ZR035499@freefall.freebsd.org> <CAMtcK2pdrUzn01nfYieaDNqQxNSfyx=suWMaFqDNhc2kSeo%2B-w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <paulbeard@gmail.com> 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, <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=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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMtcK2q_EVhfET=UrMKfNUaSUmOXJSEKybYWFa%2Bgp-Fd%2B%2BMg3Q>