Subject: Re: xsrc/32348 (Parallel build fails in xsrc)
To: None <xsrc-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Matthias Scheler <tron@netbsd.org>
List: netbsd-bugs
Date: 03/06/2006 22:10:02
The following reply was made to PR xsrc/32348; it has been noted by GNATS.

From: Matthias Scheler <tron@netbsd.org>
To: NetBSD GNATS <gnats-bugs@netbsd.org>
Cc: Luke Mewburn <lukem@netbsd.org>,
	Martin Husemann <martin@netbsd.org>
Subject: Re: xsrc/32348 (Parallel build fails in xsrc)
Date: Mon, 6 Mar 2006 22:08:20 +0000

 On Mon, Mar 06, 2006 at 04:14:51PM +0000, tron@netbsd.org wrote:
 > Synopsis: Parallel build fails in xsrc
 > 
 > Responsible-Changed-From-To: toolchain-manager->xsrc-manager
 > Responsible-Changed-By: tron@netbsd.org
 > Responsible-Changed-When: Mon, 06 Mar 2006 16:14:49 +0000
 > Responsible-Changed-Why:
 > This is really a "xsrc" specific bug.
 
 Is this really just a race condition? From the provided build log:
 
 Line 378962:
 
 --- SshAskpass_ad.h ---
 #    create  ssh-askpass/SshAskpass_ad.h
 rm -f SshAskpass_ad.h
 sed -n '/^[^!]/s/.*/"&",/p' </usr/xsrc/local/programs/x11-ssh-askpass/SshAskpass.ad > SshAskpass_ad.h
 
 Line 446862:
 
 --- install-bin ---
 nbinstall: SshAskpass.ad: stat: No such file or directory
 *** [/usr/home/krille/pc-build2/dest/usr/X11R6/share/examples/ssh-askpass/SshAskpass-default.ad] Error code 1
 1 error
 
 So the build creates "SshAskpass.ad" during the "dependall" stage a long
 time before it tries to install it. But when it tries to install it later
 it cannot find it. Anybody got an idea why that happens?
 
 	Kind regards
 
 -- 
 Matthias Scheler                                  http://scheler.de/~matthias/