All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi][ostree] build errors
@ 2019-09-11 23:15 Greg Wilson-Lindberg
  2019-09-12  5:19 ` Alex Kiernan
  0 siblings, 1 reply; 2+ messages in thread
From: Greg Wilson-Lindberg @ 2019-09-11 23:15 UTC (permalink / raw)
  To: Yocto list discussion

I'm trying to include ostree into a raspberry pi boot2qt build based on thud.

I'm getting a warning:
WARNING: linux-raspberrypi-1_4.14.112+gitAUTOINC+6b5c4a2508-r0 do_kernel_metadata: defconfig detected in WORKDIR. bcm2709_defconfig skipped

Which I figure that I can probably ignore, but may find I have a problem with it if it is missing out on my config changes.

More concerning is the following error:

ERROR: ostree-v2018.9-r0 do_unpack: gitsm: submodule unpack failed: UnpackError Unpack failure for URL: 'gitsm://gitlab.gnome.org/GNOME/libglnx.git;protocol=https;name=libglnx;subpath=libglnx;bareclone=1;nobranch=1'. No up to date source found: clone directory not available or not up to date: /home/gwilson/Qt/Qt-5.13.1/Yocto-build-RPi3/build-raspberrypi3/../downloads/git2/gitlab.gnome.org.GNOME.libglnx.git; shallow clone not enabled

The 'gitlab.gnome.org/GNOME/libglnx' subdirectory is there, so that would imply that something is wrong with the initial protocol or other decorators. I also did a clean on ostree just to make sure there wasn't any problem with git -> gitsm changes.

Is there anyone with familiarity with the ostree system that could give me a hand on this? It is possible that I'm missing some configuration, the docs are not the clearest.

Thanks in advance,
Greg Wilson-Lindberg  
 


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

* Re: [meta-raspberrypi][ostree] build errors
  2019-09-11 23:15 [meta-raspberrypi][ostree] build errors Greg Wilson-Lindberg
@ 2019-09-12  5:19 ` Alex Kiernan
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Kiernan @ 2019-09-12  5:19 UTC (permalink / raw)
  To: Greg Wilson-Lindberg; +Cc: Yocto list discussion

On Thu, Sep 12, 2019 at 12:17 AM Greg Wilson-Lindberg
<GWilson@sakuraus.com> wrote:
>
> I'm trying to include ostree into a raspberry pi boot2qt build based on thud.
>
> I'm getting a warning:
> WARNING: linux-raspberrypi-1_4.14.112+gitAUTOINC+6b5c4a2508-r0 do_kernel_metadata: defconfig detected in WORKDIR. bcm2709_defconfig skipped
>
> Which I figure that I can probably ignore, but may find I have a problem with it if it is missing out on my config changes.
>
> More concerning is the following error:
>
> ERROR: ostree-v2018.9-r0 do_unpack: gitsm: submodule unpack failed: UnpackError Unpack failure for URL: 'gitsm://gitlab.gnome.org/GNOME/libglnx.git;protocol=https;name=libglnx;subpath=libglnx;bareclone=1;nobranch=1'. No up to date source found: clone directory not available or not up to date: /home/gwilson/Qt/Qt-5.13.1/Yocto-build-RPi3/build-raspberrypi3/../downloads/git2/gitlab.gnome.org.GNOME.libglnx.git; shallow clone not enabled
>
> The 'gitlab.gnome.org/GNOME/libglnx' subdirectory is there, so that would imply that something is wrong with the initial protocol or other decorators. I also did a clean on ostree just to make sure there wasn't any problem with git -> gitsm changes.
>
> Is there anyone with familiarity with the ostree system that could give me a hand on this? It is possible that I'm missing some configuration, the docs are not the clearest.
>

My immediate thought was add:

PREMIRRORS = ""

to your ostree recipe - there's an old copy of the source sitting in
the yocto mirrors and the gitsm fetcher doesn't update the submodules
correctly, but looking at the error, I'm not sure if that's actually
your problem.

I'm a couple of upstream patches away from an ostree recipe that's I
think should be in a fit state to go into meta-oe:

https://github.com/akiernan/meta-ostree-core/blob/master/recipes-ostree/ostree/ostree.inc

-- 
Alex Kiernan


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

end of thread, other threads:[~2019-09-12  5:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-11 23:15 [meta-raspberrypi][ostree] build errors Greg Wilson-Lindberg
2019-09-12  5:19 ` Alex Kiernan

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.