element-hq / dendrite

Dendrite is a second-generation Matrix homeserver written in Go!
https://element-hq.github.io/dendrite/
GNU Affero General Public License v3.0
41 stars 7 forks source link

Build failed on Windows (logrus/syslog) #1980

Closed matrixbot closed 3 weeks ago

matrixbot commented 3 weeks ago

This issue was originally created by @NikitaPuzyryov at https://github.com/matrix-org/dendrite/issues/1980.

Background information

Description

The following error is thrown when trying to build Dendrite on Windows 10:

> go build .\cmd\dendrite-demo-pinecone
package github.com/matrix-org/dendrite/cmd/dendrite-demo-pinecone
        imports github.com/matrix-org/dendrite/appservice
        imports github.com/matrix-org/dendrite/appservice/api
        imports github.com/matrix-org/dendrite/userapi/storage/accounts
        imports github.com/matrix-org/dendrite/internal
        imports github.com/sirupsen/logrus/hooks/syslog: build constraints exclude all Go files in <snip>\go\pkg\mod\github.com\sirupsen\logrus@v1.8.1\hooks\syslog
matrixbot commented 3 weeks ago

This comment was originally posted by @alexfca at https://github.com/matrix-org/dendrite/issues/1980#issuecomment-912415829.

We received the same error when attempting to compile/run the latest (0.5.0) version on Windows as well. Just flagging so I am notified of any updates, and thanks @NikitaPuzyryov for logging