Building a snapshot

Lavrentiev, Anton (NIH/NLM/NCBI) [C] lavr@ncbi.nlm.nih.gov
Wed Nov 6 17:36:00 GMT 2013


> The page you mentioned expressly say that these errors can be ignored.

It says,

> Normally, building ignores any errors in building the documentation

which IIUC means it should ignore such errors on its own -- not stop
with a hard failure, such as with not being able to construct a path
with a correct nesting level to a script, which is there.

Following make by how it changes its current working directory, I get:

make[3]: Entering directory `/home/lavr/build/i686-pc-cygwin/winsup/doc'
builddir=`pwd` \
&& cd ../../../../cygwin-snapshot-20130925-1/winsup/doc \
&& ../../../../cygwin-snapshot-20130925-1/winsup/doc/xidepend ../../../../cygwin-snapshot-20130925-1/winsup/doc/cygwin-ug-net.xml > "${builddir}/Makefile.dep"
/bin/sh: line 2: ../../../../cygwin-snapshot-20130925-1/winsup/doc/xidepend: No such file or directory

$ cd /home/lavr/build/i686-pc-cygwin/winsup/doc

~/build/i686-pc-cygwin/winsup/doc
$ ls -l ../../../../cygwin-snapshot-20130925-1/winsup/doc/xidepend
-rwxr-xr-x 1 lavr Domain Users 874 Jun  4 07:50 ../../../../cygwin-snapshot-20130925-1/winsup/doc/xidepend

~/build/i686-pc-cygwin/winsup/doc
$ cd ../../../../cygwin-snapshot-20130925-1/winsup/doc

~/cygwin-snapshot-20130925-1/winsup/doc
$ ls -l ../../../../cygwin-snapshot-20130925-1/winsup/doc/xidepend
ls: cannot access ../../../../cygwin-snapshot-20130925-1/winsup/doc/xidepend: No such file or directory

So the xidepend location was calculated correctly w.r.t. to the build directory,
but since cwd changed to the source tree (?), it was no longer valid.

Anton Lavrentiev
Contractor NIH/NLM/NCBI


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list