All of lore.kernel.org
 help / color / mirror / Atom feed
* "Can't install krb5-dev-1.13.6-r0@ppc7400: no package provides krb5 = 1.13.6-r0"
@ 2017-02-20 11:47 Robert P. J. Day
  2017-02-20 12:10 ` Robert P. J. Day
  0 siblings, 1 reply; 4+ messages in thread
From: Robert P. J. Day @ 2017-02-20 11:47 UTC (permalink / raw)
  To: OpenEmbedded Development mailing list


  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

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: "Can't install krb5-dev-1.13.6-r0@ppc7400: no package provides krb5 = 1.13.6-r0"
  2017-02-20 11:47 "Can't install krb5-dev-1.13.6-r0@ppc7400: no package provides krb5 = 1.13.6-r0" Robert P. J. Day
@ 2017-02-20 12:10 ` Robert P. J. Day
  2017-02-20 12:19   ` Martin Jansa
  0 siblings, 1 reply; 4+ messages in thread
From: Robert P. J. Day @ 2017-02-20 12:10 UTC (permalink / raw)
  To: OpenEmbedded Development mailing list

On Mon, 20 Feb 2017, Robert P. J. Day wrote:

>   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 simple solution was to add the line:

ALLOW_EMPTY_krb5 = "1"

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

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: "Can't install krb5-dev-1.13.6-r0@ppc7400: no package provides krb5 = 1.13.6-r0"
  2017-02-20 12:10 ` Robert P. J. Day
@ 2017-02-20 12:19   ` Martin Jansa
  2017-02-20 12:35     ` Robert P. J. Day
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Jansa @ 2017-02-20 12:19 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2483 bytes --]

On Mon, Feb 20, 2017 at 07:10:56AM -0500, Robert P. J. Day wrote:
> On Mon, 20 Feb 2017, Robert P. J. Day wrote:
> 
> >   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 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.

> 
> rday
> 
> -- 
> 
> ========================================================================
> 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
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: "Can't install krb5-dev-1.13.6-r0@ppc7400: no package provides krb5 = 1.13.6-r0"
  2017-02-20 12:19   ` Martin Jansa
@ 2017-02-20 12:35     ` Robert P. J. Day
  0 siblings, 0 replies; 4+ messages in thread
From: Robert P. J. Day @ 2017-02-20 12:35 UTC (permalink / raw)
  To: openembedded-devel

On Mon, 20 Feb 2017, Martin Jansa wrote:

> On Mon, Feb 20, 2017 at 07:10:56AM -0500, Robert P. J. Day wrote:

> >   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

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-02-20 12:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-20 11:47 "Can't install krb5-dev-1.13.6-r0@ppc7400: no package provides krb5 = 1.13.6-r0" Robert P. J. Day
2017-02-20 12:10 ` Robert P. J. Day
2017-02-20 12:19   ` Martin Jansa
2017-02-20 12:35     ` Robert P. J. Day

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.