[pacman-dev] [PATCH 1/2] GNU make $(wildcard) assumes $(builddir) for relative paths.

Jeremy Heiner scalaprotractor at gmail.com
Thu Dec 19 16:24:00 EST 2013

On Thu, Dec 19, 2013 at 3:51 PM, Dave Reisner <d at falconindy.com> wrote:
> How did you encounter this? 'make distcheck' passes for me on master
> currently, and this does a VPATH build which includes 'make check'.

Here are the steps I just used to recreate the problem:

cd <top_srcdir>
git checkout master
git clean -Xdi
git status --ignored
mkdir ../clean
cd ../clean
make check

All the tests except sync200 run, then make fails with:

make[4]: Nothing to be done for 'test/pacman/tests/sync200.log'.
fatal: making test-suite.log: failed to create test/pacman/tests/sync200.trs
fatal: making test-suite.log: failed to create test/pacman/tests/sync200.log
Makefile:1035: recipe for target 'test-suite.log' failed

I'm guessing your working dir has a copy of sync200.py which isn't
getting cleaned before distcheck does its thing?

More information about the pacman-dev mailing list