Package Details: mingw-w64-p11-kit 0.23.18.1-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-p11-kit.git (read-only)
Package Base: mingw-w64-p11-kit
Description: Provides a way to load and enumerate PKCS#11 modules (mingw-w64)
Upstream URL: https://p11-glue.freedesktop.org
Licenses: BSD
Submitter: xantares
Maintainer: pingplug
Last Packager: pingplug
Votes: 8
Popularity: 0.005184
First Submitted: 2014-10-29 11:11
Last Updated: 2019-10-12 09:11

Latest Comments

zebulon commented on 2019-10-15 16:31

I have the same issue than Martchus, and also a linking error for another package: mingw-w64-spirv-tools. This is very strange and possibly related.

Martchus commented on 2019-10-13 18:51

The latest version doesn't build (for me):

libtool: link: i686-w64-mingw32-gcc -shared  p11-kit/.libs/libp11_kit_la-proxy.o p11-kit/.libs/libp11_kit_la-proxy-init.o p11-kit/.libs/libp11_kit_la-rpc-server.o  -Wl,--whole-archive ./.libs/libp11-kit-internal.a ./.libs/libp11-common.a ./.libs/libp11-library.a -Wl,--no-whole-archive  -L/usr/i686-w64-mingw32/lib/../lib -lffi  -O2 -g -Wl,--version-script=../p11-kit/libp11-kit.map -Wl,-O1 -Wl,--sort-common -Wl,--as-needed   -o .libs/libp11-kit-0.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libp11-kit.dll.a
libtool: link: ( cd ".libs" && rm -f "libp11-kit.la" && ln -s "../libp11-kit.la" "libp11-kit.la" )
/bin/sh ./libtool  --tag=CC   --mode=link i686-w64-mingw32-gcc  -O2 -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4  -g           -Wall -Wstrict-prototypes -Wmissing-declarations                -Wmissing-prototypes -Wnested-externs -Wpointer-arith           -Wdeclaration-after-statement -Wformat=2 -Winit-self
                -Waggregate-return -Wno-missing-format-attribute                -fno-strict-aliasing -fno-common -Wmissing-include-dirs -Wundef  -Wl,-O1,--sort-common,--as-needed  -o p11-kit/p11-kit.exe p11-kit/lists.o p11-kit/p11-kit.o  libp11-kit.la libp11-tool.la libp11-common.la
/bin/sh ./libtool  --tag=CC   --mode=link i686-w64-mingw32-gcc  -O2 -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4  -g           -Wall -Wstrict-prototypes -Wmissing-declarations                -Wmissing-prototypes -Wnested-externs -Wpointer-arith           -Wdeclaration-after-statement -Wformat=2 -Winit-self
                -Waggregate-return -Wno-missing-format-attribute                -fno-strict-aliasing -fno-common -Wmissing-include-dirs -Wundef  -Wl,-O1,--sort-common,--as-needed  -o p11-kit/p11-kit-remote.exe p11-kit/remote.o  libp11-tool.la libp11-common.la libp11-kit.la
/bin/sh ./libtool  --tag=CC   --mode=link i686-w64-mingw32-gcc -DP11_KIT_REMOTE=\"p11-kit-remote\" -DP11_SYSTEM_CONFIG_FILE=\""/usr/i686-w64-mingw32/etc/pkcs11/pkcs11.conf"\" -DP11_SYSTEM_CONFIG_MODULES=\""/usr/i686-w64-mingw32/etc/pkcs11/modules"\" -DP11_PACKAGE_CONFIG_MODULES=\""/usr/i686-w64-mingw32/share/p11-kit/modules"\" -DP11_USER_CONFIG_FILE=\""~/.config/pkcs11/pkcs11.conf"\" -DP11_USER_CONFIG_MODULES=\""~/.config/pkcs11/modules"\" -DP11_MODULE_PATH=\""/usr/i686-w64-mingw32/lib/pkcs11"\" -I/usr/i686-w64-mingw32/lib/libffi-3.2.1/include     -O2 -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4  -g              -Wall -Wstrict-prototypes -Wmissing-declarations             -Wmissing-prototypes -Wnested-externs -Wpointer-arith           -Wdeclaration-after-statement -Wformat=2 -Winit-self            -Waggregate-return -Wno-missing-format-attribute                -fno-strict-aliasing -fno-common -Wmissing-include-dirs -Wundef  -Wl,-O1,--sort-common,--as-needed  -o p11-kit/p11-kit-server.exe p11-kit/p11_kit_server-server.o  libp11-tool.la libp11-common.la libp11-kit.la
libtool: link: i686-w64-mingw32-gcc -O2 -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4 -g -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -fno-strict-aliasing -fno-common -Wmissing-include-dirs -Wundef -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o p11-kit/.libs/p11-kit.exe p11-kit/lists.o p11-kit/p11-kit.o  ./.libs/libp11-kit.dll.a -L/usr/i686-w64-mingw32/lib/../lib -lffi ./.libs/libp11-tool.a ./.libs/libp11-common.a -L/usr/i686-w64-mingw32/lib
libtool: link: i686-w64-mingw32-gcc -O2 -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4 -g -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -fno-strict-aliasing -fno-common -Wmissing-include-dirs -Wundef -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o p11-kit/.libs/p11-kit-remote.exe p11-kit/remote.o  ./.libs/libp11-tool.a ./.libs/libp11-common.a ./.libs/libp11-kit.dll.a -L/usr/i686-w64-mingw32/lib/../lib -lffi -L/usr/i686-w64-mingw32/lib
libtool: link: i686-w64-mingw32-gcc -DP11_KIT_REMOTE=\"p11-kit-remote\" -DP11_SYSTEM_CONFIG_FILE=\"/usr/i686-w64-mingw32/etc/pkcs11/pkcs11.conf\" -DP11_SYSTEM_CONFIG_MODULES=\"/usr/i686-w64-mingw32/etc/pkcs11/modules\" -DP11_PACKAGE_CONFIG_MODULES=\"/usr/i686-w64-mingw32/share/p11-kit/modules\" "-DP11_USER_CONFIG_FILE=\"~/.config/pkcs11/pkcs11.conf\"" "-DP11_USER_CONFIG_MODULES=\"~/.config/pkcs11/modules\"" -DP11_MODULE_PATH=\"/usr/i686-w64-mingw32/lib/pkcs11\" -I/usr/i686-w64-mingw32/lib/libffi-3.2.1/include -O2 -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4 -g -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -fno-strict-aliasing -fno-common -Wmissing-include-dirs -Wundef -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o p11-kit/.libs/p11-kit-server.exe p11-kit/p11_kit_server-server.o  ./.libs/libp11-tool.a ./.libs/libp11-common.a ./.libs/libp11-kit.dll.a -L/usr/i686-w64-mingw32/lib/../lib -lffi -L/usr/i686-w64-mingw32/lib
/usr/lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld: p11-kit/remote.o: in function `main':
/build/mingw-w64-p11-kit/src/p11-kit/build-i686-w64-mingw32/../p11-kit/remote.c:82: undefined reference to `p11_kit_be_loud'
/usr/lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld: /build/mingw-w64-p11-kit/src/p11-kit/build-i686-w64-mingw32/../p11-kit/remote.c:115: undefined reference to `p11_kit_module_load'
/usr/lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld: /build/mingw-w64-p11-kit/src/p11-kit/build-i686-w64-mingw32/../p11-kit/remote.c:120: undefined reference to `p11_kit_remote_serve_tokens'
/usr/lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld: /build/mingw-w64-p11-kit/src/p11-kit/build-i686-w64-mingw32/../p11-kit/remote.c:124: undefined reference to `p11_kit_module_release'
/usr/lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld: /build/mingw-w64-p11-kit/src/p11-kit/build-i686-w64-mingw32/../p11-kit/remote.c:136: undefined reference to `p11_kit_module_load'
/usr/lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld: /build/mingw-w64-p11-kit/src/p11-kit/build-i686-w64-mingw32/../p11-kit/remote.c:140: undefined reference to `p11_kit_remote_serve_module'
/usr/lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld: /build/mingw-w64-p11-kit/src/p11-kit/build-i686-w64-mingw32/../p11-kit/remote.c:142: undefined reference to `p11_kit_module_release'
/usr/lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld: /build/mingw-w64-p11-kit/src/p11-kit/build-i686-w64-mingw32/../p11-kit/remote.c:120: undefined reference to `p11_kit_remote_serve_tokens'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:3042: p11-kit/p11-kit-remote.exe] Error 1

Martchus commented on 2018-04-11 22:12

Make dependency git is missing.

sh1ftchg commented on 2018-01-19 05:12

The upstream URL has moved to https://github.com/p11-glue/p11-kit This package can't be built at the moment.

To fix it replace these lines: (7) url="https://github.com/p11-glue/p11-kit" (12) source=($url/archive/$pkgver.tar.gz mingw-p11-kit-setenv.patch) (13) md5sums=('5c281bb08e6a713caa8e0c5bd2f813b5

And insert at line: (20) gettextize

Because the new package lacks a prebuilt po/Makefile.in.in.