rhash1.4.6

built x86_64-unknown-linux-gnufilc0 Recorded
DERIVATION
/nix/store/d7qiq1ikqhzsh26ds036vrjygywijvgn-rhash-x86_64-unknown-linux-gnufilc0-1.4.6.drv
SYSTEM
x86_64-linux
DURATION
54s
LOG LINES
134
Output paths
/nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6
Native result · built
{
  "capture": {
    "mono_ns": 13967050943845971,
    "wall_ns": 1793363768616563315
  },
  "drv": "/nix/store/d7qiq1ikqhzsh26ds036vrjygywijvgn-rhash-x86_64-unknown-linux-gnufilc0-1.4.6.drv",
  "outcome": "built",
  "outputs": [
    {
      "path": "/nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6",
      "valid": true
    }
  ],
  "result": {
    "builtOutputs": {
      "out": {
        "dependentRealisations": {},
        "id": "sha256:ead8fc8b411f9faf5438169820a8551228e942b514a44840a2add973e13fee2e!out",
        "outPath": "0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6",
        "signatures": []
      }
    },
    "path": {
      "drvPath": "d7qiq1ikqhzsh26ds036vrjygywijvgn-rhash-x86_64-unknown-linux-gnufilc0-1.4.6.drv",
      "outputs": [
        "*"
      ]
    },
    "startTime": 1793363715,
    "status": "Built",
    "stopTime": 1793363768,
    "success": true,
    "timesBuilt": 1
  },
  "success": true
}

Phases

0.0s
0.0s
0.0s
7.3s
42s
1.4s
0.1s
0.3s

Dependencies

grey: build-platform tools

Build output

Captured
nix
warning: couldn't stat $HOME ('/home/mbrock') for reason other than not existing, falling back to the one defined in the 'passwd' file: error: getting status of "/home/mbrock": Permission denied
rhash
Running phase: unpackPhase
rhash
unpacking source archive /nix/store/6dj25j5vvkzzqawgmrkazs3kmblv990n-source
rhash
source root is source
rhash
Running phase: patchPhase
rhash
Running phase: updateAutotoolsGnuConfigScriptsPhase
rhash
Running phase: updateAutotoolsGnuConfigScriptsPhase
rhash
Running phase: configurePhase
rhash
patching script interpreter paths in ./configure
rhash
./configure: interpreter directive changed from "#!/bin/sh" to "/nix/store/7n1hai8jk6vgc967drgkqi6k7j6ff28q-bash-5.3p9/bin/sh"
rhash
configure flags: --disable-static --prefix=/nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6 --ar=ar --target=x86_64-unknown-linux-gnufilc0 --disable-static --disable-lib-static
rhash
Checking for sources ... RHash 1.4.6 
rhash
Checking for target OS ... Linux 
rhash
Checking for /nix/store/fm9p1bbz3s842fc9075kqn53qf4z4ik5-nanofil-survey-cc/bin/cc version ... clang 20.1.8 
rhash
Checking for linker support for dlopen ... yes 
rhash
Checking for sha1 intrinsics ... no 
rhash
Checking for linker support for --version-script ... yes 
rhash
Checking for gettext ... found 
rhash
Checking for OpenSSL ... no 
rhash
Writing config.mak
rhash
Writing librhash/config.mak
rhash
Writing dist/librhash.pc
rhash
Writing dist/rhash.1
rhash
Running phase: buildPhase
rhash
build flags: SHELL=/nix/store/7n1hai8jk6vgc967drgkqi6k7j6ff28q-bash-5.3p9/bin/bash
rhash
/nix/store/fm9p1bbz3s842fc9075kqn53qf4z4ik5-nanofil-survey-cc/bin/cc -c -DUSE_GETTEXT -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations  calc_sums.c -o calc_sums.o
rhash
/nix/store/fm9p1bbz3s842fc9075kqn53qf4z4ik5-nanofil-survey-cc/bin/cc -c -DUSE_GETTEXT -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations  hash_print.c -o hash_print.o
rhash
/nix/store/fm9p1bbz3s842fc9075kqn53qf4z4ik5-nanofil-survey-cc/bin/cc -c -DUSE_GETTEXT -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations  common_func.c -o common_func.o
rhash
/nix/store/fm9p1bbz3s842fc9075kqn53qf4z4ik5-nanofil-survey-cc/bin/cc -c -DUSE_GETTEXT -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations  hash_update.c -o hash_update.o
rhash
/nix/store/fm9p1bbz3s842fc9075kqn53qf4z4ik5-nanofil-survey-cc/bin/cc -c -DUSE_GETTEXT -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations  file.c -o file.o
rhash
/nix/store/fm9p1bbz3s842fc9075kqn53qf4z4ik5-nanofil-survey-cc/bin/cc -c -DUSE_GETTEXT -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations  file_mask.c -o file_mask.o
rhash
/nix/store/fm9p1bbz3s842fc9075kqn53qf4z4ik5-nanofil-survey-cc/bin/cc -c -DUSE_GETTEXT -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations  file_set.c -o file_set.o
rhash
/nix/store/fm9p1bbz3s842fc9075kqn53qf4z4ik5-nanofil-survey-cc/bin/cc -c -DUSE_GETTEXT -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations  find_file.c -o find_file.o
rhash
/nix/store/fm9p1bbz3s842fc9075kqn53qf4z4ik5-nanofil-survey-cc/bin/cc -c -DUSE_GETTEXT -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations  hash_check.c -o hash_check.o
rhash
/nix/store/fm9p1bbz3s842fc9075kqn53qf4z4ik5-nanofil-survey-cc/bin/cc -c -DUSE_GETTEXT -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations  output.c -o output.o
rhash
/nix/store/fm9p1bbz3s842fc9075kqn53qf4z4ik5-nanofil-survey-cc/bin/cc -c -DUSE_GETTEXT -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations  -DSYSCONFDIR=\"/nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/etc\" parse_cmdline.c -o parse_cmdline.o
rhash
/nix/store/fm9p1bbz3s842fc9075kqn53qf4z4ik5-nanofil-survey-cc/bin/cc -c -DUSE_GETTEXT -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations  -DLOCALEDIR=\"/nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/share/locale\" rhash_main.c -o rhash_main.o
rhash
/nix/store/fm9p1bbz3s842fc9075kqn53qf4z4ik5-nanofil-survey-cc/bin/cc -c -DUSE_GETTEXT -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations  win_utils.c -o win_utils.o
rhash
cd librhash && make lib-shared
rhash
make[1]: Entering directory '/build/source/librhash'
rhash
sed -ne '1s/.*/{ global:/p; s/^RHASH_API.* \(rhash_[a-z0-9_]*\)(.*/  \1;/p; $s/.*/local: *; };/p' \
rhash
  rhash.h rhash_torrent.h | grep -v "rhash_wfile" > exports.sym
rhash
test "xlibrhash.so.1" = "xlibrhash.so.1.4.6" || ( \
rhash
  rm -f librhash.so.1 && \
rhash
  ln -s librhash.so.1.4.6 librhash.so.1 )
rhash
rm -f librhash.so
rhash
ln -s librhash.so.1 librhash.so
rhash
/nix/store/fm9p1bbz3s842fc9075kqn53qf4z4ik5-nanofil-survey-cc/bin/cc -O2 -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations  -fpic -DRHASH_XVERSION=0x01040600 algorithms.c byte_order.c plug_openssl.c rhash.c rhash_torrent.c aich.c blake2b.c blake2s.c blake3.c crc32.c ed2k.c edonr.c hex.c md4.c md5.c sha1.c sha_ni.c sha256.c sha512.c sha3.c ripemd-160.c gost12.c gost94.c has160.c snefru.c tiger.c tiger_sbox.c tth.c torrent.c util.c whirlpool.c whirlpool_sbox.c   -shared -Wl,--version-script,exports.sym -Wl,-soname,librhash.so.1 -o librhash.so.1.4.6
rhash
make[1]: Leaving directory '/build/source/librhash'
rhash
/nix/store/fm9p1bbz3s842fc9075kqn53qf4z4ik5-nanofil-survey-cc/bin/cc calc_sums.o hash_print.o common_func.o hash_update.o file.o file_mask.o file_set.o find_file.o hash_check.o output.o parse_cmdline.o rhash_main.o win_utils.o librhash/librhash.so.1.4.6   -o rhash
rhash
buildPhase completed in 43 seconds
rhash
Running phase: checkPhase
rhash
check flags: SHELL=/nix/store/7n1hai8jk6vgc967drgkqi6k7j6ff28q-bash-5.3p9/bin/bash VERBOSE=y test-full
rhash
/bin/sh tests/test_rhash.sh --shared --full ./rhash
rhash
 1. test with a text string:    Ok
rhash
 2. test stdin processing:      Ok
rhash
 3. test with 1Kb data file:    Ok
rhash
 4. test handling empty files:  Ok
rhash
 5. test default format:        Ok
rhash
 6. test one-hash format:       Ok
rhash
 7. test %x, %b, %B modifiers:  Ok
rhash
 8. test %u modifier:           Ok
rhash
 9. test special characters:    Ok
rhash
10. test file lists:            Ok
rhash
11. test all hash options:      Ok
rhash
12. test checking all hashes:   Ok
rhash
13. test eDonkey links:         Ok
rhash
14. test magnet links:          Ok
rhash
15. test bsd format checking:   Ok
rhash
16. test checking w/o filename: Ok
rhash
17. test checking embedded crc: Ok
rhash
18. test checking recursively:  Ok
rhash
19. test wrong sums detection:  Ok
rhash
20. test missig files:          Ok
rhash
21. test unverified files:      Ok
rhash
22. test update:                Ok
rhash
23. test *accept options:       Ok
rhash
24. test ignoring of log files: Ok
rhash
25. test creating torrent file: Ok
rhash
26. test exit code:             Ok
rhash
Running phase: installPhase
rhash
install flags: SHELL=/nix/store/7n1hai8jk6vgc967drgkqi6k7j6ff28q-bash-5.3p9/bin/bash install install-lib-headers install-lib-so-link
rhash
make install-binary
rhash
make[1]: Entering directory '/build/source'
rhash
install -d /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/bin
rhash
install -m 755 rhash /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/bin/rhash
rhash
make[1]: Leaving directory '/build/source'
rhash
install -d /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/share/man/man1
rhash
install -m 644 dist/rhash.1 /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/share/man/man1/rhash.1
rhash
install -d /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/etc
rhash
tr -d \\r < dist/rhashrc.sample > rc.tmp && install -m 644 rc.tmp /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/etc/rhashrc
rhash
rm -f rc.tmp
rhash
install -d /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/bin
rhash
install -m 755 rhash /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/bin/rhash
rhash
cd /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/bin && for f in sfv-hash has160-hash gost12-256-hash gost12-512-hash edonr256-hash edonr512-hash tiger-hash tth-hash whirlpool-hash ed2k-link magnet-link; do ln -sf rhash $f; done
rhash
cd /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/share/man/man1 && for f in sfv-hash has160-hash gost12-256-hash gost12-512-hash edonr256-hash edonr512-hash tiger-hash tth-hash whirlpool-hash ed2k-link magnet-link; do ln -sf rhash.1 $f.1; done
rhash
cd librhash && make install-lib-shared
rhash
make[1]: Entering directory '/build/source/librhash'
rhash
install -d /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/lib
rhash
install -m 755 librhash.so.1.4.6 /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/lib/
rhash
test "xlibrhash.so.1" = "xlibrhash.so.1.4.6" || ( \
rhash
  rm -f /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/lib/librhash.so.1 && \
rhash
  ln -s librhash.so.1.4.6 /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/lib/librhash.so.1 )
rhash
make[1]: Leaving directory '/build/source/librhash'
rhash
cd librhash && make install-lib-headers
rhash
make[1]: Entering directory '/build/source/librhash'
rhash
install -d /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/include
rhash
install -m 644 rhash.h rhash_torrent.h /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/include/
rhash
make[1]: Leaving directory '/build/source/librhash'
rhash
cd librhash && make install-so-link
rhash
make[1]: Entering directory '/build/source/librhash'
rhash
install -d /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/lib
rhash
rm -f /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/lib/librhash.so
rhash
ln -s librhash.so.1 /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/lib/librhash.so
rhash
make[1]: Leaving directory '/build/source/librhash'
rhash
Running phase: fixupPhase
rhash
shrinking RPATHs of ELF executables and libraries in /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6
rhash
shrinking /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/bin/rhash
rhash
shrinking /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/lib/librhash.so.1.4.6
rhash
checking for references to /build/ in /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6...
rhash
gzipping man pages under /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/share/man/
rhash
patching script interpreter paths in /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6
rhash
stripping (with command strip and flags -S -p) in  /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/lib /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/bin
rhash
making symlink relative: /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/share/man/man1/ed2k-link.1.gz
rhash
making symlink relative: /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/share/man/man1/edonr256-hash.1.gz
rhash
making symlink relative: /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/share/man/man1/edonr512-hash.1.gz
rhash
making symlink relative: /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/share/man/man1/gost12-256-hash.1.gz
rhash
making symlink relative: /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/share/man/man1/gost12-512-hash.1.gz
rhash
making symlink relative: /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/share/man/man1/has160-hash.1.gz
rhash
making symlink relative: /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/share/man/man1/magnet-link.1.gz
rhash
making symlink relative: /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/share/man/man1/sfv-hash.1.gz
rhash
making symlink relative: /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/share/man/man1/tth-hash.1.gz
rhash
making symlink relative: /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/share/man/man1/whirlpool-hash.1.gz
rhash
making symlink relative: /nix/store/0g4qlqlphj9jncvqjbz6xl48pw6m9h9y-rhash-x86_64-unknown-linux-gnufilc0-1.4.6/share/man/man1/tiger-hash.1.gz
rhash
nanofil-survey: 51 objects, 0 C++, 0 fallbacks