[arch-projects] [devtools] Question about installing runtime dependencies at build time
emil.l.velikov at gmail.com
Fri Aug 11 11:53:12 UTC 2017
On 8 August 2017 at 18:28, Johannes Löthberg via arch-projects
<arch-projects at archlinux.org> wrote:
> Quoting Emil Velikov via arch-projects (2017-08-08 18:45:20)
>> Hello Arch developers,
>> After an upstream issue reported by Laurent Carlier (aka lordheavy)
>> Istarted wondering why builds fail on his end and not my (Arch)
>> The key difference seems to be that he's using devtools, whereas I do not.
>> After a further chat, I got the impression that devtools installs
>> runtime dependencies before/alongside(?) as the PKGBUILD build/install
>> target is issued.
>> This doesn't sound quite right to me. Shouldn't it be done, only on
>> runtime scenarios - say the check target?
>> Of course, I could be missing something so if anyone has some pointers
>> that will be appreciated.
> This is slightly confusingly written, but all packages listed in the
> depends and the makedepends arrays will always be installed before
> building a package. makedepends should only list packages that are only
> required when building, not all packages required when building
Seems like I've misinterpreted the meaning of depends, hence the
awkward wording and confusion.
Thanks for the correction Johannes.
More information about the arch-projects