starting phase `set-SOURCE-DATE-EPOCH' phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds starting phase `set-paths' environment variable `PATH' set to `/gnu/store/0y1y6n6md89vc9f30wgf1x5af3gzf3hp-perl-5.30.2/bin:/gnu/store/3lx5rw6aazp1cskcbmhd3mb842zanj88-tar-1.32/bin:/gnu/store/43y9wjllnr1sczwlfi0vxh27zp28zixh-gzip-1.10/bin:/gnu/store/mhbai8872azipnxr9lw3gr8jqxf6348j-bzip2-1.0.8/bin:/gnu/store/b2m3hnb7gr526jcs8xj0d7fig73qlhv0-xz-5.2.4/bin:/gnu/store/ivj4vx0mc2fz0ipi5knb32r6d992y0b0-file-5.38/bin:/gnu/store/hn05v0h7qiqdq59avr247a3wd8kpsvg0-diffutils-3.7/bin:/gnu/store/4s297bh5gg8dixd9n6xkw2z73cxd1v91-patch-2.7.6/bin:/gnu/store/9gawha19xlpkz9qk6z9lcgfxfq5bj27a-findutils-4.7.0/bin:/gnu/store/3d1n6zsw6zli7agb0ica7x4145haga4z-gawk-5.0.1/bin:/gnu/store/bqcvgh7q4316fynb9wg6akvlk9ikdjj5-sed-4.8/bin:/gnu/store/iqxcm511fivbrlik4i7ly3dxn53qm689-grep-3.4/bin:/gnu/store/x5z9z2d06w4yj4kq18i4b5q2yxg0w9dh-coreutils-8.32/bin:/gnu/store/igqylz2nzjk6x4ax07i6838jdp22yjm6-make-4.3/bin:/gnu/store/6ql2s2z4xnsj89zdf4zj6fch2zic0l7k-bash-minimal-5.0.16/bin:/gnu/store/2nygnpi7zns33k9k1dr3y0md5kg8b876-ld-wrapper-0/bin:/gnu/store/ghy9qhlb3ad9xmxxhfmdia643xfnhysa-binutils-2.34/bin:/gnu/store/h1cy6hq72yxnwi4nh0h1fjz8kxgfp8wy-gcc-7.5.0/bin:/gnu/store/sipyfs2540b48b2sb9j8ypmybja1dvqb-glibc-2.31/bin:/gnu/store/sipyfs2540b48b2sb9j8ypmybja1dvqb-glibc-2.31/sbin' environment variable `PERL5LIB' set to `/gnu/store/0y1y6n6md89vc9f30wgf1x5af3gzf3hp-perl-5.30.2/lib/perl5/site_perl' environment variable `BASH_LOADABLES_PATH' unset environment variable `C_INCLUDE_PATH' set to `/gnu/store/mhbai8872azipnxr9lw3gr8jqxf6348j-bzip2-1.0.8/include:/gnu/store/b2m3hnb7gr526jcs8xj0d7fig73qlhv0-xz-5.2.4/include:/gnu/store/ivj4vx0mc2fz0ipi5knb32r6d992y0b0-file-5.38/include:/gnu/store/3d1n6zsw6zli7agb0ica7x4145haga4z-gawk-5.0.1/include:/gnu/store/igqylz2nzjk6x4ax07i6838jdp22yjm6-make-4.3/include:/gnu/store/ghy9qhlb3ad9xmxxhfmdia643xfnhysa-binutils-2.34/include:/gnu/store/h1cy6hq72yxnwi4nh0h1fjz8kxgfp8wy-gcc-7.5.0/include:/gnu/store/sipyfs2540b48b2sb9j8ypmybja1dvqb-glibc-2.31/include:/gnu/store/sg9ks2n9ikj4952zmf2g851g206zb0r9-linux-libre-headers-5.4.20/include' environment variable `CPLUS_INCLUDE_PATH' set to `/gnu/store/mhbai8872azipnxr9lw3gr8jqxf6348j-bzip2-1.0.8/include:/gnu/store/b2m3hnb7gr526jcs8xj0d7fig73qlhv0-xz-5.2.4/include:/gnu/store/ivj4vx0mc2fz0ipi5knb32r6d992y0b0-file-5.38/include:/gnu/store/3d1n6zsw6zli7agb0ica7x4145haga4z-gawk-5.0.1/include:/gnu/store/igqylz2nzjk6x4ax07i6838jdp22yjm6-make-4.3/include:/gnu/store/ghy9qhlb3ad9xmxxhfmdia643xfnhysa-binutils-2.34/include:/gnu/store/h1cy6hq72yxnwi4nh0h1fjz8kxgfp8wy-gcc-7.5.0/include/c++:/gnu/store/h1cy6hq72yxnwi4nh0h1fjz8kxgfp8wy-gcc-7.5.0/include:/gnu/store/sipyfs2540b48b2sb9j8ypmybja1dvqb-glibc-2.31/include:/gnu/store/sg9ks2n9ikj4952zmf2g851g206zb0r9-linux-libre-headers-5.4.20/include' environment variable `LIBRARY_PATH' set to `/gnu/store/0y1y6n6md89vc9f30wgf1x5af3gzf3hp-perl-5.30.2/lib:/gnu/store/mhbai8872azipnxr9lw3gr8jqxf6348j-bzip2-1.0.8/lib:/gnu/store/b2m3hnb7gr526jcs8xj0d7fig73qlhv0-xz-5.2.4/lib:/gnu/store/ivj4vx0mc2fz0ipi5knb32r6d992y0b0-file-5.38/lib:/gnu/store/3d1n6zsw6zli7agb0ica7x4145haga4z-gawk-5.0.1/lib:/gnu/store/ghy9qhlb3ad9xmxxhfmdia643xfnhysa-binutils-2.34/lib:/gnu/store/sipyfs2540b48b2sb9j8ypmybja1dvqb-glibc-2.31/lib:/gnu/store/q5xs9789fyb5rnnr1nvq3zjd8biif14y-glibc-2.31-static/lib:/gnu/store/aybfkaw4fasp8hk1hzk3npmi952g11a3-glibc-utf8-locales-2.31/lib' environment variable `GUIX_LOCPATH' set to `/gnu/store/aybfkaw4fasp8hk1hzk3npmi952g11a3-glibc-utf8-locales-2.31/lib/locale' phase `set-paths' succeeded after 0.1 seconds starting phase `install-locale' using 'en_US.utf8' locale for category "LC_ALL" phase `install-locale' succeeded after 0.0 seconds starting phase `unpack' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/Makefile' -> `./Makefile' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/.travis.yml' -> `./.travis.yml' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/README.developers' -> `./README.developers' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/COPYING' -> `./COPYING' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/README.OSX' -> `./README.OSX' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/.gitignore' -> `./.gitignore' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/NEWS' -> `./NEWS' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/README' -> `./README' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/TODO' -> `./TODO' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/test/Makefile' -> `./test/Makefile' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/test/test.sh' -> `./test/test.sh' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/test/testframe.sh' -> `./test/testframe.sh' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/test/README-testframe.txt' -> `./test/README-testframe.txt' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/test/Makefile.OSX' -> `./test/Makefile.OSX' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/test/timetest.c' -> `./test/timetest.c' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/test/testframe.inc' -> `./test/testframe.inc' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/test/test_OSX.sh' -> `./test/test_OSX.sh' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/test/functests/test_true.sh' -> `./test/functests/test_true.sh' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/test/functests/dont_test_false.sh' -> `./test/functests/dont_test_false.sh' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/test/functests/test_null.sh' -> `./test/functests/test_null.sh' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/test/functests/test_exclude_mono.sh' -> `./test/functests/test_exclude_mono.sh' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/test/functests/common.inc' -> `./test/functests/common.inc' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/test/functests/test_walkone.sh' -> `./test/functests/test_walkone.sh' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/man/Makefile' -> `./man/Makefile' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/man/Makefile.OSX' -> `./man/Makefile.OSX' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/man/faketime.1' -> `./man/faketime.1' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/src/Makefile' -> `./src/Makefile' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/src/faketime.c' -> `./src/faketime.c' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/src/libfaketime.map' -> `./src/libfaketime.map' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/src/Makefile.OSX' -> `./src/Makefile.OSX' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/src/uthash.h' -> `./src/uthash.h' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/src/sunos_endian.h' -> `./src/sunos_endian.h' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/src/faketime_common.h' -> `./src/faketime_common.h' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/src/timeprivacy' -> `./src/timeprivacy' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/src/time_ops.h' -> `./src/time_ops.h' `/gnu/store/wkljc5msllnfzzqal68aaby3v1csvf73-libfaketime-0.9.8-checkout/src/libfaketime.c' -> `./src/libfaketime.c' phase `unpack' succeeded after 0.4 seconds starting phase `bootstrap' no 'configure.ac' or anything like that, doing nothing phase `bootstrap' succeeded after 0.0 seconds starting phase `patch-usr-bin-file' phase `patch-usr-bin-file' succeeded after 0.0 seconds starting phase `patch-source-shebangs' patch-shebang: ./src/timeprivacy: changing `/bin/bash' to `/gnu/store/6ql2s2z4xnsj89zdf4zj6fch2zic0l7k-bash-minimal-5.0.16/bin/bash' patch-shebang: ./test/test.sh: changing `/bin/sh' to `/gnu/store/6ql2s2z4xnsj89zdf4zj6fch2zic0l7k-bash-minimal-5.0.16/bin/sh' patch-shebang: ./test/test_OSX.sh: changing `/bin/sh' to `/gnu/store/6ql2s2z4xnsj89zdf4zj6fch2zic0l7k-bash-minimal-5.0.16/bin/sh' patch-shebang: ./test/testframe.sh: changing `/bin/bash' to `/gnu/store/6ql2s2z4xnsj89zdf4zj6fch2zic0l7k-bash-minimal-5.0.16/bin/bash' phase `patch-source-shebangs' succeeded after 0.2 seconds starting phase `configure' phase `configure' succeeded after 0.0 seconds starting phase `patch-generated-file-shebangs' phase `patch-generated-file-shebangs' succeeded after 0.1 seconds starting phase `build' make -C src all make[1]: Entering directory '/tmp/guix-build-libfaketime-0.9.8.drv-0/source/src' gcc -o libfaketime.o -c -std=gnu99 -Wall -Wextra -Werror -Wno-nonnull-compare -DFAKE_PTHREAD -DFAKE_STAT -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'/gnu/store/n4cv8b35sm85chbzjmjpbmhwjn7kdxp0-libfaketime-0.9.8'"' -DLIBDIRNAME='"'/lib/faketime'"' -DFORCE_MONOTONIC_FIX libfaketime.c gcc -o libfaketimeMT.o -c -std=gnu99 -Wall -Wextra -Werror -Wno-nonnull-compare -DFAKE_PTHREAD -DFAKE_STAT -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'/gnu/store/n4cv8b35sm85chbzjmjpbmhwjn7kdxp0-libfaketime-0.9.8'"' -DLIBDIRNAME='"'/lib/faketime'"' -DFORCE_MONOTONIC_FIX -DPTHREAD_SINGLETHREADED_TIME libfaketime.c gcc -o faketime -std=gnu99 -Wall -Wextra -Werror -Wno-nonnull-compare -DFAKE_PTHREAD -DFAKE_STAT -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'/gnu/store/n4cv8b35sm85chbzjmjpbmhwjn7kdxp0-libfaketime-0.9.8'"' -DLIBDIRNAME='"'/lib/faketime'"' -DFORCE_MONOTONIC_FIX faketime.c -lpthread -Wl,--version-script=libfaketime.map -lrt gcc -o libfaketime.so.1 -Wl,-soname,libfaketime.so.1 -lpthread -Wl,--version-script=libfaketime.map -shared libfaketime.o -ldl -lm -lrt gcc -o libfaketimeMT.so.1 -Wl,-soname,libfaketimeMT.so.1 -lpthread -Wl,--version-script=libfaketime.map -shared libfaketimeMT.o -ldl -lm -lrt make[1]: Leaving directory '/tmp/guix-build-libfaketime-0.9.8.drv-0/source/src' phase `build' succeeded after 3.3 seconds starting phase `pre-check' phase `pre-check' succeeded after 0.0 seconds starting phase `check' make -C src all make[1]: Entering directory '/tmp/guix-build-libfaketime-0.9.8.drv-0/source/src' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/guix-build-libfaketime-0.9.8.drv-0/source/src' make -C test all make[1]: Entering directory '/tmp/guix-build-libfaketime-0.9.8.drv-0/source/test' gcc -c -std=gnu99 -Wall -DFAKE_STAT -Werror -Wextra -Wno-deprecated-declarations timetest.c ./testframe.sh functests # Begin Test Suites in functests # Begin functests/test_exclude_mono.sh # PLATFORM=linuxlike gcc -o timetest timetest.o -lrt -lpthread out=118880.329655957 When not faking monotonic time, timestamps should be different ref=118881.362155731 - ok # functests/test_exclude_mono.sh summary: 1 succeeded, 0 failed # End functests/test_exclude_mono.sh - OK # Begin functests/test_null.sh out=0 () ref=1621464882 - ok # functests/test_null.sh summary: 1 succeeded, 0 failed # End functests/test_null.sh - OK # Begin functests/test_true.sh # functests/test_true.sh summary: 1 succeeded, 0 failed # End functests/test_true.sh - OK # Begin functests/test_walkone.sh # PLATFORM=linuxlike out=1 (secs since Epoch) - ok out=2 (secs since Epoch) - ok out=4 (secs since Epoch) - ok out=8 (secs since Epoch) - ok out=16 (secs since Epoch) - ok out=32 (secs since Epoch) - ok out=64 (secs since Epoch) - ok out=128 (secs since Epoch) - ok out=256 (secs since Epoch) - ok out=512 (secs since Epoch) - ok out=1024 (secs since Epoch) - ok out=2048 (secs since Epoch) - ok out=4096 (secs since Epoch) - ok out=8192 (secs since Epoch) - ok out=16384 (secs since Epoch) - ok out=32768 (secs since Epoch) - ok out=65536 (secs since Epoch) - ok out=131072 (secs since Epoch) - ok out=262144 (secs since Epoch) - ok out=524288 (secs since Epoch) - ok out=1048576 (secs since Epoch) - ok out=2097152 (secs since Epoch) - ok out=4194304 (secs since Epoch) - ok out=8388608 (secs since Epoch) - ok out=16777216 (secs since Epoch) - ok out=33554432 (secs since Epoch) - ok out=67108864 (secs since Epoch) - ok out=134217728 (secs since Epoch) - ok out=268435456 (secs since Epoch) - ok out=536870912 (secs since Epoch) - ok out=1073741824 (secs since Epoch) - ok # functests/test_walkone.sh summary: 31 succeeded, 0 failed # End functests/test_walkone.sh - OK # Test Suites summary: 4 succeeded, 0 failed # End Test Suites - OK Running the test program with no faked time specified $ LD_PRELOAD=../src/libfaketime.so.1 ./timetest pthread_cond_timedwait: CLOCK_REALTIME test (Intentionally sleeping 1 second...) pthread_cond_timedwait: CLOCK_MONOTONIC test (Intentionally sleeping 1 second..., see docs about CLOCK_MONOTONIC test)