{"action":"created","issue":{"url":"https://api.github.com/repos/restic/restic/issues/2061","repository_url":"https://api.github.com/repos/restic/restic","labels_url":"https://api.github.com/repos/restic/restic/issues/2061/labels{/name}","comments_url":"https://api.github.com/repos/restic/restic/issues/2061/comments","events_url":"https://api.github.com/repos/restic/restic/issues/2061/events","html_url":"https://github.com/restic/restic/issues/2061","id":373881869,"node_id":"MDU6SXNzdWUzNzM4ODE4Njk=","number":2061,"title":"0.9.3 not reproducible anymore","user":{"login":"legrostdg","id":372337,"node_id":"MDQ6VXNlcjM3MjMzNw==","avatar_url":"https://avatars3.githubusercontent.com/u/372337?v=4","gravatar_id":"","url":"https://api.github.com/users/legrostdg","html_url":"https://github.com/legrostdg","followers_url":"https://api.github.com/users/legrostdg/followers","following_url":"https://api.github.com/users/legrostdg/following{/other_user}","gists_url":"https://api.github.com/users/legrostdg/gists{/gist_id}","starred_url":"https://api.github.com/users/legrostdg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/legrostdg/subscriptions","organizations_url":"https://api.github.com/users/legrostdg/orgs","repos_url":"https://api.github.com/users/legrostdg/repos","events_url":"https://api.github.com/users/legrostdg/events{/privacy}","received_events_url":"https://api.github.com/users/legrostdg/received_events","type":"User","site_admin":false},"labels":[{"id":211405554,"node_id":"MDU6TGFiZWwyMTE0MDU1NTQ=","url":"https://api.github.com/repos/restic/restic/labels/feedback%20needed","name":"feedback needed","color":"cc317c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-25T10:36:03Z","updated_at":"2018-10-25T11:01:52Z","closed_at":null,"author_association":"NONE","body":"<!--\r\n\r\nWelcome! - We kindly ask that you:\r\n\r\n  1. Fill out the issue template below - not doing so needs a good reason.\r\n  2. Use the forum if you have a question rather than a bug or feature request.\r\n\r\nThe forum is at: https://forum.restic.net\r\n\r\nNOTE: Not filling out the issue template needs a good reason, as otherwise it\r\nmay take a lot longer to find the problem, not to mention it can take up a lot\r\nmore time which can otherwise be spent on development. Please also take the\r\ntime to help us debug the issue by collecting relevant information, even if\r\nit doesn't seem to be relevant to you. Thanks!\r\n\r\nThe forum is a better place for questions about restic or general suggestions\r\nand topics, e.g. usage or documentation questions! This issue tracker is mainly\r\nfor tracking bugs and feature requests directly relating to the development of\r\nthe software itself, rather than the project.\r\n\r\nThanks for understanding, and for contributing to the project!\r\n\r\n-->\r\n\r\n\r\nOutput of `restic version`\r\n--------------------------\r\n\r\nrestic 0.9.3 compiled with go1.10.4 on linux/amd64\r\n\r\n\r\nHow did you run restic exactly?\r\n-------------------------------\r\n\r\nAutomatic Debian reproducibility checking.\r\n<!--\r\nThis section should include at least:\r\n\r\n * The complete command line and any environment variables you used to\r\n   configure restic's backend access. Make sure to replace sensitive values!\r\n\r\n * The output of the commands, what restic prints gives may give us much\r\n   information to diagnose the problem!\r\n-->\r\n\r\nWhat backend/server/service did you use to store the repository?\r\n----------------------------------------------------------------\r\n\r\n\r\n\r\nExpected behavior\r\n-----------------\r\n\r\nBe reproducible, as 0.9.2 was.\r\n<!--\r\nDescribe what you'd like restic to do differently.\r\n-->\r\n\r\nActual behavior\r\n---------------\r\n\r\nhttps://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/restic.html\r\n<!--\r\nIn this section, please try to concentrate on observations, so only describe\r\nwhat you observed directly.\r\n-->\r\n\r\nSteps to reproduce the behavior\r\n-------------------------------\r\n\r\n<!--\r\nThe more time you spend describing an easy way to reproduce the behavior (if\r\nthis is possible), the easier it is for the project developers to fix it!\r\n-->\r\n\r\nDo you have any idea what may have caused this?\r\n-----------------------------------------------\r\n\r\nMaybe the change suggested in https://github.com/restic/restic/issues/1958#issuecomment-413972449 ? Maybe some other thing?\r\n\r\nDo you have an idea how to solve the issue?\r\n-------------------------------------------\r\n\r\n\r\n\r\nDid restic help you or made you happy in any way?\r\n-------------------------------------------------\r\n\r\n<!--\r\nAnswering this question is not required, but if you have anything positive to share, please do so here!\r\nSometimes we get tired of reading bug reports all day and a little positive end note does wonders.\r\nIdea by Joey Hess, https://joeyh.name/blog/entry/two_holiday_stories/\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/restic/restic/issues/comments/433007931","html_url":"https://github.com/restic/restic/issues/2061#issuecomment-433007931","issue_url":"https://api.github.com/repos/restic/restic/issues/2061","id":433007931,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzAwNzkzMQ==","user":{"login":"fd0","id":123276,"node_id":"MDQ6VXNlcjEyMzI3Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/123276?v=4","gravatar_id":"","url":"https://api.github.com/users/fd0","html_url":"https://github.com/fd0","followers_url":"https://api.github.com/users/fd0/followers","following_url":"https://api.github.com/users/fd0/following{/other_user}","gists_url":"https://api.github.com/users/fd0/gists{/gist_id}","starred_url":"https://api.github.com/users/fd0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fd0/subscriptions","organizations_url":"https://api.github.com/users/fd0/orgs","repos_url":"https://api.github.com/users/fd0/repos","events_url":"https://api.github.com/users/fd0/events{/privacy}","received_events_url":"https://api.github.com/users/fd0/received_events","type":"User","site_admin":false},"created_at":"2018-10-25T11:01:52Z","updated_at":"2018-10-25T11:01:52Z","author_association":"MEMBER","body":"Ah, it looks like the Debian Go build system runs into an issue I discovered earlier this year, restic is build this way:\r\n```\r\ncd obj-x86_64-linux-gnu && go install -gcflags=\\\"-trimpath=/build/1st/restic-0.9.3\\+ds/obj-x86_64-linux-gnu/src\\\" -asmflags=\\\"-trimpath=/build/1st/restic-0.9.3\\+ds/obj-x86_64-linux-gnu/src\\\" -v -p 15 -ldflags \"-X \\\"main.version=0.9.3\\\"\" github.com/restic/restic/cmd/restic\r\n```\r\n\r\nSo the scripts are trying to strip the build path via `-trimpath=/build/1st/restic-0.9.3+ds[...]`. This does not work reliably with Go 1.10, it would need to pass `-trimpath=all=/build/1st/restic-0.9.3+ds[...]` (mind the `all=`).\r\n\r\nThis will break again in Go 1.11 (see https://github.com/golang/go/issues/28008). For the binaries I'm uploading to GitHub, we're now using a fixed path for the source code (`/restic`) and dropped the `-trimpath` entirely."}}
{"actor":{"display_login":"fd0"}}