{"action":"closed","issue":{"url":"https://api.github.com/repos/Alexpux/MSYS2-packages/issues/1518","repository_url":"https://api.github.com/repos/Alexpux/MSYS2-packages","labels_url":"https://api.github.com/repos/Alexpux/MSYS2-packages/issues/1518/labels{/name}","comments_url":"https://api.github.com/repos/Alexpux/MSYS2-packages/issues/1518/comments","events_url":"https://api.github.com/repos/Alexpux/MSYS2-packages/issues/1518/events","html_url":"https://github.com/Alexpux/MSYS2-packages/issues/1518","id":391103209,"node_id":"MDU6SXNzdWUzOTExMDMyMDk=","number":1518,"title":"[main-config.site] default definition of $as_echo missing","user":{"login":"jannick0","id":6295579,"node_id":"MDQ6VXNlcjYyOTU1Nzk=","avatar_url":"https://avatars0.githubusercontent.com/u/6295579?v=4","gravatar_id":"","url":"https://api.github.com/users/jannick0","html_url":"https://github.com/jannick0","followers_url":"https://api.github.com/users/jannick0/followers","following_url":"https://api.github.com/users/jannick0/following{/other_user}","gists_url":"https://api.github.com/users/jannick0/gists{/gist_id}","starred_url":"https://api.github.com/users/jannick0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jannick0/subscriptions","organizations_url":"https://api.github.com/users/jannick0/orgs","repos_url":"https://api.github.com/users/jannick0/repos","events_url":"https://api.github.com/users/jannick0/events{/privacy}","received_events_url":"https://api.github.com/users/jannick0/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-14T13:04:15Z","updated_at":"2018-12-15T17:31:32Z","closed_at":"2018-12-15T17:31:32Z","author_association":"CONTRIBUTOR","body":"Running `./configure` in a **freshly** opened MSYS2 shell fails with a very early  `command not found` error pointing to\r\nhttps://github.com/Alexpux/MSYS2-packages/blob/cd23b6339170712640e48ed23ee8cfb1b87c80ff/filesystem/main-config.site#L23\r\nand\r\nhttps://github.com/Alexpux/MSYS2-packages/blob/cd23b6339170712640e48ed23ee8cfb1b87c80ff/filesystem/main-config.site#L30\r\n\r\n- Remedy:  `export as_echo=echo` before calling `configure`. \r\n- Presumably the script assumes that `as_echo` is defined by `autoreconf` and friends which are usually called **before** `configure`. The issue emerges for packages shipping a `configure` script which could be tried first before calling, e.g., `autoreconf`. \r\n- Potential solution (untested): replace `$as_echo` by something like `${as_echo-echo}`?\r\n- NOTE: Same issue for MINGW32 and MINGW64 shells."}}
{"actor":{"display_login":"Alexpux"}}