[arch-projects] [devtools] Question about installing runtime dependencies at build time

Johannes Löthberg johannes at kyriasis.com
Tue Aug 8 17:28:18 UTC 2017

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)
> machine.
> 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

  Johannes Löthberg
  PGP Key ID: 0x50FB9B273A9D0BB5
  PGP Key FP: 5134 EF9E AF65 F95B 6BB1  608E 50FB 9B27 3A9D 0BB5

More information about the arch-projects mailing list