zsh-workers
 help / color / mirror / code / Atom feed
* yodl 2.11 and vpath problem
@ 2008-02-27 15:50 Clint Adams
  2008-02-27 17:18 ` Clint Adams
  0 siblings, 1 reply; 4+ messages in thread
From: Clint Adams @ 2008-02-27 15:50 UTC (permalink / raw)
  To: zsh-workers

I'm not sure when this broke.

make[2]: Entering directory `/build/buildd/zsh-beta-4.3.5-dev-0+20080226/obj/Doc'
( \
	  echo 'IFDEF(INCWSLEVEL)(INCWSLEVEL())(STARTDEF())'; \
	  echo 'def(version)(0)('4.3.5-dev-0+0226')'; \
	  echo 'def(date)(0)(''February 1, 2008'')'; \
	  echo 'IFDEF(DECWSLEVEL)(DECWSLEVEL())(ENDDEF())#' | tr '#' '\\'; \
	) > ../../Doc/version.yo
yodl -o ../../Doc/zsh.1 -I../../Doc -w zman.yo version.yo ../../Doc/zsh.yo
Can't read `../../Doc/zsh.yo'

The reason it can't read that file is because it's looking in the wrong
directory:

open("../../Doc/zshzle.1", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
open("../../Doc/zshzle.idx", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4
getcwd("/tmp/zsh-beta-4.3.5-dev-0+20080226/obj/Doc", 300) = 43
stat64("/tmp/zsh-beta-4.3.5-dev-0+20080226/obj/Doc/../../Doc/../../Doc/zshzle.yo", 0xbfde2044) = -1 ENOENT (No such file or directory)
stat64("/tmp/zsh-beta-4.3.5-dev-0+20080226/obj/Doc/../../Doc/../../Doc/zshzle.yo.yo", 0xbfde2044) = -1 ENOENT (No such file or directory)
write(2, "Can\'t read `../../Doc/zshzle.yo\'", 32Can't read `../../Doc/zshzle.yo

As one might expect,
yodl -o ../../Doc/zsh.1 -I../../Doc -w zman.yo version.yo Doc/zsh.yo
works.  I wouldn't expect -I to achieve that effect, and I suspect that
older versions behaved in the way the build system seems to expect, so
I'm going to file a bug on yodl.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-02-27 18:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-27 15:50 yodl 2.11 and vpath problem Clint Adams
2008-02-27 17:18 ` Clint Adams
2008-02-27 17:27   ` Peter Stephenson
2008-02-27 18:21     ` Clint Adams

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).