FS#28389 - makepkg BUILDDIR can not work on hg/git checkout file
Attached to Project:
Pacman
Opened by Daniel YC Lin (dlin) - Monday, 13 February 2012, 03:55 GMT
Last edited by Allan McRae (Allan) - Monday, 13 February 2012, 04:59 GMT
Opened by Daniel YC Lin (dlin) - Monday, 13 February 2012, 03:55 GMT
Last edited by Allan McRae (Allan) - Monday, 13 February 2012, 04:59 GMT
|
Details
Summary and Info:
If I set BUILDDIR=/tmp/makepkg in /etc/makepkg.conf The xxx-git PKGBUILD will failed when try to cd $srcdir (it is empty) and the checkout files is put on $pkgdir/../src |
This task depends upon
...
==> Starting build()...
Cloning into '/tmp/makepkg/src/pacman'...
Works here. Attach a copy of a PKGBUILD showing this issue and the output from makepkg.
But, I think this method is risky.
If I build multiple PKGBUILD in /tmp/makepkg
The /tmp/makepkg/src will exist multiple code on the same /tmp/makepkg/src directory.
It is possible conflict.
FS#28374, but really makes not sense with git/svn/etc packages...