[keycloak-dev] Build on master broken?

Bill Burke bburke at redhat.com
Tue May 15 16:17:34 EDT 2018


Its my stuff commit.  I build on Fedora.  And the CI is Linux too.
This commit was a long time about like 6 weeks ago.  I'll try and
reproduce.

Mousetrap is a windows dependency yes, but it should build on Linux.
If you remove the mousetrap dependency in maven does it build?  I
think you can remove this now as mousetrap should be in vendor/
directory for kcinit.

On Tue, May 15, 2018 at 1:48 PM, Federico Michele Facca
<federico.facca at martel-innovate.com> wrote:
> not sure how to help, but i am not having the issue on MacOs x.
>
> On 15 May 2018 at 16:58, Bruno Oliveira <bruno at abstractj.org> wrote:
>
>> 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/681e3d751e003b563f26b4105313eb
>> 69cdbda2ea
>>
>> Am I doing something wrong or missing some step?
>>
>> --
>>
>> abstractj
>> _______________________________________________
>> keycloak-dev mailing list
>> keycloak-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>
>
>
>
> --
> *Dr. FEDERICO MICHELE FACCA*
> *Head of Martel Lab*
> 0041 78 807 58 38
> *Martel Innovate* <https://www.martel-innovate.com/>  -  Professional
> support for innovation projects
> Click to download our innovators' insights!
> <https://www.martel-innovate.com/premium-content/>
> Follow Us on Twitter <https://twitter.com/Martel_Innovate>
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev



-- 
Bill Burke
Red Hat


More information about the keycloak-dev mailing list