You are not logged in.
Makepkg implicitly treats everything in depends array as makedepends and installs them when building.
Pacman however treats everything in depends as needed at run time .
For me runtime dependencies are a entirely different beast then buildtime dependencies and this inconsistency has bugged me for a long time.
A possible solution is to rename depends to runtimedepends and let makepkg treat runtimedepends as informational only.
Makedepends would then be required to include everything needed for building[1] .
Do others feel this would be a good idea ?
Does other packagemanagement software use a strict separation between build and runtime depends ?
Lone_Wolf
[1] for consistency reasons this would also mean adding base-devel or its individual members to makedepends becomes mandatory
Last edited by Lone_Wolf (2021-12-19 13:33:42)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
Offline
I hadn't realised that method works for PKGBUILDs with just one package() function but it does.
Thanks for this tip, Ayekat.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
That is the work around for people who really want this. The vast majority of the time depends are also needed while building, so specifying them twice (as rundepends and makedepends) becomes redundant.
Offline
Redundancy can be a good thing.
To answer my oriignal question :
No.
renaming depends has downsides and there is a workaround that doesn't require changes to pacman / makepkg .
marking as Solved.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
It was already renamed to depends. It used to be adult_diaper.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline