{"action":"created","issue":{"url":"https://api.github.com/repos/k8sp/cuda/issues/5","repository_url":"https://api.github.com/repos/k8sp/cuda","labels_url":"https://api.github.com/repos/k8sp/cuda/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/k8sp/cuda/issues/5/comments","events_url":"https://api.github.com/repos/k8sp/cuda/issues/5/events","html_url":"https://github.com/k8sp/cuda/pull/5","id":154945500,"number":5,"title":"Build an example CUDA app if CUDA driver is already built.","user":{"login":"wangkuiyi","id":1548775,"avatar_url":"https://avatars.githubusercontent.com/u/1548775?v=3","gravatar_id":"","url":"https://api.github.com/users/wangkuiyi","html_url":"https://github.com/wangkuiyi","followers_url":"https://api.github.com/users/wangkuiyi/followers","following_url":"https://api.github.com/users/wangkuiyi/following{/other_user}","gists_url":"https://api.github.com/users/wangkuiyi/gists{/gist_id}","starred_url":"https://api.github.com/users/wangkuiyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangkuiyi/subscriptions","organizations_url":"https://api.github.com/users/wangkuiyi/orgs","repos_url":"https://api.github.com/users/wangkuiyi/repos","events_url":"https://api.github.com/users/wangkuiyi/events{/privacy}","received_events_url":"https://api.github.com/users/wangkuiyi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"lipeng-unisound","id":17057205,"avatar_url":"https://avatars.githubusercontent.com/u/17057205?v=3","gravatar_id":"","url":"https://api.github.com/users/lipeng-unisound","html_url":"https://github.com/lipeng-unisound","followers_url":"https://api.github.com/users/lipeng-unisound/followers","following_url":"https://api.github.com/users/lipeng-unisound/following{/other_user}","gists_url":"https://api.github.com/users/lipeng-unisound/gists{/gist_id}","starred_url":"https://api.github.com/users/lipeng-unisound/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lipeng-unisound/subscriptions","organizations_url":"https://api.github.com/users/lipeng-unisound/orgs","repos_url":"https://api.github.com/users/lipeng-unisound/repos","events_url":"https://api.github.com/users/lipeng-unisound/events{/privacy}","received_events_url":"https://api.github.com/users/lipeng-unisound/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-05-16T01:33:49Z","updated_at":"2016-05-17T02:06:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/k8sp/cuda/pulls/5","html_url":"https://github.com/k8sp/cuda/pull/5","diff_url":"https://github.com/k8sp/cuda/pull/5.diff","patch_url":"https://github.com/k8sp/cuda/pull/5.patch"},"body":"Fixes https://github.com/k8sp/issues/issues/3"},"comment":{"url":"https://api.github.com/repos/k8sp/cuda/issues/comments/219600997","html_url":"https://github.com/k8sp/cuda/pull/5#issuecomment-219600997","issue_url":"https://api.github.com/repos/k8sp/cuda/issues/5","id":219600997,"user":{"login":"lipeng-unisound","id":17057205,"avatar_url":"https://avatars.githubusercontent.com/u/17057205?v=3","gravatar_id":"","url":"https://api.github.com/users/lipeng-unisound","html_url":"https://github.com/lipeng-unisound","followers_url":"https://api.github.com/users/lipeng-unisound/followers","following_url":"https://api.github.com/users/lipeng-unisound/following{/other_user}","gists_url":"https://api.github.com/users/lipeng-unisound/gists{/gist_id}","starred_url":"https://api.github.com/users/lipeng-unisound/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lipeng-unisound/subscriptions","organizations_url":"https://api.github.com/users/lipeng-unisound/orgs","repos_url":"https://api.github.com/users/lipeng-unisound/repos","events_url":"https://api.github.com/users/lipeng-unisound/events{/privacy}","received_events_url":"https://api.github.com/users/lipeng-unisound/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T02:06:27Z","updated_at":"2016-05-17T02:06:27Z","body":"When I run the script, I failed with the following messages\r\n\r\n```\r\nHello! We are building CUDA driver for your Linux kernel ...\r\nCloning into 'linux'...\r\nNote: checking out '92b8a3b2136d3051170ed6b14f21bac7808acc09'.\r\n\r\nYou are in 'detached HEAD' state. You can look around, make experimental\r\nchanges and commit them, and you can discard any commits you make in this\r\nstate without impacting any branches by performing another checkout.\r\n\r\nIf you want to create a new branch to retain commits you create, you may\r\ndo so (now or later) by using -b with the checkout command again. Example:\r\n\r\n  git checkout -b new_branch_name\r\n\r\nChecking out files: 100% (52916/52916), done.\r\nSwitched to a new branch 'stable'\r\nM\tinclude/uapi/linux/netfilter/xt_CONNMARK.h\r\nM\tinclude/uapi/linux/netfilter/xt_DSCP.h\r\nM\tinclude/uapi/linux/netfilter/xt_MARK.h\r\nM\tinclude/uapi/linux/netfilter/xt_RATEEST.h\r\nM\tinclude/uapi/linux/netfilter/xt_TCPMSS.h\r\nM\tinclude/uapi/linux/netfilter_ipv4/ipt_ECN.h\r\nM\tinclude/uapi/linux/netfilter_ipv4/ipt_TTL.h\r\nM\tinclude/uapi/linux/netfilter_ipv6/ip6t_HL.h\r\nM\tnet/netfilter/xt_DSCP.c\r\nM\tnet/netfilter/xt_HL.c\r\nM\tnet/netfilter/xt_RATEEST.c\r\nM\tnet/netfilter/xt_TCPMSS.c\r\n  HOSTCC  scripts/basic/fixdep\r\n  HOSTCC  scripts/kconfig/conf.o\r\n  SHIPPED scripts/kconfig/zconf.tab.c\r\n  SHIPPED scripts/kconfig/zconf.lex.c\r\n  SHIPPED scripts/kconfig/zconf.hash.c\r\n  HOSTCC  scripts/kconfig/zconf.tab.o\r\n  HOSTLD  scripts/kconfig/conf\r\nscripts/kconfig/conf  --silentoldconfig Kconfig\r\n#\r\n# configuration written to .config\r\n#\r\n  SYSTBL  arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h\r\n  SYSHDR  arch/x86/entry/syscalls/../../include/generated/asm/unistd_32_ia32.h\r\n  SYSHDR  arch/x86/entry/syscalls/../../include/generated/asm/unistd_64_x32.h\r\n  SYSTBL  arch/x86/entry/syscalls/../../include/generated/asm/syscalls_64.h\r\n  HYPERCALLS arch/x86/entry/syscalls/../../include/generated/asm/xen-hypercalls.h\r\n  SYSHDR  arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_32.h\r\n  SYSHDR  arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_64.h\r\n  SYSHDR  arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_x32.h\r\n  HOSTCC  scripts/basic/bin2c\r\n  HOSTCC  arch/x86/tools/relocs_32.o\r\n  HOSTCC  arch/x86/tools/relocs_64.o\r\n  HOSTCC  arch/x86/tools/relocs_common.o\r\n  HOSTLD  arch/x86/tools/relocs\r\n  CHK     include/config/kernel.release\r\n  UPD     include/config/kernel.release\r\n  WRAP    arch/x86/include/generated/asm/clkdev.h\r\n  WRAP    arch/x86/include/generated/asm/cputime.h\r\n  WRAP    arch/x86/include/generated/asm/dma-contiguous.h\r\n  WRAP    arch/x86/include/generated/asm/early_ioremap.h\r\n  WRAP    arch/x86/include/generated/asm/mcs_spinlock.h\r\n  WRAP    arch/x86/include/generated/asm/mm-arch-hooks.h\r\n  CHK     include/generated/uapi/linux/version.h\r\n  UPD     include/generated/uapi/linux/version.h\r\n  CHK     include/generated/utsrelease.h\r\n  UPD     include/generated/utsrelease.h\r\n  CC      arch/x86/purgatory/purgatory.o\r\n  AS      arch/x86/purgatory/stack.o\r\n  AS      arch/x86/purgatory/setup-x86_64.o\r\n  CC      arch/x86/purgatory/sha256.o\r\n  AS      arch/x86/purgatory/entry64.o\r\n  CC      arch/x86/purgatory/string.o\r\n  LD      arch/x86/purgatory/purgatory.ro\r\n  BIN2C   arch/x86/purgatory/kexec-purgatory.c\r\n  CC      kernel/bounds.s\r\n  CHK     include/generated/bounds.h\r\n  UPD     include/generated/bounds.h\r\n  CHK     include/generated/timeconst.h\r\n/bin/sh: 1: bc: not found\r\nmake[1]: *** [include/generated/timeconst.h] Error 127\r\nmake: *** [prepare0] Error 2\r\npatching file /opt/share/cuda/NVIDIA-Linux-x86_64-352.39/kernel/nv-procfs.c\r\nHunk #2 succeeded at 563 (offset -1 lines).\r\n\r\nERROR: Unable to find the module utility `insmod`; please make sure you\r\n       have the package 'module-init-tools' or 'kmod' installed.  If you do\r\n       have 'module-init-tools' or 'kmod' installed, then please check that\r\n       `insmod` is in your PATH.\r\n\r\ncp: cannot stat `/opt/share/cuda/NVIDIA-Linux-x86_64-352.39/kernel/uvm/nvidia-uvm.ko': No such file or directory\r\ncp: cannot stat `/opt/share/cuda/NVIDIA-Linux-x86_64-352.39/kernel/nvidia.ko': No such file or directory\r\n```"}}