Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

X source build problem with -j 3



A couple of days ago I was building netbsd on my laptop with -j 3. Once
it got to the install phase of the X sources, it stopped with this
error:


    install  
/home/rhialto/tmp/destdir.amd64/usr/X11R7/share/examples/ssh-askpass/SshAskpass-default.ad
x86_64--netbsd-install: SshAskpass.ad: stat: No such file or directory
--- 
/home/rhialto/tmp/destdir.amd64/usr/X11R7/share/examples/ssh-askpass/SshAskpass-default.ad
 ---
*** 
[/home/rhialto/tmp/destdir.amd64/usr/X11R7/share/examples/ssh-askpass/SshAskpass-default.ad]
 Error code 1
nbmake: stopped in /mnt/vol1/rhialto/cvs/src/external/mit/xorg/bin/ssh-askpass
1 error
nbmake: stopped in /mnt/vol1/rhialto/cvs/src/external/mit/xorg/bin/ssh-askpass
--- install-ssh-askpass ---
*** [install-ssh-askpass] Error code 2
nbmake: stopped in /mnt/vol1/rhialto/cvs/src/external/mit/xorg/bin
1 error
nbmake: stopped in /mnt/vol1/rhialto/cvs/src/external/mit/xorg/bin
--- install-bin ---
*** [install-bin] Error code 2
nbmake: stopped in /mnt/vol1/rhialto/cvs/src/external/mit/xorg

The Makefile in .../cvs/src/external/mit/xorg/bin/ssh-askpass contains
this suspicious comment:

FILESDIR=       ${X11ROOTDIR}/share/examples/ssh-askpass
FILES=          SshAskpass-1337.ad SshAskpass-NeXTish.ad \
                SshAskpass.ad SshAskpass-green.ad SshAskpass-motif.ad

# XXX:  We use the following two lines instead of just having
# XXX:          FILES+= SshAskpass-default.ad
# XXX:  because of an obscure bug with "make -j" where it doesn't find
# XXX:  SshAskpass-default.ad in the .PATH correctly, probably because
# XXX:  of the rule created for it from BUILDSYMLINKS by <bsd.files.mk>.
# XXX:  This is not the correct long-term solution.
#
FILES+=                 SshAskpass.ad
FILESNAME_SshAskpass.ad=SshAskpass-default.ad

Apparently, it still (or again) doesn't find the file properly.

I thought that adding .NOTPARALLEL: to that Makefile might be a good
solution, but I restarted the build after adding that, and it did not
help. In the object directory, there is no sign of SshAskpass.ad.

I do have an SshAskpass.ad in .../cvs/xsrc/local/programs/x11-ssh-askpass.

I have started build.sh for the third time, now without -j. It gets past
the troublesome spot without issues.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- There's no point being grown-up if you 
\X/ rhialto/at/xs4all.nl    -- can't be childish sometimes. -The 4th Doctor


Home | Main Index | Thread Index | Old Index