{"action":"created","issue":{"url":"https://api.github.com/repos/KavrakiLab/tmkit/issues/10","repository_url":"https://api.github.com/repos/KavrakiLab/tmkit","labels_url":"https://api.github.com/repos/KavrakiLab/tmkit/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/KavrakiLab/tmkit/issues/10/comments","events_url":"https://api.github.com/repos/KavrakiLab/tmkit/issues/10/events","html_url":"https://github.com/KavrakiLab/tmkit/issues/10","id":377096363,"node_id":"MDU6SXNzdWUzNzcwOTYzNjM=","number":10,"title":"Compiling TMKit in a Docker container requires root privileges on host machine","user":{"login":"theredcomputer","id":15163424,"node_id":"MDQ6VXNlcjE1MTYzNDI0","avatar_url":"https://avatars2.githubusercontent.com/u/15163424?v=4","gravatar_id":"","url":"https://api.github.com/users/theredcomputer","html_url":"https://github.com/theredcomputer","followers_url":"https://api.github.com/users/theredcomputer/followers","following_url":"https://api.github.com/users/theredcomputer/following{/other_user}","gists_url":"https://api.github.com/users/theredcomputer/gists{/gist_id}","starred_url":"https://api.github.com/users/theredcomputer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theredcomputer/subscriptions","organizations_url":"https://api.github.com/users/theredcomputer/orgs","repos_url":"https://api.github.com/users/theredcomputer/repos","events_url":"https://api.github.com/users/theredcomputer/events{/privacy}","received_events_url":"https://api.github.com/users/theredcomputer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-03T21:48:56Z","updated_at":"2018-11-03T22:12:14Z","closed_at":null,"author_association":"NONE","body":"This \"issue\" appears Ubuntu 16.04 and 18.04. The specific error I'm encountering occurs when running `configure` to install `amino` (I realize this is the issue tracker for TMKit and not amino, but the KavrakiLab/amino repo doesn't have the ability to raise issues). The following text contains the \"issue\":\r\n```\r\n[...]\r\nconfigure: Use GLPK:          no\r\nconfigure: Use CGAL:          \r\nconfigure: Build Demos:       yes\r\nconfigure: URDF Demos:        \r\n## ----------- ##\r\n## END SUMMARY ##\r\n## ----------- ##\r\n[maxima start]\r\ncd ./src/mac && maxima --very-quiet -b euler77.mac\r\npersonality failure 1\r\nmake: *** [src/mac/euler.f] Error 255\r\nMakefile:4460: recipe for target 'src/mac/euler.f' failed\r\n```\r\n`personality` is a specific syscall. To allow the syscall to go through, I reload dockerd using [this seccomp policy](https://github.com/ros-infrastructure/buildfarm_deployment/blob/2767e90abc2b715f6b8b9b37f1f53b2333613b74/modules/agent_files/files/docker-default-seccomp-with-personality.json) and then run `docker build .`.\r\n\r\nThis method works, but reloading dockerd requires root privileges. Being able to compile `amino` without root in Docker would be ideal.  I've tried using using `configure`'s `--without-maxima` flag, but that didn't help. "},"comment":{"url":"https://api.github.com/repos/KavrakiLab/tmkit/issues/comments/435624952","html_url":"https://github.com/KavrakiLab/tmkit/issues/10#issuecomment-435624952","issue_url":"https://api.github.com/repos/KavrakiLab/tmkit/issues/10","id":435624952,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTYyNDk1Mg==","user":{"login":"ndantam","id":527876,"node_id":"MDQ6VXNlcjUyNzg3Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/527876?v=4","gravatar_id":"","url":"https://api.github.com/users/ndantam","html_url":"https://github.com/ndantam","followers_url":"https://api.github.com/users/ndantam/followers","following_url":"https://api.github.com/users/ndantam/following{/other_user}","gists_url":"https://api.github.com/users/ndantam/gists{/gist_id}","starred_url":"https://api.github.com/users/ndantam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndantam/subscriptions","organizations_url":"https://api.github.com/users/ndantam/orgs","repos_url":"https://api.github.com/users/ndantam/repos","events_url":"https://api.github.com/users/ndantam/events{/privacy}","received_events_url":"https://api.github.com/users/ndantam/received_events","type":"User","site_admin":false},"created_at":"2018-11-03T22:12:14Z","updated_at":"2018-11-03T22:12:14Z","author_association":"CONTRIBUTOR","body":"Maxima is used to generate some source files.  As a workaround, I suggest to generate a distribution tarball (`make dist`) outside of docker.  This tarball will contain the generated sources.  Then, within docker, maxima will not be needed."}}
{"actor":{"display_login":"ndantam"}}