FS#15851 - makepkg -R creates new .PKGINFO in working directory not $pkgdir
Attached to Project:
Pacman
Opened by Jim Pryor (Profjim) - Saturday, 08 August 2009, 08:38 GMT
Last edited by Allan McRae (Allan) - Sunday, 09 August 2009, 12:58 GMT
Opened by Jim Pryor (Profjim) - Saturday, 08 August 2009, 08:38 GMT
Last edited by Allan McRae (Allan) - Sunday, 09 August 2009, 12:58 GMT
|
Details
Summary and Info:
Running makepkg -R will create a package that ignores any changes to PKGBUILD, as it writes the new .PKGINFO file to the wrong directory and so ends up using the old .PKGINFO file. Steps to Reproduce: Run makepkg. Edit the PKGBUILD (e.g., bump the pkgrel). Run makepkg -R. The new package will be named correctly, but open it up and inspect its .PKGINFO file: still contains the old info. Look in your working directory: there's the .PKGINFO file that should have been written to $pkgdir. Fix attached (though I made the diff against /usr/bin/makepkg rather than the source, sorry). |
This task depends upon
Closed by Allan McRae (Allan)
Sunday, 09 August 2009, 12:58 GMT
Reason for closing: Fixed
Additional comments about closing: in git - commit 839bb562
Sunday, 09 August 2009, 12:58 GMT
Reason for closing: Fixed
Additional comments about closing: in git - commit 839bb562
Comment by Allan McRae (Allan) -
Saturday, 08 August 2009, 09:26 GMT
- Field changed: Status (Unconfirmed → Assigned)
- Field changed: Category (General → makepkg)
- Field changed: Due in Version (Undecided → 3.3.1)
- Task assigned to Allan McRae (Allan)
Similar patch pushed to my working branch
makepkg.patch