Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

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
Task Type Bug Report
Category makepkg
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity High
Priority Normal
Reported Version 3.3.0
Due in Version 3.3.1
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

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
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

Loading...