{"action":"created","issue":{"url":"https://api.github.com/repos/martanne/dvtm/issues/42","repository_url":"https://api.github.com/repos/martanne/dvtm","labels_url":"https://api.github.com/repos/martanne/dvtm/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/martanne/dvtm/issues/42/comments","events_url":"https://api.github.com/repos/martanne/dvtm/issues/42/events","html_url":"https://github.com/martanne/dvtm/issues/42","id":188919830,"number":42,"title":"Building Against netbsd-curses?","user":{"login":"githububub","id":20338556,"avatar_url":"https://avatars.githubusercontent.com/u/20338556?v=3","gravatar_id":"","url":"https://api.github.com/users/githububub","html_url":"https://github.com/githububub","followers_url":"https://api.github.com/users/githububub/followers","following_url":"https://api.github.com/users/githububub/following{/other_user}","gists_url":"https://api.github.com/users/githububub/gists{/gist_id}","starred_url":"https://api.github.com/users/githububub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/githububub/subscriptions","organizations_url":"https://api.github.com/users/githububub/orgs","repos_url":"https://api.github.com/users/githububub/repos","events_url":"https://api.github.com/users/githububub/events{/privacy}","received_events_url":"https://api.github.com/users/githububub/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-12T16:18:19Z","updated_at":"2016-11-24T11:02:31Z","closed_at":null,"body":"Building against <a href=\"https://github.com/sabotage-linux/netbsd-curses\" target=\"_blank\">netbsd-curses</a> appears to build successfully, but launching dvtm 0.15 as `dvtm` or `DVTM_TERM=rxvt-unicode dvtm` (urxvt) or `DVTM_TERM=st-256color dvtm` (st) results in a no-op terminal window that cannot accept any input and must be killed to exit. \r\n\r\n>==> Starting build()...\r\ncleaning\r\ncleaning\r\ndvtm build options:\r\nCC dvtm.c\r\nCC vt.c\r\nCFLAGS   = -march=native -O2 -pipe -fstack-protector-all -fomit-frame-pointer -std=c99 -I. -DVERSION=\"0.15\" -DNDEBUG -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_XOPEN_SOURCE_EXTENDED\r\nLDFLAGS  = -Wl,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro -lc -lutil -lcurses -lterminfo\r\nCC       = cc\r\nvt.c: In function ‘vt_forkpty’:\r\nvt.c:1636:4: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result]\r\n    chdir(cwd);\r\n    ^~~~~~~~~~\r\nCC -o dvtm\r\n==> Entering fakeroot environment...\r\n==> Starting package()...\r\nstripping executable\r\ninstalling executable file to /tmp/dvtm/pkg/dvtm/usr/bin\r\ninstalling manual page to /tmp/dvtm/pkg/dvtm/usr/share/man/man1\r\ninstalling terminfo description\r\n2 entries and 0 aliases written to dvtm.info.cdb\r\n==> Tidying install...\r\n  -> Removing doc files...\r\n  -> Removing libtool files...\r\n  -> Removing static library files...\r\n  -> Stripping unneeded symbols from binaries and libraries...\r\n  -> Compressing man and info pages...\r\n==> Checking for packaging issue...\r\n==> Creating package \"dvtm\"...\r\n  -> Generating .PKGINFO file...\r\n  -> Generating .BUILDINFO file...\r\n  -> Generating .MTREE file...\r\n  -> Compressing package...\r\n  100 %        32.1 KiB / 100.0 KiB = 0.321                                    \r\n==> Leaving fakeroot environment.\r\n==> Finished making: dvtm 0.15-2 (Sat Nov 12 16:00:34 UTC 2016)\r\n\r\n<em>dvtm.info.cdb</em> terminfo database is built un the source directory (expected). However, <em>dvtm.info.cdb</em> is not installed to `/usr/share/terminfo` automatically per the default <em>config.mk</em> (not expected). No problem. Modifying the <a href=\"http://pastebin.com/yQKye7yf\" target=\"_blank\">dvtm PKGBUILD recipe</a> to install <em>dvtm.info.cdb</em> to `/usr/share/terminfo` and setting `TERMINFO=/usr/share/terminfo` does not resolve the no-op issue (not expected).  Modifying <em>config.mk</em> and the build recipe to install <em>dvtm.info.cdb</em> to $HOME with TERMINFO set accordingly does not resolve the issue either. How to get dvtm up and running?"},"comment":{"url":"https://api.github.com/repos/martanne/dvtm/issues/comments/262749872","html_url":"https://github.com/martanne/dvtm/issues/42#issuecomment-262749872","issue_url":"https://api.github.com/repos/martanne/dvtm/issues/42","id":262749872,"user":{"login":"rofl0r","id":341425,"avatar_url":"https://avatars.githubusercontent.com/u/341425?v=3","gravatar_id":"","url":"https://api.github.com/users/rofl0r","html_url":"https://github.com/rofl0r","followers_url":"https://api.github.com/users/rofl0r/followers","following_url":"https://api.github.com/users/rofl0r/following{/other_user}","gists_url":"https://api.github.com/users/rofl0r/gists{/gist_id}","starred_url":"https://api.github.com/users/rofl0r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rofl0r/subscriptions","organizations_url":"https://api.github.com/users/rofl0r/orgs","repos_url":"https://api.github.com/users/rofl0r/repos","events_url":"https://api.github.com/users/rofl0r/events{/privacy}","received_events_url":"https://api.github.com/users/rofl0r/received_events","type":"User","site_admin":false},"created_at":"2016-11-24T11:02:31Z","updated_at":"2016-11-24T11:02:31Z","body":"i've tried it in xterm and there it worked.\r\ni started dvtm like this to find out where/if it picks up the terminfo files:\r\n```\r\nstrace -f dvtm 2>&1 | grep open\r\n```\r\n(failure to find the file has an ENOENT return value)\r\nonce it could find the .cdb with the dvtm entries in it, it worked correctly.\r\n\r\nbtw you can exit the no-op dvtm with CTRL-D"}}
{"actor":{"display_login":"rofl0r"}}