{"action":"created","issue":{"url":"https://api.github.com/repos/lynnard/VIMonad/issues/8","repository_url":"https://api.github.com/repos/lynnard/VIMonad","labels_url":"https://api.github.com/repos/lynnard/VIMonad/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/lynnard/VIMonad/issues/8/comments","events_url":"https://api.github.com/repos/lynnard/VIMonad/issues/8/events","html_url":"https://github.com/lynnard/VIMonad/issues/8","id":183839473,"number":8,"title":"won't build on OpenBSD","user":{"login":"bonds","id":53434,"avatar_url":"https://avatars.githubusercontent.com/u/53434?v=3","gravatar_id":"","url":"https://api.github.com/users/bonds","html_url":"https://github.com/bonds","followers_url":"https://api.github.com/users/bonds/followers","following_url":"https://api.github.com/users/bonds/following{/other_user}","gists_url":"https://api.github.com/users/bonds/gists{/gist_id}","starred_url":"https://api.github.com/users/bonds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonds/subscriptions","organizations_url":"https://api.github.com/users/bonds/orgs","repos_url":"https://api.github.com/users/bonds/repos","events_url":"https://api.github.com/users/bonds/events{/privacy}","received_events_url":"https://api.github.com/users/bonds/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-19T00:50:59Z","updated_at":"2016-10-19T00:53:55Z","closed_at":null,"body":"VIMonad looks awesome, so I thought I'd try it on my laptop. I was able to build xmonad, but xmonad-contrib isn't cooperating:\r\n\r\n````\r\n~/s/V/XMonadContrib (master|…) ❯❯❯ cabal install\r\nResolving dependencies...\r\nConfiguring BerkeleyDB-0.8.7...\r\nBuilding BerkeleyDB-0.8.7...\r\nFailed to install BerkeleyDB-0.8.7\r\nBuild log ( /home/scott/.cabal/logs/BerkeleyDB-0.8.7.log ):\r\nConfiguring BerkeleyDB-0.8.7...\r\nBuilding BerkeleyDB-0.8.7...\r\nPreprocessing library BerkeleyDB-0.8.7...\r\nDb.hsc: In function 'main':\r\nDb.hsc:158: error: 'DB_BUFFER_SMALL' undeclared (first use in this function)\r\nDb.hsc:158: error: (Each undeclared identifier is reported only once\r\nDb.hsc:158: error: for each function it appears in.)\r\nDb.hsc:159: error: 'DB_DONOTINDEX' undeclared (first use in this function)\r\nDb.hsc:160: error: 'DB_KEYEMPTY' undeclared (first use in this function)\r\nDb.hsc:161: error: 'DB_KEYEXIST' undeclared (first use in this function)\r\nDb.hsc:162: error: 'DB_LOCK_DEADLOCK' undeclared (first use in this function)\r\nDb.hsc:163: error: 'DB_LOCK_NOTGRANTED' undeclared (first use in this function)\r\nDb.hsc:164: error: 'DB_LOG_BUFFER_FULL' undeclared (first use in this function)\r\nDb.hsc:165: error: 'DB_NOSERVER' undeclared (first use in this function)\r\nDb.hsc:167: error: 'DB_NOSERVER_HOME' undeclared (first use in this function)\r\nDb.hsc:168: error: 'DB_NOSERVER_ID' undeclared (first use in this function)\r\nDb.hsc:170: error: 'DB_NOTFOUND' undeclared (first use in this function)\r\nDb.hsc:171: error: 'DB_OLD_VERSION' undeclared (first use in this function)\r\nDb.hsc:172: error: 'DB_PAGE_NOTFOUND' undeclared (first use in this function)\r\nDb.hsc:173: error: 'DB_REP_DUPMASTER' undeclared (first use in this function)\r\nDb.hsc:174: error: 'DB_REP_HANDLE_DEAD' undeclared (first use in this function)\r\nDb.hsc:175: error: 'DB_REP_HOLDELECTION' undeclared (first use in this function)\r\nDb.hsc:176: error: 'DB_REP_IGNORE' undeclared (first use in this function)\r\nDb.hsc:177: error: 'DB_REP_ISPERM' undeclared (first use in this function)\r\nDb.hsc:178: error: 'DB_REP_JOIN_FAILURE' undeclared (first use in this function)\r\nDb.hsc:179: error: 'DB_REP_LEASE_EXPIRED' undeclared (first use in this function)\r\nDb.hsc:180: error: 'DB_REP_LOCKOUT' undeclared (first use in this function)\r\nDb.hsc:181: error: 'DB_REP_NEWSITE' undeclared (first use in this function)\r\nDb.hsc:182: error: 'DB_REP_NOTPERM' undeclared (first use in this function)\r\nDb.hsc:183: error: 'DB_REP_UNAVAIL' undeclared (first use in this function)\r\nDb.hsc:184: error: 'DB_RUNRECOVERY' undeclared (first use in this function)\r\nDb.hsc:185: error: 'DB_SECONDARY_BAD' undeclared (first use in this function)\r\nDb.hsc:186: error: 'DB_VERIFY_BAD' undeclared (first use in this function)\r\nDb.hsc:187: error: 'DB_VERSION_MISMATCH' undeclared (first use in this function)\r\nDb.hsc:493: error: 'DB_CREATE' undeclared (first use in this function)\r\nDb.hsc:494: error: 'DB_DURABLE_UNKNOWN' undeclared (first use in this function)\r\nDb.hsc:495: error: 'DB_FORCE' undeclared (first use in this function)\r\nDb.hsc:496: error: 'DB_MULTIVERSION' undeclared (first use in this function)\r\nDb.hsc:497: error: 'DB_NOMMAP' undeclared (first use in this function)\r\nDb.hsc:498: error: 'DB_RDONLY' undeclared (first use in this function)\r\nDb.hsc:499: error: 'DB_RECOVER' undeclared (first use in this function)\r\nDb.hsc:500: error: 'DB_THREAD' undeclared (first use in this function)\r\nDb.hsc:501: error: 'DB_TRUNCATE' undeclared (first use in this function)\r\nDb.hsc:502: error: 'DB_TXN_NOSYNC' undeclared (first use in this function)\r\nDb.hsc:503: error: 'DB_TXN_NOWAIT' undeclared (first use in this function)\r\nDb.hsc:504: error: 'DB_TXN_NOT_DURABLE' undeclared (first use in this function)\r\nDb.hsc:505: error: 'DB_TXN_WRITE_NOSYNC' undeclared (first use in this function)\r\nDb.hsc:506: error: 'DB_TXN_SYNC' undeclared (first use in this function)\r\nDb.hsc:507: error: 'DB_TXN_WAIT' undeclared (first use in this function)\r\nDb.hsc:508: error: 'DB_IGNORE_LEASE' undeclared (first use in this function)\r\nDb.hsc:509: error: 'DB_AUTO_COMMIT' undeclared (first use in this function)\r\nDb.hsc:510: error: 'DB_READ_COMMITTED' undeclared (first use in this function)\r\nDb.hsc:511: error: 'DB_DEGREE_2' undeclared (first use in this function)\r\nDb.hsc:512: error: 'DB_READ_UNCOMMITTED' undeclared (first use in this function)\r\nDb.hsc:513: error: 'DB_DIRTY_READ' undeclared (first use in this function)\r\nDb.hsc:514: error: 'DB_TXN_SNAPSHOT' undeclared (first use in this function)\r\nDb.hsc:515: error: 'DB_CXX_NO_EXCEPTIONS' undeclared (first use in this function)\r\nDb.hsc:516: error: 'DB_USE_ENVIRON' undeclared (first use in this function)\r\nDb.hsc:517: error: 'DB_USE_ENVIRON_ROOT' undeclared (first use in this function)\r\nDb.hsc:518: error: 'DB_INIT_CDB' undeclared (first use in this function)\r\nDb.hsc:519: error: 'DB_INIT_LOCK' undeclared (first use in this function)\r\nDb.hsc:520: error: 'DB_INIT_LOG' undeclared (first use in this function)\r\nDb.hsc:521: error: 'DB_INIT_MPOOL' undeclared (first use in this function)\r\nDb.hsc:522: error: 'DB_INIT_REP' undeclared (first use in this function)\r\nDb.hsc:523: error: 'DB_INIT_TXN' undeclared (first use in this function)\r\nDb.hsc:524: error: 'DB_LOCKDOWN' undeclared (first use in this function)\r\nDb.hsc:525: error: 'DB_PRIVATE' undeclared (first use in this function)\r\nDb.hsc:526: error: 'DB_RECOVER_FATAL' undeclared (first use in this function)\r\nDb.hsc:527: error: 'DB_REGISTER' undeclared (first use in this function)\r\nDb.hsc:528: error: 'DB_SYSTEM_MEM' undeclared (first use in this function)\r\nDb.hsc:529: error: 'DB_EXCL' undeclared (first use in this function)\r\nDb.hsc:530: error: 'DB_FCNTL_LOCKING' undeclared (first use in this function)\r\nDb.hsc:531: error: 'DB_NO_AUTO_COMMIT' undeclared (first use in this function)\r\nDb.hsc:532: error: 'DB_RDWRMASTER' undeclared (first use in this function)\r\nDb.hsc:533: error: 'DB_WRITEOPEN' undeclared (first use in this function)\r\nDb.hsc:534: error: 'DB_MULTIPLE' undeclared (first use in this function)\r\nDb.hsc:535: error: 'DB_MULTIPLE_KEY' undeclared (first use in this function)\r\nDb.hsc:536: error: 'DB_RMW' undeclared (first use in this function)\r\nDb.hsc:537: error: 'DB_LOCK_NOWAIT' undeclared (first use in this function)\r\nDb.hsc:538: error: 'DB_AFTER' undeclared (first use in this function)\r\nDb.hsc:539: error: 'DB_APPEND' undeclared (first use in this function)\r\nDb.hsc:540: error: 'DB_BEFORE' undeclared (first use in this function)\r\nDb.hsc:541: error: 'DB_CONSUME' undeclared (first use in this function)\r\nDb.hsc:542: error: 'DB_CONSUME_WAIT' undeclared (first use in this function)\r\nDb.hsc:543: error: 'DB_CURRENT' undeclared (first use in this function)\r\nDb.hsc:544: error: 'DB_FIRST' undeclared (first use in this function)\r\nDb.hsc:545: error: 'DB_GET_BOTH' undeclared (first use in this function)\r\nDb.hsc:546: error: 'DB_GET_BOTHC' undeclared (first use in this function)\r\nDb.hsc:547: error: 'DB_GET_BOTH_RANGE' undeclared (first use in this function)\r\nDb.hsc:548: error: 'DB_GET_RECNO' undeclared (first use in this function)\r\nDb.hsc:549: error: 'DB_JOIN_ITEM' undeclared (first use in this function)\r\nDb.hsc:550: error: 'DB_KEYFIRST' undeclared (first use in this function)\r\nDb.hsc:551: error: 'DB_KEYLAST' undeclared (first use in this function)\r\nDb.hsc:552: error: 'DB_LAST' undeclared (first use in this function)\r\nDb.hsc:553: error: 'DB_NEXT' undeclared (first use in this function)\r\nDb.hsc:554: error: 'DB_NEXT_DUP' undeclared (first use in this function)\r\nDb.hsc:555: error: 'DB_NEXT_NODUP' undeclared (first use in this function)\r\nDb.hsc:556: error: 'DB_NODUPDATA' undeclared (first use in this function)\r\nDb.hsc:557: error: 'DB_NOOVERWRITE' undeclared (first use in this function)\r\nDb.hsc:558: error: 'DB_NOSYNC' undeclared (first use in this function)\r\nDb.hsc:559: error: 'DB_POSITION' undeclared (first use in this function)\r\nDb.hsc:560: error: 'DB_PREV' undeclared (first use in this function)\r\nDb.hsc:561: error: 'DB_PREV_DUP' undeclared (first use in this function)\r\nDb.hsc:562: error: 'DB_PREV_NODUP' undeclared (first use in this function)\r\nDb.hsc:563: error: 'DB_SET' undeclared (first use in this function)\r\nDb.hsc:564: error: 'DB_SET_RANGE' undeclared (first use in this function)\r\nDb.hsc:565: error: 'DB_SET_RECNO' undeclared (first use in this function)\r\nDb.hsc:566: error: 'DB_UPDATE_SECONDARY' undeclared (first use in this function)\r\nDb.hsc:567: error: 'DB_WRITECURSOR' undeclared (first use in this function)\r\nDb.hsc:568: error: 'DB_WRITELOCK' undeclared (first use in this function)\r\nDb.hsc:569: error: 'DB_DUP' undeclared (first use in this function)\r\nDb.hsc:570: error: 'DB_DUPSORT' undeclared (first use in this function)\r\nDb.hsc:618: error: 'DB_LOCK_NORUN' undeclared (first use in this function)\r\nDb.hsc:619: error: 'DB_LOCK_DEFAULT' undeclared (first use in this function)\r\nDb.hsc:620: error: 'DB_LOCK_EXPIRE' undeclared (first use in this function)\r\nDb.hsc:621: error: 'DB_LOCK_MAXLOCKS' undeclared (first use in this function)\r\nDb.hsc:622: error: 'DB_LOCK_MAXWRITE' undeclared (first use in this function)\r\nDb.hsc:623: error: 'DB_LOCK_MINLOCKS' undeclared (first use in this function)\r\nDb.hsc:624: error: 'DB_LOCK_MINWRITE' undeclared (first use in this function)\r\nDb.hsc:625: error: 'DB_LOCK_OLDEST' undeclared (first use in this function)\r\nDb.hsc:626: error: 'DB_LOCK_RANDOM' undeclared (first use in this function)\r\nDb.hsc:627: error: 'DB_LOCK_YOUNGEST' undeclared (first use in this function)\r\nDb.hsc:909: error: 'DB_LOCK_READ' undeclared (first use in this function)\r\nDb.hsc:910: error: 'DB_LOCK_WRITE' undeclared (first use in this function)\r\nDb.hsc:911: error: 'DB_LOCK_IWRITE' undeclared (first use in this function)\r\nDb.hsc:912: error: 'DB_LOCK_IREAD' undeclared (first use in this function)\r\nDb.hsc:913: error: 'DB_LOCK_IWR' undeclared (first use in this function)\r\ncompiling dist/build/Database/Berkeley/Db_hsc_make.c failed (exit code 1)\r\ncommand was: /usr/bin/gcc -c dist/build/Database/Berkeley/Db_hsc_make.c -o dist/build/Database/Berkeley/Db_hsc_make.o -fno-pie -nopie -fno-stack-protector -D__GLASGOW_HASKELL__=710 -Dopenbsd_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Dopenbsd_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -IDatabase/Berkeley/ -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -I/usr/local/lib/ghc/bytes_6VWy06pWzJq9evDvK2d4w6/include -I/usr/local/include -I/usr/local/lib/ghc/base_HQfYBxpPvuw8OunzQu6JGM/include -I/usr/local/lib/ghc/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include -I/usr/local/lib/ghc/include -I/usr/local/lib/ghc/include/\r\ncabal: Error: some packages failed to install:\r\nBerkeleyDB-0.8.7 failed during the building phase. The exception was:\r\nExitFailure 1\r\nxmonad-contrib-0.12 depends on BerkeleyDB-0.8.7 which failed to install.\r\n````\r\nI tried ripping out the code that depends on BerkeleyDB, the CIM stuff, to see if I could build it without that feature, but soon realized the surgery wouldn't require more knowledge of the code that I currently have.\r\n\r\nSo, just in case you're interested, I thought I'd share."},"comment":{"url":"https://api.github.com/repos/lynnard/VIMonad/issues/comments/254680991","html_url":"https://github.com/lynnard/VIMonad/issues/8#issuecomment-254680991","issue_url":"https://api.github.com/repos/lynnard/VIMonad/issues/8","id":254680991,"user":{"login":"bonds","id":53434,"avatar_url":"https://avatars.githubusercontent.com/u/53434?v=3","gravatar_id":"","url":"https://api.github.com/users/bonds","html_url":"https://github.com/bonds","followers_url":"https://api.github.com/users/bonds/followers","following_url":"https://api.github.com/users/bonds/following{/other_user}","gists_url":"https://api.github.com/users/bonds/gists{/gist_id}","starred_url":"https://api.github.com/users/bonds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonds/subscriptions","organizations_url":"https://api.github.com/users/bonds/orgs","repos_url":"https://api.github.com/users/bonds/repos","events_url":"https://api.github.com/users/bonds/events{/privacy}","received_events_url":"https://api.github.com/users/bonds/received_events","type":"User","site_admin":false},"created_at":"2016-10-19T00:53:55Z","updated_at":"2016-10-19T00:53:55Z","body":"I tried both ````cabal install```` and ````stack init; stack install````. I tried setting the BerkeleyDB haskell module to a lower version, e.g. 0.7, 0.6, etc. none of those built either."}}
{"actor":{"display_login":"bonds"}}