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

Pieter Hintjens ph at imatix.com
Thu May 15 23:30:36 CEST 2014


Is there an issue creating test files locally? A lot of the test cases do this.

On Thu, May 15, 2014 at 11:24 PM, Ron <ron.arts at gmail.com> wrote:
> 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 at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



More information about the zeromq-dev mailing list