Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:

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

FS#45440 - makepkg runs `mkdir pkg` twice failing the second time

Attached to Project: Pacman
Opened by Danny Arnold (despairblue) - Tuesday, 23 June 2015, 19:09 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 23 June 2015, 19:26 GMT
Task Type Bug Report
Category makepkg
Status Closed
Assigned To No-one
Architecture All
Severity Critical
Priority Normal
Reported Version 4.2.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Summary and Info:
makepkg runs `mkdir pkg` twice, failing the second time, since it's already there. This leads to:
==> Entering fakeroot environment...
mkdir: cannot create directory ‘/home/despairblue/git/synergy/pkg/’: File exists
/usr/bin/fakeroot: line 181: 3529 User defined signal 1 FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$LIB" "$@"

Steps to Reproduce:
Use that PKGBUILD:
I also put `set -x` on top of the PKGBUILD and included the log. When you search backwards for `mkdir` it becomes apparent what happens.
This task depends upon

Closed by  Dave Reisner (falconindy)
Tuesday, 23 June 2015, 19:26 GMT
Reason for closing:  Not a bug
Comment by Danny Arnold (despairblue) - Tuesday, 23 June 2015, 19:12 GMT
Nevermind, I accidentally commented out the pkgname -.-