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.
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.
FS#12286 - makepkg with mercurial style "compact"
Attached to Project:
Pacman
Opened by Roman Timushev (rtimush) - Sunday, 30 November 2008, 12:50 GMT
Last edited by Dan McGee (toofishes) - Sunday, 30 November 2008, 22:14 GMT
Opened by Roman Timushev (rtimush) - Sunday, 30 November 2008, 12:50 GMT
Last edited by Dan McGee (toofishes) - Sunday, 30 November 2008, 22:14 GMT
|
DetailsDescription:
makepkg refuses to build a package with _hgroot and _hgrepo variables set when mercurial is configured to be "compact". In this case, latest version is detected incorrectly. Actually, version detection shouldn't depend on mercurial configuration. Additional info: pacman 3.2.1-1 Steps to reproduce: Edit your ~/.hgrc and add the following lines: [ui] style = compact Download any package with _hgroot and _hgrepo variables set (I downloaded qct from AUR). Try to run makepkg. Package wouldn't be build. If you look at PKGBUILD, the pkgver field will look like pkgver=552[tip] 04028f280580 2008-11-13 11 |
This task depends upon
Closed by Dan McGee (toofishes)
Sunday, 30 November 2008, 22:14 GMT
Reason for closing: Fixed
Additional comments about closing: Commit 346139298bc547d1cbeb5d41f2067577b96ff1fa
Sunday, 30 November 2008, 22:14 GMT
Reason for closing: Fixed
Additional comments about closing: Commit 346139298bc547d1cbeb5d41f2067577b96ff1fa
Comment by Roman Timushev (rtimush) -
Sunday, 30 November 2008, 17:31 GMT
Attached patch file fixes the problem — it makes makepkg execute «hg tip --template "{rev}"» to get tip revision instead of complex «hg tip | sed ...»
Comment by Dan McGee (toofishes) -
Sunday, 30 November 2008, 22:05 GMT
Wow, this is a bit simpler and works well. I'll pull this into my working branch.
patch
(0.5 KiB)