Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#60347 - [libalpm] Can’t get check & make dependencies of a package
Attached to Project:
Pacman
Opened by Alexandre Garnier (agarnier) - Monday, 08 October 2018, 08:57 GMT
Last edited by Allan McRae (Allan) - Friday, 11 October 2019, 10:20 GMT
Opened by Alexandre Garnier (agarnier) - Monday, 08 October 2018, 08:57 GMT
Last edited by Allan McRae (Allan) - Friday, 11 October 2019, 10:20 GMT
|
DetailsSummary and Info:
alpm_pkg_get_{check,make}depends(alpm_pkg_t*) functions in lib/libalpm/alpm.h are supposed to return check & make dependencies for a given package, but don’t (both systematically return an empty linked list). Patching lib/libalpm/be_sync.c by copying the behavior for depends & optdepends does the job. You’ll find attached the git diff of the change in question. |
This task depends upon
Closed by Allan McRae (Allan)
Friday, 11 October 2019, 10:20 GMT
Reason for closing: Implemented
Additional comments about closing: git commit f9eb2aac
Friday, 11 October 2019, 10:20 GMT
Reason for closing: Implemented
Additional comments about closing: git commit f9eb2aac
patch.diff
Here is a patch to cover both cases.
Also scheduled to be backported into the next maintenance release.