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#47149 - [patch] makepkg should not warn about dependency checks when used with -o/--nobuild
|
DetailsSummary and Info:
When used with -d/--nodeps, makepkg raise the following warning: "WARNING: Skipping dependency checks." According a comment in makepkg's source code (https://projects.archlinux.org/pacman.git/tree/scripts/makepkg.sh.in?h=v4.2.1#n3605), makepkg's developers planned to hide this warning when makepkg is used with -o/--nobuild. Indeed, this warning loses its meaning in this case and it could be misleading (full story here: https://github.com/archlinuxfr/yaourt/issues/155). Please find attached a trivial patch which should do the trick. |
This task depends upon
0001-makepkg-do-not-warn-abou...
See
FS#35057andFS#36999i.e:
if (( NODEPS && ( ! NOBUILD || PREPAREFUNC ) )); then
warning "$(gettext "Skipping dependency checks.")"
fi