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#25749 - makepkg -i gives wrong errorcode
Attached to Project:
Pacman
Opened by guido (qqqqqqqqq9) - Thursday, 25 August 2011, 00:01 GMT
Last edited by Allan McRae (Allan) - Thursday, 08 September 2011, 00:42 GMT
Opened by guido (qqqqqqqqq9) - Thursday, 25 August 2011, 00:01 GMT
Last edited by Allan McRae (Allan) - Thursday, 08 September 2011, 00:42 GMT
|
DetailsDescription:
makepkg -i gives errorcode 0 on failure instead of 1. From /usr/bin/makepkg: 1207 if ! run_pacman -U $pkglist; then 1208 warning "$(gettext "Failed to install built package(s).")" 1209 return 0 1210 fi Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: |
This task depends upon
Closed by Allan McRae (Allan)
Thursday, 08 September 2011, 00:42 GMT
Reason for closing: Won't fix
Additional comments about closing: See comments
Thursday, 08 September 2011, 00:42 GMT
Reason for closing: Won't fix
Additional comments about closing: See comments
Comment by Allan McRae (Allan) -
Thursday, 25 August 2011, 04:05 GMT
This is deliberate. The decision was made a while back that makepkg had succeeded in its primary operation (to make the package) so it should return 0. That is why the output message there is a "warning" rather than an "error".
Comment by Allan McRae (Allan) -
Thursday, 25 August 2011, 04:12 GMT
Commit: http://projects.archlinux.org/pacman.git/commit/?id=deff57ce