{"action":"created","issue":{"url":"https://api.github.com/repos/actionless/pikaur/issues/164","repository_url":"https://api.github.com/repos/actionless/pikaur","labels_url":"https://api.github.com/repos/actionless/pikaur/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/actionless/pikaur/issues/164/comments","events_url":"https://api.github.com/repos/actionless/pikaur/issues/164/events","html_url":"https://github.com/actionless/pikaur/issues/164","id":321289733,"number":164,"title":"FileExistsError: [Errno 17]","user":{"login":"ckotte","id":8488565,"avatar_url":"https://avatars3.githubusercontent.com/u/8488565?v=4","gravatar_id":"","url":"https://api.github.com/users/ckotte","html_url":"https://github.com/ckotte","followers_url":"https://api.github.com/users/ckotte/followers","following_url":"https://api.github.com/users/ckotte/following{/other_user}","gists_url":"https://api.github.com/users/ckotte/gists{/gist_id}","starred_url":"https://api.github.com/users/ckotte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckotte/subscriptions","organizations_url":"https://api.github.com/users/ckotte/orgs","repos_url":"https://api.github.com/users/ckotte/repos","events_url":"https://api.github.com/users/ckotte/events{/privacy}","received_events_url":"https://api.github.com/users/ckotte/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-08T18:08:13Z","updated_at":"2018-05-09T08:06:40Z","closed_at":null,"author_association":"NONE","body":"I get the above mentioned error and pikaur crashes if I use --keepbuild. It works if I delete the src directory, but it fails the next time. \r\n\r\nI want to avoid a git clone every time I want to do a system upgrade. --keepbuild is the right parameter for this, right? \r\n\r\n```\r\n# pikaur -Syu --devel --needed --keepbuild\r\n:: Synchronizing package databases...\r\n core is up to date\r\n extra is up to date\r\n community is up to date\r\n multilib is up to date\r\n:: Starting full AUR upgrade...\r\nReading local package database...\r\nReading repository package databases...\r\nReading AUR packages info...\r\n:: warning: Following packages cannot be found in AUR:\r\n    js    \r\n    libcloudproviders    \r\nResolving AUR dependencies...\r\n\r\n:: AUR packages will be installed:\r\n gnome-shell-extension-caffeine-git    r148.d7bc1ab-1      -> devel (108 days old)\r\n gnome-shell-extension-shelltile-git   0+39+gd221a6d-1     -> devel (49 days old)\r\n gnome-shell-extension-weather-git     1:r589.ea2d56a-1    -> devel (18 days old)\r\n gtk-arc-flatabulous-theme-git         20180201.r5.g96fb133-1 -> devel (36 days old)\r\n macchiato-git                         20170604-1          -> devel (44 days old)\r\n materia-theme-git                     r668.df19037-1      -> devel (18 days old)\r\n numix-circle-arc-icons-git            9.3-1               -> devel (143 days old)\r\n numix-circle-icon-theme-git           0.r23.be25c10-1     -> devel (30 days old)\r\n numix-icon-theme-git                  0.r1976.763489fcf-1 -> devel (30 days old)\r\n pikaur-git                            0.10.1+47+gd2452f9-1 -> devel\r\n powerstat-git                         0.02.15.r0.gbb31d9f-1 -> devel (66 days old)\r\n rhythmbox-plugin-alternative-toolbar-git 0.r357.1d3e263-1    -> devel (39 days old)\r\n wat-git                               r25.1302640-1       -> devel (106 days old)\r\n\r\n:: Proceed with installation? [Y/n] \r\n:: [v]iew package detail   [m]anually select packages\r\n>> y\r\nlooking for conflicting packages...\r\n:: Downloading the latest sources for a devel package wat-git...\r\n:: Downloading the latest sources for a devel package gnome-shell-extension-caffeine-git...\r\n:: Downloading the latest sources for a devel package gtk-arc-flatabulous-theme-git...\r\n:: Downloading the latest sources for a devel package macchiato-git...\r\n:: Downloading the latest sources for a devel package numix-circle-arc-icons-git...\r\n:: Downloading the latest sources for a devel package materia-theme-git...\r\n:: Downloading the latest sources for a devel package gnome-shell-extension-shelltile-git...\r\n:: Downloading the latest sources for a devel package pikaur-git...\r\n:: Downloading the latest sources for a devel package rhythmbox-plugin-alternative-toolbar-git...\r\n:: Downloading the latest sources for a devel package powerstat-git...\r\n:: Downloading the latest sources for a devel package numix-circle-icon-theme-git...\r\n:: Downloading the latest sources for a devel package gnome-shell-extension-weather-git...\r\n:: Downloading the latest sources for a devel package numix-icon-theme-git...\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/pikaur\", line 8, in <module>\r\n    main()\r\n  File \"/usr/lib/python3.6/site-packages/pikaur/main.py\", line 289, in main\r\n    cli_entry_point()\r\n  File \"/usr/lib/python3.6/site-packages/pikaur/main.py\", line 212, in cli_entry_point\r\n    cli_upgrade_packages(args)\r\n  File \"/usr/lib/python3.6/site-packages/pikaur/main.py\", line 123, in cli_upgrade_packages\r\n    packages=args.positional,\r\n  File \"/usr/lib/python3.6/site-packages/pikaur/main.py\", line 105, in cli_install_packages\r\n    InstallPackagesCLI(args=args, packages=packages)\r\n  File \"/usr/lib/python3.6/site-packages/pikaur/install_cli.py\", line 171, in __init__\r\n    self.install_packages()\r\n  File \"/usr/lib/python3.6/site-packages/pikaur/install_cli.py\", line 183, in install_packages\r\n    self.review_build_files()\r\n  File \"/usr/lib/python3.6/site-packages/pikaur/install_cli.py\", line 714, in review_build_files\r\n    self._preload_latest_sources()\r\n  File \"/usr/lib/python3.6/site-packages/pikaur/install_cli.py\", line 710, in _preload_latest_sources\r\n    thread.get()\r\n  File \"/usr/lib/python3.6/multiprocessing/pool.py\", line 644, in get\r\n    raise self._value\r\n  File \"/usr/lib/python3.6/multiprocessing/pool.py\", line 119, in worker\r\n    result = (True, func(*args, **kwds))\r\n  File \"/usr/lib/python3.6/site-packages/pikaur/build.py\", line 180, in version_already_installed\r\n    self.prepare_build_destination()\r\n  File \"/usr/lib/python3.6/site-packages/pikaur/build.py\", line 341, in prepare_build_destination\r\n    copy_tree(self.repo_path, self.build_dir)\r\n  File \"/usr/lib/python3.6/site-packages/pikaur/core.py\", line 229, in just_copy_damn_tree\r\n    copy_tree(from_path, to_path, preserve_symlinks=True)\r\n  File \"/usr/lib/python3.6/distutils/dir_util.py\", line 159, in copy_tree\r\n    verbose=verbose, dry_run=dry_run))\r\n  File \"/usr/lib/python3.6/distutils/dir_util.py\", line 159, in copy_tree\r\n    verbose=verbose, dry_run=dry_run))\r\n  File \"/usr/lib/python3.6/distutils/dir_util.py\", line 159, in copy_tree\r\n    verbose=verbose, dry_run=dry_run))\r\n  [Previous line repeated 1 more times]\r\n  File \"/usr/lib/python3.6/distutils/dir_util.py\", line 152, in copy_tree\r\n    os.symlink(link_dest, dst_name)\r\nFileExistsError: [Errno 17] File exists: 'nm-stage01-connecting01.svg' -> '/home/arch/.cache/pikaur/build/numix-icon-theme-git/src/numix-icon-theme/Numix-Light/16/animations/nm-stage02-connecting01.svg'\r\n```\r\n\r\n```\r\n# pikaur -Vq\r\nPikaur v0.10.1+47+gd2452f9\r\nPacman v5.0.2 - libalpm v10.0.2\r\n```"},"comment":{"url":"https://api.github.com/repos/actionless/pikaur/issues/comments/387657344","html_url":"https://github.com/actionless/pikaur/issues/164#issuecomment-387657344","issue_url":"https://api.github.com/repos/actionless/pikaur/issues/164","id":387657344,"user":{"login":"ckotte","id":8488565,"avatar_url":"https://avatars3.githubusercontent.com/u/8488565?v=4","gravatar_id":"","url":"https://api.github.com/users/ckotte","html_url":"https://github.com/ckotte","followers_url":"https://api.github.com/users/ckotte/followers","following_url":"https://api.github.com/users/ckotte/following{/other_user}","gists_url":"https://api.github.com/users/ckotte/gists{/gist_id}","starred_url":"https://api.github.com/users/ckotte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckotte/subscriptions","organizations_url":"https://api.github.com/users/ckotte/orgs","repos_url":"https://api.github.com/users/ckotte/repos","events_url":"https://api.github.com/users/ckotte/events{/privacy}","received_events_url":"https://api.github.com/users/ckotte/received_events","type":"User","site_admin":false},"created_at":"2018-05-09T08:06:40Z","updated_at":"2018-05-09T08:06:40Z","author_association":"NONE","body":"I still have the same error:\r\n```\r\n...\r\n  File \"/usr/lib/python3.6/site-packages/pikaur/core.py\", line 234, in just_copy_damn_tree\r\n    preserve_symlinks=True, update=True\r\n...\r\n```"}}
{"actor":{"display_login":"ckotte"}}