[zeromq-dev] CZMQ build fails: Assertion `!zfile_is_stable (file)' failed. (cause NFS mount?)

Ron ron.arts at gmail.com
Thu May 15 23:24:39 CEST 2014


Hi list,

I was building czmq 2.0.1 and encountered the following error:

Running CZMQ selftests...
 * zrex: OK
 * zsys: OK
 * zchunk: OK
 * zconfig: OK
 * zmutex: OK
 * zclock: OK
 * zdir_patch: OK
 * zdir: OK
 * zdigest: OK
lt-czmq_selftest: zfile.c:518: zfile_test: Assertion `!zfile_is_stable
(file)' failed.
 * zfile: /bin/sh: line 5: 19451 Aborted                 ${dir}$tst
FAIL: czmq_selftest

I fixed it quickly doing:

--- zfile.c-org 2014-05-15 17:12:56.035590040 -0400
+++ zfile.c 2014-05-15 17:16:02.709583269 -0400
@@ -494,6 +494,9 @@
 zfile_test (bool verbose)
 {
     printf (" * zfile: ");
+    if (chdir("/tmp")) {
+      perror("chdir(/tmp)");
+    }

     //  @selftest
     zfile_t *file = zfile_new (NULL, "bilbo");

I was compiling in our buildfarm which mounts an NFS server. That's the
only reason I can think of. No idea how to fix this properly.

Best,
Ron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140515/2aa136a7/attachment.htm>


More information about the zeromq-dev mailing list