[pacman-dev] [PATCH] No error in makepkg when removing deps fails
Allan McRae
mcrae_allan at hotmail.com
Wed Apr 2 11:44:17 EDT 2008
Dan McGee wrote:
> On Wed, Apr 2, 2008 at 10:14 AM, Allan McRae <mcrae_allan at hotmail.com> wrote:
>>
>> +
>> + # Fixes FS#10039 - exit cleanly as package has built successfully
>> + if [ $ret -ne 0 ]; then
>> + warning "$(gettext "Failed to remove installed dependencies.")"
>>
>
> Maybe print what deps we failed to remove? Or is it obvious from the
> pacman output? I think it would be helpful though so the user could
> begin undertaking manual cleanup.
>
>
The pacman output would only give which package caused the failure. The
packages are all installed with the --asdeps options so using "pacman
-Qtd" from the chroot should make cleanup easy. However, it is easy to
add it to the output if you think it would be useful.
Allan
More information about the pacman-dev
mailing list