Skip to content

Luarocks uses wrong wget instead of curl in tarantool 1.10.4 #170

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
asnelzin opened this issue Jul 3, 2020 · 1 comment · Fixed by #177
Closed

Luarocks uses wrong wget instead of curl in tarantool 1.10.4 #170

asnelzin opened this issue Jul 3, 2020 · 1 comment · Fixed by #177
Labels
bug Something isn't working

Comments

@asnelzin
Copy link

asnelzin commented Jul 3, 2020

Seems like in dockerhub version of tarantool 1.10.4 luarocks uses broken/wrong version of wget, and this leads to the inability to install any lua package.

Following command dont work:
docker run -i tarantool/tarantool:1.10.4 luarocks install --verbose expirationd

Error:

Warning: Failed searching manifest: Failed fetching manifest for http://rocks.tarantool.org/ - Failed downloading http://rocks.tarantool.org/manifest - /root/.cache/luarocks/http___rocks.tarantool.org_/manifest
wget: unrecognized option: timestamping
BusyBox v1.29.3 (2019-01-24 07:45:07 UTC) multi-call binary.

Usage: wget [-c|--continue] [--spider] [-q|--quiet] [-O|--output-document FILE]
	[--header 'header: value'] [-Y|--proxy on/off] [-P DIR]
	[-S|--server-response] [-U|--user-agent AGENT] [-T SEC] URL...

Retrieve files via HTTP or FTP

	--spider	Only check URL existence: $? is 0 if exists
	-c		Continue retrieval of aborted transfer
	-q		Quiet
	-P DIR		Save to DIR (default .)
	-S    		Show server response
	-T SEC		Network read timeout is SEC seconds
	-O FILE		Save to FILE ('-' for stdout)
	-U STR		Use STR for User-Agent header
	-Y on/off	Use proxy
@Totktonada Totktonada added the bug Something isn't working label Jul 3, 2020
@avtikhon
Copy link

avtikhon commented Jul 7, 2020

Tarantool 1.10.4 failed to build on alpine 3.5, but successfully initially built on alpine 3.9. This image version was uploaded. Unfortunately wget from BusyBox in there changed too and doesn't support some old flags:

avtikhon added a commit that referenced this issue Jul 11, 2020
Found that default wget on alpine 3.9 is not workable with luarocks
tool. Package with wget and git tools need to be additionaly
installed there. Also for alpine 3.5 git tool need to be installed
with repository update before it.

Closes #170
avtikhon added a commit that referenced this issue Jul 16, 2020
Found that default wget on alpine 3.9 is not workable with luarocks
tool. Package with wget and git tools need to be additionaly
installed there. Also for alpine 3.5 git tool need to be installed
with repository update before it.

Closes #170
avtikhon added a commit that referenced this issue Aug 1, 2020
Alpine 3.5 had internal wget tool based on it's busybox. Found that
it was not workable with luacheck tool. The current fix changes wget
tool from busybox to wget from package. To install wget from the
package added git package installation. Also repository update added.

Part of #170
avtikhon added a commit that referenced this issue Aug 1, 2020
Alpine 3.9 had internal wget tool based on it's busybox. Found that
it was not workable with luacheck tool. The current fix changes wget
tool from busybox to wget from package. To install wget from the
package added git package installation. Also repository update added.

Closes #170
avtikhon added a commit that referenced this issue Aug 5, 2020
Alpine 3.5 had internal wget tool based on it's busybox. Found that
it was not workable with luacheck tool. The current fix changes wget
tool from busybox to wget from package. To install wget from the
package added git package installation. Also repository update added.

Part of #170
avtikhon added a commit that referenced this issue Aug 5, 2020
Alpine 3.9 had internal wget tool based on it's busybox. Found that
it was not workable with luacheck tool. The current fix changes wget
tool from busybox to wget from package. To install wget from the
package added git package installation. Also repository update added.

Closes #170
avtikhon added a commit that referenced this issue Aug 5, 2020
Alpine 3.5 had internal wget tool based on it's busybox. Found that
it was not workable with luacheck tool. The current fix changes wget
tool from busybox to wget from package. To install wget from the
package added git package installation. Also repository update added.

Part of #170
avtikhon added a commit that referenced this issue Aug 5, 2020
Alpine 3.9 had internal wget tool based on it's busybox. Found that
it was not workable with luacheck tool. The current fix changes wget
tool from busybox to wget from package. To install wget from the
package added git package installation. Also repository update added.

Closes #170
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants