{"action":"created","issue":{"url":"https://api.github.com/repos/stedolan/jq/issues/1266","repository_url":"https://api.github.com/repos/stedolan/jq","labels_url":"https://api.github.com/repos/stedolan/jq/issues/1266/labels{/name}","comments_url":"https://api.github.com/repos/stedolan/jq/issues/1266/comments","events_url":"https://api.github.com/repos/stedolan/jq/issues/1266/events","html_url":"https://github.com/stedolan/jq/issues/1266","id":186086055,"number":1266,"title":"all-static build fails at make stage","user":{"login":"ronin13","id":271234,"avatar_url":"https://avatars.githubusercontent.com/u/271234?v=3","gravatar_id":"","url":"https://api.github.com/users/ronin13","html_url":"https://github.com/ronin13","followers_url":"https://api.github.com/users/ronin13/followers","following_url":"https://api.github.com/users/ronin13/following{/other_user}","gists_url":"https://api.github.com/users/ronin13/gists{/gist_id}","starred_url":"https://api.github.com/users/ronin13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronin13/subscriptions","organizations_url":"https://api.github.com/users/ronin13/orgs","repos_url":"https://api.github.com/users/ronin13/repos","events_url":"https://api.github.com/users/ronin13/events{/privacy}","received_events_url":"https://api.github.com/users/ronin13/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-29T16:02:12Z","updated_at":"2016-10-29T21:57:58Z","closed_at":null,"body":"When building with \r\n\r\n```\r\n./configure  --enable-all-static\r\n```\r\n\r\nThis succeeds even if static version of oniguruma library does not exist. The configure test for oniguruma doesn't test for static lib in AC_CHECK_LIB when all-static is enabled.\r\n\r\nBut, it later fails at build stage when build with \"export LDFLAGS=-all-static\"\r\n\r\n```\r\n/usr/bin/ld: cannot find -lonig\r\n./.libs/libjq.a(util.o): In function `get_home':\r\nutil.c:(.text+0x3b8): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking\r\ncollect2: error: ld returned 1 exit status\r\nmake[1]: *** [Makefile:898: jq] Error 1\r\nmake[1]: Leaving directory '/tmp/jq'\r\nmake: *** [Makefile:738: all] Error 2\r\n```"},"comment":{"url":"https://api.github.com/repos/stedolan/jq/issues/comments/257118430","html_url":"https://github.com/stedolan/jq/issues/1266#issuecomment-257118430","issue_url":"https://api.github.com/repos/stedolan/jq/issues/1266","id":257118430,"user":{"login":"ronin13","id":271234,"avatar_url":"https://avatars.githubusercontent.com/u/271234?v=3","gravatar_id":"","url":"https://api.github.com/users/ronin13","html_url":"https://github.com/ronin13","followers_url":"https://api.github.com/users/ronin13/followers","following_url":"https://api.github.com/users/ronin13/following{/other_user}","gists_url":"https://api.github.com/users/ronin13/gists{/gist_id}","starred_url":"https://api.github.com/users/ronin13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronin13/subscriptions","organizations_url":"https://api.github.com/users/ronin13/orgs","repos_url":"https://api.github.com/users/ronin13/repos","events_url":"https://api.github.com/users/ronin13/events{/privacy}","received_events_url":"https://api.github.com/users/ronin13/received_events","type":"User","site_admin":false},"created_at":"2016-10-29T21:57:58Z","updated_at":"2016-10-29T21:57:58Z","body":"Yes, I know it (static version of oniguruma) is not there but ./configure should fail, but it doesn't. It checks the non-static one and succeeds with a 'yes'. \r\n\r\n```\r\nchecking oniguruma.h usability... yes\r\nchecking oniguruma.h presence... yes\r\nchecking for oniguruma.h... yes\r\nchecking for onig_version in -lonig... yes\r\n```\r\n\r\nIt should fail here."}}
{"actor":{"display_login":"ronin13"}}