{"action":"created","issue":{"url":"https://api.github.com/repos/kipr/botui/issues/33","repository_url":"https://api.github.com/repos/kipr/botui","labels_url":"https://api.github.com/repos/kipr/botui/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/kipr/botui/issues/33/comments","events_url":"https://api.github.com/repos/kipr/botui/issues/33/events","html_url":"https://github.com/kipr/botui/issues/33","id":222024370,"number":33,"title":"Building botui on non-Wallaby hardware","user":{"login":"PhilipTrauner","id":9287847,"avatar_url":"https://avatars0.githubusercontent.com/u/9287847?v=3","gravatar_id":"","url":"https://api.github.com/users/PhilipTrauner","html_url":"https://github.com/PhilipTrauner","followers_url":"https://api.github.com/users/PhilipTrauner/followers","following_url":"https://api.github.com/users/PhilipTrauner/following{/other_user}","gists_url":"https://api.github.com/users/PhilipTrauner/gists{/gist_id}","starred_url":"https://api.github.com/users/PhilipTrauner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhilipTrauner/subscriptions","organizations_url":"https://api.github.com/users/PhilipTrauner/orgs","repos_url":"https://api.github.com/users/PhilipTrauner/repos","events_url":"https://api.github.com/users/PhilipTrauner/events{/privacy}","received_events_url":"https://api.github.com/users/PhilipTrauner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-04-16T18:14:39Z","updated_at":"2017-04-17T16:24:35Z","closed_at":null,"body":"I'm currently trying to compile botui on an Ubuntu 17.04 machine (I couldn't determine if Debian or Ubuntu is the main dev-target). \r\n\r\nThese are the dependencies I could figure out:\r\n`apt-get install qt5-default qt4-dev-tools build-essential cmake libssl-dev libboost-dev libpng-dev zlib1g-dev libbson-dev libbson-1.0-0 libopencv-dev doxygen python-dev swig libjpeg-dev libzbar-dev`\r\n\r\nAfter installing (in that order)\r\n1. libkar\r\n2. pcompiler\r\n3. bsonbind\r\n4. daylite\r\n5. libaurora\r\n6. libwallaby\r\n7. libbotball\r\n\r\nand copying over `turn_off_wallaby.wav` from a Wallaby update I could successfully build botui.\r\nProblem is that it segfaults immediately. On a different system (Debian 8 / armel / a Wallaby) it segfaulted after printing out `realloc(): invalid pointer` followed by a random address.\r\n\r\nA strace on the Ubuntu system revealed following details:\r\n\r\n**libwallaby.so** was located:\r\n```open(\"/usr/lib/libwallaby.so\", O_RDONLY|O_CLOEXEC) = 3```\r\n\r\ninterestingly it is searched for in weird places:\r\n```\r\nopen(\"/lib/x86_64-linux-gnu/tls/x86_64/libwallaby.so\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)\r\nopen(\"/lib/x86_64-linux-gnu/tls/libwallaby.so\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)\r\nopen(\"/lib/x86_64-linux-gnu/x86_64/libwallaby.so\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)\r\nopen(\"/lib/x86_64-linux-gnu/libwallaby.so\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)\r\nopen(\"/usr/lib/x86_64-linux-gnu/tls/x86_64/libwallaby.so\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)\r\nopen(\"/usr/lib/x86_64-linux-gnu/tls/libwallaby.so\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)\r\nopen(\"/usr/lib/x86_64-linux-gnu/x86_64/libwallaby.so\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)\r\nopen(\"/usr/lib/x86_64-linux-gnu/libwallaby.so\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)\r\nopen(\"/lib/tls/x86_64/libwallaby.so\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)\r\nopen(\"/lib/tls/libwallaby.so\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)\r\nopen(\"/lib/x86_64/libwallaby.so\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)\r\nopen(\"/lib/libwallaby.so\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)\r\nopen(\"/usr/lib/tls/x86_64/libwallaby.so\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)\r\nopen(\"/usr/lib/tls/libwallaby.so\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)\r\nopen(\"/usr/lib/x86_64/libwallaby.so\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)\r\nopen(\"/usr/lib/libwallaby.so\", O_RDONLY|O_CLOEXEC) = 3\r\n```\r\n\r\n**USB ports** are read for some reason:\r\n```\r\nreadlinkat(AT_FDCWD, \"/sys/devices/pci0000:00/0000:00:06.0/usb2\", 0x559cc750ae00, 99) = -1 EINVAL (Invalid argument)\r\nreadlinkat(AT_FDCWD, \"/sys/devices/pci0000:00/0000:00:06.0/usb2/2-1\", 0x559cc750ae00, 99) = -1 EINVAL (Invalid argument)\r\nreadlinkat(AT_FDCWD, \"/sys/devices/pci0000:00/0000:00:0b.0/usb1\", 0x559cc750aa70, 99) = -1 EINVAL (Invalid argument)\r\n```\r\n\r\nI really don't know how to continue. I have already looked at the bitbake recipes which pretty much do the same things I have described. \r\n\r\nI would really appreciate help :)"},"comment":{"url":"https://api.github.com/repos/kipr/botui/issues/comments/294520770","html_url":"https://github.com/kipr/botui/issues/33#issuecomment-294520770","issue_url":"https://api.github.com/repos/kipr/botui/issues/33","id":294520770,"user":{"login":"navzam","id":126523,"avatar_url":"https://avatars3.githubusercontent.com/u/126523?v=3","gravatar_id":"","url":"https://api.github.com/users/navzam","html_url":"https://github.com/navzam","followers_url":"https://api.github.com/users/navzam/followers","following_url":"https://api.github.com/users/navzam/following{/other_user}","gists_url":"https://api.github.com/users/navzam/gists{/gist_id}","starred_url":"https://api.github.com/users/navzam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/navzam/subscriptions","organizations_url":"https://api.github.com/users/navzam/orgs","repos_url":"https://api.github.com/users/navzam/repos","events_url":"https://api.github.com/users/navzam/events{/privacy}","received_events_url":"https://api.github.com/users/navzam/received_events","type":"User","site_admin":false},"created_at":"2017-04-17T16:24:35Z","updated_at":"2017-04-17T16:24:35Z","body":"If we aren't using libkar for user programs anymore, then I doubt the pcompiler command line tool is useful. Tools compilation should probably be an option anyway."}}
{"actor":{"display_login":"navzam"}}