{"action":"created","issue":{"url":"https://api.github.com/repos/vifm/vifm/issues/97","labels_url":"https://api.github.com/repos/vifm/vifm/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/vifm/vifm/issues/97/comments","events_url":"https://api.github.com/repos/vifm/vifm/issues/97/events","html_url":"https://github.com/vifm/vifm/issues/97","id":89940221,"number":97,"title":"Building under OpenBSD","user":{"login":"hofheinz","id":10501750,"avatar_url":"https://avatars.githubusercontent.com/u/10501750?v=3","gravatar_id":"","url":"https://api.github.com/users/hofheinz","html_url":"https://github.com/hofheinz","followers_url":"https://api.github.com/users/hofheinz/followers","following_url":"https://api.github.com/users/hofheinz/following{/other_user}","gists_url":"https://api.github.com/users/hofheinz/gists{/gist_id}","starred_url":"https://api.github.com/users/hofheinz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hofheinz/subscriptions","organizations_url":"https://api.github.com/users/hofheinz/orgs","repos_url":"https://api.github.com/users/hofheinz/repos","events_url":"https://api.github.com/users/hofheinz/events{/privacy}","received_events_url":"https://api.github.com/users/hofheinz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vifm/vifm/labels/bug","name":"bug","color":"e10c02"},{"url":"https://api.github.com/repos/vifm/vifm/labels/improvement","name":"improvement","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":{"login":"xaizek","id":459736,"avatar_url":"https://avatars.githubusercontent.com/u/459736?v=3","gravatar_id":"","url":"https://api.github.com/users/xaizek","html_url":"https://github.com/xaizek","followers_url":"https://api.github.com/users/xaizek/followers","following_url":"https://api.github.com/users/xaizek/following{/other_user}","gists_url":"https://api.github.com/users/xaizek/gists{/gist_id}","starred_url":"https://api.github.com/users/xaizek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xaizek/subscriptions","organizations_url":"https://api.github.com/users/xaizek/orgs","repos_url":"https://api.github.com/users/xaizek/repos","events_url":"https://api.github.com/users/xaizek/events{/privacy}","received_events_url":"https://api.github.com/users/xaizek/received_events","type":"User","site_admin":false},"milestone":null,"comments":15,"created_at":"2015-06-21T17:52:30Z","updated_at":"2015-06-25T11:37:49Z","closed_at":"2015-06-25T11:37:49Z","body":"Hi xaizek,\r\n\r\nI'm trying to build and run vifm (current version on github) under OpenBSD 5.7 (the current release version of it). (Sorry if this scenario is not on the vifm agenda, but I thought it would be great to have an up-to-date version of vifm on OpenBSD. Sadly, the version in the OpenBSD ports/packages system is 0.4. Unfortunately, the patches from that port that make 0.4 build are pretty useless for 0.7.8 or 0.8 beta.)\r\n\r\nSince your recent commit on src/utils/mntent.c, the build in fact succeeds, it's possible to start vifm and browse around directories, but entering the command line (with ':') seems to lock up vifm. (No ':' displayed, further keypresses ignored. It doesn't help to bind, e.g., :quit, to another key.) This is with an empty vifmrc, and on a real (i.e., non-qemu/-VirtualBox) amd64 installation.\r\n\r\nLooking at a ktrace (OpenBSD's systrace) output, the last few syscalls before locking up are:\r\n```\r\n[...]\r\n  3674 vifm     1434908355.657606 CALL  sigaction(SIGTSTP,0x14070a993d90,0)\r\n  3674 vifm     1434908355.657615 STRU  struct sigaction { handler=SIG_IGN, mask=0<>, flags=0x2<SA_RESTART> }\r\n  3674 vifm     1434908355.657619 RET   sigaction 0\r\n  3674 vifm     1434908355.657625 CALL  sigaction(SIGTSTP,0x14070a993da0,0x14070a993d90)\r\n  3674 vifm     1434908355.657630 STRU  struct sigaction { handler=SIG_IGN, mask=0<>, flags=0x2<SA_RESTART> }\r\n  3674 vifm     1434908355.657634 STRU  struct sigaction { handler=SIG_IGN, mask=0<>, flags=0x2<SA_RESTART> }\r\n  3674 vifm     1434908355.657639 RET   sigaction 0\r\n  3674 vifm     1434908355.657644 CALL  poll(0x7f7ffffc0810,1,0)\r\n  3674 vifm     1434908355.657649 RET   poll 0\r\n  3674 vifm     1434908355.657665 CALL  poll(0x7f7ffffc0810,1,0)\r\n  3674 vifm     1434908355.657672 RET   poll 0\r\n  3674 vifm     1434908355.657754 CALL  write(1,0x14076d8d5510,0x9f)\r\n  3674 vifm     1434908355.657782 GIO   fd 1 wrote 159 bytes\r\n       \"\\^[[0;1m\\^O\\^[[30m\\^[[47m  ..                                                           512 B       drwxr-xr-x r\\\r\n        oot:wheel       47 files filtered  \\^[[35;97H\\^[[39;49m\\^[[m\\^O\"\r\n  3674 vifm     1434908355.657803 RET   write 159/0x9f\r\n  3674 vifm     1434908355.657815 CALL  sigaction(SIGTSTP,0x14070a993d90,0)\r\n  3674 vifm     1434908355.657828 STRU  struct sigaction { handler=SIG_IGN, mask=0<>, flags=0x2<SA_RESTART> }\r\n  3674 vifm     1434908355.657834 RET   sigaction 0\r\n  3674 vifm     1434908355.657848 CALL  sigprocmask(SIG_BLOCK,~0<>)\r\n  3674 vifm     1434908355.657852 RET   sigprocmask 0<>\r\n  3674 vifm     1434908355.657864 CALL  mprotect(0x1404f4baa000,0x2000,0x3<PROT_READ|PROT_WRITE>)\r\n  3674 vifm     1434908355.657899 RET   mprotect 0\r\n  3674 vifm     1434908355.657921 CALL  mprotect(0x1404f4baa000,0x2000,0x1<PROT_READ>)\r\n  3674 vifm     1434908355.657928 RET   mprotect 0\r\n  3674 vifm     1434908355.657932 CALL  sigprocmask(SIG_SETMASK,0<>)\r\n  3674 vifm     1434908355.657936 RET   sigprocmask ~0x10100<SIGKILL|SIGSTOP>\r\n  3674 vifm     1434908365.186187 PSIG  SIGTERM caught handler=0x1404f486f430 mask=0<>\r\n[...]\r\n```\r\n(No idea what this means...)\r\n\r\nAny idea what I could do to debug this? (Do you want additional information? Or maybe this is a deeper problem?)"},"comment":{"url":"https://api.github.com/repos/vifm/vifm/issues/comments/115216934","html_url":"https://github.com/vifm/vifm/issues/97#issuecomment-115216934","issue_url":"https://api.github.com/repos/vifm/vifm/issues/97","id":115216934,"user":{"login":"hofheinz","id":10501750,"avatar_url":"https://avatars.githubusercontent.com/u/10501750?v=3","gravatar_id":"","url":"https://api.github.com/users/hofheinz","html_url":"https://github.com/hofheinz","followers_url":"https://api.github.com/users/hofheinz/followers","following_url":"https://api.github.com/users/hofheinz/following{/other_user}","gists_url":"https://api.github.com/users/hofheinz/gists{/gist_id}","starred_url":"https://api.github.com/users/hofheinz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hofheinz/subscriptions","organizations_url":"https://api.github.com/users/hofheinz/orgs","repos_url":"https://api.github.com/users/hofheinz/repos","events_url":"https://api.github.com/users/hofheinz/events{/privacy}","received_events_url":"https://api.github.com/users/hofheinz/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T11:37:49Z","updated_at":"2015-06-25T11:37:49Z","body":"(I'll close the issue then, hope that's ok.)"}}