{"action":"created","issue":{"url":"https://api.github.com/repos/ascherer/debbuild/issues/25","repository_url":"https://api.github.com/repos/ascherer/debbuild","labels_url":"https://api.github.com/repos/ascherer/debbuild/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/ascherer/debbuild/issues/25/comments","events_url":"https://api.github.com/repos/ascherer/debbuild/issues/25/events","html_url":"https://github.com/ascherer/debbuild/issues/25","id":133634541,"number":25,"title":"Automatic dependency generation error (*.so.* -> package name)","user":{"login":"Conan-Kudo","id":276796,"avatar_url":"https://avatars.githubusercontent.com/u/276796?v=3","gravatar_id":"","url":"https://api.github.com/users/Conan-Kudo","html_url":"https://github.com/Conan-Kudo","followers_url":"https://api.github.com/users/Conan-Kudo/followers","following_url":"https://api.github.com/users/Conan-Kudo/following{/other_user}","gists_url":"https://api.github.com/users/Conan-Kudo/gists{/gist_id}","starred_url":"https://api.github.com/users/Conan-Kudo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Conan-Kudo/subscriptions","organizations_url":"https://api.github.com/users/Conan-Kudo/orgs","repos_url":"https://api.github.com/users/Conan-Kudo/repos","events_url":"https://api.github.com/users/Conan-Kudo/events{/privacy}","received_events_url":"https://api.github.com/users/Conan-Kudo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ascherer/debbuild/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/ascherer/debbuild/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2016-02-15T06:40:28Z","updated_at":"2016-02-16T19:38:18Z","closed_at":null,"body":"One of the packages I'm building seems to come up with a baffling set of automatic dependencies. The generated `Depends` line states the following:\r\n```\r\nDepends: libcurl3,libc6,libidn11,librtmp1,0,libgssapi-krb5-2,4-2,zlib1g,libgnutls-deb0-28,libhogweed4,libnettle6,libgmp10,libkrb5-3,libk5crypto3,libcomerr2,libkrb5support0,libsasl2-2,libgssapi3-heimdal,libp11-kit0,libtasn1-6,libkeyutils1,libheimntlm0-heimdal,libkrb5-26-heimdal,libasn1-8-heimdal,libhcrypto4-heimdal,libroken18-heimdal,libffi6,libwind0-heimdal,libheimbase1-heimdal,libhx509-5-heimdal,libsqlite3-0\r\n```\r\n\r\nNote that in that `Depends` list, there are two unresolvable dependencies: `0` and `4-2`. I have no idea where they came from!\r\n\r\n\r\nThis was generated from the following `BuildRequires` set:\r\n\r\n```\r\nBuildRequires:  libtool >= 2.2, make, gcc\r\nBuildRequires:  pkg-config, libcurl4-openssl-dev\r\n```\r\n\r\nThe binary had the following `ldd` output:\r\n```\r\nngompa@u1510-dev-f23kvm:~$ ldd bin-out \r\n\tlinux-vdso.so.1 =>  (0x00007ffcbe368000)\r\n\tlibcurl.so.4 => /usr/lib/x86_64-linux-gnu/libcurl.so.4 (0x00007f4e29d41000)\r\n\tlibpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f4e29b23000)\r\n\tlibc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4e29758000)\r\n\tlibidn.so.11 => /usr/lib/x86_64-linux-gnu/libidn.so.11 (0x00007f4e29525000)\r\n\tlibrtmp.so.1 => /usr/lib/x86_64-linux-gnu/librtmp.so.1 (0x00007f4e29308000)\r\n\tlibssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f4e2909e000)\r\n\tlibcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f4e28c5c000)\r\n\tlibgssapi_krb5.so.2 => /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f4e28a12000)\r\n\tliblber-2.4.so.2 => /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2 (0x00007f4e28802000)\r\n\tlibldap_r-2.4.so.2 => /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2 (0x00007f4e285b0000)\r\n\tlibz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f4e28396000)\r\n\t/lib64/ld-linux-x86-64.so.2 (0x00005627dd647000)\r\n\tlibgnutls-deb0.so.28 => /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28 (0x00007f4e28079000)\r\n\tlibhogweed.so.4 => /usr/lib/x86_64-linux-gnu/libhogweed.so.4 (0x00007f4e27e46000)\r\n\tlibnettle.so.6 => /usr/lib/x86_64-linux-gnu/libnettle.so.6 (0x00007f4e27c10000)\r\n\tlibgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f4e2798f000)\r\n\tlibdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f4e2778b000)\r\n\tlibkrb5.so.3 => /usr/lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f4e274b9000)\r\n\tlibk5crypto.so.3 => /usr/lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f4e27289000)\r\n\tlibcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f4e27085000)\r\n\tlibkrb5support.so.0 => /usr/lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f4e26e7a000)\r\n\tlibresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f4e26c5d000)\r\n\tlibsasl2.so.2 => /usr/lib/x86_64-linux-gnu/libsasl2.so.2 (0x00007f4e26a42000)\r\n\tlibgssapi.so.3 => /usr/lib/x86_64-linux-gnu/libgssapi.so.3 (0x00007f4e26802000)\r\n\tlibp11-kit.so.0 => /usr/lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007f4e2659c000)\r\n\tlibtasn1.so.6 => /usr/lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007f4e26389000)\r\n\tlibkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f4e26184000)\r\n\tlibheimntlm.so.0 => /usr/lib/x86_64-linux-gnu/libheimntlm.so.0 (0x00007f4e25f7b000)\r\n\tlibkrb5.so.26 => /usr/lib/x86_64-linux-gnu/libkrb5.so.26 (0x00007f4e25cf1000)\r\n\tlibasn1.so.8 => /usr/lib/x86_64-linux-gnu/libasn1.so.8 (0x00007f4e25a4d000)\r\n\tlibhcrypto.so.4 => /usr/lib/x86_64-linux-gnu/libhcrypto.so.4 (0x00007f4e2581a000)\r\n\tlibroken.so.18 => /usr/lib/x86_64-linux-gnu/libroken.so.18 (0x00007f4e25605000)\r\n\tlibffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f4e253fc000)\r\n\tlibwind.so.0 => /usr/lib/x86_64-linux-gnu/libwind.so.0 (0x00007f4e251d3000)\r\n\tlibheimbase.so.1 => /usr/lib/x86_64-linux-gnu/libheimbase.so.1 (0x00007f4e24fc4000)\r\n\tlibhx509.so.5 => /usr/lib/x86_64-linux-gnu/libhx509.so.5 (0x00007f4e24d78000)\r\n\tlibsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f4e24aab000)\r\n\tlibcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007f4e24873000)\r\n```\r\n\r\nI've been scratching my head (sometimes quite literally) over this problem, and I've got no clue how this is happening."},"comment":{"url":"https://api.github.com/repos/ascherer/debbuild/issues/comments/184846630","html_url":"https://github.com/ascherer/debbuild/issues/25#issuecomment-184846630","issue_url":"https://api.github.com/repos/ascherer/debbuild/issues/25","id":184846630,"user":{"login":"ascherer","id":51143,"avatar_url":"https://avatars.githubusercontent.com/u/51143?v=3","gravatar_id":"","url":"https://api.github.com/users/ascherer","html_url":"https://github.com/ascherer","followers_url":"https://api.github.com/users/ascherer/followers","following_url":"https://api.github.com/users/ascherer/following{/other_user}","gists_url":"https://api.github.com/users/ascherer/gists{/gist_id}","starred_url":"https://api.github.com/users/ascherer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ascherer/subscriptions","organizations_url":"https://api.github.com/users/ascherer/orgs","repos_url":"https://api.github.com/users/ascherer/repos","events_url":"https://api.github.com/users/ascherer/events{/privacy}","received_events_url":"https://api.github.com/users/ascherer/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T19:38:18Z","updated_at":"2016-02-16T19:38:18Z","body":"```\r\nreturn map { m/^(\\S+?):/ } qx($specglobals{__dpkg_query} -S$reqliblist);\r\n```"}}