Package Details: sha3sum 1.1.5-2

Git Clone URL: https://aur.archlinux.org/sha3sum.git (read-only)
Package Base: sha3sum
Description: Keccak-family checksum calculator, including SHA-3
Upstream URL: https://github.com/maandree/sha3sum
Licenses: custom:ISC
Submitter: maandree
Maintainer: maandree
Last Packager: maandree
Votes: 12
Popularity: 1.121901
First Submitted: 2015-08-15 10:08
Last Updated: 2019-02-14 14:53

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

noraj commented on 2019-02-14 09:54

==> Validating source files with sha256sums...
    sha3sum-1.1.5.tar.gz ... Passed
==> Extracting sources...
  -> Extracting sha3sum-1.1.5.tar.gz with bsdtar
==> Starting build()...
cc -c -o keccaksum.o keccaksum.c -std=c99 -Wall -Wextra -pedantic -Wdouble-promotion -Wformat=2 -Winit-self -Wmissing-include-dirs -Wtrampolines -Wfloat-equal -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wno-variadic-macros -Wswitch-default -Wpadded -Wsync-nand -Wunsafe-loop-optimizations -Wcast-align -Wstrict-overflow -Wdeclaration-after-statement -Wundef -Wbad-function-cast -Wcast-qual -Wlogical-op -Wstrict-prototypes -Wold-style-definition -Wpacked -Wvector-operation-performance -Wunsuffixed-float-constants -Wsuggest-attribute=const -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsuggest-attribute=format -Wnormalized=nfkc -O3 
cc -c -o common.o common.c -std=c99 -Wall -Wextra -pedantic -Wdouble-promotion -Wformat=2 -Winit-self -Wmissing-include-dirs -Wtrampolines -Wfloat-equal -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wno-variadic-macros -Wswitch-default -Wpadded -Wsync-nand -Wunsafe-loop-optimizations -Wcast-align -Wstrict-overflow -Wdeclaration-after-statement -Wundef -Wbad-function-cast -Wcast-qual -Wlogical-op -Wstrict-prototypes -Wold-style-definition -Wpacked -Wvector-operation-performance -Wunsuffixed-float-constants -Wsuggest-attribute=const -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsuggest-attribute=format -Wnormalized=nfkc -O3 
common.c: In function ‘generalised_sum_fd_hex’:
common.c:180:36: warning: pointer targets in passing argument 2 of ‘libkeccak_fast_update’ differ in signedness [-Wpointer-sign]
   if (libkeccak_fast_update(state, chunk, w) < 0)
                                    ^~~~~
In file included from /usr/include/libkeccak.h:8,
                 from common.h:2,
                 from common.c:2:
/usr/include/libkeccak/digest.h:19:5: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char * restrict’
 int libkeccak_fast_update(libkeccak_state_t *restrict state, const char* restrict msg, size_t msglen);
     ^~~~~~~~~~~~~~~~~~~~~
common.c: In function ‘hash’:
common.c:223:36: warning: pointer type mismatch in conditional expression
  if ((hex ? generalised_sum_fd_hex : libkeccak_generalised_sum_fd)
                                    ^
common.c:223:36: error: called object is not a function or function pointer
  if ((hex ? generalised_sum_fd_hex : libkeccak_generalised_sum_fd)
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:46: common.o] Error 1
rm keccaksum.o
==> ERROR: A failure occurred in build().
    Aborting...

I think this is because a more recent version of libkeccak is required, so you should write depends=('libkeccak >= 1.2') instead of depends=(libkeccak).

fightcookie commented on 2017-07-20 15:52

error in build after renaming all the dependency source files...

auto-auto-complete fish --output bin/rawshake512sum.fish --source src/completion command=rawshake512sum
auto-auto-complete fish --output bin/shake256sum.fish --source src/completion command=shake256sum
auto-auto-complete fish --output bin/shake512sum.fish --source src/completion command=shake512sum
cd obj/info ; makeinfo ../../doc/sha3sum.texinfo
cat doc/xsum.texman | sed -e 's/xsum/keccak-224sum/g' -e 's/XSUM/Keccak-224/g' | texman > bin/keccak-224sum.1
cat doc/xsum.texman | sed -e 's/xsum/keccak-256sum/g' -e 's/XSUM/Keccak-256/g' | texman > bin/keccak-256sum.1
cat doc/xsum.texman | sed -e 's/xsum/keccak-384sum/g' -e 's/XSUM/Keccak-384/g' | texman > bin/keccak-384sum.1
cat doc/xsum.texman | sed -e 's/xsum/keccak-512sum/g' -e 's/XSUM/Keccak-512/g' | texman > bin/keccak-512sum.1
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\@{ <-- HERE / at /usr/bin/texman line 51.
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\@{ <-- HERE / at /usr/bin/texman line 51.
make: *** [Makefile:123: bin/keccak-224sum.1] Error 255
make: *** Waiting for unfinished jobs....
make: *** [Makefile:123: bin/keccak-256sum.1] Error 255
cat doc/xsum.texman | sed -e 's/xsum/keccaksum/g' -e 's/XSUM/Keccak[]/g' | texman > bin/keccaksum.1
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\@{ <-- HERE / at /usr/bin/texman line 51.
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\@{ <-- HERE / at /usr/bin/texman line 51.
make: *** [Makefile:124: bin/keccak-384sum.1] Error 255
make: *** [Makefile:124: bin/keccak-512sum.1] Error 255
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\@{ <-- HERE / at /usr/bin/texman line 51.
make: *** [Makefile:124: bin/keccaksum.1] Error 255
mv obj/info/sha3sum.info bin/sha3sum.info
rm obj/keccaksum.o obj/sha3-512sum.o obj/keccak-512sum.o obj/shake256sum.o obj/rawshake256sum.o obj/sha3-384sum.o obj/keccak-384sum.o obj/shake512sum.o obj/sha3-256sum.o obj/keccak-256sum.o obj/rawshake512sum.o obj/sha3-224sum.o obj/keccak-224sum.o obj/common.o
==> ERROR: A failure occurred in build().
Aborting...

fightcookie commented on 2017-07-20 15:42

Ironically, the checksum doesn't match, even after removing the source again and letting it redownload, because a dependency of it (texman) also names its source file only by the version number...

Please use the source=("programm_name_and_version::hg+https://googlefontdirectory.googlecode.com/hg/") syntax from https://wiki.archlinux.org/index.php/Pkgbuild#source to give the downloaded source a unique name with its package name and exact version number! Thanks! :)

Anonymous comment on 2017-07-09 12:58

cat doc/xsum.texman | sed -e 's/xsum/keccak-224sum/g' -e 's/XSUM/Keccak-224/g' | texman > bin/keccak-224sum.1
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\@{ <-- HERE / at /usr/bin/texman line 51.
make: *** [Makefile:124: bin/keccak-224sum.1] Error 255
rm obj/keccaksum.o obj/sha3-512sum.o obj/keccak-512sum.o obj/shake256sum.o obj/rawshake256sum.o obj/sha3-384sum.o obj/keccak-384sum.o obj/shake512sum.o obj/sha3-256sum.o obj/keccak-256sum.o obj/rawshake512sum.o obj/sha3-224sum.o obj/keccak-224sum.o obj/common.o
==> ERROR: A failure occurred in build().
Aborting...
:: texlive-plainextra is now an orphan package
:: failed to build sha3sum-git package(s)