Le 27/07/2021 à 20:26, Jason Ryan via aur-general a écrit :
On 27/07/21 at 01:17pm, Archange via aur-general wrote:
Le 27/07/2021 à 11:26, Cedric Girard via aur-general a écrit :
On 2021-07-27 11:20, Marcin Wieczorek wrote:
The most important meta package is base. It contains a minimal
package
set that defines a basic Arch Linux installation. It includes:
Without base you wouldn't be building the package on a system that can
be called Arch Linux. What's the point then?
I am misusing devtools feature to build in a clean chroot, then? Or
is there a bug in those tools?
No, you’re not, and systemd must be added to makedepends if required
at build time. The maintainer is wrong.
I'm the maintainer[0], and I'm not wrong. The package builds fine in a
chroot, using the classic way[1] with makechrootpkg.
It does not, results in:
install: cannot stat 'build/systemd/system/mpdscribble.service': No such
file or directory
I’ve just tried right now. Did you also try setting up a new chroot
(starting from scratch)? My guess is that your root chroot is old (i.e.
from before 2020) and includes systemd (packages never get removed from
the base chroot). But a new chroot would not, which is partly why some
issues regarding systemd leaving base-devel only appeared after a while.
So for now, please add systemd to makedepends. And while you’re at it,
you can add 'aarch64' to the `arch` array as asked by an user. ;)
systemd is not part of base-devel, and base is not part of official
building chroots (they were reasons for this, but I don’t remember
them at the moment).
It would good to see this actually documented somewhere.
See the bug report mentioned in my previous email to this thread. As
WorMzy said, not having base in base-devel/chroots seems to be an
oversight. The topic will likely be discussed more in depth soon, but in
the mean time the solution is adding systemd to makedepends.
Regards,
Bruno/Archange