{"action":"opened","issue":{"url":"https://api.github.com/repos/StackStorm/st2-packages/issues/23","labels_url":"https://api.github.com/repos/StackStorm/st2-packages/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/StackStorm/st2-packages/issues/23/comments","events_url":"https://api.github.com/repos/StackStorm/st2-packages/issues/23/events","html_url":"https://github.com/StackStorm/st2-packages/issues/23","id":118860419,"number":23,"title":"[package: st2common]      make: *** [binary] Error 2","user":{"login":"armab","id":1533818,"avatar_url":"https://avatars.githubusercontent.com/u/1533818?v=3","gravatar_id":"","url":"https://api.github.com/users/armab","html_url":"https://github.com/armab","followers_url":"https://api.github.com/users/armab/followers","following_url":"https://api.github.com/users/armab/following{/other_user}","gists_url":"https://api.github.com/users/armab/gists{/gist_id}","starred_url":"https://api.github.com/users/armab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armab/subscriptions","organizations_url":"https://api.github.com/users/armab/orgs","repos_url":"https://api.github.com/users/armab/repos","events_url":"https://api.github.com/users/armab/events{/privacy}","received_events_url":"https://api.github.com/users/armab/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/StackStorm/st2-packages/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-25T15:30:10Z","updated_at":"2015-11-25T15:30:10Z","closed_at":null,"body":"Looks like ghost bug.\r\n\r\nFrom time to time I get this error in CircleCI `wheezy` build:\r\nhttps://circleci.com/gh/StackStorm/st2-packages/36\r\n\r\n```sh\r\n[package: st2common]      dpkg-shlibdeps: error: couldn't find library libffi.so.6 needed by debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/_cffi_backend.so (ELF format: 'elf64-x86-64'; RPATH: '')\r\n[package: st2common]      dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/msgpack/_unpacker.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/msgpack/_packer.so debian/st2common/usr/share/python/st2common/bin/python were not linked against libgcc_s.so.1 (they use none of the library's symbols)\r\n[package: st2common]      dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/msgpack/_unpacker.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/msgpack/_packer.so were not linked against libstdc++.so.6 (they use none of the library's symbols)\r\n[package: st2common]      dpkg-shlibdeps: error: cannot continue due to the error above\r\n[package: st2common]      Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file.\r\n[package: st2common]      To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH.\r\n[package: st2common]      dh_shlibdeps: dpkg-shlibdeps -Tdebian/st2common.substvars debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/Crypto/Hash/_MD2.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/Crypto/Hash/_MD4.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/Crypto/Hash/_SHA256.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/Crypto/Hash/_SHA224.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/Crypto/Hash/_SHA384.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/Crypto/Hash/_SHA512.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/Crypto/Hash/_RIPEMD160.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/Crypto/Cipher/_AES.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/Crypto/Cipher/_ARC2.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/Crypto/Cipher/_Blowfish.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/Crypto/Cipher/_CAST.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/Crypto/Cipher/_DES.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/Crypto/Cipher/_DES3.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/Crypto/Cipher/_ARC4.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/Crypto/Cipher/_XOR.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/Crypto/Util/strxor.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/Crypto/Util/_counter.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/markupsafe/_speedups.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/bson/_cbson.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/pymongo/_cmessage.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/cryptography/hazmat/bindings/_openssl.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/cryptography/hazmat/bindings/_constant_time.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/cryptography/hazmat/bindings/_padding.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/msgpack/_packer.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/msgpack/_unpacker.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/wrapt/_wrappers.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/greenlet.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/_yaml.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/_cffi_backend.so debian/st2common/usr/share/python/st2common/lib/python2.7/site-packages/netifaces.so debian/st2common/usr/share/python/st2common/bin/python returned exit code 2\r\n[package: st2common]      make: *** [binary] Error 2\r\n\r\n.circle/docker-compose.sh build ${DISTRO} returned exit code 1\r\n\r\n[package: st2common] dpkg-buildpackage: error: debian/rules binary gave error exit status 2 Action failed: .circle/docker-compose.sh build ${DISTRO}\r\n```\r\n\r\n\r\n#### Workaround\r\nSometimes just pushing `Rebuild` button works, sometimes not: several retries needed.\r\n"}}