{"action":"created","issue":{"url":"https://api.github.com/repos/google/protobuf/issues/149","labels_url":"https://api.github.com/repos/google/protobuf/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/google/protobuf/issues/149/comments","events_url":"https://api.github.com/repos/google/protobuf/issues/149/events","html_url":"https://github.com/google/protobuf/issues/149","id":53178048,"number":149,"title":"Need to run ./autogen.sh twice","user":{"login":"dionyziz","id":544572,"avatar_url":"https://avatars.githubusercontent.com/u/544572?v=3","gravatar_id":"","url":"https://api.github.com/users/dionyziz","html_url":"https://github.com/dionyziz","followers_url":"https://api.github.com/users/dionyziz/followers","following_url":"https://api.github.com/users/dionyziz/following{/other_user}","gists_url":"https://api.github.com/users/dionyziz/gists{/gist_id}","starred_url":"https://api.github.com/users/dionyziz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dionyziz/subscriptions","organizations_url":"https://api.github.com/users/dionyziz/orgs","repos_url":"https://api.github.com/users/dionyziz/repos","events_url":"https://api.github.com/users/dionyziz/events{/privacy}","received_events_url":"https://api.github.com/users/dionyziz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-12-31T10:41:55Z","updated_at":"2015-01-07T19:05:38Z","closed_at":null,"body":"The first invocation of `./autogen.sh` fails, causing `./configure` and `make` to fail. I have to run `./autogen.sh` twice. In that case, it works:\r\n\r\n```\r\nroot@484cf9b0d581:/home/grr/grr/protobuf# ./autogen.sh\r\nGoogle Test not present.  Fetching gtest-1.7.0 from the web...\r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n100 1136k  100 1136k    0     0  10.0M      0 --:--:-- --:--:-- --:--:-- 11.8M\r\n+ sed -i -e s/RuntimeLibrary=\"5\"/RuntimeLibrary=\"3\"/g;\r\n           s/RuntimeLibrary=\"4\"/RuntimeLibrary=\"2\"/g; gtest/msvc/gtest-md.vcproj gtest/msvc/gtest.vcproj gtest/msvc/gtest_main-md.vcproj gtest/msvc/gtest_main.vcproj gtest/msvc/gtest_prod_test-md.vcproj gtest/msvc/gtest_prod_test.vcproj gtest/msvc/gtest_unittest-md.vcproj gtest/msvc/gtest_unittest.vcproj\r\n+ autoreconf -f -i -Wall,no-obsolete\r\nlibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.\r\nlibtoolize: copying file `build-aux/config.guess'\r\nlibtoolize: copying file `build-aux/config.sub'\r\nlibtoolize: copying file `build-aux/install-sh'\r\nlibtoolize: copying file `build-aux/ltmain.sh'\r\nlibtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.\r\nlibtoolize: copying file `m4/libtool.m4'\r\nlibtoolize: copying file `m4/ltoptions.m4'\r\nlibtoolize: copying file `m4/ltsugar.m4'\r\nlibtoolize: copying file `m4/ltversion.m4'\r\nlibtoolize: copying file `m4/lt~obsolete.m4'\r\nlibtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.\r\nlibtoolize: copying file `m4/libtool.m4'\r\nlibtoolize: copying file `m4/ltoptions.m4'\r\nlibtoolize: copying file `m4/ltsugar.m4'\r\nlibtoolize: copying file `m4/ltversion.m4'\r\nlibtoolize: copying file `m4/lt~obsolete.m4'\r\nconfigure.ac:57: installing `./ar-lib'\r\nconfigure.ac:38: installing `./config.guess'\r\nconfigure.ac:38: installing `./config.sub'\r\nconfigure.ac:40: installing `./install-sh'\r\nconfigure.ac:84: required file `./ltmain.sh' not found\r\nconfigure.ac:40: installing `./missing'\r\nsrc/Makefile.am: installing `./depcomp'\r\nautoreconf: automake failed with exit status: 1\r\nroot@484cf9b0d581:/home/grr/grr/protobuf# ./autogen.sh\r\n+ sed -i -e s/RuntimeLibrary=\"5\"/RuntimeLibrary=\"3\"/g;\r\n           s/RuntimeLibrary=\"4\"/RuntimeLibrary=\"2\"/g; gtest/msvc/gtest-md.vcproj gtest/msvc/gtest.vcproj gtest/msvc/gtest_main-md.vcproj gtest/msvc/gtest_main.vcproj gtest/msvc/gtest_prod_test-md.vcproj gtest/msvc/gtest_prod_test.vcproj gtest/msvc/gtest_unittest-md.vcproj gtest/msvc/gtest_unittest.vcproj\r\n+ autoreconf -f -i -Wall,no-obsolete\r\nlibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.\r\nlibtoolize: copying file `build-aux/config.guess'\r\nlibtoolize: copying file `build-aux/config.sub'\r\nlibtoolize: copying file `build-aux/install-sh'\r\nlibtoolize: copying file `build-aux/ltmain.sh'\r\nlibtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.\r\nlibtoolize: copying file `m4/libtool.m4'\r\nlibtoolize: copying file `m4/ltoptions.m4'\r\nlibtoolize: copying file `m4/ltsugar.m4'\r\nlibtoolize: copying file `m4/ltversion.m4'\r\nlibtoolize: copying file `m4/lt~obsolete.m4'\r\nlibtoolize: putting auxiliary files in `.'.\r\nlibtoolize: copying file `./config.guess'\r\nlibtoolize: copying file `./config.sub'\r\nlibtoolize: copying file `./install-sh'\r\nlibtoolize: copying file `./ltmain.sh'\r\nlibtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.\r\nlibtoolize: copying file `m4/libtool.m4'\r\nlibtoolize: copying file `m4/ltoptions.m4'\r\nlibtoolize: copying file `m4/ltsugar.m4'\r\nlibtoolize: copying file `m4/ltversion.m4'\r\nlibtoolize: copying file `m4/lt~obsolete.m4'\r\n+ rm -rf autom4te.cache config.h.in~\r\n+ exit 0\r\n```\r\n\r\nThis occurs in Ubuntu 12.04."},"comment":{"url":"https://api.github.com/repos/google/protobuf/issues/comments/69073116","html_url":"https://github.com/google/protobuf/issues/149#issuecomment-69073116","issue_url":"https://api.github.com/repos/google/protobuf/issues/149","id":69073116,"user":{"login":"dionyziz","id":544572,"avatar_url":"https://avatars.githubusercontent.com/u/544572?v=3","gravatar_id":"","url":"https://api.github.com/users/dionyziz","html_url":"https://github.com/dionyziz","followers_url":"https://api.github.com/users/dionyziz/followers","following_url":"https://api.github.com/users/dionyziz/following{/other_user}","gists_url":"https://api.github.com/users/dionyziz/gists{/gist_id}","starred_url":"https://api.github.com/users/dionyziz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dionyziz/subscriptions","organizations_url":"https://api.github.com/users/dionyziz/orgs","repos_url":"https://api.github.com/users/dionyziz/repos","events_url":"https://api.github.com/users/dionyziz/events{/privacy}","received_events_url":"https://api.github.com/users/dionyziz/received_events","type":"User","site_admin":false},"created_at":"2015-01-07T19:05:37Z","updated_at":"2015-01-07T19:05:37Z","body":"I'll see if I can make a minimal testcase."}}