{"action":"created","issue":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/5809","repository_url":"https://api.github.com/repos/rethinkdb/rethinkdb","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/5809/labels{/name}","comments_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/5809/comments","events_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/5809/events","html_url":"https://github.com/rethinkdb/rethinkdb/issues/5809","id":157609635,"number":5809,"title":"#error \"Could not determine architecture\" during \" make \"","user":{"login":"ghatwala","id":14157728,"avatar_url":"https://avatars.githubusercontent.com/u/14157728?v=3","gravatar_id":"","url":"https://api.github.com/users/ghatwala","html_url":"https://github.com/ghatwala","followers_url":"https://api.github.com/users/ghatwala/followers","following_url":"https://api.github.com/users/ghatwala/following{/other_user}","gists_url":"https://api.github.com/users/ghatwala/gists{/gist_id}","starred_url":"https://api.github.com/users/ghatwala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghatwala/subscriptions","organizations_url":"https://api.github.com/users/ghatwala/orgs","repos_url":"https://api.github.com/users/ghatwala/repos","events_url":"https://api.github.com/users/ghatwala/events{/privacy}","received_events_url":"https://api.github.com/users/ghatwala/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/milestones/19","html_url":"https://github.com/rethinkdb/rethinkdb/milestones/notabug","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/milestones/19/labels","id":299349,"number":19,"title":"notabug","description":"It's a feature. The issue describes a RethinkDB feature or design choice as if it was a bug.","creator":{"login":"AtnNn","id":706854,"avatar_url":"https://avatars.githubusercontent.com/u/706854?v=3","gravatar_id":"","url":"https://api.github.com/users/AtnNn","html_url":"https://github.com/AtnNn","followers_url":"https://api.github.com/users/AtnNn/followers","following_url":"https://api.github.com/users/AtnNn/following{/other_user}","gists_url":"https://api.github.com/users/AtnNn/gists{/gist_id}","starred_url":"https://api.github.com/users/AtnNn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtnNn/subscriptions","organizations_url":"https://api.github.com/users/AtnNn/orgs","repos_url":"https://api.github.com/users/AtnNn/repos","events_url":"https://api.github.com/users/AtnNn/events{/privacy}","received_events_url":"https://api.github.com/users/AtnNn/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":150,"state":"closed","created_at":"2013-03-29T21:07:05Z","updated_at":"2016-05-31T18:55:31Z","due_on":null,"closed_at":"2013-05-13T23:08:44Z"},"comments":2,"created_at":"2016-05-31T07:48:38Z","updated_at":"2016-05-31T18:56:24Z","closed_at":"2016-05-31T18:55:17Z","body":"Hi All,\r\n\r\nI am trying to officially port \"rethinkDB\" on power arch ( ppc64le ) . I followed the steps mentioned in \"https://www.rethinkdb.com/docs/build/\" . i have installed all the dependencies mentioned and also \"npm\".\r\n\r\nBelow is my set up details:\r\n\r\n```\r\nroot@pts00449-vm1:~/amit/rethinkDB/rethinkdb# lscpu\r\nArchitecture:          ppc64le\r\nByte Order:            Little Endian\r\nCPU(s):                4\r\nOn-line CPU(s) list:   0-3\r\nThread(s) per core:    1\r\nCore(s) per socket:    4\r\nSocket(s):             1\r\nNUMA node(s):          1\r\nModel:                 2.1 (pvr 004b 0201)\r\nModel name:            POWER8E (raw), altivec supported\r\nHypervisor vendor:     KVM\r\nVirtualization type:   para\r\nL1d cache:             64K\r\nL1i cache:             32K\r\nNUMA node0 CPU(s):     0-3\r\n\r\nroot@pts00449-vm1:~/amit/rethinkDB/rethinkdb# cat /etc/os-release\r\nNAME=\"Ubuntu\"\r\nVERSION=\"16.04 LTS (Xenial Xerus)\"\r\nID=ubuntu\r\nID_LIKE=debian\r\nPRETTY_NAME=\"Ubuntu 16.04 LTS\"\r\nVERSION_ID=\"16.04\"\r\nHOME_URL=\"http://www.ubuntu.com/\"\r\nSUPPORT_URL=\"http://help.ubuntu.com/\"\r\nBUG_REPORT_URL=\"http://bugs.launchpad.net/ubuntu/\"\r\nUBUNTU_CODENAME=xenial\r\n\r\nroot@pts00449-vm1:~/amit/rethinkDB/rethinkdb# node --version\r\nv4.4.5\r\nroot@pts00449-vm1:~/amit/rethinkDB/rethinkdb# npm --version\r\n2.15.5\r\n```\r\nTo make this source build on \"ppc64le\" , had to perform changes in \"configure\" file . Added \"powerpc64le\" to line no . 84  in \"configure\"\r\n```\r\ncase \"${MACHINE%%-*}\" in\r\n        x86_64|i?86|**powerpc64le**)\r\n\r\n```\r\n\r\nMy build steps\r\n```\r\nroot@pts00449-vm1:~/amit/rethinkDB/rethinkdb# ./configure --allow-fetch\r\n* Detecting system configuration\r\nBash:                           4.3.42(1)-release\r\nUse ccache:                     no\r\nC++ Compiler:                   GCC 5.3.1 (/usr/bin/c++)\r\nHost System:                    powerpc64le-linux-gnu\r\n Machine arch is powerpc64le-linux-gnu\r\nBuild System:                   Linux 4.4.0-22-generic ppc64le\r\nCross-compiling:                no\r\nHost Operating System:          Linux\r\nBuild Architecture:             ppc64le\r\nC++11:                          ok\r\nPrecompiled web assets:         no\r\nProtobuf compiler:              /usr/bin/protoc\r\npython:                         python 2.7.11\r\nNode.js package manager:        /usr/local/bin/npm\r\ncoffee:                         external/coffee-script_1.10.0\r\nBrowserify:                     external/browserify_12.0.1\r\nbluebird:                       external/bluebird_2.9.32\r\nweb UI dependencies:            external/admin-deps_2.0.3\r\nwget:                           /usr/bin/wget\r\ncurl:                           /usr/bin/curl\r\nGoogle Test:                    external/gtest_1.7.0\r\ntermcap:                        -ltermcap\r\nboost_system:                   -lboost_system\r\nprotobuf:                       -lprotobuf\r\nv8 javascript engine:           external/v8_3.30.33.16\r\nRE2:                            external/re2_20140111\r\nz:                              -lz\r\ncrypto:                         -lcrypto\r\nssl:                            -lssl\r\ncurl:                           -lcurl\r\nmalloc:                         jemalloc\r\njemalloc (static):              external/jemalloc_4.1.0\r\nTest protobuf:                  ok\r\nTest boost:                     ok\r\nTest OpenSSL:                   ok\r\nInstallation prefix:            /usr/local\r\nConfiguration prefix:           /usr/local/etc\r\nRuntime data prefix:            /usr/local/var\r\n* Wrote configuration to config.mk\r\n```\r\n\r\nThe error encounterd while running \"make\" is as below\r\n```\r\nroot@pts00449-vm1:~/amit/rethinkDB/rethinkdb# make\r\n    [1/274] CC build/release/obj/rpc/connectivity/cluster.o\r\nsrc/rpc/connectivity/cluster.cc:111:2: error: #error \"Could not determine architecture\"\r\n #error \"Could not determine architecture\"\r\n  ^\r\nsrc/build.mk:390: recipe for target 'build/release/obj/rpc/connectivity/cluster.o' failed\r\nmake[1]: *** [build/release/obj/rpc/connectivity/cluster.o] Error 1\r\nMakefile:52: recipe for target 'make' failed\r\nmake: *** [make] Error 2\r\n\r\n```\r\nAny pointers to resolve the above error will be helpful.?"},"comment":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/comments/222785742","html_url":"https://github.com/rethinkdb/rethinkdb/issues/5809#issuecomment-222785742","issue_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/5809","id":222785742,"user":{"login":"danielmewes","id":505365,"avatar_url":"https://avatars.githubusercontent.com/u/505365?v=3","gravatar_id":"","url":"https://api.github.com/users/danielmewes","html_url":"https://github.com/danielmewes","followers_url":"https://api.github.com/users/danielmewes/followers","following_url":"https://api.github.com/users/danielmewes/following{/other_user}","gists_url":"https://api.github.com/users/danielmewes/gists{/gist_id}","starred_url":"https://api.github.com/users/danielmewes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielmewes/subscriptions","organizations_url":"https://api.github.com/users/danielmewes/orgs","repos_url":"https://api.github.com/users/danielmewes/repos","events_url":"https://api.github.com/users/danielmewes/events{/privacy}","received_events_url":"https://api.github.com/users/danielmewes/received_events","type":"User","site_admin":false},"created_at":"2016-05-31T18:56:24Z","updated_at":"2016-05-31T18:56:24Z","body":"If you have additional questions, it might be easiest to join our Slack channel btw if you aren't there already: http://slack.rethinkdb.com / https://rethinkdb.slack.com . You can find me there as danielmewes."}}
{"actor":{"display_login":"danielmewes"}}