* got error while trying to pull the krb5 package into poky
@ 2011-03-01 10:45 v sailaja
2011-03-01 16:05 ` Mark Hatle
2011-03-02 4:45 ` Lu, Lianhao
0 siblings, 2 replies; 12+ messages in thread
From: v sailaja @ 2011-03-01 10:45 UTC (permalink / raw)
To: Lu, Lianhao, Tian, Kevin, poky
[-- Attachment #1: Type: text/plain, Size: 2093 bytes --]
Hi,
I tried with the following
bitbake krb5 -c cleanall
bitbake krb5
But again I am getting the same error and krb5 rpm file is not generated at
tmp/deploy/rpm.
The value is
*PACKAGE_CLASSES ?= "package_rpm package_ipk"*
*
error:*
Generating solve db for
/home/sailaja/poky-chrome/build/tmp/deploy/rpm/atom-pc...
| total: 1 0.000000 MB 0.871674 secs
| order: 1 0.000000 MB 0.090471 secs
| fingerprint: 537 0.007286 MB 0.081155 secs
| install: 278 0.000000 MB 0.179576 secs
| dbadd: 278 0.000000 MB 0.081411 secs
| dbget: 8678 1.128312 MB 0.016757 secs
| dbput: 5035 2.213572 MB 0.020290 secs
| readhdr: 2781 2.267168 MB 0.206626 secs
| hdrload: 194461 256.103876 MB 1.118980 secs
| hdrget: 3861605 0.000000 MB 6.181097 secs
| *Processing krb5...
| Unable to find package krb5!
| ERROR: Task failed: ('function do_rootfs failed',
'/home/sailaja/poky-chrome/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-akshat-1.0-r0/temp/log.do_rootfs.9313')
NOTE: package poky-image-minimal-akshat-1.0-r0: task do_rootfs: Failed*
ERROR: Task 179 (/home/sailaja/poky-chrome/meta/recipes-core/images/
poky-image-minimal-akshat.bb, do_rootfs) failed with 1
ERROR: '/home/sailaja/poky-chrome/meta/recipes-core/images/
poky-image-minimal-akshat.bb' failed
Please help me in finding the solution.
Any help would be greatly apprecited.
Thanks & Regards,
SAI
Hi SAI,
>
>
>
> Please try the following to rebuild the krb5 to see if the rpm is
> generated:
>
>
>
> - bitbake krb5 -c cleanall
>
> - bitbake krb5
>
>
>
> This should generate the rpm file under the directory of “tmp/deploy/rpm”.
>
>
>
> b.t.w. what’s the value set to the variable PACKAGE_CLASSES in your
> conf/local.conf?
>
>
>
> Best Regards,
>
> Lianhao Lu
>
>
[-- Attachment #2: Type: text/html, Size: 5431 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: got error while trying to pull the krb5 package into poky 2011-03-01 10:45 got error while trying to pull the krb5 package into poky v sailaja @ 2011-03-01 16:05 ` Mark Hatle 2011-03-02 4:45 ` Lu, Lianhao 1 sibling, 0 replies; 12+ messages in thread From: Mark Hatle @ 2011-03-01 16:05 UTC (permalink / raw) To: v sailaja; +Cc: poky On 3/1/11 4:45 AM, v sailaja wrote: > Hi, > > I tried with the following > > > bitbake krb5 -c cleanall > bitbake krb5 > But again I am getting the same error and krb5 rpm file is not generated at > tmp/deploy/rpm. > > > The value is > > *PACKAGE_CLASSES ?= "package_rpm package_ipk"* > > * > error:* > Generating solve db for /home/sailaja/poky-chrome/build/tmp/deploy/rpm/atom-pc... > | total: 1 0.000000 MB 0.871674 secs > | order: 1 0.000000 MB 0.090471 secs > | fingerprint: 537 0.007286 MB 0.081155 secs > | install: 278 0.000000 MB 0.179576 secs > | dbadd: 278 0.000000 MB 0.081411 secs > | dbget: 8678 1.128312 MB 0.016757 secs > | dbput: 5035 2.213572 MB 0.020290 secs > | readhdr: 2781 2.267168 MB 0.206626 secs > | hdrload: 194461 256.103876 MB 1.118980 secs > | hdrget: 3861605 0.000000 MB 6.181097 secs > | *Processing krb5... > | Unable to find package krb5! > | ERROR: Task failed: ('function do_rootfs failed', The error may not be completely clear, but this means that there is no package in tmp/deploy/rpm/* called "krb5". In otherwords, there is a package requirement that is not being met. Figure out where the requirement is coming from and that will lead you toward a possible cause. rpm --qf "[%{NAME} %{REQUIRES}\n]" -qp <packages> That will list the name of the package, followed by a requirement. This should allow you to figure out what is requiring krb5.. --Mark > '/home/sailaja/poky-chrome/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-akshat-1.0-r0/temp/log.do_rootfs.9313') > NOTE: package poky-image-minimal-akshat-1.0-r0: task do_rootfs: Failed* > ERROR: Task 179 > (/home/sailaja/poky-chrome/meta/recipes-core/images/poky-image-minimal-akshat.bb > <http://poky-image-minimal-akshat.bb/>, do_rootfs) failed with 1 > ERROR: > '/home/sailaja/poky-chrome/meta/recipes-core/images/poky-image-minimal-akshat.bb > <http://poky-image-minimal-akshat.bb/>' failed > > > > Please help me in finding the solution. > Any help would be greatly apprecited. > > Thanks & Regards, > SAI > > > > > > > > > Hi SAI, > > > > Please try the following to rebuild the krb5 to see if the rpm is generated: > > > > - bitbake krb5 -c cleanall > > - bitbake krb5 > > > > This should generate the rpm file under the directory of “tmp/deploy/rpm”. > > > > b.t.w. what’s the value set to the variable PACKAGE_CLASSES in your > conf/local.conf? > > > > Best Regards, > > Lianhao Lu > > > > > > _______________________________________________ > poky mailing list > poky@yoctoproject.org > https://lists.yoctoproject.org/listinfo/poky ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: got error while trying to pull the krb5 package into poky 2011-03-01 10:45 got error while trying to pull the krb5 package into poky v sailaja 2011-03-01 16:05 ` Mark Hatle @ 2011-03-02 4:45 ` Lu, Lianhao 2011-03-02 11:35 ` v sailaja 1 sibling, 1 reply; 12+ messages in thread From: Lu, Lianhao @ 2011-03-02 4:45 UTC (permalink / raw) To: v sailaja, Tian, Kevin, poky@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 2716 bytes --] Hi SAI, Does the "bitbake krb5" succeed? If it does, the rpm file it generated should be under the directory tmp/deploy/rpm/core2 if you set MACHINE to atom-pc in conf/local.conf. Or you may check at the directory "/home/sailaja/poky-chrome/build/tmp/work/core2-poky-linux/krb5-1.6.3-r6/deploy-rpms", the RPM file is actually created here and later gets copied to tmp/deploy/rpm. Best Regards, Lianhao From: v sailaja [mailto:vsailub4u@gmail.com] Sent: Tuesday, March 01, 2011 6:46 PM To: Lu, Lianhao; Tian, Kevin; poky@yoctoproject.org Subject: got error while trying to pull the krb5 package into poky Hi, I tried with the following bitbake krb5 -c cleanall bitbake krb5 But again I am getting the same error and krb5 rpm file is not generated at tmp/deploy/rpm. The value is PACKAGE_CLASSES ?= "package_rpm package_ipk" error: Generating solve db for /home/sailaja/poky-chrome/build/tmp/deploy/rpm/atom-pc... | total: 1 0.000000 MB 0.871674 secs | order: 1 0.000000 MB 0.090471 secs | fingerprint: 537 0.007286 MB 0.081155 secs | install: 278 0.000000 MB 0.179576 secs | dbadd: 278 0.000000 MB 0.081411 secs | dbget: 8678 1.128312 MB 0.016757 secs | dbput: 5035 2.213572 MB 0.020290 secs | readhdr: 2781 2.267168 MB 0.206626 secs | hdrload: 194461 256.103876 MB 1.118980 secs | hdrget: 3861605 0.000000 MB 6.181097 secs | Processing krb5... | Unable to find package krb5! | ERROR: Task failed: ('function do_rootfs failed', '/home/sailaja/poky-chrome/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-akshat-1.0-r0/temp/log.do_rootfs.9313') NOTE: package poky-image-minimal-akshat-1.0-r0: task do_rootfs: Failed ERROR: Task 179 (/home/sailaja/poky-chrome/meta/recipes-core/images/poky-image-minimal-akshat.bb<http://poky-image-minimal-akshat.bb/>, do_rootfs) failed with 1 ERROR: '/home/sailaja/poky-chrome/meta/recipes-core/images/poky-image-minimal-akshat.bb<http://poky-image-minimal-akshat.bb/>' failed Please help me in finding the solution. Any help would be greatly apprecited. Thanks & Regards, SAI Hi SAI, Please try the following to rebuild the krb5 to see if the rpm is generated: - bitbake krb5 -c cleanall - bitbake krb5 This should generate the rpm file under the directory of "tmp/deploy/rpm". b.t.w. what's the value set to the variable PACKAGE_CLASSES in your conf/local.conf? Best Regards, Lianhao Lu [-- Attachment #2: Type: text/html, Size: 14798 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: got error while trying to pull the krb5 package into poky 2011-03-02 4:45 ` Lu, Lianhao @ 2011-03-02 11:35 ` v sailaja 2011-03-02 11:45 ` Richard Purdie 2011-03-02 11:50 ` Gary Thomas 0 siblings, 2 replies; 12+ messages in thread From: v sailaja @ 2011-03-02 11:35 UTC (permalink / raw) To: Lu, Lianhao, poky [-- Attachment #1: Type: text/plain, Size: 4640 bytes --] Hi Lianhao, There are *krb5-dev-1.6.3-r6.core2.rpm* and *krb5-dbg-1.6.3-r6.core2.rpm* in /home/sailaja/poky-chrome/build/tmp/work/core2-poky-linux/krb5-1.6.3-r6/deploy-rpms . But there is* no specific rpm on krb5* like * krb5-1.6.3-r6.rpm*. Again its showing an error as follows: *error:* readhdr: 2781 2.267168 MB 0.206626 secs | hdrload: 194461 256.103876 MB 1.118980 secs | hdrget: 3861605 0.000000 MB 6.181097 secs | *Processing krb5... | Unable to find package krb5! | ERROR: Task failed: ('function do_rootfs failed', '/home/sailaja/poky-chrome/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-akshat-1.0-r0/temp/log.do_rootfs.9313') NOTE: package poky-image-minimal-akshat-1.0-r0: task do_rootfs: Failed* ERROR: Task 179 (/home/sailaja/poky-chrome/meta/recipes-core/images/ poky-image-minimal-akshat.bb, do_rootfs) failed with 1 ERROR: '/home/sailaja/poky-chrome/meta/recipes-core/images/ poky-image-minimal-akshat.bb' failed I am facing the same problem with some more packages like *xcb-proto* Processing xcb-proto... | *Unable to find package xcb-proto!* | ERROR: Task failed: ('function do_rootfs failed', '/home/sailaja/poky-chrome/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-akshat-1.0-r0/temp/log.do_rootfs.16360') NOTE: package poky-image-minimal-akshat-1.0-r0: task do_rootfs: Failed ERROR: Task 191 (/home/sailaja/poky-chrome/meta/recipes-core/images/ poky-image-minimal-akshat.bb, do_rootfs) failed with 1 ERROR: '/home/sailaja/poky-chrome/meta/recipes-core/images/ poky-image-minimal-akshat.bb' failed. Please help in fixing the problem. Could you please tell me what can I do now? Thanks & Regards, SAI Hi SAI, > > > > Does the “bitbake krb5” succeed? If it does, the rpm file it generated > should be under the directory tmp/deploy/rpm/core2 if you set MACHINE to > atom-pc in conf/local.conf. Or you may check at the directory > “/home/sailaja/poky-chrome/build/tmp/work/core2-poky-linux/krb5-1.6.3-r6/deploy-rpms”, > the RPM file is actually created here and later gets copied to > tmp/deploy/rpm. > > > > Best Regards, > > Lianhao > > > > *From:* v sailaja [mailto:vsailub4u@gmail.com] > *Sent:* Tuesday, March 01, 2011 6:46 PM > *To:* Lu, Lianhao; Tian, Kevin; poky@yoctoproject.org > *Subject:* got error while trying to pull the krb5 package into poky > > > > Hi, > > I tried with the following > > > bitbake krb5 -c cleanall > bitbake krb5 > But again I am getting the same error and krb5 rpm file is not generated > at tmp/deploy/rpm. > > > The value is > > *PACKAGE_CLASSES ?= "package_rpm package_ipk"* > > * > error:* > Generating solve db for > /home/sailaja/poky-chrome/build/tmp/deploy/rpm/atom-pc... > | total: 1 0.000000 MB 0.871674 secs > | order: 1 0.000000 MB 0.090471 secs > | fingerprint: 537 0.007286 MB 0.081155 secs > | install: 278 0.000000 MB 0.179576 secs > | dbadd: 278 0.000000 MB 0.081411 secs > | dbget: 8678 1.128312 MB 0.016757 secs > | dbput: 5035 2.213572 MB 0.020290 secs > | readhdr: 2781 2.267168 MB 0.206626 secs > | hdrload: 194461 256.103876 MB 1.118980 secs > | hdrget: 3861605 0.000000 MB 6.181097 secs > | *Processing krb5... > | Unable to find package krb5! > | ERROR: Task failed: ('function do_rootfs failed', > '/home/sailaja/poky-chrome/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-akshat-1.0-r0/temp/log.do_rootfs.9313') > NOTE: package poky-image-minimal-akshat-1.0-r0: task do_rootfs: Failed* > ERROR: Task 179 (/home/sailaja/poky-chrome/meta/recipes-core/images/ > poky-image-minimal-akshat.bb, do_rootfs) failed with 1 > ERROR: '/home/sailaja/poky-chrome/meta/recipes-core/images/ > poky-image-minimal-akshat.bb' failed > > > > Please help me in finding the solution. > Any help would be greatly apprecited. > > Thanks & Regards, > SAI > > > > > > > > > Hi SAI, > > > > Please try the following to rebuild the krb5 to see if the rpm is > generated: > > > > - bitbake krb5 -c cleanall > > - bitbake krb5 > > > > This should generate the rpm file under the directory of “tmp/deploy/rpm”. > > > > b.t.w. what’s the value set to the variable PACKAGE_CLASSES in your > conf/local.conf? > > > > Best Regards, > > Lianhao Lu > > > > > [-- Attachment #2: Type: text/html, Size: 10935 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: got error while trying to pull the krb5 package into poky 2011-03-02 11:35 ` v sailaja @ 2011-03-02 11:45 ` Richard Purdie 2011-03-02 14:24 ` v sailaja 2011-03-02 11:50 ` Gary Thomas 1 sibling, 1 reply; 12+ messages in thread From: Richard Purdie @ 2011-03-02 11:45 UTC (permalink / raw) To: v sailaja; +Cc: poky On Wed, 2011-03-02 at 17:05 +0530, v sailaja wrote: > Hi Lianhao, > > There are krb5-dev-1.6.3-r6.core2.rpm and krb5-dbg-1.6.3-r6.core2.rpm > in /home/sailaja/poky-chrome/build/tmp/work/core2-poky-linux/krb5-1.6.3-r6/deploy-rpms. > But there is no specific rpm on krb5 like krb5-1.6.3-r6.rpm. > > Again its showing an error as follows: This probably means the contents of the krb5 package was empty and it didn't build the package. > I am facing the same problem with some more packages like xcb-proto The contents of xcb-proto *is* empty since its just development headers and they end up in the xcb-proto-dev package. Cheers, Richard ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: got error while trying to pull the krb5 package into poky 2011-03-02 11:45 ` Richard Purdie @ 2011-03-02 14:24 ` v sailaja 2011-03-02 14:35 ` Gary Thomas 2011-03-02 14:40 ` Mark Hatle 0 siblings, 2 replies; 12+ messages in thread From: v sailaja @ 2011-03-02 14:24 UTC (permalink / raw) To: Richard Purdie, Lu, Lianhao, Tian, Kevin, poky [-- Attachment #1: Type: text/plain, Size: 1006 bytes --] Hi, I came to know with other contacts, building poky with its own krb5 package, there were no issues. But if we copied that krb5 package from openembedded, it showed the errors. Please tell me Why is it so happening? Please help me and fixing the problem Thanks & Regards, Sai On Wed, 2011-03-02 at 17:05 +0530, v sailaja wrote: > > Hi Lianhao, > > > > There are krb5-dev-1.6.3-r6.core2.rpm and krb5-dbg-1.6.3-r6.core2.rpm > > in > /home/sailaja/poky-chrome/build/tmp/work/core2-poky-linux/krb5-1.6.3-r6/deploy-rpms. > > But there is no specific rpm on krb5 like krb5-1.6.3-r6.rpm. > > > > Again its showing an error as follows: > > This probably means the contents of the krb5 package was empty and it > didn't build the package. > > > I am facing the same problem with some more packages like xcb-proto > > The contents of xcb-proto *is* empty since its just development headers > and they end up in the xcb-proto-dev package. > > Cheers, > > Richard > > > [-- Attachment #2: Type: text/html, Size: 1368 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: got error while trying to pull the krb5 package into poky 2011-03-02 14:24 ` v sailaja @ 2011-03-02 14:35 ` Gary Thomas 2011-03-02 14:40 ` Mark Hatle 1 sibling, 0 replies; 12+ messages in thread From: Gary Thomas @ 2011-03-02 14:35 UTC (permalink / raw) To: v sailaja; +Cc: poky On 03/02/2011 07:24 AM, v sailaja wrote: > > Hi, > > I came to know with other contacts, building poky with its own krb5 package, there were no issues. What package was that? I don't see any krb5 packages of any kind in Poky. > But if we copied that krb5 package from openembedded, it showed the errors. > Please tell me Why is it so happening? > Please help me and fixing the problem Most likely you need to update the OE recipe to not use do_stage() > On Wed, 2011-03-02 at 17:05 +0530, v sailaja wrote: > > Hi Lianhao, > > > > There are krb5-dev-1.6.3-r6.core2.rpm and krb5-dbg-1.6.3-r6.core2.rpm > > in /home/sailaja/poky-chrome/build/tmp/work/core2-poky-linux/krb5-1.6.3-r6/deploy-rpms. > > But there is no specific rpm on krb5 like krb5-1.6.3-r6.rpm. > > > > Again its showing an error as follows: > > This probably means the contents of the krb5 package was empty and it > didn't build the package. > > > I am facing the same problem with some more packages like xcb-proto > > The contents of xcb-proto *is* empty since its just development headers > and they end up in the xcb-proto-dev package. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: got error while trying to pull the krb5 package into poky 2011-03-02 14:24 ` v sailaja 2011-03-02 14:35 ` Gary Thomas @ 2011-03-02 14:40 ` Mark Hatle 2011-03-04 5:38 ` v sailaja 1 sibling, 1 reply; 12+ messages in thread From: Mark Hatle @ 2011-03-02 14:40 UTC (permalink / raw) To: v sailaja; +Cc: poky On 3/2/11 8:24 AM, v sailaja wrote: > > Hi, > > I came to know with other contacts, building poky with its own krb5 package, > there were no issues. > But if we copied that krb5 package from openembedded, it showed the errors. > Please tell me Why is it so happening? > Please help me and fixing the problem AFAIK, Poky doesn't have a krb5 recipe of it's own. Before you dig into the krb5 package, why are you adding krb5 support to your device? Is there a specific reason or did it just show up as a dependency for something? (Many times on the desktop, krb5 is provided by default and gets linked into all sorts of things.. but in an embedded environment it's rarely used as there is no reason to coordinate with a kerberos server on user identity. If you decide kerberos support is NOT needed, figure out where the krb5 dependency is coming from and figure out if you can remove it from the package and/or recipe.) (But if you do need krb5...) If you import it from OpenEmbedded, something is either wrong with the krb5 recipe -- not populating the base "krb5" package -- or something is wrong with the software that is requiring krb5. The first thing to do is look at the krb5 package and see if any of the software it has built belongs in a base krb5 package and isn't being properly installed.... fix the do_install rule to install the missing components... if there is no software to install into a krb5 package -- then it appears to me whatever is attempting to require the run-time dependency of "krb5" is broken. You should find the recipe that has the RDEPENDS and remove it -- or change the dependency to something more appropriate such a the krb5-libs. (Note: most of the time there is no reason to manually state a RDEPENDS on a -libs package, because the system figured out run-time library dependencies automatically -- only library usages where you can't automatically detect things need RDEPENDS, this is usually the case when things are dlopened.) --Mark > Thanks & Regards, > Sai > > > > On Wed, 2011-03-02 at 17:05 +0530, v sailaja wrote: > > Hi Lianhao, > > > > There are krb5-dev-1.6.3-r6.core2.rpm and krb5-dbg-1.6.3-r6.core2.rpm > > in > /home/sailaja/poky-chrome/build/tmp/work/core2-poky-linux/krb5-1.6.3-r6/deploy-rpms. > > But there is no specific rpm on krb5 like krb5-1.6.3-r6.rpm. > > > > Again its showing an error as follows: > > This probably means the contents of the krb5 package was empty and it > didn't build the package. > > > I am facing the same problem with some more packages like xcb-proto > > The contents of xcb-proto *is* empty since its just development headers > and they end up in the xcb-proto-dev package. > > Cheers, > > Richard > > > > > > _______________________________________________ > poky mailing list > poky@yoctoproject.org > https://lists.yoctoproject.org/listinfo/poky ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: got error while trying to pull the krb5 package into poky 2011-03-02 14:40 ` Mark Hatle @ 2011-03-04 5:38 ` v sailaja 2011-03-09 4:59 ` v sailaja 0 siblings, 1 reply; 12+ messages in thread From: v sailaja @ 2011-03-04 5:38 UTC (permalink / raw) To: Mark Hatle, poky [-- Attachment #1: Type: text/plain, Size: 3554 bytes --] Hi Hatle, I need to pull krb5 into poky. But *Krb5 rpm is not created* at the build time. its as stated below: *Not creating empty RPM package for krb5.* so that the rpm was not creating for krb5. Please tell me what are the dependencies and How to resolve this problem. I need to pull it into poky. Your explanation gave me an idea on krb5. Thanks & Regards, SAI > > Hi, > > > > I came to know with other contacts, building poky with its own krb5 > package, > > there were no issues. > > But if we copied that krb5 package from openembedded, it showed the > errors. > > Please tell me Why is it so happening? > > Please help me and fixing the problem > > AFAIK, Poky doesn't have a krb5 recipe of it's own. > > Before you dig into the krb5 package, why are you adding krb5 support to > your > device? Is there a specific reason or did it just show up as a dependency > for > something? (Many times on the desktop, krb5 is provided by default and > gets > linked into all sorts of things.. but in an embedded environment it's > rarely > used as there is no reason to coordinate with a kerberos server on user > identity. If you decide kerberos support is NOT needed, figure out where > the > krb5 dependency is coming from and figure out if you can remove it from the > package and/or recipe.) > > (But if you do need krb5...) If you import it from OpenEmbedded, something > is > either wrong with the krb5 recipe -- not populating the base "krb5" package > -- > or something is wrong with the software that is requiring krb5. > > The first thing to do is look at the krb5 package and see if any of the > software > it has built belongs in a base krb5 package and isn't being properly > installed.... fix the do_install rule to install the missing components... > > if there is no software to install into a krb5 package -- then it appears > to me > whatever is attempting to require the run-time dependency of "krb5" is > broken. > You should find the recipe that has the RDEPENDS and remove it -- or change > the > dependency to something more appropriate such a the krb5-libs. (Note: > most of > the time there is no reason to manually state a RDEPENDS on a -libs > package, > because the system figured out run-time library dependencies automatically > -- > only library usages where you can't automatically detect things need > RDEPENDS, > this is usually the case when things are dlopened.) > > --Mark > > > Thanks & Regards, > > Sai > > > > > > > > On Wed, 2011-03-02 at 17:05 +0530, v sailaja wrote: > > > Hi Lianhao, > > > > > > There are krb5-dev-1.6.3-r6.core2.rpm and > krb5-dbg-1.6.3-r6.core2.rpm > > > in > > > /home/sailaja/poky-chrome/build/tmp/work/core2-poky-linux/krb5-1.6.3-r6/deploy-rpms. > > > But there is no specific rpm on krb5 like krb5-1.6.3-r6.rpm. > > > > > > Again its showing an error as follows: > > > > This probably means the contents of the krb5 package was empty and it > > didn't build the package. > > > > > I am facing the same problem with some more packages like xcb-proto > > > > The contents of xcb-proto *is* empty since its just development > headers > > and they end up in the xcb-proto-dev package. > > > > Cheers, > > > > Richard > > > > > > > > > > > > _______________________________________________ > > poky mailing list > > poky@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/poky > > [-- Attachment #2: Type: text/html, Size: 4312 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: got error while trying to pull the krb5 package into poky 2011-03-04 5:38 ` v sailaja @ 2011-03-09 4:59 ` v sailaja 2011-03-09 5:18 ` embedded.yogesh 0 siblings, 1 reply; 12+ messages in thread From: v sailaja @ 2011-03-09 4:59 UTC (permalink / raw) To: poky [-- Attachment #1.1: Type: text/plain, Size: 4578 bytes --] Hi, I have a dependence of krb5 package, so pulled it for openembedded to poky. While build krb5 package I got error *"Unable to find krb5 package"* , as poky is not creating RPM package for krb5. Here is my understanding, while starting krb5 recipe it pulls *"krb5-1.9-signed.tar" *After extracting *"krb5-1.9-signed.tar" *we got two files * "krb5-1.9.tar.gz"* and "*krb5-1.9.tar.gz.asc"* Then krb5 recipe further extract *"krb5-1.9.tar.gz"* to *"krb5-1.9"*. Now our source and other file related to building ( i.e Makefile, configure, etc. ) krb5 is located at *"krb5-1.9/src" * Openembedded krb5 recipe installs this package at some unstandard locations due to RPM file it not building. I am also attaching recipe for krb5 with this mail, can any one help me to resolve this issue. Thanks & Regards Sai Hi Hatle, > > > I need to pull krb5 into poky. But *Krb5 rpm is not created* at the build > time. > its as stated below: > > *Not creating empty RPM package for krb5.* > > so that the rpm was not creating for krb5. > Please tell me what are the dependencies and How to resolve this problem. I > need to pull it into poky. > Your explanation gave me an idea on krb5. > > > > Thanks & Regards, > SAI > > > > > > > >> > Hi, >> > >> > I came to know with other contacts, building poky with its own krb5 >> package, >> > there were no issues. >> > But if we copied that krb5 package from openembedded, it showed the >> errors. >> > Please tell me Why is it so happening? >> > Please help me and fixing the problem >> >> AFAIK, Poky doesn't have a krb5 recipe of it's own. >> >> Before you dig into the krb5 package, why are you adding krb5 support to >> your >> device? Is there a specific reason or did it just show up as a dependency >> for >> something? (Many times on the desktop, krb5 is provided by default and >> gets >> linked into all sorts of things.. but in an embedded environment it's >> rarely >> used as there is no reason to coordinate with a kerberos server on user >> identity. If you decide kerberos support is NOT needed, figure out where >> the >> krb5 dependency is coming from and figure out if you can remove it from >> the >> package and/or recipe.) >> >> (But if you do need krb5...) If you import it from OpenEmbedded, something >> is >> either wrong with the krb5 recipe -- not populating the base "krb5" >> package -- >> or something is wrong with the software that is requiring krb5. >> >> The first thing to do is look at the krb5 package and see if any of the >> software >> it has built belongs in a base krb5 package and isn't being properly >> installed.... fix the do_install rule to install the missing components... >> >> if there is no software to install into a krb5 package -- then it appears >> to me >> whatever is attempting to require the run-time dependency of "krb5" is >> broken. >> You should find the recipe that has the RDEPENDS and remove it -- or >> change the >> dependency to something more appropriate such a the krb5-libs. (Note: >> most of >> the time there is no reason to manually state a RDEPENDS on a -libs >> package, >> because the system figured out run-time library dependencies automatically >> -- >> only library usages where you can't automatically detect things need >> RDEPENDS, >> this is usually the case when things are dlopened.) >> >> --Mark >> >> > Thanks & Regards, >> > Sai >> > >> > >> > >> > On Wed, 2011-03-02 at 17:05 +0530, v sailaja wrote: >> > > Hi Lianhao, >> > > >> > > There are krb5-dev-1.6.3-r6.core2.rpm and >> krb5-dbg-1.6.3-r6.core2.rpm >> > > in >> > >> /home/sailaja/poky-chrome/build/tmp/work/core2-poky-linux/krb5-1.6.3-r6/deploy-rpms. >> > > But there is no specific rpm on krb5 like krb5-1.6.3-r6.rpm. >> > > >> > > Again its showing an error as follows: >> > >> > This probably means the contents of the krb5 package was empty and >> it >> > didn't build the package. >> > >> > > I am facing the same problem with some more packages like >> xcb-proto >> > >> > The contents of xcb-proto *is* empty since its just development >> headers >> > and they end up in the xcb-proto-dev package. >> > >> > Cheers, >> > >> > Richard >> > >> > >> > >> > >> > >> > _______________________________________________ >> > poky mailing list >> > poky@yoctoproject.org >> > https://lists.yoctoproject.org/listinfo/poky >> >> > -- Thanks & Regards, SAI [-- Attachment #1.2: Type: text/html, Size: 5611 bytes --] [-- Attachment #2: krb5_1.6.3.bb --] [-- Type: application/octet-stream, Size: 3127 bytes --] DESCRIPTION = "A network authentication protocol" HOMEPAGE = "http://web.mit.edu/Kerberos/" SECTION = "console/network" PR = "r6" LICENSE = "MIT" DEPENDS = "perl-native ncurses util-linux-ng e2fsprogs-native" inherit autotools binconfig #SRC_URI = "git://git.srobo.org/~jmorse/kerberos.git \ SRC_URI = "http://web.mit.edu/kerberos/dist/krb5/1.6/krb5-1.6.3-signed.tar \ file://fix-uclibc-ruserpass-collision.patch;apply=no \ file://copyperms.patch;apply=no" S = "${workdir}/${PN}-${PV}/src/" # Will clean this up... EXTRA_OECONF += " --without-tcl krb5_cv_attr_constructor_destructor=yes ac_cv_func_regcomp=yes \ ac_cv_printf_positional=yes ac_cv_file__etc_environment=yes \ ac_cv_file__etc_TIMEZONE=no --with-system-et" CFLAGS_append += "-DDESTRUCTOR_ATTR_WORKS=1 -I${staging_incdir}/et" LDFLAGS_append += "-lpthread" FILES_${PN}-doc += /usr/share/examples krb5_do_unpack() { tar xzf ${workdir}/krb5-1.6.3.tar.gz -C ${workdir}/ patch -d ${S} -p1 < ${workdir}/fix-uclibc-ruserpass-collision.patch patch -d ${S} -p1 < ${workdir}/copyperms.patch } python do_unpack() { bb.build.exec_func('base_do_unpack', d) bb.build.exec_func('krb5_do_unpack', d) } do_configure() { oe_runconf } do_install() { oe_libinstall -so -C util/support libkrb5support ${staging_libdir} oe_libinstall -so -C util/et libcom_err ${staging_libdir} oe_libinstall -so -C lib/crypto libk5crypto ${staging_libdir} oe_libinstall -so -C lib/krb5 libkrb5 ${staging_libdir} oe_libinstall -so -C lib/des425 libdes425 ${staging_libdir} oe_libinstall -so -C lib/krb4 libkrb4 ${staging_libdir} oe_libinstall -so -C lib/gssapi libgssapi_krb5 ${staging_libdir} oe_libinstall -so -C lib/rpc libgssrpc ${staging_libdir} oe_libinstall -so -C lib/kdb libkdb5 ${staging_libdir} oe_libinstall -so -C lib/kadm5/clnt libkadm5clnt ${staging_libdir} oe_libinstall -so -C lib/kadm5/srv libkadm5srv ${staging_libdir} install -d ${staging_incdir}/krb5 for X in krb5.h locate_plugin.h do install -m 0644 ${S}/include/krb5/$X ${staging_incdir}/krb5/$X done install -d ${staging_incdir}/gssapi for X in gssapi_generic.h gssapi.h gssapi_krb5.h do install -m 0644 ${S}/include/gssapi/$X ${staging_incdir}/gssapi/$X done install -m 0644 ${S}/lib/gssapi/mechglue/mechglue.h ${staging_incdir}/gssapi/mechglue.h install -d ${staging_incdir}/kerberosIV for X in krb.h des.h mit-copyright.h krb_err.h kadm_err.h do install -m 0644 ${S}/include/kerberosIV/$X ${staging_incdir}/kerberosIV/$X done install -d ${staging_incdir}/gssrpc for X in auth.h auth_gss.h auth_gssapi.h auth_unix.h clnt.h netdb.h pmap_clnt.h pmap_prot.h pmap_rmt.h rename.h rpc.h rpc_msg.h svc.h svc_auth.h xdr.h types.h do install -m 0644 ${S}/include/gssrpc/$X ${staging_incdir}/gssrpc/$X done # com_err.h needs to be added here if you choose to use this builtin for X in krb5.h profile.h gssapi.h do install -m 0644 ${S}/include/$X ${staging_incdir}/$X done } SRC_URI[md5sum] = "2dc1307686eb1c2bf1ab08ea805dad46" SRC_URI[sha256sum] = "7a1bd7d4bd326828c8ee382ed2b69ccd6c58762601df897d6a32169d84583d2a" ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: got error while trying to pull the krb5 package into poky 2011-03-09 4:59 ` v sailaja @ 2011-03-09 5:18 ` embedded.yogesh 0 siblings, 0 replies; 12+ messages in thread From: embedded.yogesh @ 2011-03-09 5:18 UTC (permalink / raw) To: poky [-- Attachment #1: Type: text/plain, Size: 5727 bytes --] Hi, I am also getting the same problem. As per my understanding openembedded recipe should work on poky, but it not happening. Can some one guide how to deal with it. Thanks Yogesh On Wednesday 09 March 2011 10:29 AM, v sailaja wrote: > Hi, > > I have a dependence of krb5 package, so pulled it for openembedded to > poky. > While build krb5 package I got error /"Unable to find krb5 package"/ , > as poky is not creating RPM package for krb5. > > Here is my understanding, while starting krb5 recipe it pulls > /"krb5-1.9-signed.tar" > /After extracting /"krb5-1.9-signed.tar" /we got two files > /"krb5-1.9.tar.gz"/ and "/krb5-1.9.tar.gz.asc"/ > Then krb5 recipe further extract /"krb5-1.9.tar.gz"/ to /"krb5-1.9"/. > Now our source and other file related to building ( i.e Makefile, > configure, etc. ) krb5 is located at /"krb5-1.9/src" / > > Openembedded krb5 recipe installs this package at some unstandard > locations due to RPM file it not building. > > I am also attaching recipe for krb5 with this mail, can any one help > me to resolve this issue. > > Thanks & Regards > Sai > > > > Hi Hatle, > > > I need to pull krb5 into poky. But *Krb5 rpm is not created* at > the build time. > its as stated below: > > *Not creating empty RPM package for krb5.* > > so that the rpm was not creating for krb5. > Please tell me what are the dependencies and How to resolve this > problem. I need to pull it into poky. > Your explanation gave me an idea on krb5. > > > > Thanks & Regards, > SAI > > > > > > > Hi, > > > > I came to know with other contacts, building poky with its > own krb5 package, > > there were no issues. > > But if we copied that krb5 package from openembedded, it > showed the errors. > > Please tell me Why is it so happening? > > Please help me and fixing the problem > > AFAIK, Poky doesn't have a krb5 recipe of it's own. > > Before you dig into the krb5 package, why are you adding krb5 > support to your > device? Is there a specific reason or did it just show up as > a dependency for > something? (Many times on the desktop, krb5 is provided by > default and gets > linked into all sorts of things.. but in an embedded > environment it's rarely > used as there is no reason to coordinate with a kerberos > server on user > identity. If you decide kerberos support is NOT needed, > figure out where the > krb5 dependency is coming from and figure out if you can > remove it from the > package and/or recipe.) > > (But if you do need krb5...) If you import it from > OpenEmbedded, something is > either wrong with the krb5 recipe -- not populating the base > "krb5" package -- > or something is wrong with the software that is requiring krb5. > > The first thing to do is look at the krb5 package and see if > any of the software > it has built belongs in a base krb5 package and isn't being > properly > installed.... fix the do_install rule to install the missing > components... > > if there is no software to install into a krb5 package -- then > it appears to me > whatever is attempting to require the run-time dependency of > "krb5" is broken. > You should find the recipe that has the RDEPENDS and remove it > -- or change the > dependency to something more appropriate such a the krb5-libs. > (Note: most of > the time there is no reason to manually state a RDEPENDS on a > -libs package, > because the system figured out run-time library dependencies > automatically -- > only library usages where you can't automatically detect > things need RDEPENDS, > this is usually the case when things are dlopened.) > > --Mark > > > Thanks & Regards, > > Sai > > > > > > > > On Wed, 2011-03-02 at 17:05 +0530, v sailaja wrote: > > > Hi Lianhao, > > > > > > There are krb5-dev-1.6.3-r6.core2.rpm and > krb5-dbg-1.6.3-r6.core2.rpm > > > in > > > /home/sailaja/poky-chrome/build/tmp/work/core2-poky-linux/krb5-1.6.3-r6/deploy-rpms. > > > But there is no specific rpm on krb5 like krb5-1.6.3-r6.rpm. > > > > > > Again its showing an error as follows: > > > > This probably means the contents of the krb5 package was > empty and it > > didn't build the package. > > > > > I am facing the same problem with some more packages like > xcb-proto > > > > The contents of xcb-proto *is* empty since its just > development headers > > and they end up in the xcb-proto-dev package. > > > > Cheers, > > > > Richard > > > > > > > > > > > > _______________________________________________ > > poky mailing list > > poky@yoctoproject.org <mailto:poky@yoctoproject.org> > > https://lists.yoctoproject.org/listinfo/poky > > > > > > -- > Thanks & Regards, > SAI > > > _______________________________________________ > poky mailing list > poky@yoctoproject.org > https://lists.yoctoproject.org/listinfo/poky [-- Attachment #2: Type: text/html, Size: 9951 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: got error while trying to pull the krb5 package into poky 2011-03-02 11:35 ` v sailaja 2011-03-02 11:45 ` Richard Purdie @ 2011-03-02 11:50 ` Gary Thomas 1 sibling, 0 replies; 12+ messages in thread From: Gary Thomas @ 2011-03-02 11:50 UTC (permalink / raw) To: v sailaja; +Cc: poky On 03/02/2011 04:35 AM, v sailaja wrote: > Hi Lianhao, > > There are *krb5-dev-1.6.3-r6.core2.rpm* and *krb5-dbg-1.6.3-r6.core2.rpm* in /home/sailaja/poky-chrome/build/tmp/work/core2-poky-linux/krb5-1.6.3-r6/deploy-rpms. > But there is*no specific rpm on krb5* like *krb5-1.6.3-r6.rpm*. > > Again its showing an error as follows: > > _*error:*_ > > readhdr: 2781 2.267168 MB 0.206626 secs > | hdrload: 194461 256.103876 MB 1.118980 secs > | hdrget: 3861605 0.000000 MB 6.181097 secs > | *Processing krb5... > | Unable to find package krb5! > | ERROR: Task failed: ('function do_rootfs failed', '/home/sailaja/poky-chrome/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-akshat-1.0-r0/temp/log.do_rootfs.9313') > NOTE: package poky-image-minimal-akshat-1.0-r0: task do_rootfs: Failed* > ERROR: Task 179 (/home/sailaja/poky-chrome/meta/recipes-core/images/poky-image-minimal-akshat.bb <http://poky-image-minimal-akshat.bb/>, do_rootfs) failed with 1 > ERROR: '/home/sailaja/poky-chrome/meta/recipes-core/images/poky-image-minimal-akshat.bb <http://poky-image-minimal-akshat.bb/>' failed > > > I am facing the same problem with some more packages like *xcb-proto* > > Processing xcb-proto... > | *Unable to find package xcb-proto!* > | ERROR: Task failed: ('function do_rootfs failed', '/home/sailaja/poky-chrome/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-akshat-1.0-r0/temp/log.do_rootfs.16360') > NOTE: package poky-image-minimal-akshat-1.0-r0: task do_rootfs: Failed > ERROR: Task 191 (/home/sailaja/poky-chrome/meta/recipes-core/images/poky-image-minimal-akshat.bb <http://poky-image-minimal-akshat.bb>, do_rootfs) failed with 1 > ERROR: '/home/sailaja/poky-chrome/meta/recipes-core/images/poky-image-minimal-akshat.bb <http://poky-image-minimal-akshat.bb>' failed. What recipe/package is including xcb-proto? As far as I can see, this is a developmental header only package. The only uses I could find were for xcb-proto-native Similarly, there are only the -dev and -dbg variants of this package built (it's been this way for many months at least). Here's what I have from a fully working build: $ ls /local/p60_poky/tmp/deploy/ipk/*/xcb-proto* /local/p60_poky/tmp/deploy/ipk/armv7a/xcb-proto-dbg_1.6-r0_armv7a.ipk /local/p60_poky/tmp/deploy/ipk/armv7a/xcb-proto-dev_1.6-r0_armv7a.ipk > > Hi SAI, > > Does the “bitbake krb5” succeed? If it does, the rpm file it generated should be under the directory tmp/deploy/rpm/core2 if you set MACHINE to atom-pc in conf/local.conf. Or > you may check at the directory “/home/sailaja/poky-chrome/build/tmp/work/core2-poky-linux/krb5-1.6.3-r6/deploy-rpms”, the RPM file is actually created here and later gets > copied to tmp/deploy/rpm. > > Best Regards, > > Lianhao > > *From:*v sailaja [mailto:vsailub4u@gmail.com <mailto:vsailub4u@gmail.com>] > *Sent:* Tuesday, March 01, 2011 6:46 PM > *To:* Lu, Lianhao; Tian, Kevin; poky@yoctoproject.org <mailto:poky@yoctoproject.org> > *Subject:* got error while trying to pull the krb5 package into poky > > Hi, > > I tried with the following > > > bitbake krb5 -c cleanall > bitbake krb5 > But again I am getting the same error and krb5 rpm file is not generated at tmp/deploy/rpm. > > > The value is > > *PACKAGE_CLASSES ?= "package_rpm package_ipk"* > > * > error:* > Generating solve db for /home/sailaja/poky-chrome/build/tmp/deploy/rpm/atom-pc... > | total: 1 0.000000 MB 0.871674 secs > | order: 1 0.000000 MB 0.090471 secs > | fingerprint: 537 0.007286 MB 0.081155 secs > | install: 278 0.000000 MB 0.179576 secs > | dbadd: 278 0.000000 MB 0.081411 secs > | dbget: 8678 1.128312 MB 0.016757 secs > | dbput: 5035 2.213572 MB 0.020290 secs > | readhdr: 2781 2.267168 MB 0.206626 secs > | hdrload: 194461 256.103876 MB 1.118980 secs > | hdrget: 3861605 0.000000 MB 6.181097 secs > | *Processing krb5... > | Unable to find package krb5! > | ERROR: Task failed: ('function do_rootfs failed', '/home/sailaja/poky-chrome/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-akshat-1.0-r0/temp/log.do_rootfs.9313') > NOTE: package poky-image-minimal-akshat-1.0-r0: task do_rootfs: Failed* > ERROR: Task 179 (/home/sailaja/poky-chrome/meta/recipes-core/images/poky-image-minimal-akshat.bb <http://poky-image-minimal-akshat.bb/>, do_rootfs) failed with 1 > ERROR: '/home/sailaja/poky-chrome/meta/recipes-core/images/poky-image-minimal-akshat.bb <http://poky-image-minimal-akshat.bb/>' failed > > > > Please help me in finding the solution. > Any help would be greatly apprecited. > > Thanks & Regards, > SAI > > > > > > > Hi SAI, > > Please try the following to rebuild the krb5 to see if the rpm is generated: > > -bitbake krb5 -c cleanall > > -bitbake krb5 > > This should generate the rpm file under the directory of “tmp/deploy/rpm”. > > b.t.w. what’s the value set to the variable PACKAGE_CLASSES in your conf/local.conf? > > Best Regards, > > Lianhao Lu > > > > > _______________________________________________ > poky mailing list > poky@yoctoproject.org > https://lists.yoctoproject.org/listinfo/poky -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2011-03-09 5:18 UTC | newest] Thread overview: 12+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-03-01 10:45 got error while trying to pull the krb5 package into poky v sailaja 2011-03-01 16:05 ` Mark Hatle 2011-03-02 4:45 ` Lu, Lianhao 2011-03-02 11:35 ` v sailaja 2011-03-02 11:45 ` Richard Purdie 2011-03-02 14:24 ` v sailaja 2011-03-02 14:35 ` Gary Thomas 2011-03-02 14:40 ` Mark Hatle 2011-03-04 5:38 ` v sailaja 2011-03-09 4:59 ` v sailaja 2011-03-09 5:18 ` embedded.yogesh 2011-03-02 11:50 ` Gary Thomas
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.