Package Details: mkosi-git 22.r57.g80debc1e64-1

Git Clone URL: https://aur.archlinux.org/mkosi-git.git (read-only, click to copy)
Package Base: mkosi-git
Description: Build Legacy-Free OS Images
Upstream URL: https://github.com/systemd/mkosi
Licenses: LGPL2.1
Conflicts: mkosi
Provides: mkosi
Submitter: falconindy
Maintainer: lucaswerkmeister
Last Packager: lucaswerkmeister
Votes: 6
Popularity: 0.001639
First Submitted: 2016-07-16 02:20 (UTC)
Last Updated: 2024-03-19 21:35 (UTC)

Dependencies (33)

Required by (0)

Sources (1)

Latest Comments

1 2 3 4 Next › Last »

lucaswerkmeister commented on 2023-08-12 12:57 (UTC)

Thanks, fixed.

edacval commented on 2023-08-12 12:03 (UTC) (edited on 2023-08-12 12:03 (UTC) by edacval)

It does requires python-setuptools-scm too as makedepends, otherwise you will get:

==> Starting build()...
+ pandoc -t man -s -o mkosi/resources/mkosi.1 mkosi/resources/mkosi.md
* Getting build dependencies for wheel...
/usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:72: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
  config = read_configuration(filepath, True, ignore_option_errors, dist)
validate_pyproject.api.load_builtin_plugin defines `tool.distutils` schema
validate_pyproject.api.load_builtin_plugin defines `tool.setuptools` schema
running egg_info
creating mkosi.egg-info
writing mkosi.egg-info/PKG-INFO
writing dependency_links to mkosi.egg-info/dependency_links.txt
writing entry points to mkosi.egg-info/entry_points.txt
writing requirements to mkosi.egg-info/requires.txt
writing top-level names to mkosi.egg-info/top_level.txt
writing manifest file 'mkosi.egg-info/SOURCES.txt'
reading manifest file 'mkosi.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'mkosi.egg-info/SOURCES.txt'

ERROR Missing dependencies:
        setuptools-scm
==> ERROR: A failure occurred in build().
    Aborting...

lucaswerkmeister commented on 2023-07-08 22:39 (UTC)

Thanks, should be fixed now.

Edu4rdSHL commented on 2023-07-08 21:23 (UTC)

It does requires python-setuptools too as makedepends, otherwise you will get

==> Starting build()...
* Getting build dependencies for wheel...

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/pyproject_hooks/_impl.py", line 321, in _call_hook
    raise BackendUnavailable(data.get('traceback', ''))
pyproject_hooks._impl.BackendUnavailable: Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 77, in _build_backend
    obj = import_module(mod_path)
          ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1128, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1142, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'setuptools'

ERROR Backend 'setuptools.build_meta:__legacy__' is not available.
==> ERROR: A failure occurred in build().
    Aborting...

lucaswerkmeister commented on 2023-07-07 18:02 (UTC)

Oh great, apparently upstream made pandoc a required dependency now. Love that.

The following 215 package(s) are getting installed:

Total Installed Size: 517,88 MiB

(: (: (:

Done.

Edu4rdSHL commented on 2023-07-06 20:30 (UTC)

Can you please add pandoc as requested? It isn't building without it.

gdiscry commented on 2023-04-19 08:56 (UTC)

I understand your point about pandoc. I use aurutils with a custom repository and build my packages in a chroot so that the build dependencies do not pollute my system, but I know that it's not the case for a lot users.

Nevertheless, while the pre-built manpage is updated for the releases, it's seldomly updated during development and a lot of its content is currently out of date.

lucaswerkmeister commented on 2023-04-18 18:21 (UTC)

Thanks, I updated the package dependencies. Pandoc used to be a dependency (semi-optional – see the git history of this package), but I took it out when I noticed that there seemed to be no need for it since there’s a built manpage already in the mkosi repository; I’d prefer not to add Pandoc back, to be honest.

gdiscry commented on 2023-04-18 11:57 (UTC)

There have been a few changes to the dependencies since the last release. These are the ones I know:

  • bubblewrap is a runtime dependency that replaces systemd-nspawn
  • systemd-ukify is an optional dependency to build bootable images
  • apt is an optional dependency to build Debian or Ubuntu images
  • debootstrap is not used anymore

Furthermore, the partitions and filesystems are now created by systemd-repart for the disk output format (replacing the raw_* output formats). mkosi does not use the filesystem tools directly anymore, except for btrfs-progs that is still needed for the subvolume output format. However, they are still indirectly useful as optional dependencies for systemd-repart.

There are also some optional dependencies introduced in earlier versions that are missing:

  • cpio for the output format of the same name.
  • zstd can be used for compression

Also, shouldn't pandoc-cli be in makedepends to always run python setup.py man?

lucaswerkmeister commented on 2022-03-18 12:25 (UTC)

Thanks, should be fixed now. Depending on your AUR helper, you might have to manually remove the existing mkosi clone to avoid an error like the following:

/home/lucas/git/aur/mkosi-git/mkosi is not a clone of https://github.com/systemd/mkosi.git

(Or manually update its remote URL instead of removing it, I guess.)