Compilation failures occur regularly on build.ixsystems.com (but I've also seen it occur on streetfighter.ixsystems.com) because a directory was created via install -d, but it already exists and thus install fails. The best solution to this problem would be to create rules that mkdir // install the directories, s.t. gmake could resolve the dependencies, create the directories beforehand, and the race would be resolved (I've done it before with LTP), but it's trickier with xvid because it uses some whacky pattern rules and I'm short on time right now (I might submit a proper patch upstream after I submit the bug report). The attached patch just changes $(INSTALL) to mkdir -m 0755 -p as a simple hack, because mkdir -p doesn't fail if the target directory already exists. Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->fluffy Over to maintainer (via the GNATS Auto Assign Tool)
Please note that: + @mkdir -m 0755 -p -d $(DESTDIR)$(includedir) should be: + @mkdir -m 0755 -p $(DESTDIR)$(includedir)
Is this PR still relevant?
(In reply to Carlo Strub from comment #3) > Is this PR still relevant? Not sure. Haven't run FreeBSD on a desktop for a while...