All of lore.kernel.org
 help / color / mirror / Atom feed
From: Scott Garman <scott.a.garman@intel.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: broken ncurses support for python
Date: Fri, 09 Mar 2012 20:57:01 -0800	[thread overview]
Message-ID: <4F5ADF1D.4050202@intel.com> (raw)
In-Reply-To: <4F58FF0A.6000400@intel.com>

On 03/08/2012 10:48 AM, Scott Garman wrote:
> On 03/06/2012 02:33 PM, Sergey Lapin wrote:
>>>>> breaks python ncurses support.
>>>>>
>>>>> Any ideas on proper fixing? For myself I revert this locally and
>>>>> everything works perfectly.
>>>>> (I think .so files and .a archives should be in usr/lib while .so
>>>>> can go to /lib which is not the case with current ncurses.)
>>>>> so mv in do_install should be sufficient, not --libdir=${base_libdir}.
>>>
>>>
>>> Could you be more specific about how python ncurses support is broken? I
>>> assume you're getting errors of unresolved symbols. If that's the
>>> case, you
>>> may need to rebuild the application so it links to ncurses from
>>> base_libdir.
>> No, python fails to find the library.
>> And it is bad practice to put develeopment files in /lib anyway.
>> I think, putting .so.x.x intu lib was sufficient instead of setting
>> whole libdir to /lib.
>> Or development files might be moved to /usr/lib back (and .so symlink
>> re-created
>> to address this).
>
> Thanks, I understand what you're saying now. I hope to look into this
> tomorrow and develop a fix; I've been away at a conference all week so far.

Thanks again Sergey for troubleshooting this and suggesting a solution. 
I filed bug #2070 to track this and have created the following fix for it:

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=sgarman/python-ncurses-fix&id=23c73da5f13b6c586353edb8143fa21058bf3a55

I'm going to queue up some build tests to run over the weekend and plan 
to submit this first thing on Monday should that go well.

Regards,

Scott

-- 
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center



  reply	other threads:[~2012-03-10  5:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-06 11:08 broken ncurses support for python Sergey Lapin
2012-03-06 13:06 ` Sergey Lapin
2012-03-06 19:20   ` Scott Garman
2012-03-06 22:33     ` Sergey Lapin
2012-03-08 18:48       ` Scott Garman
2012-03-10  4:57         ` Scott Garman [this message]
2012-03-10 11:06           ` Andreas Oberritter
2012-03-10 22:31             ` Scott Garman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F5ADF1D.4050202@intel.com \
    --to=scott.a.garman@intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.