FS#19341 - makepkg trying to remove dependcies twice

Attached to Project: Pacman
Opened by Anish Bhatt (anish) - Monday, 03 May 2010, 13:04 GMT
Last edited by Allan McRae (Allan) - Tuesday, 11 May 2010, 22:57 GMT
Task Type Bug Report
Category makepkg
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version 3.3.3
Due in Version 3.4.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
if i run makepkg with -rs, it tried to remove installed makedependcies twice, succeding the first time, failing the second time.

==> ERROR: Build Failed.
Aborting...
==> Removing installed dependencies...
checking dependencies...

Remove (1): libgnomeui-2.24.3-1

Total Removed Size: 6.41 MB

Do you want to remove these packages? [Y/n] y
(1/1) removing libgnomeui [##################################################################################] 100%
==> Removing installed dependencies...
libgnomeui not found, searching for group...
error: 'libgnomeui': not found in local db
==> WARNING: Failed to remove installed dependencies.


Steps to reproduce:

i tried this on the firefox-pgo PKGBUILD
This task depends upon

Closed by  Allan McRae (Allan)
Tuesday, 11 May 2010, 22:57 GMT
Reason for closing:  Fixed
Additional comments about closing:  In git: http://projects.archlinux.org/pacman.git /commit/?id=ccbef232
Comment by Allan McRae (Allan) - Monday, 03 May 2010, 13:33 GMT
I can not replicate this. Can you alos post the dependency install step with that package too?

Anyway, dependency removal has been overhauled in  FS#15144  and will handle this better.
Comment by Anish Bhatt (anish) - Monday, 03 May 2010, 13:37 GMT
install step :
#makepkg -rs
==> Making package: firefox-pgo 3.6.3-1 x86_64 (Tue May 4 06:35:51 PDT 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for inter-conflicts...

Targets (1): libgnomeui-2.24.3-1

Total Download Size: 0.00 MB
Total Installed Size: 6.41 MB

Proceed with installation? [Y/n]
Comment by Anish Bhatt (anish) - Monday, 03 May 2010, 13:39 GMT
makepkg seems to be unaware of the state of libgnomeui in the first place, it is trying to remove libgnomeui even if i cancel installing dependencies :
==> Installing missing dependencies...
resolving dependencies...
looking for inter-conflicts...

Targets (1): libgnomeui-2.24.3-1

Total Download Size: 0.00 MB
Total Installed Size: 6.41 MB

Proceed with installation? [Y/n] n
==> Missing Dependencies:
-> libgnomeui>=2.24.1
==> ERROR: Could not resolve all dependencies.
==> Removing installed dependencies...
libgnomeui not found, searching for group...
error: 'libgnomeui': not found in local db
==> WARNING: Failed to remove installed dependencies.

Loading...