Skip to contentSkip to conversation

"Can't install krb5-dev-1.13.6-r0@ppc7400: no package provides krb5 = 1.13.6-r0"

DISCUSSION Robert P. J. Day 2 participants 4 messages Feb 20, 2017

lore
Share & tools
lore
#0 lore raw

ok, i hope this issue is not trivially simple. i'm building
core-image-minimal for qemuppc, and tossing in a bunch of other recipes, everything builds until:

///// start /////
ERROR: core-image-minimal-1.0-r0 do_rootfs: Unable to install
packages. Command '/home/rpjday/oe/builds/qemuppc_oe_small/tmp/work/qemuppc-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/usr/bin/smart --log-level=info --data-dir=/home/rpjday/oe/builds/qemuppc_oe_small/tmp/work/qemuppc-poky-linux/core-image-minimal/1.0-r0/rootfs/var/lib/smart install -y packagegroup-core-boot@qemuppc rpm@ppc7400
packagegroup-wrl-regular-recipes@all smartpm@ppc7400
run-postinsts@all' returned 1:
Loading cache...
Updating cache...
######################################## [100%]

Computing transaction...error: Can't install krb5-dev-1.13.6-r0@ppc7400: no package provides krb5 = 1.13.6-r0

ERROR: core-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in:
/home/rpjday/oe/builds/qemuppc_oe_small/tmp/work/qemuppc-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.22573
ERROR: Task (/home/rpjday/oe/dist/layers/poky/meta/recipes-core/images/core-image-minimal.bb:do_rootfs)
failed with exit code '1'
///// end /////

a quick check shows the following rpms:

$ find tmp/deploy/rpm/ -name "*krb*"
tmp/deploy/rpm/qemuppc/kernel-module-rpcsec-gss-krb5-4.8.18-yocto-standard-4.8.18+git0+ea8a679c95_d2c3ea488f-r0.qemuppc.rpm
tmp/deploy/rpm/ppc7400/libgssapi-krb5-2-1.13.6-r0.ppc7400.rpm
tmp/deploy/rpm/ppc7400/krb5-kdc-1.13.6-r0.ppc7400.rpm
tmp/deploy/rpm/ppc7400/krb5-doc-1.13.6-r0.ppc7400.rpm
tmp/deploy/rpm/ppc7400/krb5-dev-1.13.6-r0.ppc7400.rpm
tmp/deploy/rpm/ppc7400/krb5-admin-server-1.13.6-r0.ppc7400.rpm
tmp/deploy/rpm/ppc7400/libkrb5samba-samba4-4.4.5-r0.ppc7400.rpm
tmp/deploy/rpm/ppc7400/krb5-gss-samples-1.13.6-r0.ppc7400.rpm
tmp/deploy/rpm/ppc7400/libkrb5-3-1.13.6-r0.ppc7400.rpm
tmp/deploy/rpm/ppc7400/krb5-locale-en-us-1.13.6-r0.ppc7400.rpm
tmp/deploy/rpm/ppc7400/krb5-otp-1.13.6-r0.ppc7400.rpm
tmp/deploy/rpm/ppc7400/libndr-krb5pac0-4.4.5-r0.ppc7400.rpm
tmp/deploy/rpm/ppc7400/krb5-user-1.13.6-r0.ppc7400.rpm
tmp/deploy/rpm/ppc7400/libauthkrb5-samba4-4.4.5-r0.ppc7400.rpm
tmp/deploy/rpm/ppc7400/krb5-dbg-1.13.6-r0.ppc7400.rpm
tmp/deploy/rpm/ppc7400/krb5-kpropd-1.13.6-r0.ppc7400.rpm
tmp/deploy/rpm/ppc7400/libkrb5support0-1.13.6-r0.ppc7400.rpm
tmp/deploy/rpm/ppc7400/krb5-pkinit-1.13.6-r0.ppc7400.rpm
tmp/deploy/rpm/ppc7400/krb5-k5tls-1.13.6-r0.ppc7400.rpm
$

and, sure enough, there's no krb5 rpm. why not? if i check the recipe, i see:

  PACKAGES =+ "${PN}-admin-server \
             ${PN}-gss-samples \
             ${PN}-k5tls \
             ${PN}-kdc \
             ${PN}-kdc-ldap \
             ${PN}-kpropd \
             ${PN}-otp \
             ${PN}-pkinit \
             ${PN}-user \
             libgssapi-krb5 \
             libgssrpc \
             libk5crypto \
             libkadm5clnt-mit \
             libkadm5srv-mit \
             libkdb5 \
             libkrad \
             libkrb5 \
             libkrb5support \
             libverto"

  FILES_${PN} = ""

so ... while the recipe introduces a pile of new output packages, it empties the base "krb5" package. does that mean it needs to be identified as allowing empty just to exist?

i've built a lot of qemu/core-image-minimal images, and this is the
first time i've seen this krb5-related issue.

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw
Quoted 21 lines · Robert P. J. Day

ok, i hope this issue is not trivially simple. i'm building
core-image-minimal for qemuppc, and tossing in a bunch of other recipes, everything builds until:

///// start /////
ERROR: core-image-minimal-1.0-r0 do_rootfs: Unable to install
packages. Command '/home/rpjday/oe/builds/qemuppc_oe_small/tmp/work/qemuppc-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/usr/bin/smart --log-level=info --data-dir=/home/rpjday/oe/builds/qemuppc_oe_small/tmp/work/qemuppc-poky-linux/core-image-minimal/1.0-r0/rootfs/var/lib/smart install -y packagegroup-core-boot@qemuppc rpm@ppc7400
packagegroup-wrl-regular-recipes@all smartpm@ppc7400
run-postinsts@all' returned 1:
Loading cache...
Updating cache...
######################################## [100%]

Computing transaction...error: Can't install krb5-dev-1.13.6-r0@ppc7400: no package provides krb5 = 1.13.6-r0

Quoted 7 lines

ERROR: core-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in:
/home/rpjday/oe/builds/qemuppc_oe_small/tmp/work/qemuppc-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.22573
ERROR: Task (/home/rpjday/oe/dist/layers/poky/meta/recipes-core/images/core-image-minimal.bb:do_rootfs)
failed with exit code '1'
///// end /////

a simple solution was to add the line:

ALLOW_EMPTY_krb5 = "1"

to my local.conf. is that really the proper fix?

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#2 lore raw
Quoted 31 lines · Robert P. J. Day
Quoted 21 lines · Robert P. J. Day

ok, i hope this issue is not trivially simple. i'm building
core-image-minimal for qemuppc, and tossing in a bunch of other recipes, everything builds until:

///// start /////
ERROR: core-image-minimal-1.0-r0 do_rootfs: Unable to install
packages. Command '/home/rpjday/oe/builds/qemuppc_oe_small/tmp/work/qemuppc-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/usr/bin/smart --log-level=info --data-dir=/home/rpjday/oe/builds/qemuppc_oe_small/tmp/work/qemuppc-poky-linux/core-image-minimal/1.0-r0/rootfs/var/lib/smart install -y packagegroup-core-boot@qemuppc rpm@ppc7400
packagegroup-wrl-regular-recipes@all smartpm@ppc7400
run-postinsts@all' returned 1:
Loading cache...
Updating cache...
######################################## [100%]

Computing transaction...error: Can't install krb5-dev-1.13.6-r0@ppc7400: no package provides krb5 = 1.13.6-r0

Quoted 7 lines

ERROR: core-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in:
/home/rpjday/oe/builds/qemuppc_oe_small/tmp/work/qemuppc-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.22573
ERROR: Task (/home/rpjday/oe/dist/layers/poky/meta/recipes-core/images/core-image-minimal.bb:do_rootfs)
failed with exit code '1'
///// end /////

Quoted 5 lines

a simple solution was to add the line:

ALLOW_EMPTY_krb5 = "1"

to my local.conf. is that really the proper fix?

Removing the runtime dependency on krb5 from krb5-dev is usually preferred, search ML it was discussed few times.

Quoted 18 lines

rday

Signature · 13 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw
Quoted 10 lines · Martin Jansa
Quoted 5 lines · Robert P. J. Day

a simple solution was to add the line:

ALLOW_EMPTY_krb5 = "1"

to my local.conf. is that really the proper fix?

Removing the runtime dependency on krb5 from krb5-dev is usually preferred, search ML it was discussed few times.

ok, wouldn't be doing my job if i didn't ask ... why isn't this
change just added to the recipe file?

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================