[aur-general] Is base an implicit dependency?
Jason Ryan
jasonwryan at gmail.com
Tue Jul 27 20:10:30 UTC 2021
On 27/07/21 at 09:13pm, Archange wrote:
>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.
>
My bad: I had no idea that I needed to replace the chroot directory.
Birth: 2013-04-15 15:52:13.023713756 +1200
>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.
>
I'll update the PKGBUILD, but I really do not understand why this is
necessary. If you are running Arch, you have base installed: that has
always been an explicit expectation. People are free to deviate,
obviously, but on their own recognizance. The tooling should reflect
that, IMO.
--
// jwr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/aur-general/attachments/20210728/3ab27158/attachment.sig>
More information about the aur-general
mailing list