I have the metadata for my project, which passes all the flatpak-builder-lint checks, but when I actually build my project, I get the error E: filters-but-no-output
Here’s my metadata:
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>io.github.evilsupahfly.amulet_flatpak</id>
<name>Amulet Map Editor - Flatpak Edition</name>
<summary>Amulet is a Minecraft world editor that allows users to modify and create worlds with ease</summary>
<metadata_license>FTL</metadata_license>
<project_license>AGPL-3.0-or-later</project_license>
<description>
<p>
Amulet is a simple, yet powerful, world editor for modifying Minecraft saved worlds.
</p>
</description>
<developer id="io.github.evilsupahfly.amulet_flatpak">
<name>Amulet Developer: Team Amulet</name>
<name>Flatpak Developer: EvilSupahFly</name>
</developer>
<url type="homepage">https://github.com/amulet-Team/Amulet-Map-Editor/</url>
<url type="vcs-browser">https://github.com/EvilSupahFly/Amulet-Flatpak/</url>
<releases>
<release version="0.10.36" date="2024-01-18">
<url type="details">https://github.com/EvilSupahFly/Amulet-Flatpak/releases/tag/0.10.36</url>
</release>
</releases>
<launchable type="desktop-id">io.github.evilsupahfly.amulet_flatpak.desktop</launchable>
<content_rating type="oars-1.0">
<content_attribute id="social-chat">moderate</content_attribute>
</content_rating>
<categories>
<category>Game</category>
<category>KidsGame</category>
</categories>
<provides>
<binary>io.github.evilsupahfly.amulet-flatpak</binary>
</provides>
</component>
And here’s my terminal log:
evilsupahfly@ubuntu-build-server: ~/NAS2100/flatpak-stuff/Amulet-Flatpak $ flatpak run --command=flatpak-builder-lint org.flatpak.Builder appstream "io.github.evilsupahfly.amulet-flatpak.metainfo.xml"
✔ Validation was successful.
evilsupahfly@ubuntu-build-server: ~/NAS2100/flatpak-stuff/Amulet-Flatpak $ flatpak-builder -vvv --user --install-deps-from=flathub --mirror-screenshots-url=https://dl.flathub.org/media/ --add-tag=0.10.36 --bundle-sources --repo=io.github.evilsupahfly.amulet-flatpak-repo amulet-flatpak_build_dir io.github.evilsupahfly.amulet-flatpak.yaml --force-clean
FB: Running: git config --get user.email
FB: Running: git config --get user.name
** (flatpak-builder:577247): WARNING **: 09:42:01.864: Unknown property name for type BuilderManifest
** (flatpak-builder:577247): WARNING **: 09:42:01.864: Unknown property version for type BuilderManifest
** (flatpak-builder:577247): WARNING **: 09:42:01.868: Unknown property versioning for type BuilderManifest
Dependency Sdk: org.freedesktop.Sdk 24.08
FB: Running: flatpak --user info org.freedesktop.Sdk/x86_64/24.08 --show-commit
Updating org.freedesktop.Sdk/x86_64/24.08
FB: Using Flatpak version 1.14.6
FB: Running: flatpak --user update --subpath= -y --noninteractive org.freedesktop.Sdk/x86_64/24.08
Nothing to do.
Dependency Runtime: org.freedesktop.Platform 24.08
FB: Running: flatpak --user info org.freedesktop.Platform/x86_64/24.08 --show-commit
Updating org.freedesktop.Platform/x86_64/24.08
FB: Running: flatpak --user update --subpath= -y --noninteractive org.freedesktop.Platform/x86_64/24.08
Nothing to do.
Emptying app dir 'amulet-flatpak_build_dir'
FB: Running: flatpak info --arch=x86_64 --show-commit org.freedesktop.Sdk 24.08
FB: Running: flatpak info --show-location --arch=x86_64 org.freedesktop.Sdk 24.08
FB: Running: flatpak info --arch=x86_64 --show-commit org.freedesktop.Platform 24.08
Downloading sources
Starting build of io.github.evilsupahfly.amulet-flatpak
Cache hit for glew, skipping build
Cache hit for glu, skipping build
Cache hit for python3-versioneer, skipping build
Cache hit for python3-meson-python, skipping build
Cache hit for python3-glad, skipping build
Cache hit for python3-pyopengl, skipping build
Cache hit for python3-numpy, skipping build
Cache hit for python3-lz4, skipping build
Cache hit for python3-amulet-core, skipping build
Cache hit for python3-amulet-map-editor, skipping build
Cache hit for python3-amulet-leveldb, skipping build
Cache hit for python3-amulet-nbt, skipping build
Cache hit for python3-evilsupahfly-resource-pack, skipping build
Cache hit for pip-gen, skipping build
Cache miss, checking out last cache hit
FB: Mounting read-only fs: rofiles-fuse /ssh-home/evilsupahfly/NAS2100/flatpak-stuff/Amulet-Flatpak/amulet-flatpak_build_dir /ssh-home/evilsupahfly/NAS2100/flatpak-stuff/Amulet-Flatpak/.flatpak-builder/rofiles/rofiles-ZNb71C
========================================================================
Building module metainfo-xml in /ssh-home/evilsupahfly/NAS2100/flatpak-stuff/Amulet-Flatpak/.flatpak-builder/build/metainfo-xml-3
========================================================================
Running: install -Dm644 io.github.evilsupahfly.amulet-flatpak.metainfo.xml -t ${FLATPAK_DEST}/share/metainfo/
FB: Running: flatpak build --die-with-parent --env=FLATPAK_BUILDER_BUILDDIR=/run/build/metainfo-xml --nofilesystem=host:reset --filesystem=/ssh-home/evilsupahfly/NAS2100/flatpak-stuff/Amulet-Flatpak/.flatpak-builder/build/metainfo-xml-3 --bind-mount=/run/build/metainfo-xml=/ssh-home/evilsupahfly/NAS2100/flatpak-stuff/Amulet-Flatpak/.flatpak-builder/build/metainfo-xml-3 --build-dir=/run/build/metainfo-xml --bind-mount=/run/ccache=/ssh-home/evilsupahfly/NAS2100/flatpak-stuff/Amulet-Flatpak/.flatpak-builder/ccache --env=SOURCE_DATE_EPOCH=1728736659 '--env=CFLAGS=-O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' '--env=CXXFLAGS=-O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' '--env=LDFLAGS=-L/app/lib -Wl,-z,relro,-z,now -Wl,--as-needed ' --env=CCACHE_DIR=/run/ccache/disabled --env=PATH=/app/bin:/usr/bin --env=LD_LIBRARY_PATH=/app/lib --env=PKG_CONFIG_PATH=/app/lib/pkgconfig:/app/share/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig --env=FLATPAK_BUILDER_N_JOBS=8 /ssh-home/evilsupahfly/NAS2100/flatpak-stuff/Amulet-Flatpak/.flatpak-builder/rofiles/rofiles-ZNb71C /bin/sh -c 'install -Dm644 io.github.evilsupahfly.amulet-flatpak.metainfo.xml -t ${FLATPAK_DEST}/share/metainfo/'
FB: unmounting rofiles-fuse /ssh-home/evilsupahfly/NAS2100/flatpak-stuff/Amulet-Flatpak/.flatpak-builder/rofiles/rofiles-ZNb71C
Committing stage build-metainfo-xml to cache
Cleaning up
FB: Mounting read-only fs: rofiles-fuse /ssh-home/evilsupahfly/NAS2100/flatpak-stuff/Amulet-Flatpak/amulet-flatpak_build_dir /ssh-home/evilsupahfly/NAS2100/flatpak-stuff/Amulet-Flatpak/.flatpak-builder/rofiles/rofiles-ZNb71C
Removing files/lib/pkgconfig/glu.pc
Removing files/lib/pkgconfig/glew.pc
Removing files/lib/pkgconfig
Removing files/lib/libGLU.a
Removing files/lib/libGLEW.a
Removing files/include/GL/wglew.h
Removing files/include/GL/glxew.h
Removing files/include/GL/glu.h
Removing files/include/GL/glew.h
Removing files/include/GL
Removing files/include
Running appstreamcli compose
Saving screenshots in /ssh-home/evilsupahfly/NAS2100/flatpak-stuff/Amulet-Flatpak/.flatpak-builder/rofiles/rofiles-ZNb71C/files/share/app-info/media
FB: Running: appstreamcli compose --prefix=/ --origin=io.github.evilsupahfly.amulet-flatpak --media-baseurl=https://dl.flathub.org/media/ --media-dir=/ssh-home/evilsupahfly/NAS2100/flatpak-stuff/Amulet-Flatpak/.flatpak-builder/rofiles/rofiles-ZNb71C/files/share/app-info/media --result-root=/ssh-home/evilsupahfly/NAS2100/flatpak-stuff/Amulet-Flatpak/.flatpak-builder/rofiles/rofiles-ZNb71C/files --data-dir=/ssh-home/evilsupahfly/NAS2100/flatpak-stuff/Amulet-Flatpak/.flatpak-builder/rofiles/rofiles-ZNb71C/files/share/app-info/xmls --icons-dir=/ssh-home/evilsupahfly/NAS2100/flatpak-stuff/Amulet-Flatpak/.flatpak-builder/rofiles/rofiles-ZNb71C/files/share/app-info/icons/flatpak '--components=io.github.evilsupahfly.amulet-flatpak,io.github.evilsupahfly.amulet-flatpak.desktop' /ssh-home/evilsupahfly/NAS2100/flatpak-stuff/Amulet-Flatpak/.flatpak-builder/rofiles/rofiles-ZNb71C/files
Only accepting components: io.github.evilsupahfly.amulet-flatpak, io.github.evilsupahfly.amulet-flatpak.desktop
Processing directory: /ssh-home/evilsupahfly/NAS2100/flatpak-stuff/Amulet-Flatpak/.flatpak-builder/rofiles/rofiles-ZNb71C/files
Composing metadata...
Run failed, some data was ignored.
Errors were raised during this compose run:
general
E: filters-but-no-output
Refer to the generated issue report data for details on the individual problems.
Error: ERROR: appstreamcli compose failed: Child process exited with code 1
FB: Unmounting read-only fs: fusermount -uz /ssh-home/evilsupahfly/NAS2100/flatpak-stuff/Amulet-Flatpak/.flatpak-builder/rofiles/rofiles-ZNb71C
[2024-10-12 09:44:05] ERROR: flatpak-builder failed.
I don’t understand why it fails if it passed the check. What am I missing?