{"action":"closed","issue":{"url":"https://api.github.com/repos/kristapsdz/slant/issues/1","repository_url":"https://api.github.com/repos/kristapsdz/slant","labels_url":"https://api.github.com/repos/kristapsdz/slant/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/kristapsdz/slant/issues/1/comments","events_url":"https://api.github.com/repos/kristapsdz/slant/issues/1/events","html_url":"https://github.com/kristapsdz/slant/issues/1","id":372360986,"node_id":"MDU6SXNzdWUzNzIzNjA5ODY=","number":1,"title":"error: ‘_PATH_VAREMPTY’ undeclared on ArchLinux","user":{"login":"IvanDelsinne","id":23583792,"node_id":"MDQ6VXNlcjIzNTgzNzky","avatar_url":"https://avatars3.githubusercontent.com/u/23583792?v=4","gravatar_id":"","url":"https://api.github.com/users/IvanDelsinne","html_url":"https://github.com/IvanDelsinne","followers_url":"https://api.github.com/users/IvanDelsinne/followers","following_url":"https://api.github.com/users/IvanDelsinne/following{/other_user}","gists_url":"https://api.github.com/users/IvanDelsinne/gists{/gist_id}","starred_url":"https://api.github.com/users/IvanDelsinne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IvanDelsinne/subscriptions","organizations_url":"https://api.github.com/users/IvanDelsinne/orgs","repos_url":"https://api.github.com/users/IvanDelsinne/repos","events_url":"https://api.github.com/users/IvanDelsinne/events{/privacy}","received_events_url":"https://api.github.com/users/IvanDelsinne/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-21T21:53:23Z","updated_at":"2018-10-21T22:00:28Z","closed_at":"2018-10-21T22:00:28Z","author_association":"NONE","body":"Hello,\r\n\r\nI tried to compile slant on my Manjaro system (specs below), but I get the following error:\r\n\r\n```\r\nkwebapp-sql slant.kwbp > slant.sql\r\nrm -f slant.db\r\nsqlite3 slant.db < slant.sql\r\nkwebapp-c-header -s -g EXTERN_H -Nd slant.kwbp > extern.h\r\nkwebapp-c-header -s -Nb slant.kwbp > db.h\r\ncc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -DVERSION=\\\"0.0.10\\\"  -c -o slant-collectd.o slant-collectd.c\r\nslant-collectd.c: In function ‘main’:\r\nslant-collectd.c:340:19: error: ‘_PATH_VAREMPTY’ undeclared (first use in this function); did you mean ‘LIST_EMPTY’?\r\n  if (-1 == chroot(_PATH_VAREMPTY))\r\n                   ^~~~~~~~~~~~~~\r\n                   LIST_EMPTY\r\nslant-collectd.c:340:19: note: each undeclared identifier is reported only once for each function it appears in\r\nslant-collectd.c:358:16: warning: implicit declaration of function ‘reallocarray’; did you mean ‘realloc’? [-Wimplicit-function-declaration]\r\n    cfg.discs = reallocarray\r\n                ^~~~~~~~~~~~\r\n                realloc\r\nslant-collectd.c:358:14: warning: assignment to ‘char **’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]\r\n    cfg.discs = reallocarray\r\n              ^\r\nslant-collectd.c:374:13: warning: assignment to ‘char **’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]\r\n    cfg.cmds = reallocarray\r\n             ^\r\nslant-collectd.c:433:20: warning: implicit declaration of function ‘getprogname’; did you mean ‘gethostname’? [-Wimplicit-function-declaration]\r\n   \"[-f dbfile]\\n\", getprogname());\r\n                    ^~~~~~~~~~~\r\n                    gethostname\r\nslant-collectd.c:430:27: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘int’ [-Wformat=]\r\n  fprintf(stderr, \"usage: %s \"\r\n                          ~^\r\n                          %d\r\nslant-collectd.c:433:20:\r\n   \"[-f dbfile]\\n\", getprogname());\r\n                    ~~~~~~~~~~~~~\r\nmake: *** [<builtin>: slant-collectd.o] Error 1\r\n```\r\n\r\nI'm using ksql 0.3.2, and kwebapp 0.6.2, and tried to build the master branch of slant.\r\n\r\n```\r\nLinux 4.14.74-1-MANJARO x86_64\r\nCPU: Intel i5-4690K (4) @ 3.900GHz\r\n```\r\n"}}
{"actor":{"display_login":"kristapsdz"}}