All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yusuke Mitsuki <mickey.happygolucky@gmail.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: openembeded-devel <openembedded-devel@lists.openembedded.org>
Subject: Re: [PATCH 1/6] anthy: Added libanthy-dev to PROVIDES_class-terget uim: Added libanthy-dev to DEPENDS_class-target
Date: Wed, 9 Aug 2017 10:43:05 +0900	[thread overview]
Message-ID: <CACMwXoU5zrrQPuemej7sn38v=V9Ak3Q3_P1HBuFFKi_nQ11CAw@mail.gmail.com> (raw)
In-Reply-To: <CAMKF1sqED+uoO3+RnOk9R6JHjT79m_tx+_YBRVXAuaC+_LOqBQ@mail.gmail.com>

Hello Khem

I tried that reverted this patch(Added libanthy-dev to PROVIDES_class-terget
uim: Added libanthy-dev to DEPENDS_class-targe) and added ALLOW_EMPTY_${PN}
= "1".
However config.log say "conftest.c:65:25: fatal error: anthy/anthy.h: No
such file or directory"
It means uim-anthy feature is dropped. uim-anthy could not created
correctly.

I want to avoid that uim-anthy feature dropping at configure script.

What should I do?

Thanks


2017-08-09 10:16 GMT+09:00 Khem Raj <raj.khem@gmail.com>:

> On Tue, Aug 8, 2017 at 6:00 PM, Yusuke Mitsuki
> <mickey.happygolucky@gmail.com> wrote:
> > Hello Khem
> >
> > Sorry I cannot understand...
> >
> > Are you saying to allow empty for anthy package?
> >
>
> yes whichever recipe is providing libanthy-dev add it there.
>
> > I want to use uim-anthy package in order to input Japanese on the
> machine.
> > I think that it will be a problem if these are empty packages.
> >
> > I see that the dependency is not accurate.
> > anthy recipe seems a bit strange.
> > Most of the definitions are in the subpackage.
> > It seems that neither anthy-dev nor anthy-dbg has any meaning.
> >
> > Thanks.
> >
> >
> >
> > 2017-08-09 9:40 GMT+09:00 Khem Raj <raj.khem@gmail.com>:
> >>
> >> On Tue, Aug 8, 2017 at 5:33 PM, Yusuke Mitsuki
> >> <mickey.happygolucky@gmail.com> wrote:
> >> > Hello Khem
> >> >
> >> > Are you saying that  libanthy-dev is not need and anthy only is
> >> > sufficient?
> >> >
> >> > anthy is in DEPENDS already. BUT it is not sufficient.
> >> > If libanthy-dev is not in DEPENDS_class-target, do_configure will not
> be
> >> > failed.
> >>
> >> that means the dependency is not accurate. can you add
> >>
> >> ALLOW_EMPTY_${PN} = "1"
> >>
> >> to anthy recipe and see if that helps ?
> >>
> >> >
> >> > However config.log say like as follows:
> >> >
> >> > -----
> >> > configure:20054: checking anthy/anthy.h usability
> >> > configure:20054: i586-poky-linux-gcc -m32 -march=i586
> >> >
> >> > --sysroot=/home/y-mitsuki/yocto/build_keyboard/tmp/work/
> i586-poky-linux/uim/1.8.6-r0/recipe-sysroot
> >> > -c  -O2 -pipe -g -feliminate-unused-debug-types
> >> >
> >> > -fdebug-prefix-map=/home/y-mitsuki/yocto/build_keyboard/
> tmp/work/i586-poky-linux/uim/1.8.6-r0=/usr/src/debug/uim/1.8.6-r0
> >> >
> >> > -fdebug-prefix-map=/home/y-mitsuki/yocto/build_keyboard/
> tmp/work/i586-poky-linux/uim/1.8.6-r0/recipe-sysroot-native=
> >> >
> >> > -fdebug-prefix-map=/home/y-mitsuki/yocto/build_keyboard/
> tmp/work/i586-poky-linux/uim/1.8.6-r0/recipe-sysroot=
> >> > conftest.c >&5
> >> > conftest.c:65:25: fatal error: anthy/anthy.h: No such file or
> directory
> >> > #include <anthy/anthy.h>
> >> > -----
> >> >
> >> > Then uim-anthy is not created.
> >> > In order to build uim-anthy, anthy.h is need but it is not installed
> >> > into
> >> > recipes-sysroot.
> >> > anthy.h is incluced libanthy-dev not anthy.
> >> >
> >> > Therefor I think libanthy-dev is need.
> >> >
> >> > Let me know you opinions?
> >> >
> >> > 2017-08-08 12:48 GMT+09:00 Khem Raj <raj.khem@gmail.com>:
> >> >>
> >> >>
> >> >> On Mon, Aug 7, 2017 at 6:00 PM Yusuke Mitsuki
> >> >> <mickey.happygolucky@gmail.com> wrote:
> >> >>>
> >> >>> anthy.h could not found at confiugre of uim.
> >> >>> Dependency broke since it began to use recipes-sysroot.
> >> >>>
> >> >>> Signed-off-by: Yusuke Mitsuki <mickey.happygolucky@gmail.com>
> >> >>> ---
> >> >>>  meta-oe/recipes-support/anthy/anthy_9100h.bb | 1 +
> >> >>>  meta-oe/recipes-support/uim/uim_1.8.6.bb     | 2 +-
> >> >>>  2 files changed, 2 insertions(+), 1 deletion(-)
> >> >>>
> >> >>> diff --git a/meta-oe/recipes-support/anthy/anthy_9100h.bb
> >> >>> b/meta-oe/recipes-support/anthy/anthy_9100h.bb
> >> >>> index a65d324..c507ad7 100644
> >> >>> --- a/meta-oe/recipes-support/anthy/anthy_9100h.bb
> >> >>> +++ b/meta-oe/recipes-support/anthy/anthy_9100h.bb
> >> >>> @@ -18,6 +18,7 @@ SRC_URI[sha256sum] =
> >> >>> "d256f075f018b4a3cb0d165ed6151fda4ba7db1621727e0eb54569b6e2
> >> >>>
> >> >>>  DEPENDS_class-target = "anthy-native"
> >> >>>  RDEPENDS_${PN}_class-target = "libanthy0"
> >> >>> +PROVIDES_class-target = "libanthy-dev"
> >> >>
> >> >>
> >> >> This seems redundant
> >> >>
> >> >>>
> >> >>>
> >> >>>  inherit autotools pkgconfig
> >> >>>
> >> >>> diff --git a/meta-oe/recipes-support/uim/uim_1.8.6.bb
> >> >>> b/meta-oe/recipes-support/uim/uim_1.8.6.bb
> >> >>> index ed846b9..4cb7b62 100644
> >> >>> --- a/meta-oe/recipes-support/uim/uim_1.8.6.bb
> >> >>> +++ b/meta-oe/recipes-support/uim/uim_1.8.6.bb
> >> >>> @@ -14,7 +14,7 @@ SRC_URI[md5sum] = "ecea4c597bab1fd4ba98ea84edcece
> 59"
> >> >>>  SRC_URI[sha256sum] =
> >> >>> "7b1ea803c73f3478917166f04f67cce6e45ad7ea5ab6df99b948c17eb1cb235f"
> >> >>>
> >> >>>  DEPENDS = "anthy fontconfig libxft libxt glib-2.0 ncurses intltool"
> >> >>> -DEPENDS_class-target += "intltool-native gtk+ gtk+3 uim-native
> >> >>> takao-fonts"
> >> >>> +DEPENDS_class-target += "intltool-native gtk+ gtk+3 uim-native
> >> >>> takao-fonts libanthy-dev"
> >> >>
> >> >>
> >> >> It should say anthy not libanthy-dev
> >> >>>
> >> >>>
> >> >>>  RDEPENDS_uim = "libuim0 libedit"
> >> >>>  RDEPENDS_uim-anthy = "takao-fonts anthy libanthy0"
> >> >>> --
> >> >>> 2.7.4
> >> >>>
> >> >>> --
> >> >>> _______________________________________________
> >> >>> Openembedded-devel mailing list
> >> >>> Openembedded-devel@lists.openembedded.org
> >> >>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> >> >
> >> >
> >
> >
>


  reply	other threads:[~2017-08-09  1:43 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-08  0:59 [PATCH 0/6] Fix uim recipe's problems Yusuke Mitsuki
2017-08-08  0:59 ` [PATCH 1/6] anthy: Added libanthy-dev to PROVIDES_class-terget uim: Added libanthy-dev to DEPENDS_class-target Yusuke Mitsuki
2017-08-08  3:48   ` Khem Raj
2017-08-09  0:44     ` Yusuke Mitsuki
     [not found]     ` <CACMwXoVyzWqadsAsjpghRFT10XfFPYtZmua_T=_fNcE8Rmmt-w@mail.gmail.com>
     [not found]       ` <CAMKF1so1wecDyNMU70hNHhco2v69Qb3hOLWfsHfaOkjGtuRPUw@mail.gmail.com>
2017-08-09  1:00         ` Yusuke Mitsuki
2017-08-09  1:16           ` Khem Raj
2017-08-09  1:43             ` Yusuke Mitsuki [this message]
2017-08-09 14:40               ` Yusuke Mitsuki
2017-08-09 23:58                 ` Martin Jansa
2017-08-10  1:38                   ` Khem Raj
2017-08-10 14:27                   ` Yusuke Mitsuki
2017-08-10 16:20                     ` Martin Jansa
2017-08-08  0:59 ` [PATCH 2/6] uim: Modified the order of package definition Yusuke Mitsuki
2017-08-08  0:59 ` [PATCH 3/6] uim: Added glibc-utils and glibc-gconv-euc-jp to RDEPENDS_uim-anthy Yusuke Mitsuki
2017-08-08  0:59 ` [PATCH 4/6] uim: Removed pkg_postinst_uim-common/pkg_prerm_uim-common Yusuke Mitsuki
2017-08-08  0:59 ` [PATCH 5/6] uim: Fixed pkg_postinst_*/pkg_prerm_* for uim-anthy and uim-skk Yusuke Mitsuki
2017-08-08  0:59 ` [PATCH 6/6] uim: Fixed a problem that an immodule.cache is not updated appropriately when uim-gtk2.0 or uim-gtk3 was installed Yusuke Mitsuki
2017-08-08 19:21   ` Svein Seldal

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='CACMwXoU5zrrQPuemej7sn38v=V9Ak3Q3_P1HBuFFKi_nQ11CAw@mail.gmail.com' \
    --to=mickey.happygolucky@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    /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.