Skip to content

Conversation

jpc
Copy link

@jpc jpc commented Oct 31, 2023

The go install tool complains about the replace directive in go.mod:

# go install github.com/webdataset/tarp/tarp@latest
go: downloading github.com/webdataset/tarp v0.0.2
go: downloading github.com/webdataset/tarp/tarp v0.0.0-20221009163818-4aac5677b928
go: github.com/webdataset/tarp/tarp@latest (in github.com/webdataset/tarp/tarp@v0.0.0-20221009163818-4aac5677b928):
	The go.mod file for the module providing named packages contains one or
	more replace directives. It must not contain directives that would cause
	it to be interpreted differently than if it were the main module.

After removing the directive the tool compiles and installs successfully. You can try this here: go install github.com/collabora/tarp/tarp@latest

Unfortunately the dependency on C libraries libzmq and libsodium still make it a lot more difficult to install on random machines (in clusters, docker containers etc.) than the old tarproc but unfortunately that seems a lot more difficult to fix. :)

@jpc
Copy link
Author

jpc commented Jan 23, 2024

Hey, I think it would be nice to merge this to make the tool a bit easier to install for people?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant