Skip to content

Remote authorization required even for building locally #77

@pziggo

Description

@pziggo

I am trying to build a project locally that has a dependency on boost. While compiling the dependencies the build gets stuck at the configuring stage with the following last lines before it fails without a reasoning after a very long time:

[...]
Compiling "." for linux-cxx17
⏳ {iguring          conf}

After enabling verbose mode -vv, the reasoning becomes more obvious:

[tipi.build] provide_dependency for Boost
[tipi.build] retrieving https://github.com/boostorg/boost.git, rev: 32da69a36f84c5255af8a994951918c258bac601 
[tipi.build] attempting restore in /workspaces/vsomeip.b/a4d7881/bin/_deps/boost-src 
tipi needs your tipi.build account to work remotely, authorize this machine by visiting: 

         https://tipi.build/dashboard/tokens/validate?exchange=<ID>


         Pairing code : XXXXX

Expected behaviour
Since I was following the documentation to build locally, I would not expect tipi to build dependencies remotely or require authentication to a remote service. Also, the actual authentication request should not be hidden without enabling verbose output and timeout with no indication why.

Repro available here:
https://github.com/pziggo/vsomeip/tree/8fe616d0e239eb86f9731555e361ad15974c8ea1
https://github.com/pziggo/vsomeip/tree/9297983453c752adee6bdf98ca612ec27d0e0ecf

tipi version: v0.0.55

.tipi/deps:

{
   "u" : true,
    "boostorg/boost": { "@" : "boost-1.80.0", "u" : true }
}

tipi command: tipi -t linux-cxx17 .
tipi command:

export CMAKE_TIPI_PROVIDER_ENABLE=ON
tipi -t linux-cxx17 -u .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions