On Wed, Dec 4, 2019 at 9:00 AM Ben Cooksley <bcooks...@kde.org> wrote:
>
> On Wed, Dec 4, 2019 at 3:12 AM Boudewijn Rempt <b...@valdyas.org> wrote:
> >
> > Krita's flatpak nightly and nightly stable builds are broken, and I don't 
> > know why. It's almost as if flatpak-builder tries to parse the yaml file as 
> > json:
> >
> > [2019-12-02T22:37:51.554Z] + flatpak-builder --force-clean 
> > --delete-build-dirs --arch=x86_64 --ccache --sandbox --user 
> > --install-deps-from=flathub --repo=/home/packaging/staging-repo/ 
> > --subject=Built on Mon Dec  2 23:37:51 CET 2019 app 
> > /home/packaging/jenkins/workspace/Krita_nightly_flatpak/packaging/linux/flatpak/org.kde.krita-nightly.yaml
> > [2019-12-02T22:37:51.554Z] Can't parse 
> > '/home/packaging/jenkins/workspace/Krita_nightly_flatpak/packaging/linux/flatpak/org.kde.krita-nightly.yaml':
> >  <data>:1:6: Parse error: unexpected identifier `app-id', expected value
> >
> > Was there a recent change that disabled support for yaml files and should 
> > those be rewritten as json files?
>
> November 16 would roughly line up with when we changed the way the
> builders work, so it's possible that the version of flatpak-builder in
> use was changed at that time.
>
> Looking in that folder, I do see a .json format version which is 3
> months out of date.
> Maybe removing it will help?

Hi Ben,
It's quite weird, I looked into it few days ago and it built properly
on my system. It feels to me like flatpak-builder would be using the
json parser to do yaml?

Anyhow, maybe it could make sense updating the flatpak-builder version
on these systems? It's even possible to run a flatpak version of
flatpak-builder. I can help with that I just am not sure where to look
at.

Aleix

Reply via email to