* Failing make check
@ 2000-07-03 17:33 Vin Shelton
2000-07-03 18:01 ` Bart Schaefer
0 siblings, 1 reply; 4+ messages in thread
From: Vin Shelton @ 2000-07-03 17:33 UTC (permalink / raw)
To: Zsh hackers list
I build my zsh in a separate directory from the sources, eg:
/usr/local/src/zsh-2000-07-03
vs.
/usr/local/build/zsh-2000-07-03
For a few days now, make check has been failing in this configuration
as follows:
/usr/local/src/zsh-2000-07-03/Test/52zregexparse.ztst: all tests successful.
comptestinit:5: failed to load module: zsh/zpty
comptestinit:18: command not found: zpty
comptestinit:20: command not found: zpty
Test /usr/local/src/zsh-2000-07-03/Test/53completion.ztst failed: non-zero status from preparation code:
comptestinit -z $ZTST_testdir/../Src/zsh
/usr/local/src/zsh-2000-07-03/Test/53completion.ztst: test failed.
comptestinit:5: failed to load module: zsh/zpty
comptestinit:18: command not found: zpty
comptestinit:20: command not found: zpty
Test /usr/local/src/zsh-2000-07-03/Test/54compmatch.ztst failed: non-zero status from preparation code:
comptestinit -z $ZTST_testdir/../Src/zsh
/usr/local/src/zsh-2000-07-03/Test/54compmatch.ztst: test failed.
make[1]: *** [check] Error 1
make[1]: Leaving directory `/usr/local/build/zsh-2000-07-03/Test'
make: *** [check] Error 2
This does not happen if I configure and build in the source directory.
- vin
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Failing make check
2000-07-03 17:33 Failing make check Vin Shelton
@ 2000-07-03 18:01 ` Bart Schaefer
2000-07-04 3:23 ` Vin Shelton
0 siblings, 1 reply; 4+ messages in thread
From: Bart Schaefer @ 2000-07-03 18:01 UTC (permalink / raw)
To: Vin Shelton, Zsh hackers list
On Jul 3, 1:33pm, Vin Shelton wrote:
} Subject: Failing make check
}
} I build my zsh in a separate directory from the sources [...]
So do I.
} For a few days now, make check has been failing in this configuration
} as follows:
}
} comptestinit:5: failed to load module: zsh/zpty
} comptestinit:18: command not found: zpty
} comptestinit:20: command not found: zpty
} Test /usr/local/src/zsh-2000-07-03/Test/53completion.ztst failed: non-zero status from preparation code:
} comptestinit -z $ZTST_testdir/../Src/zsh
This is working fine for me.
The first question is, are you sure you're building a dynamically-linked
shell? The zpty module is not included by default in static builds.
At the very beginning of the test process, you should have seen something
like:
if test -n "gcc"; then \
cd .. && \
make MODDIR=`pwd`/Test/Modules install.modules > /dev/null; \
fi
mkdir /usr/local/build/zsh-2000-07-03/Test/Modules
mkdir /usr/local/build/zsh-2000-07-03/Test/Modules/zsh
This is copying the modules into a local directory at which module_path
is later pointed, to be sure the right modules are loaded. If you don't
see that install step, you have a statically-linked shell. If that step
is failing, perhaps because there's a stray Test/Modules directory with
the wrong permissions, then the tests could fail in unpredictable ways.
If that doesn't seem related to the problem, you could try
ZTST_verbose=2 make TESTNUM=53 check
to see if that reveals anything; but I suspect you're going to have to put
a `set -x' into the prep section of Test/53completion.ztst to get the real
scoop.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Failing make check
2000-07-03 18:01 ` Bart Schaefer
@ 2000-07-04 3:23 ` Vin Shelton
2000-07-04 17:57 ` Vin Shelton
0 siblings, 1 reply; 4+ messages in thread
From: Vin Shelton @ 2000-07-04 3:23 UTC (permalink / raw)
To: Bart Schaefer; +Cc: Zsh hackers list
OK. Now I see a little more of what's going on. It turns out that
when 'make check' fails, I have been specifying CC on the command
line: CC=/usr/local/egcs-2000-06-30/bin/gcc mk-zsh.
(mk-zsh runs 'Util/preconfig', then 'configure', then 'make' and then
'make check'.) When I don't override CC, 'make check' works fine.
Sorry for the previous red herring; the failures have nothing to do
with srcdir != objdir.
When I get the chance, I will investigate further.
- vin
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Failing make check
2000-07-04 3:23 ` Vin Shelton
@ 2000-07-04 17:57 ` Vin Shelton
0 siblings, 0 replies; 4+ messages in thread
From: Vin Shelton @ 2000-07-04 17:57 UTC (permalink / raw)
To: Bart Schaefer; +Cc: Zsh hackers list
It appears that the problem is that my experimental gcc snapshot (from
6-30) doesn't correcly make shared objects. Sorry for the bother.
Bart, thanks for your help.
- vin
>>>>> On 03 Jul 2000, Vin Shelton <acs@alumni.Princeton.EDU> said:
Vin> OK. Now I see a little more of what's going on. It turns out
Vin> that when 'make check' fails, I have been specifying CC on the
Vin> command line: CC=/usr/local/egcs-2000-06-30/bin/gcc mk-zsh.
Vin> (mk-zsh runs 'Util/preconfig', then 'configure', then 'make' and
Vin> then 'make check'.) When I don't override CC, 'make check' works
Vin> fine. Sorry for the previous red herring; the failures have
Vin> nothing to do with srcdir != objdir.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-07-04 17:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-03 17:33 Failing make check Vin Shelton
2000-07-03 18:01 ` Bart Schaefer
2000-07-04 3:23 ` Vin Shelton
2000-07-04 17:57 ` Vin Shelton
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).