{"action":"created","issue":{"url":"https://api.github.com/repos/OpenSC/engine_pkcs11/issues/37","labels_url":"https://api.github.com/repos/OpenSC/engine_pkcs11/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/OpenSC/engine_pkcs11/issues/37/comments","events_url":"https://api.github.com/repos/OpenSC/engine_pkcs11/issues/37/events","html_url":"https://github.com/OpenSC/engine_pkcs11/issues/37","id":125269832,"number":37,"title":"engine_pkcs11 fails softhsm test","user":{"login":"mouse07410","id":5923577,"avatar_url":"https://avatars.githubusercontent.com/u/5923577?v=3","gravatar_id":"","url":"https://api.github.com/users/mouse07410","html_url":"https://github.com/mouse07410","followers_url":"https://api.github.com/users/mouse07410/followers","following_url":"https://api.github.com/users/mouse07410/following{/other_user}","gists_url":"https://api.github.com/users/mouse07410/gists{/gist_id}","starred_url":"https://api.github.com/users/mouse07410/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mouse07410/subscriptions","organizations_url":"https://api.github.com/users/mouse07410/orgs","repos_url":"https://api.github.com/users/mouse07410/repos","events_url":"https://api.github.com/users/mouse07410/events{/privacy}","received_events_url":"https://api.github.com/users/mouse07410/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OpenSC/engine_pkcs11/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-06T21:41:28Z","updated_at":"2016-01-17T15:21:23Z","closed_at":null,"body":"Mac OS X 10.10.5, Xcode-7.2.\r\n\r\n```\r\n$ type -all pkcs11-tool\r\npkcs11-tool is /usr/local/bin/pkcs11-tool\r\n$ ls -l /opt/local/lib/softhsm\r\ntotal 7480\r\ndrwxr-xr-x    5 root      staff      170 Jan  6 16:34 ./\r\ndrwxr-xr-x  756 macports  staff    25704 Jan  6 16:34 ../\r\n-rw-r--r--    1 root      staff  2552912 Jan  6 16:34 libsofthsm2.a\r\n-rwxr-xr-x    1 root      staff      955 Jan  6 16:34 libsofthsm2.la*\r\n-rwxr-xr-x    1 root      staff  1268976 Jan  6 16:34 libsofthsm2.so*\r\n$ make check\r\nMaking check in src\r\nmake[1]: Nothing to be done for `check'.\r\nMaking check in tests\r\n/Applications/Xcode.app/Contents/Developer/usr/bin/make  evp-sign \\\r\n\t  softhsm\r\nclang -DHAVE_CONFIG_H -I. -I..  -I../ -I../  -I/opt/local/include -maes -mpclmul -mrdrnd -msse2 -mssse3 -msse4 -msse4.2 -maes -mpclmul -mrdrnd -msse2 -mssse3 -msse4 -msse4.2 -MT evp-sign.o -MD -MP -MF .deps/evp-sign.Tpo -c -o evp-sign.o evp-sign.c\r\nevp-sign.c:211:10: warning: enumeration value 'NONE' not handled in switch [-Wswitch]\r\n        switch (pin_method) {\r\n                ^\r\n1 warning generated.\r\nmv -f .deps/evp-sign.Tpo .deps/evp-sign.Po\r\n/bin/sh ../libtool  --tag=CC   --mode=link clang -I/opt/local/include -maes -mpclmul -mrdrnd -msse2 -mssse3 -msse4 -msse4.2 -maes -mpclmul -mrdrnd -msse2 -mssse3 -msse4 -msse4.2 -no-install  -o evp-sign evp-sign.o -L/opt/local/lib -lssl -lcrypto \r\nlibtool: warning: '-no-install' is ignored for x86_64-apple-darwin14.5.0\r\nlibtool: warning: assuming '-no-fast-install' instead\r\nlibtool: link: clang -I/opt/local/include -maes -mpclmul -mrdrnd -msse2 -mssse3 -msse4 -msse4.2 -maes -mpclmul -mrdrnd -msse2 -mssse3 -msse4 -msse4.2 -o evp-sign evp-sign.o  -L/opt/local/lib -lssl -lcrypto\r\nmake[2]: Nothing to be done for `softhsm'.\r\n/Applications/Xcode.app/Contents/Developer/usr/bin/make  check-TESTS\r\nFAIL: softhsm\r\n============================================================================\r\nTestsuite summary for engine_pkcs11 0.2.1_git\r\n============================================================================\r\n# TOTAL: 1\r\n# PASS:  0\r\n# SKIP:  0\r\n# XFAIL: 0\r\n# FAIL:  1\r\n# XPASS: 0\r\n# ERROR: 0\r\n============================================================================\r\nSee tests/test-suite.log\r\n============================================================================\r\nmake[3]: *** [test-suite.log] Error 1\r\nmake[2]: *** [check-TESTS] Error 2\r\nmake[1]: *** [check-am] Error 2\r\nmake: *** [check-recursive] Error 1\r\n$ cat tests/test-suite.log\r\n===================================================\r\n   engine_pkcs11 0.2.1_git: tests/test-suite.log\r\n===================================================\r\n\r\n# TOTAL: 1\r\n# PASS:  0\r\n# SKIP:  0\r\n# XFAIL: 0\r\n# FAIL:  1\r\n# XPASS: 0\r\n# ERROR: 0\r\n\r\n.. contents:: :depth: 2\r\n\r\nFAIL: softhsm\r\n=============\r\n\r\n-n * Initializing smart card... \r\nok\r\nUsing slot 0 with a present token (0x0)\r\nUsing slot 0 with a present token (0x0)\r\nUsing slot 0 with a present token (0x0)\r\n***************\r\nListing objects\r\n***************\r\nUsing slot 0 with a present token (0x0)\r\nPrivate Key Object; RSA \r\n  label:      server-key\r\n  ID:         00010203\r\n  Usage:      decrypt, sign, unwrap\r\nCertificate Object, type = X.509 cert\r\n  label:      server-key\r\n  ID:         00010203\r\nPublic Key Object; RSA 2048 bits\r\n  label:      server-key\r\n  ID:         00010203\r\n  Usage:      encrypt, verify, wrap\r\nAt main.c:197:\r\n- SSL error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library: dso_dlfcn.c:187\r\n- SSL error:25070067:DSO support routines:DSO_load:could not load the shared library: dso_lib.c:232\r\n- SSL error:260B6084:engine routines:DYNAMIC_LOAD:dso not found: eng_dyn.c:465\r\n- SSL error:2606A074:engine routines:ENGINE_by_id:no such engine: eng_list.c:390\r\nBasic PKCS #11 test, using ctrl failed\r\nFAIL softhsm (exit status: 1)\r\n```\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/OpenSC/engine_pkcs11/issues/comments/172337213","html_url":"https://github.com/OpenSC/engine_pkcs11/issues/37#issuecomment-172337213","issue_url":"https://api.github.com/repos/OpenSC/engine_pkcs11/issues/37","id":172337213,"user":{"login":"mtrojnar","id":13538198,"avatar_url":"https://avatars.githubusercontent.com/u/13538198?v=3","gravatar_id":"","url":"https://api.github.com/users/mtrojnar","html_url":"https://github.com/mtrojnar","followers_url":"https://api.github.com/users/mtrojnar/followers","following_url":"https://api.github.com/users/mtrojnar/following{/other_user}","gists_url":"https://api.github.com/users/mtrojnar/gists{/gist_id}","starred_url":"https://api.github.com/users/mtrojnar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtrojnar/subscriptions","organizations_url":"https://api.github.com/users/mtrojnar/orgs","repos_url":"https://api.github.com/users/mtrojnar/repos","events_url":"https://api.github.com/users/mtrojnar/events{/privacy}","received_events_url":"https://api.github.com/users/mtrojnar/received_events","type":"User","site_admin":false},"created_at":"2016-01-17T15:21:23Z","updated_at":"2016-01-17T15:21:23Z","body":"@mouse07410 Could you also include the output of your ./configure script?"}}