{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda-build/issues/2778","repository_url":"https://api.github.com/repos/conda/conda-build","labels_url":"https://api.github.com/repos/conda/conda-build/issues/2778/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda-build/issues/2778/comments","events_url":"https://api.github.com/repos/conda/conda-build/issues/2778/events","html_url":"https://github.com/conda/conda-build/issues/2778","id":308015324,"number":2778,"title":"Unable to copy the build file for a conda package","user":{"login":"mayankbro","id":21317444,"avatar_url":"https://avatars3.githubusercontent.com/u/21317444?v=4","gravatar_id":"","url":"https://api.github.com/users/mayankbro","html_url":"https://github.com/mayankbro","followers_url":"https://api.github.com/users/mayankbro/followers","following_url":"https://api.github.com/users/mayankbro/following{/other_user}","gists_url":"https://api.github.com/users/mayankbro/gists{/gist_id}","starred_url":"https://api.github.com/users/mayankbro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mayankbro/subscriptions","organizations_url":"https://api.github.com/users/mayankbro/orgs","repos_url":"https://api.github.com/users/mayankbro/repos","events_url":"https://api.github.com/users/mayankbro/events{/privacy}","received_events_url":"https://api.github.com/users/mayankbro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-23T12:43:45Z","updated_at":"2018-03-23T13:20:13Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nThanks for opening an issue! A few things to keep in mind:\r\n\r\n- This issue tracker is for issues with or enhancements for conda-build.\r\n\r\nFor conda issues, you should open an issue at https://github.com/conda/conda/issues\r\nFor Anaconda issues, you should open an issue at https://github.com/ContinuumIO/anaconda-issues/issues\r\nFor an issue with a particular conda-forge package, you should open an issue on the \r\ncorresponding feedstock: https://github.com/conda-forge\r\n-->\r\n\r\n### Actual Behavior\r\n\r\n<!-- What actually happens? -->\r\nActually it should copy the build file\r\n### Expected Behavior\r\n\r\n<!-- What do you think should happen? -->\r\n\r\n### Steps to Reproduce\r\n\r\n<!-- Steps to reproduce issue. -->\r\nI am using conda-build <filename> command and it gives me this.\r\n##### `Output of conda info`\r\n<!-- Between the ticks below, paste the output of 'conda info' -->\r\n```Copying /home/mayank to /home/mayank/anaconda/conda-bld/ajcse_1521808674261/work\r\nTraceback (most recent call last):\r\n  File \"/home/mayank/anaconda/bin/conda-build\", line 6, in <module>\r\n    sys.exit(conda_build.cli.main_build.main())\r\n  File \"/home/mayank/anaconda/lib/python2.7/site-packages/conda_build/cli/main_build.py\", line 239, in main\r\n    execute(sys.argv[1:])\r\n  File \"/home/mayank/anaconda/lib/python2.7/site-packages/conda_build/cli/main_build.py\", line 231, in execute\r\n    already_built=None, config=config)\r\n  File \"/home/mayank/anaconda/lib/python2.7/site-packages/conda_build/api.py\", line 83, in build\r\n    need_source_download=need_source_download, config=config)\r\n  File \"/home/mayank/anaconda/lib/python2.7/site-packages/conda_build/build.py\", line 998, in build_tree\r\n    config=recipe_config)\r\n  File \"/home/mayank/anaconda/lib/python2.7/site-packages/conda_build/build.py\", line 590, in build\r\n    config=config)\r\n  File \"/home/mayank/anaconda/lib/python2.7/site-packages/conda_build/render.py\", line 86, in parse_or_try_download\r\n    source.provide(metadata.path, metadata.get_section('source'), config=config)\r\n  File \"/home/mayank/anaconda/lib/python2.7/site-packages/conda_build/source.py\", line 511, in provide\r\n    copy_into(abspath(join(recipe_dir, meta.get('path'))), config.work_dir, config.timeout)\r\n  File \"/home/mayank/anaconda/lib/python2.7/site-packages/conda_build/utils.py\", line 101, in copy_into\r\n    merge_tree(src, dst, symlinks)\r\n  File \"/home/mayank/anaconda/lib/python2.7/site-packages/conda_build/utils.py\", line 128, in merge_tree\r\n    new_files = copy_tree(src, dst, preserve_symlinks=symlinks, dry_run=True)\r\n  File \"/home/mayank/anaconda/lib/python2.7/distutils/dir_util.py\", line 163, in copy_tree\r\n    verbose=verbose, dry_run=dry_run))\r\n  File \"/home/mayank/anaconda/lib/python2.7/distutils/dir_util.py\", line 163, in copy_tree\r\n    verbose=verbose, dry_run=dry_run))\r\n  File \"/home/mayank/anaconda/lib/python2.7/distutils/dir_util.py\", line 167, in copy_tree\r\n    dry_run=dry_run)\r\n  File \"/home/mayank/anaconda/lib/python2.7/distutils/file_util.py\", line 110, in copy_file\r\n    \"can't copy '%s': doesn't exist or not a regular file\" % src)\r\ndistutils.errors.DistutilsFileError: can't copy '/home/mayank/.config/google-chrome/SingletonLock': doesn't exist or not a regular file\r\n\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/conda/conda-build/issues/comments/375662464","html_url":"https://github.com/conda/conda-build/issues/2778#issuecomment-375662464","issue_url":"https://api.github.com/repos/conda/conda-build/issues/2778","id":375662464,"user":{"login":"msarahan","id":38393,"avatar_url":"https://avatars3.githubusercontent.com/u/38393?v=4","gravatar_id":"","url":"https://api.github.com/users/msarahan","html_url":"https://github.com/msarahan","followers_url":"https://api.github.com/users/msarahan/followers","following_url":"https://api.github.com/users/msarahan/following{/other_user}","gists_url":"https://api.github.com/users/msarahan/gists{/gist_id}","starred_url":"https://api.github.com/users/msarahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msarahan/subscriptions","organizations_url":"https://api.github.com/users/msarahan/orgs","repos_url":"https://api.github.com/users/msarahan/repos","events_url":"https://api.github.com/users/msarahan/events{/privacy}","received_events_url":"https://api.github.com/users/msarahan/received_events","type":"User","site_admin":false},"created_at":"2018-03-23T13:20:13Z","updated_at":"2018-03-23T13:20:13Z","author_association":"CONTRIBUTOR","body":"Please post your recipe and the rest of the information requested by the issue template."}}
{"actor":{"display_login":"msarahan"}}