FS#28752 - [pacman] incorrect handling of "-r" flag by makepkg

Attached to Project: Pacman
Opened by Alexander (AlexanderR) - Friday, 02 March 2012, 21:19 GMT
Last edited by Andrea Scarpino (BaSh) - Saturday, 03 March 2012, 08:19 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
makepkg man page says:
-r, --rmdeps
Upon successful build, remove any dependencies installed by makepkg during dependency auto-resolution and installation when using -s.

But when run with "-r" makepkg always tries to remove something even if there is nothing to remove or removal is not possible.

Steps to reproduce:
situation 1 - no dependencies to remove, makepkg runs pacman with blank argument:
$ cd pkgdir
$ makepkg -sr

situation 2 - no "-s" flag, the same behavior:
$ cd pkgdir
$ makepkg -r

even so:
$ cd /
$ makepkg -r
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Saturday, 03 March 2012, 08:19 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#28448 
Comment by Alexander (AlexanderR) - Saturday, 03 March 2012, 08:18 GMT
  • Field changed: Percent Complete (100% → 0%)
Sorry for misuse of re-open functionality but could you at least point me to duplicated bug report and version in which fix will arrive?

Loading...