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
_______________________________________________ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev