Package Details: mingw-w64-libsodium 1.0.16-1

Git Clone URL: (read-only, click to copy)
Package Base: mingw-w64-libsodium
Description: P(ortable|ackageable) NaCl-based crypto library (mingw-w64)
Upstream URL:
Keywords: libsodium mingw sodium
Licenses: custom:ISC
Submitter: kosaka
Maintainer: Zack_Emmert
Last Packager: Zack_Emmert
Votes: 1
Popularity: 0.000000
First Submitted: 2016-06-18 21:08 (UTC)
Last Updated: 2018-05-19 15:26 (UTC)

Latest Comments

Polochon_street commented on 2020-10-30 18:05 (UTC)

I got the same error, even with 1.0.18, even when using git's "stable" branch.

Apparently it's known, supposedly fixed, but I can't really find the fix.

In any case, I've resorted to use their pre-compiled binaries, but that would be nice to have a fix for that package.

shugaoye commented on 2020-10-25 07:15 (UTC) (edited on 2020-10-25 07:15 (UTC) by shugaoye)

I am getting the following error. Any idea about it?

make[3]: Entering directory '/home/src/test/temp/mingw-w64-libsodium/src/libsodium-1.0.16/build-i686-w64-mingw32/src/libsodium'
/usr/lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld: crypto_generichash/blake2b/ref/.libs/libsodium_la-blake2b-ref.o:blake2b-ref.c:(.text+0x4d7): undefined reference to `__memcpy_chk'
/usr/lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld: crypto_generichash/blake2b/ref/.libs/libsodium_la-blake2b-ref.o:blake2b-ref.c:(.text+0x645): undefined reference to `__memcpy_chk'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1779:] Error 1

seo.disparate commented on 2019-09-22 08:34 (UTC) (edited on 2019-09-22 08:37 (UTC) by seo.disparate)

Made a working PKGBUILD for version 1.0.18, also added minisign verification of source tarball. (For some reason, all http links in the diff are showing with angle brackets in them, some weird markdown thing I'm not sure how to fix.)

diff --git a/PKGBUILD b/PKGBUILD
index [`7f4b230`]( 100644
@@ -7,20 +7,26 @@

 pkgdesc="P(ortable|ackageable) NaCl-based crypto library (mingw-w64)"
-makedepends=('mingw-w64-gcc' 'mingw-w64-configure')
+makedepends=('mingw-w64-gcc' 'mingw-w64-configure' 'minisign')
+sha512sums=('SKIP' 'SKIP')
 options=(!strip !buildflags staticlibs)

 _architectures="i686-w64-mingw32 x86_64-w64-mingw32"

+prepare() {
+  minisign -V -P $_minisign_pubkey -m $_pkgname-${pkgver}.tar.gz
 build() {
   cd "$_pkgname-$pkgver"

Zack_Emmert commented on 2018-05-19 17:46 (UTC) (edited on 2018-12-05 20:30 (UTC) by Zack_Emmert)

Updated to version 1.0.16

eimis commented on 2018-05-18 20:29 (UTC)

1.0.16 PKGBUILD: