All of lore.kernel.org
 help / color / mirror / Atom feed
* Pango multilib issue
@ 2012-04-26  7:53 Zhai, Edwin
  2012-04-27  8:20 ` Zhai, Edwin
  0 siblings, 1 reply; 4+ messages in thread
From: Zhai, Edwin @ 2012-04-26  7:53 UTC (permalink / raw)
  To: Richard Purdie; +Cc: Patches and discussions about the oe-core layer

RP,

I have found one common issues for multilib when system config file differ 
between multilibs.

https://bugzilla.yoctoproject.org/show_bug.cgi?id=2356
This bug caused by modules mechanism in pango:

pango utils, pango-querymodules produce a system config file to indicate where
to find the modules when 1st boot, like /usr/{lib64|lib}/pango/1.6.0/modules/
for {x86-64|lib32}-pango respectively. 

When installing lib32-pango on sato-image-qemux86-64, lib32 version of
pango-querymodules override x86-64 version and produce a system config file
with path for lib32 version of modules. Then x86-64 matchbox-desktop failed to
open these modules and loaded corrupted fonts.

To resolve this conflict, one possible solution is put the config file and 
binary under different dir: $LIBDIR for config file, and 
/usr/{libexec|lib64exec} for config binary(or create different dir under 
/usr/bin/ for different multilib)

Any comments for this?

Thanks,


-- 
best rgds,
edwin



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Pango multilib issue
  2012-04-26  7:53 Pango multilib issue Zhai, Edwin
@ 2012-04-27  8:20 ` Zhai, Edwin
  2012-04-27 10:45   ` Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Zhai, Edwin @ 2012-04-27  8:20 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

Any comments?
I'd like a agreement before any patch:)

Thanks,
Edwin


On Thu, Apr 26, 2012 at 03:53:22PM +0800, Zhai, Edwin wrote:
> RP,
> 
> I have found one common issues for multilib when system config file differ 
> between multilibs.
> 
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=2356
> This bug caused by modules mechanism in pango:
> 
> pango utils, pango-querymodules produce a system config file to indicate where
> to find the modules when 1st boot, like /usr/{lib64|lib}/pango/1.6.0/modules/
> for {x86-64|lib32}-pango respectively. 
> 
> When installing lib32-pango on sato-image-qemux86-64, lib32 version of
> pango-querymodules override x86-64 version and produce a system config file
> with path for lib32 version of modules. Then x86-64 matchbox-desktop failed to
> open these modules and loaded corrupted fonts.
> 
> To resolve this conflict, one possible solution is put the config file and 
> binary under different dir: $LIBDIR for config file, and 
> /usr/{libexec|lib64exec} for config binary(or create different dir under 
> /usr/bin/ for different multilib)
> 
> Any comments for this?
> 
> Thanks,
> 
> 
> -- 
> best rgds,
> edwin
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
best rgds,
edwin



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Pango multilib issue
  2012-04-27  8:20 ` Zhai, Edwin
@ 2012-04-27 10:45   ` Richard Purdie
  2012-04-28  1:15     ` Zhai, Edwin
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2012-04-27 10:45 UTC (permalink / raw)
  To: Zhai, Edwin; +Cc: Patches and discussions about the oe-core layer

On Fri, 2012-04-27 at 16:20 +0800, Zhai, Edwin wrote:
> Any comments?
> I'd like a agreement before any patch:)
> 
> Thanks,
> Edwin
> 
> 
> On Thu, Apr 26, 2012 at 03:53:22PM +0800, Zhai, Edwin wrote:
> > RP,
> > 
> > I have found one common issues for multilib when system config file differ 
> > between multilibs.
> > 
> > https://bugzilla.yoctoproject.org/show_bug.cgi?id=2356
> > This bug caused by modules mechanism in pango:
> > 
> > pango utils, pango-querymodules produce a system config file to indicate where
> > to find the modules when 1st boot, like /usr/{lib64|lib}/pango/1.6.0/modules/
> > for {x86-64|lib32}-pango respectively. 
> > 
> > When installing lib32-pango on sato-image-qemux86-64, lib32 version of
> > pango-querymodules override x86-64 version and produce a system config file
> > with path for lib32 version of modules. Then x86-64 matchbox-desktop failed to
> > open these modules and loaded corrupted fonts.
> > 
> > To resolve this conflict, one possible solution is put the config file and 
> > binary under different dir: $LIBDIR for config file, and 
> > /usr/{libexec|lib64exec} for config binary(or create different dir under 
> > /usr/bin/ for different multilib)
> > 
> > Any comments for this?

/libexec and /lib aren't really the correct locations for a
configuration file like this.

I think in the mutlilib cases I'd like to move the config file a
directory deeper so /etc/pango/${baselib}/pango.modules in the mutliib
cases. The standard system file would remain in its existing location.

Cheers,

Richard





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Pango multilib issue
  2012-04-27 10:45   ` Richard Purdie
@ 2012-04-28  1:15     ` Zhai, Edwin
  0 siblings, 0 replies; 4+ messages in thread
From: Zhai, Edwin @ 2012-04-28  1:15 UTC (permalink / raw)
  To: Richard Purdie; +Cc: Patches and discussions about the oe-core layer

On 04/27/2012 06:45 PM, Richard Purdie wrote:
> On Fri, 2012-04-27 at 16:20 +0800, Zhai, Edwin wrote:
>> Any comments?
>> I'd like a agreement before any patch:)
>>
>> Thanks,
>> Edwin
>>
>>
>> On Thu, Apr 26, 2012 at 03:53:22PM +0800, Zhai, Edwin wrote:
>>> RP,
>>>
>>> I have found one common issues for multilib when system config file differ
>>> between multilibs.
>>>
>>> https://bugzilla.yoctoproject.org/show_bug.cgi?id=2356
>>> This bug caused by modules mechanism in pango:
>>>
>>> pango utils, pango-querymodules produce a system config file to indicate where
>>> to find the modules when 1st boot, like /usr/{lib64|lib}/pango/1.6.0/modules/
>>> for {x86-64|lib32}-pango respectively.
>>>
>>> When installing lib32-pango on sato-image-qemux86-64, lib32 version of
>>> pango-querymodules override x86-64 version and produce a system config file
>>> with path for lib32 version of modules. Then x86-64 matchbox-desktop failed to
>>> open these modules and loaded corrupted fonts.
>>>
>>> To resolve this conflict, one possible solution is put the config file and
>>> binary under different dir: $LIBDIR for config file, and
>>> /usr/{libexec|lib64exec} for config binary(or create different dir under
>>> /usr/bin/ for different multilib)
>>>
>>> Any comments for this?
>
> /libexec and /lib aren't really the correct locations for a
> configuration file like this.
>
> I think in the mutlilib cases I'd like to move the config file a
> directory deeper so /etc/pango/${baselib}/pango.modules in the mutliib
> cases. The standard system file would remain in its existing location.


This is okay. We should use /usr/bin/${baselib}/pango-querymodules as well.


>
> Cheers,
>
> Richard
>
>




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-04-28  1:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-26  7:53 Pango multilib issue Zhai, Edwin
2012-04-27  8:20 ` Zhai, Edwin
2012-04-27 10:45   ` Richard Purdie
2012-04-28  1:15     ` Zhai, Edwin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.