{"action":"created","issue":{"url":"https://api.github.com/repos/zfsonlinux/spl/issues/670","repository_url":"https://api.github.com/repos/zfsonlinux/spl","labels_url":"https://api.github.com/repos/zfsonlinux/spl/issues/670/labels{/name}","comments_url":"https://api.github.com/repos/zfsonlinux/spl/issues/670/comments","events_url":"https://api.github.com/repos/zfsonlinux/spl/issues/670/events","html_url":"https://github.com/zfsonlinux/spl/issues/670","id":280588020,"number":670,"title":"Build failure kernel 4.15rc2 ","user":{"login":"greg-hydrogen","id":2024299,"avatar_url":"https://avatars2.githubusercontent.com/u/2024299?v=4","gravatar_id":"","url":"https://api.github.com/users/greg-hydrogen","html_url":"https://github.com/greg-hydrogen","followers_url":"https://api.github.com/users/greg-hydrogen/followers","following_url":"https://api.github.com/users/greg-hydrogen/following{/other_user}","gists_url":"https://api.github.com/users/greg-hydrogen/gists{/gist_id}","starred_url":"https://api.github.com/users/greg-hydrogen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greg-hydrogen/subscriptions","organizations_url":"https://api.github.com/users/greg-hydrogen/orgs","repos_url":"https://api.github.com/users/greg-hydrogen/repos","events_url":"https://api.github.com/users/greg-hydrogen/events{/privacy}","received_events_url":"https://api.github.com/users/greg-hydrogen/received_events","type":"User","site_admin":false},"labels":[{"id":35035,"url":"https://api.github.com/repos/zfsonlinux/spl/labels/Build%20Issue","name":"Build Issue","color":"e102d8","default":false}],"state":"closed","locked":false,"assignee":{"login":"tonyhutter","id":11469457,"avatar_url":"https://avatars0.githubusercontent.com/u/11469457?v=4","gravatar_id":"","url":"https://api.github.com/users/tonyhutter","html_url":"https://github.com/tonyhutter","followers_url":"https://api.github.com/users/tonyhutter/followers","following_url":"https://api.github.com/users/tonyhutter/following{/other_user}","gists_url":"https://api.github.com/users/tonyhutter/gists{/gist_id}","starred_url":"https://api.github.com/users/tonyhutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonyhutter/subscriptions","organizations_url":"https://api.github.com/users/tonyhutter/orgs","repos_url":"https://api.github.com/users/tonyhutter/repos","events_url":"https://api.github.com/users/tonyhutter/events{/privacy}","received_events_url":"https://api.github.com/users/tonyhutter/received_events","type":"User","site_admin":false},"assignees":[{"login":"tonyhutter","id":11469457,"avatar_url":"https://avatars0.githubusercontent.com/u/11469457?v=4","gravatar_id":"","url":"https://api.github.com/users/tonyhutter","html_url":"https://github.com/tonyhutter","followers_url":"https://api.github.com/users/tonyhutter/followers","following_url":"https://api.github.com/users/tonyhutter/following{/other_user}","gists_url":"https://api.github.com/users/tonyhutter/gists{/gist_id}","starred_url":"https://api.github.com/users/tonyhutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonyhutter/subscriptions","organizations_url":"https://api.github.com/users/tonyhutter/orgs","repos_url":"https://api.github.com/users/tonyhutter/repos","events_url":"https://api.github.com/users/tonyhutter/events{/privacy}","received_events_url":"https://api.github.com/users/tonyhutter/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2017-12-08T19:11:14Z","updated_at":"2018-03-05T20:51:41Z","closed_at":"2017-12-21T18:56:32Z","author_association":"NONE","body":"Hello Everyone,\r\n\r\nDuring compilation on Fedora 27 with kernel 4.15rc2 I receive the following build error:\r\n\r\ntmp/spl-build-greg-SLJ5iBLw/BUILD/spl-kmod-0.7.0/_kmod_build_4.15.0-rc2/../spl-0.7.0/module/spl/spl-taskq.c: In function 'taskq_dispatch':\r\n/tmp/spl-build-greg-SLJ5iBLw/BUILD/spl-kmod-0.7.0/_kmod_build_4.15.0-rc2/../spl-0.7.0/module/spl/spl-taskq.c:584:16: error: 'struct timer_list' has no member named 'data'\r\n  t->tqent_timer.data = 0;\r\n                ^\r\n/tmp/spl-build-greg-SLJ5iBLw/BUILD/spl-kmod-0.7.0/_kmod_build_4.15.0-rc2/../spl-0.7.0/module/spl/spl-taskq.c: In function 'taskq_dispatch_delay':\r\n/tmp/spl-build-greg-SLJ5iBLw/BUILD/spl-kmod-0.7.0/_kmod_build_4.15.0-rc2/../spl-0.7.0/module/spl/spl-taskq.c:634:16: error: 'struct timer_list' has no member named 'data'\r\n  t->tqent_timer.data = (unsigned long)t;\r\n                ^\r\n/tmp/spl-build-greg-SLJ5iBLw/BUILD/spl-kmod-0.7.0/_kmod_build_4.15.0-rc2/../spl-0.7.0/module/spl/spl-taskq.c:635:26: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]\r\n  t->tqent_timer.function = task_expire;\r\n                          ^\r\n/tmp/spl-build-greg-SLJ5iBLw/BUILD/spl-kmod-0.7.0/_kmod_build_4.15.0-rc2/../spl-0.7.0/module/spl/spl-taskq.c: In function 'taskq_init_ent':\r\n/tmp/spl-build-greg-SLJ5iBLw/BUILD/spl-kmod-0.7.0/_kmod_build_4.15.0-rc2/../spl-0.7.0/module/spl/spl-taskq.c:726:2: error: implicit declaration of function 'init_timer'; did you mean 'init_timers'? [-Werror=implicit-function-declaration]\r\n  init_timer(&t->tqent_timer);\r\n\r\nThe following error was fixed for VirtualBox for kernel 4.15\r\nthe struct timer_list' has no member named 'data'\r\nthis was patched with the following patch located here\r\nhttps://www.virtualbox.org/pipermail/vbox-dev/2017-December/014879.html\r\n\r\nif this helps at all\r\n\r\nThanks,\r\nGreg\r\n"},"comment":{"url":"https://api.github.com/repos/zfsonlinux/spl/issues/comments/370560772","html_url":"https://github.com/zfsonlinux/spl/issues/670#issuecomment-370560772","issue_url":"https://api.github.com/repos/zfsonlinux/spl/issues/670","id":370560772,"user":{"login":"cracauer","id":8972184,"avatar_url":"https://avatars1.githubusercontent.com/u/8972184?v=4","gravatar_id":"","url":"https://api.github.com/users/cracauer","html_url":"https://github.com/cracauer","followers_url":"https://api.github.com/users/cracauer/followers","following_url":"https://api.github.com/users/cracauer/following{/other_user}","gists_url":"https://api.github.com/users/cracauer/gists{/gist_id}","starred_url":"https://api.github.com/users/cracauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cracauer/subscriptions","organizations_url":"https://api.github.com/users/cracauer/orgs","repos_url":"https://api.github.com/users/cracauer/repos","events_url":"https://api.github.com/users/cracauer/events{/privacy}","received_events_url":"https://api.github.com/users/cracauer/received_events","type":"User","site_admin":false},"created_at":"2018-03-05T20:51:41Z","updated_at":"2018-03-05T20:51:41Z","author_association":"NONE","body":"This still breaks for me when I use Linux-4.15.5.\r\n\r\nThis patch looks promising to me, but doesn't merge with spl git as of today and obviously has overlap with SPL's own SPL_AC_KERNEL_TIMER_FUNCTION_TIMER_LIST\r\nhttps://github.com/manjaro/packages-extra/issues/146\r\nhttps://github.com/manjaro/packages-extra/files/1670385/0001-Linux-4.15-timer-setup-compat.patch.txt\r\n\r\n/home/cracauer/work/zfs/spl/module/spl/spl-condvar.c: In function 'spl_io_schedule_timeout':\r\n/home/cracauer/work/zfs/spl/module/spl/spl-condvar.c:168:2: error: implicit declaration of function 'init_timer'; did you mean 'init_timers'? [-Werror=implicit-function-declaration]\r\n  init_timer(&timer);\r\n  ^~~~~~~~~~\r\n  init_timers\r\n/home/cracauer/work/zfs/spl/module/spl/spl-condvar.c:169:2: error: implicit declaration of function 'setup_timer'; did you mean 'del_timer'? [-Werror=implicit-function-declaration]\r\n  setup_timer(&timer, __cv_wakeup, (unsigned long)current);\r\n  ^~~~~~~~~~~\r\n  del_timer\r\n"}}
{"actor":{"display_login":"cracauer"}}