{"action":"created","issue":{"url":"https://api.github.com/repos/rear/rear/issues/1723","repository_url":"https://api.github.com/repos/rear/rear","labels_url":"https://api.github.com/repos/rear/rear/issues/1723/labels{/name}","comments_url":"https://api.github.com/repos/rear/rear/issues/1723/comments","events_url":"https://api.github.com/repos/rear/rear/issues/1723/events","html_url":"https://github.com/rear/rear/issues/1723","id":293692679,"number":1723,"title":"BinCopyTo: command not found","user":{"login":"shellster","id":262451,"avatar_url":"https://avatars1.githubusercontent.com/u/262451?v=4","gravatar_id":"","url":"https://api.github.com/users/shellster","html_url":"https://github.com/shellster","followers_url":"https://api.github.com/users/shellster/followers","following_url":"https://api.github.com/users/shellster/following{/other_user}","gists_url":"https://api.github.com/users/shellster/gists{/gist_id}","starred_url":"https://api.github.com/users/shellster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shellster/subscriptions","organizations_url":"https://api.github.com/users/shellster/orgs","repos_url":"https://api.github.com/users/shellster/repos","events_url":"https://api.github.com/users/shellster/events{/privacy}","received_events_url":"https://api.github.com/users/shellster/received_events","type":"User","site_admin":false},"labels":[{"id":11990024,"url":"https://api.github.com/repos/rear/rear/labels/support/question","name":"support/question","color":"88dd44","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-01T21:38:40Z","updated_at":"2018-02-06T11:10:05Z","closed_at":"2018-02-06T11:10:05Z","author_association":"NONE","body":"#### Relax-and-Recover (ReaR) Issue Template\r\n\r\nFill in the following items before submitting a new issue\r\n(quick response is not guaranteed with free support):\r\n\r\n* rear version (/usr/sbin/rear -V): `Relax-and-Recover 2.2-git.2688.3ad23a02.master.changed / 2017-12-19`\r\n\r\n* OS version (cat /etc/rear/os.conf or lsb_release -a): `Debian GNU/Linux 9.3 (stretch)`\r\n\r\n* rear configuration files (cat /etc/rear/site.conf or cat /etc/rear/local.conf):\r\n```\r\nOUTPUT=ISO\r\nBACKUP=NETFS\r\nBACKUP_URL=cifs://<redacted ip>/<redacted folder>\r\nBACKUP_OPTIONS=\"cred=/etc/rear/.cifs\"\r\n```\r\n\r\n* Are you using legacy BIOS or UEFI boot? `Legacy`\r\n\r\n* Brief description of the issue:\r\n`Every time I run \"rear mkbackup\" it fails.  When I look at the log this is the error:`\r\n\r\n```\r\n/usr/share/rear/build/GNU/Linux/39_copy_binaries_libraries.sh: line 35: BinCopyTo: command not found\r\n2018-02-01 13:31:53.595901730 ERROR: Could not copy binaries\r\n==== Stack trace ====\r\nTrace 0: /usr/sbin/rear:543 main\r\nTrace 1: /usr/share/rear/lib/mkbackup-workflow.sh:15 WORKFLOW_mkbackup\r\nTrace 2: /usr/share/rear/lib/framework-functions.sh:101 SourceStage\r\nTrace 3: /usr/share/rear/lib/framework-functions.sh:49 Source\r\nTrace 4: /usr/share/rear/build/GNU/Linux/39_copy_binaries_libraries.sh:36 source\r\nTrace 5: /usr/share/rear/lib/_input-output-functions.sh:251 StopIfError\r\nMessage: Could not copy binaries\r\n== End stack trace ==\r\n2018-02-01 13:31:53.620024402 Running exit tasks.\r\n2018-02-01 13:31:53.628693199 Finished in 38 seconds\r\n2018-02-01 13:31:53.634492385 Removing build area /tmp/rear.bYjK4ddPCxlVb9R\r\n2018-02-01 13:31:54.013124197 End of program reached\r\n```\r\n\r\n* Work-around, if any:\r\n`I searched for \"BinCopyTo\" but I can't find any reference to it anywhere except in the file mentioned in the error message.  I've pulled the latest version of rear from  the Debian repo.  I'm fairly linux savvy, so I'm happy to provide additional info or try things, if helpful.`"},"comment":{"url":"https://api.github.com/repos/rear/rear/issues/comments/363390383","html_url":"https://github.com/rear/rear/issues/1723#issuecomment-363390383","issue_url":"https://api.github.com/repos/rear/rear/issues/1723","id":363390383,"user":{"login":"jsmeix","id":1788608,"avatar_url":"https://avatars0.githubusercontent.com/u/1788608?v=4","gravatar_id":"","url":"https://api.github.com/users/jsmeix","html_url":"https://github.com/jsmeix","followers_url":"https://api.github.com/users/jsmeix/followers","following_url":"https://api.github.com/users/jsmeix/following{/other_user}","gists_url":"https://api.github.com/users/jsmeix/gists{/gist_id}","starred_url":"https://api.github.com/users/jsmeix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsmeix/subscriptions","organizations_url":"https://api.github.com/users/jsmeix/orgs","repos_url":"https://api.github.com/users/jsmeix/repos","events_url":"https://api.github.com/users/jsmeix/events{/privacy}","received_events_url":"https://api.github.com/users/jsmeix/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T11:10:05Z","updated_at":"2018-02-06T11:10:05Z","author_association":"CONTRIBUTOR","body":"FWIW:\r\nThe special BinCopyTo() function in the global lib/linux-functions.sh was replaced\r\nby the specific copy_binaries() in build/GNU/Linux/390_copy_binaries_libraries.sh via\r\nhttps://github.com/rear/rear/commit/54f2c451acee47fbefb9a3ac87222866562dc7fc\r\n\r\nOf course a mix-up of old and new ReaR scripts fails in arbitrary ways.\r\n\r\n@gozora \r\nmany thanks for the analysis what the root cause of this issue is.\r\n"}}
{"actor":{"display_login":"jsmeix"}}