Open jiriproX opened 1 year ago
The problems comes from a dependency that has a file with a whitespace
We can fix this by bumping the dependency, but I think it would be cleaner to simplify the build rule by removing the $(GOFILES)
dependency from the rule.
I know, I've proposed fix there. It is merged but they do not have official version tag with this fix yet. Yes, if that dependency is not needed any longer for sriov-cni then the removal will be better. When this fix will be ready? When can we expect new version with recent fixes?
@SchSeba @zeeke When is planned new version release? I would need fix for this issue in it.
I think this will not be an easy fix, as github.com/blizzy78/varnamelen v0.8.0
dependency is used by golangci-lint, which sticks to v0.8.0.
We need to refactor the build mechanism a bit. You can raise this at the next Community Meeting to discuss this in details.
Can you please fix this issue by removing that dependency as proposed above? We are still waiting for the fix.
@zeeke Can you plase take this issue and resolve it?
When you run make second time then it fails: make Running gofmt... Running golangci-lint... make: *** No rule to make target '.gopath/pkg/mod/github.com/blizzy78/varnamelen@v0.8.0/testdata/src/falsenegativechanrecv/chanrecv', needed by '/opt/cek/sriov-cni/build/sriov'. Stop.
What did you expect to happen?
It should pass
What are the minimal steps needed to reproduce the bug?
Run make and then run make again.
Anything else we need to know?
Issue is already fixed on upstream component https://github.com/blizzy78/varnamelen/pull/26
Component Versions