[keycloak-dev] Build on master broken?

Bruno Oliveira bruno at abstractj.org
Tue May 15 10:58:34 EDT 2018


Good morning, it's just me or the build on master is broken? I'm trying
to do something really simple, build Keycloak on Linux in new machine
and I'm getting:

[10:10 AM] Bruno Oliveira da Silva: [INFO] Prepared command line : bin/go get github.com/inconshreveable/mousetrap
[ERROR]
[ERROR] ---------Exec.Err---------
[ERROR] package github.com/inconshreveable/mousetrap
[ERROR]         imports runtime
[ERROR]         imports runtime/internal/sys: cannot find package "runtime/internal/sys" in any of:
[ERROR]         /home/abstractj/.mvnGoLang/go1.9.2.linux-amd64/src/vendor/runtime/internal/sys (vendor tree)
[ERROR]         /home/abstractj/.mvnGoLang/go1.9.2.linux-amd64/src/runtime/internal/sys (from $GOROOT)
[ERROR]         /home/abstractj/github/keycloak/testsuite/integration-arquillian/tests/base/target/gopath/src/runtime/internal/sys (from $GOPATH)
[ERROR]         /home/abstractj/github/keycloak/testsuite/integration-arquillian/tests/base/src/main/java/src/runtime/internal/sys
[ERROR]

It looks like mousetrap is a Windows specific dependency, so I believe
we don't need this to be installed on Linux machines.

Steps to reproduce:

1. rm -rf ~/.m2/repository/ or just mv :)
2. git clone git at github.com:keycloak/keycloak.git
3. mvn clean install -DskipTests=true

Also looks like the following commit introduced the issue: 
https://github.com/keycloak/keycloak/commit/681e3d751e003b563f26b4105313eb69cdbda2ea

Am I doing something wrong or missing some step?

-- 

abstractj


More information about the keycloak-dev mailing list