boramalper / magnetico

Autonomous (self-hosted) BitTorrent DHT search engine suite.
http://labs.boramalper.org/magnetico/
GNU Affero General Public License v3.0
3.06k stars 344 forks source link

magneticow build test failed #208

Closed elig0n closed 5 years ago

elig0n commented 5 years ago
go test ./...
# github.com/boramalper/magnetico/cmd/magneticow [github.com/boramalper/magnetico/cmd/magneticow.test]
cmd/magneticow/handlers.go:102:15: undefined: Asset
cmd/magneticow/main.go:196:15: undefined: Asset
ok      github.com/boramalper/magnetico/cmd/magneticod  (cached)
ok      github.com/boramalper/magnetico/cmd/magneticod/bittorrent/metadata      (cached)
?       github.com/boramalper/magnetico/cmd/magneticod/dht      [no test files]
ok      github.com/boramalper/magnetico/cmd/magneticod/dht/mainline     0.004s
FAIL    github.com/boramalper/magnetico/cmd/magneticow [build failed]
ok      github.com/boramalper/magnetico/pkg/persistence (cached)
?       github.com/boramalper/magnetico/pkg/util        [no test files]
make: *** [Makefile:29: test] Error 2
rnhmjoj commented 5 years ago

I figured the error is due to the fact the prerequisites of the all make target are out of order. test should be built last, after magneticow.

boramalper commented 5 years ago

Thanks for reporting! Travis build passed with the latest commit & version so I presume the issue no longer persists.

Closing this issue, but feel free to open new ones if the build breaks again.