FS#32849 - pacman's makepkg fails to correctly build -hg packages
Attached to Project:
Arch Linux
Opened by Limao Luo (luolimao) - Sunday, 25 November 2012, 17:39 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 25 November 2012, 17:54 GMT
Opened by Limao Luo (luolimao) - Sunday, 25 November 2012, 17:39 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 25 November 2012, 17:54 GMT
|
Details
Description:
Building any mercurial package with makepkg fails when $srcdir is not $startdir/src. Additional info: error log: https://gist.github.com/4144470 Most importantly, line 24: remote: abort: There is no Mercurial repository here (.hg not found)! When makepkg first pulls the source code, it (incorrectly) pulls it into $startdir. Then, when the build() function begins, the pwd is $srcdir, and when it looks for src/$_hgrepo/.hg, it obviously can't find it. Therefore, makepkg is incorrectly building these kinds of packages. The issue goes away if SRCDEST in .makepkg.conf is commented out. Steps to reproduce: change the SRCDEST variable in makepkg.conf |
This task depends upon
Closed by Dave Reisner (falconindy)
Sunday, 25 November 2012, 17:54 GMT
Reason for closing: Won't fix
Additional comments about closing: This bug likely isn't valid against pacman-git
Sunday, 25 November 2012, 17:54 GMT
Reason for closing: Won't fix
Additional comments about closing: This bug likely isn't valid against pacman-git
Comment by Limao Luo (luolimao) -
Sunday, 25 November 2012, 17:44 GMT
Comment by
Dave Reisner (falconindy) - Sunday,
25 November 2012, 17:53 GMT
Wow, I just realized that there was a separate bug section for
pacman. Whoops. But I won't double-post, so if anyone can move it
over somehow, that would be great.
I'm closing this as wontfix -- VCS support in makepkg has been
rewritten from scratch. If you'd like to test with pacman-git and
find that the bug is still valid, please reopen under the correct
project.