>>> hashcash: Building community/hashcash 1.22-r0 (using abuild 3.12.0-r0) started Wed, 22 Nov 2023 22:47:55 +0000
>>> hashcash: Checking sanity of /home/buildozer/aports/community/hashcash/APKBUILD...
>>> hashcash: Analyzing dependencies...
>>> hashcash: Installing for build: build-base
(1/1) Installing .makedepends-hashcash (20231122.224756)
OK: 376 MiB in 103 packages
>>> hashcash: Cleaning up srcdir
>>> hashcash: Cleaning up pkgdir
>>> hashcash: Cleaning up tmpdir
>>> hashcash: Fetching https://distfiles.alpinelinux.org/distfiles/v3.19/hashcash-1.22.tgz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0   146    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
>>> hashcash: Fetching http://www.hashcash.org/source/hashcash-1.22.tgz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  190k  100  190k    0     0   217k      0 --:--:-- --:--:-- --:--:--  217k
>>> hashcash: Fetching https://distfiles.alpinelinux.org/distfiles/v3.19/hashcash-1.22.tgz
>>> hashcash: Checking sha512sums...
hashcash-1.22.tgz: OK
>>> hashcash: Unpacking /var/cache/distfiles/v3.19/hashcash-1.22.tgz...
make "CFLAGS=-Os -fstack-clash-protection -Wformat -Werror=format-security -DREGEXP_POSIX -O3 " build
make <platform> where platform is:
    x86, mingw, mingw-dll, g3-osx, ppc-linux, gnu, generic, debug
or to link with openSSL for SHA1 rather than builtin:
    x86-openssl, g3-osx-openssl, ppc-linux-openssl, 
    gnu-openssl, generic-openssl, debug-openssl
other make targets are docs, install, clean, distclean, docclean
make[1]: Entering directory '/home/buildozer/aports/community/hashcash/src/hashcash-1.22'
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DREGEXP_POSIX -O3    -c -o hashcash.o hashcash.c

gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DREGEXP_POSIX -O3    -c -o getopt.o getopt.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DREGEXP_POSIX -O3    -c -o libhc.o libhc.c
(doing make generic by default)
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DREGEXP_POSIX -O3    -c -o libsha1.o libsha1.c

gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DREGEXP_POSIX -O3    -c -o utct.o utct.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DREGEXP_POSIX -O3    -c -o sdb.o sdb.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DREGEXP_POSIX -O3    -c -o lock.o lock.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DREGEXP_POSIX -O3    -c -o sstring.o sstring.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DREGEXP_POSIX -O3    -c -o random.o random.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DREGEXP_POSIX -O3    -c -o libfastmint.o libfastmint.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DREGEXP_POSIX -O3    -c -o fastmint_mmx_standard_1.o fastmint_mmx_standard_1.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DREGEXP_POSIX -O3    -c -o fastmint_mmx_compact_1.o fastmint_mmx_compact_1.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DREGEXP_POSIX -O3    -c -o fastmint_ansi_compact_1.o fastmint_ansi_compact_1.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DREGEXP_POSIX -O3    -c -o fastmint_ansi_standard_1.o fastmint_ansi_standard_1.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DREGEXP_POSIX -O3    -c -o fastmint_ansi_compact_2.o fastmint_ansi_compact_2.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DREGEXP_POSIX -O3    -c -o fastmint_ansi_standard_2.o fastmint_ansi_standard_2.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DREGEXP_POSIX -O3    -c -o fastmint_altivec_standard_1.o fastmint_altivec_standard_1.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DREGEXP_POSIX -O3    -c -o fastmint_altivec_standard_2.o fastmint_altivec_standard_2.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DREGEXP_POSIX -O3    -c -o fastmint_altivec_compact_2.o fastmint_altivec_compact_2.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DREGEXP_POSIX -O3    -c -o fastmint_ansi_ultracompact_1.o fastmint_ansi_ultracompact_1.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DREGEXP_POSIX -O3    -c -o fastmint_library.o fastmint_library.c
gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DREGEXP_POSIX -O3    -c -o sha1.o sha1.c
fastmint_library.c: In function 'minter_library':
fastmint_library.c:92:17: warning: implicit declaration of function 'SHA1_Transform'; did you mean 'SHA1_Xform'? [-Wimplicit-function-declaration]
   92 |                 SHA1_Transform( H, X );
      |                 ^~~~~~~~~~~~~~
      |                 SHA1_Xform
hashcash.c: In function 'main':
hashcash.c:880:56: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=]
  880 |                                 QPRINTF( stderr, "in %ld seconds\n",
      |                                                      ~~^
      |                                                        |
      |                                                        long int
      |                                                      %lld
  881 |                                          token_time-(now_time+grace_period) );
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                    |
      |                                                    time_t {aka long long int}
hashcash.c:885:54: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=]
  885 |                                 PPRINTF( stdout, "+%ld",
      |                                                    ~~^
      |                                                      |
      |                                                      long int
      |                                                    %lld
  886 |                                          token_time-(now_time+grace_period) );
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                    |
      |                                                    time_t {aka long long int}
hashcash.c:889:61: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=]
  889 |                                 QPRINTF( stderr, "expired %ld seconds ago\n",
      |                                                           ~~^
      |                                                             |
      |                                                             long int
      |                                                           %lld
  890 |                                          now_time-(expiry_time+grace_period) );
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                  |
      |                                                  time_t {aka long long int}
hashcash.c:894:54: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=]
  894 |                                 PPRINTF( stdout, "-%ld",
      |                                                    ~~^
      |                                                      |
      |                                                      long int
      |                                                    %lld
  895 |                                          now_time-(expiry_time+grace_period) );
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                  |
      |                                                  time_t {aka long long int}
gcc sha1.o libsha1.o -o sha1 -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs
rm -f libhashcash.a
ar rcs libhashcash.a libhc.o libsha1.o utct.o sdb.o lock.o sstring.o random.o libfastmint.o fastmint_mmx_standard_1.o fastmint_mmx_compact_1.o fastmint_ansi_compact_1.o fastmint_ansi_standard_1.o fastmint_ansi_compact_2.o fastmint_ansi_standard_2.o fastmint_altivec_standard_1.o fastmint_altivec_standard_2.o fastmint_altivec_compact_2.o fastmint_ansi_ultracompact_1.o fastmint_library.o
gcc hashcash.o getopt.o libhashcash.a -o hashcash -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs
make[1]: Leaving directory '/home/buildozer/aports/community/hashcash/src/hashcash-1.22'
test 1 (-mb8) ok
test 2 (-mb12) ok
test 3 (-mb8 -mb12) ok
test 4 (-b10 partial) ./test.sh: line 44: can't open stamps: no such file
fail
test 5 (-b15 insufficient) ./test.sh: line 51: can't open stamps: no such file
ok
test 6 (-r partial) ./test.sh: line 58: can't open stamps: no such file
fail
test 7 (-r no match) ./test.sh: line 65: can't open stamps: no such file
ok
test 8 (-d not spent) ok
test 9 (-d spent) ok
test 10 (-w) ok
test 11 (-wb10 one sufficient) ok
test 12 (-wn) ok
test 13 (-n) ok
test 14 (-nb10) ok
test 15 (-nr three match) ok
test 16 (-l) ok
test 17 (-nl) ok
test 18 (-wl) ok
test 19 (-nwl) ok
test 20 (-cy -b10 match) ok
test 21 (-cy -b15 insufficient) ok
test 22 (-cy insufficient) ok
test 23 (-cy -b10 no match) ok
test 24 (-cy -b5 expired) ok
test 25 (-cy -b5 future) ok
test 26 (-c -b10 partial) ok
test 27 (-cy -b10 success) ok
test 28 (-c -b15 insufficient) ok
test 29 (-c -b10 no match) ok
test 30 (-c -b5 expired) ok
test 31 (-c -b5 future) ok
test 32 (-cn -b10 one sufficient) ok
test 33 (-cn -b5 three valid) ok
test 34 (-cn -b5 two match) ok
test 35 (-cn none sufficient) ok
test 36 (-cn -r -o -r one sufficient) ok
test 37 (-cwb5 three valid) ok
test 38 (-cwb5 -r two valid match) ok
test 39 (-cl -b5 three sufficient) ok
test 40 (-c -b10 -r adam+bar@foo.com -o -b5 -r *@foo.com partial) ok
test 41 (-c -b10 -r blah -o -b6 -r blah -r *+xyz@foo.com partial) ok
test 42 (-cl -b5 three sufficient) ok
>>> hashcash: Entering fakeroot...
install -d /home/buildozer/aports/community/hashcash/pkg/hashcash/usr/bin
install hashcash sha1 /home/buildozer/aports/community/hashcash/pkg/hashcash/usr/bin
install -d /home/buildozer/aports/community/hashcash/pkg/hashcash/usr/share/man/man1
install -m 644 hashcash.1 sha1-hashcash.1 /home/buildozer/aports/community/hashcash/pkg/hashcash/usr/share/man/man1
install -d /home/buildozer/aports/community/hashcash/pkg/hashcash/usr/share/doc/hashcash
install -m 644 README LICENSE CHANGELOG /home/buildozer/aports/community/hashcash/pkg/hashcash/usr/share/doc/hashcash
>>> hashcash-doc*: Running split function doc...
>>> hashcash-doc*: Preparing subpackage hashcash-doc...
>>> hashcash-doc*: Running postcheck for hashcash-doc
>>> hashcash*: Running postcheck for hashcash
>>> hashcash*: Preparing package hashcash...
>>> hashcash*: Stripping binaries
>>> hashcash-doc*: Scanning shared objects
>>> hashcash*: Scanning shared objects
>>> hashcash-doc*: Tracing dependencies...
>>> hashcash-doc*: Package size: 88.0 KB
>>> hashcash-doc*: Compressing data...
>>> hashcash-doc*: Create checksum...
>>> hashcash-doc*: Create hashcash-doc-1.22-r0.apk
>>> hashcash*: Tracing dependencies...
	so:libc.musl-x86.so.1
>>> hashcash*: Package size: 220.0 KB
>>> hashcash*: Compressing data...
>>> hashcash*: Create checksum...
>>> hashcash*: Create hashcash-1.22-r0.apk
>>> hashcash: Build complete at Wed, 22 Nov 2023 22:48:00 +0000 elapsed time 0h 0m 5s
>>> hashcash: Cleaning up srcdir
>>> hashcash: Cleaning up pkgdir
>>> hashcash: Uninstalling dependencies...
(1/1) Purging .makedepends-hashcash (20231122.224756)
OK: 376 MiB in 102 packages
>>> hashcash: Updating the community/x86 repository index...
>>> hashcash: Signing the index...