Hi,
I've noticed that someone created a flatpak build for one of my packages (feedreader),
but it's horribly out of date: flatpak has 2.5.1 vs rpm has 2.7.0. I've been
trying to update the flatpak build, but not much luck here. The documentation is pretty
verbose, but seems to miss some crucial steps and nothing really works.
I've been following
https://fishsoup.net/misc/fedora-docs-flatpak/flatpak/tutorial/
Specifically, I've typed the following commands:
# dnf install flatpak-module-tools fedmod
$ fedpkg clone modules/feedreader
$ cd feedreader
$ fedmod fetch-metadata
Up until here everything seems to check out and download correctly, but then when I do:
$ flatpak-module local-build --install
2019-01-31 17:11:52,388 - MainThread - moksha.hub - WARNING - Cannot find qpid python
module. Make sure you have python-qpid installed.
BUILDING MODULE
===============
Traceback (most recent call last):
File "/usr/bin/mbs-manager", line 11, in <module>
load_entry_point('module-build-service==2.12.2', 'console_scripts',
'mbs-manager')()
File "/usr/lib/python3.7/site-packages/module_build_service/manage.py", line
189, in manager_wrapper
manager.run()
File "/usr/lib/python3.7/site-packages/flask_script/__init__.py", line 417, in
run
result = self.handle(argv[0], argv[1:])
File "/usr/lib/python3.7/site-packages/flask_script/__init__.py", line 386, in
handle
res = handle(*args, **config)
File "/usr/lib/python3.7/site-packages/flask_script/commands.py", line 216, in
__call__
return self.run(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/module_build_service/manage.py", line
154, in build_module_locally
username, handle, str(stream), skiptests, optional_params)
File "/usr/lib/python3.7/site-packages/module_build_service/utils/submit.py",
line 386, in submit_module_build_from_yaml
return submit_module_build(username, None, mmd, optional_params)
File "/usr/lib/python3.7/site-packages/module_build_service/utils/submit.py",
line 486, in submit_module_build
mmds = generate_expanded_mmds(db.session, mmd, raise_if_stream_ambigous,
default_streams)
File "/usr/lib/python3.7/site-packages/module_build_service/utils/mse.py",
line 345, in generate_expanded_mmds
current_mmd, default_streams, raise_if_stream_ambigous)
File "/usr/lib/python3.7/site-packages/module_build_service/utils/mse.py",
line 276, in get_mmds_required_by_module_recursively
.format(base_module_choices))
module_build_service.errors.UnprocessableEntity: None of the base module (platform)
streams in the buildrequires section could be found
error: mbs-manager build_module_locally failed
error: log: None
From this error message, it's unclear to me what I need to install. feedreader.yaml
has:
- buildrequires:
flatpak-runtime: [f29]
requires:
flatpak-runtime: [f29]
so I've tried to do 'dnf install flatpak-runtime' but the package doesn't
seem to be available.
Next, I thought I'd try building it in koji. Not sure how to do that, the docs are
fairly vague, mentioning 'git push origin master' but I don't have anything
really to push, the existing git doesn't seem to refer to package versions or
anything. I figured that maybe it somehow magically connects it to dist-git
rpms/feedreader and gets the sources there so I've tried just 'fedpkg
module-build' without pushing anything to modules/flatpak, but that fails again with
the familiar missing buildrequires error:
$ fedpkg module-build
Submitting the module build...
Could not execute module_build: The build failed with:
None of the base module (platform or bootstrap) streams in the buildrequires section could
be found
Is the flatpak building actually working for anyone? What am I doing wrong? How do I
specify what version to actually build?
Thanks,
Pete