Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Junqian Gordon Xu <xjqian@gmail.com>
To: Using OE <openembedded-users@lists.openembedded.org>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: openmoko-minimal-image fails to build because of popt dependency
Date: Thu, 03 Apr 2008 01:48:48 -0500	[thread overview]
Message-ID: <47F47DD0.7090702@gmail.com> (raw)
In-Reply-To: <c6144fd60804020757j5d41176cof723d8f7d2141849@mail.gmail.com>

On 04/02/2008 09:57 AM, Peter Haijen wrote:
> <mailto:openembedded-users@lists.openembedded.org>Hi there!
> 
> First of all, as a new user who recently discovered openembedded, I 
> would like to say thanks to everyone involved for creating such a great 
> and useful package!
> 
> Today I tried building openmoko-minimal-image (and several others) and 
> each time got stuck when trying to build popt.
> The linker (I think) complained about -liconv or something, I had to do 
> the following to get popt to compile:
> 
> #
> # old_revision [39f05de8480aa04acd8f165a3ab42754a631b206]
> #
> # patch "packages/popt/popt_1.13.bb <http://popt_1.13.bb>"
> #  from [03a1f329b8652f9c5184cc7433ba07a16a0a1400]
> #    to [b551153043b55ddaa4b476d05969066357e02f4d]
> #
> ============================================================
> --- packages/popt/popt_1.13.bb <http://popt_1.13.bb>  
> 03a1f329b8652f9c5184cc7433ba07a16a0a1400
> +++ packages/popt/popt_1.13.bb <http://popt_1.13.bb>  
> b551153043b55ddaa4b476d05969066357e02f4d
> @@ -1,6 +1,6 @@ require popt.inc
>  require popt.inc
>  
> -DEPENDS = "gettext virtual/libintl"
> +DEPENDS = "gettext virtual/libintl libiconv"
>  
>  PR = "r1"
> 
> 
> I was wondering, what the reason for the above error was - did I do 
> something wrong or is there an error in the current OE database?
> Is there some kind of 'stable' OE database available which I should use 
> in stead, if I do not want to live on the bleeding edge?

The -liconv was first introduced to fix uclibc builds. I've noticed this 
patch broke glibc builds. However, I thought utx fixed this in Revision: 
574e65dc4315f62dd912ceca4784d203ccc5fae0. But, I didn't clear my tmp and 
verify it.

Regarding your solution, the concern is that we don't want to add the 
unnecessary libiconv dependency for glibc builds.

Regards
Gordon


o |   -----------------------------------------------------------------
| |   Revision: 574e65dc4315f62dd912ceca4784d203ccc5fae0
| |   Ancestor: 599433cb8b718460bb75911904b246aa37cfa27d
| |   Author: utx@openembedded.org
| |   Date: 2008-03-26T22:28:24
| |   Branch: org.openembedded.dev
| |
| |   Modified files:
| |           packages/popt/popt-1.13/iconv.patch
| |
| |   ChangeLog:
| |
| |   Fix glibc build of popt-1.13
| |   * use AM_ICONV_LINK in iconv.patch
o |   (Revision: 599433cb8b718460bb75911904b246aa37cfa27d)
|/
o   -----------------------------------------------------------------
|   Revision: b7c384ae465079ec2295b2e95072191834385967
|   Ancestor: ead8fe4eb9f4a05e10d6ad072d127ba6aa6820f7
|   Author: woglinde2@openembedded.org
|   Date: 2008-03-25T20:59:41
|   Branch: org.openembedded.dev
|
|   Added files:
|           packages/popt/popt-1.13/iconv.patch
|   Added directories:
|           packages/popt/popt-1.13
|   Modified files:
|           packages/popt/popt_1.13.bb
|
|   ChangeLog:
|
|   pop-1.13: fix uclibc builds
|   * add iconv.patch so libpopt.la finds all symbols even for libicionv
|   * bump pr
o   (Revision: ead8fe4eb9f4a05e10d6ad072d127ba6aa6820f7)



       reply	other threads:[~2008-04-03  6:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <c6144fd60804020757j5d41176cof723d8f7d2141849@mail.gmail.com>
2008-04-03  6:48 ` Junqian Gordon Xu [this message]
2008-04-03  7:11   ` openmoko-minimal-image fails to build because of popt dependency Koen Kooi

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=47F47DD0.7090702@gmail.com \
    --to=xjqian@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=openembedded-users@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox