[aur-general] know what dependencies in PKGBUILD

Kusoneko kusoneko at kusoneko.moe
Thu Jul 23 20:59:42 UTC 2020

On July 23, 2020 8:50:43 PM UTC, Knut Ahlers <knut at ahlers.me> wrote:
>On Thu, Jul 23, 2020 at 10:24 PM Eli Schwartz via aur-general
><aur-general at archlinux.org> wrote:
>> On 7/23/20 4:07 PM, alad via aur-general wrote:
>> >
>> > On 23/07/2020 15:45, Eli Schwartz via aur-general wrote:
>> >> On 7/23/20 9:17 AM, alad via aur-general wrote:
>> >>> Am 23/07/2020 um 15:10 schrieb Budi via aur-general:
>> >>>> h\How to know what dependencies only need to put  (surely not
>> >>> I proceed as follows:
>> >>>
>> >>> 1. ignore anything in base-devel
>> >> base-devel is for makedepends only, base is for depends.
>> > So? base-devel contains programs that can be used during runtime,
>> > gawk.
>> Or 'which', or 'sudo'.
>> If they are used during runtime, you can't exactly leave them out of
>> depends=() on the rationale that people who installed base-devel to
>> build packages, won't have errors running it.
>IMO you should add them as omitting packages required to run the
>program will cause issues for people. Packages should request
>everything they need to run.
>As an example: All AUR packages I'm using on my machines are built on
>a CI system in containers. All of them do have a clean environment -
>of course containing devel packages. My machines do not have devel
>packages installed as long as they are not used for development as
>they don't require them. So an AUR package built through the CI system
>installed on a machine without devel packages will miss some of its
>dependencies and will be broken.
>Also I know of repos maintained by TUs containing AUR packages: For
>them the same applies and while in a worst-case szenario I can patch
>the build before building it users relying on those AUR repos listed
>in the Wiki will get broken packages.
>Knut Ahlers
>Software & Infrastructure Developer
>Web & Blog: https://ahlers.me/
>GPG-Key: 0xD34BE99E

That's an interesting setup, I'd be curious to know how to set that up?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 850 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/aur-general/attachments/20200723/ed12eecf/attachment.sig>

More information about the aur-general mailing list