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#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
Task Type Bug Report
Category makepkg
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version 4.0.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  Allan McRae (Allan)
Monday, 13 February 2012, 04:59 GMT
Reason for closing:  Works for me
Comment by Allan McRae (Allan) - Monday, 13 February 2012, 04:02 GMT
# BUILDDIR=/tmp/makepkg makepkg
...
==> Starting build()...
Cloning into '/tmp/makepkg/src/pacman'...

Works here. Attach a copy of a PKGBUILD showing this issue and the output from makepkg.
Comment by Daniel YC Lin (dlin) - Monday, 13 February 2012, 04:54 GMT
I don't know why, but it workable now after I clean up /tmp/makepkg before do it again.
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.
Comment by Allan McRae (Allan) - Monday, 13 February 2012, 04:59 GMT
Cleaning $srcdir is requested in  FS#28374 , but really makes not sense with git/svn/etc packages...

Loading...