pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: tor failing to build on 2018Q4 branch



Greg Troxel <gdt%lexort.com@localhost> writes:

> tor is still failing to build on netbsd-8 amd64
>
> end of build log
>
>   CC       src/lib/geoip/libtor_geoip_testing_a-geoip.o
>   CC       src/lib/intmath/libtor_intmath_testing_a-addsub.o
>   CC       src/lib/intmath/libtor_intmath_testing_a-bits.o
>   CC       src/lib/intmath/libtor_intmath_testing_a-muldiv.o
>   CC       src/lib/intmath/libtor_intmath_testing_a-weakrng.o
>   CC       src/lib/lock/libtor_lock_testing_a-compat_mutex.o
>   CC       src/lib/lock/libtor_lock_testing_a-compat_mutex_pthreads.o
>   CC       src/lib/log/libtor_log_testing_a-escape.o
>   CC       src/lib/log/libtor_log_testing_a-git_revision.o
> src/lib/log/git_revision.c:15:28: fatal error: micro-revision.i: No such file or directory
> compilation terminated.
> *** [src/lib/log/libtor_log_testing_a-git_revision.o] Error code 1
>
> make[1]: stopped in /d0/n0/pkgsrc/net/tor/work/tor-0.3.5.8
> 1 error
>
> make[1]: stopped in /d0/n0/pkgsrc/net/tor/work/tor-0.3.5.8
> *** [all] Error code 2
>
> make: stopped in /d0/n0/pkgsrc/net/tor/work/tor-0.3.5.8
> 1 error
>
> make: stopped in /d0/n0/pkgsrc/net/tor/work/tor-0.3.5.8
> *** Error code 2
>
> Stop.
> make[1]: stopped in /d0/n0/pkgsrc/net/tor
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/net/tor

Also failing on evbarm.

This seems to be a reverse MAKE_JOBS_SAFE issue.  With MAKE_JOBS=1, it
seems to fail every time.  With MAKE_JOBS 4, it usually fails.  So I did

  while ! make; do sleep 1; done

and after about 20 failures, each of which built a few c files and then
failed on micro-revision.i, suddenly it worked.

So it smells like micro-revision.i is required for something, but the
natural order of building it is later, so until the parallelism happens
to work, the build fails.


Is anybody else seeing this?  Or is it just  me?


Home | Main Index | Thread Index | Old Index