FS#34672 - makepkg attempts to remove packages twice on build failure

Attached to Project: Pacman
Opened by Götz (goetzc) - Monday, 08 April 2013, 05:20 GMT
Last edited by Allan McRae (Allan) - Tuesday, 16 April 2013, 02:35 GMT
Task Type Bug Report
Category makepkg
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 4.1.0
Due in Version 4.1.1
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

It seems that makepkg tries twice to remove packages installed with "makepkg -s.
This only happened after an build error.


==> ERROR: A failure occurred in build().
Aborting...
==> Removing installed dependencies...
checking dependencies...
:: git optionally requires subversion: git svn

Packages (5): apr-1.4.6-1 apr-util-1.5.1-1 intltool-0.50.2-1 serf-1.2.0-1
subversion-1.7.9-1

Total Removed Size: 25.62 MiB

:: Do you want to remove these packages? [Y/n]
(1/5) removing subversion [#########################] 100%
(2/5) removing serf [#########################] 100%
(3/5) removing intltool [#########################] 100%
(4/5) removing apr-util [#########################] 100%
(5/5) removing apr [#########################] 100%
==> Removing installed dependencies...
error: target not found: apr
error: target not found: apr-util
error: target not found: intltool
error: target not found: serf
error: target not found: subversion
==> WARNING: Failed to remove installed dependencies.


Additional info:
* pacman 4.1.0-2
(related PKGBUILD attached)
This task depends upon

Closed by  Allan McRae (Allan)
Tuesday, 16 April 2013, 02:35 GMT
Reason for closing:  Fixed
Additional comments about closing:  git commit b7c994db
Comment by Allan McRae (Allan) - Monday, 08 April 2013, 05:48 GMT
Patch submitted to the mailing list: https://patchwork.archlinux.org/patch/1098/

Loading...