Skip to content

alr get --build hello fails on a fresh install #1671

@reznikmm

Description

@reznikmm

Describe the bug
Alire tutorial suggests running alr get --build hello as a shorthand in "Getting Started" chapter, but alire fails.

To Reproduce
Steps to reproduce the behavior:

  1. install alr on a fresh machine/container
  2. alr get --build hello
  3. See error

Expected Behavior
Should work as a shorthand for alr get hello; alr -C hello* run.

alr version
2.0.1

alr logs

root@18741c784886:~# alr get --build hello
Cloning into '/root/.config/alire/indexes/community/repo'...
remote: Enumerating objects: 9982, done.
remote: Counting objects: 100% (36/36), done.
remote: Compressing objects: 100% (25/25), done.
remote: Total 9982 (delta 12), reused 17 (delta 6), pack-reused 9946
Receiving objects: 100% (9982/9982), 1.81 MiB | 1.46 MiB/s, done.
Resolving deltas: 100% (5405/5405), done.
ⓘ Deploying hello=1.0.2...                                               
Cloning into '/root/alr-rgec.tmp'...
remote: Enumerating objects: 34, done.
remote: Counting objects: 100% (10/10), done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 34 (delta 0), reused 10 (delta 0), pack-reused 24
Receiving objects: 100% (34/34), 5.44 KiB | 5.44 MiB/s, done.
Resolving deltas: 100% (5/5), done.
ⓘ Deploying libhello=1.0.1...
Cloning into '/root/.local/share/alire/releases/alr-ngqz.tmp'...
remote: Enumerating objects: 30, done.
remote: Counting objects: 100% (13/13), done.
remote: Compressing objects: 100% (13/13), done.
remote: Total 30 (delta 0), reused 12 (delta 0), pack-reused 17
Receiving objects: 100% (30/30), 5.20 KiB | 5.20 MiB/s, done.
Resolving deltas: 100% (3/3), done.
error: Unable to determine compiler version:                               
error:    Check that the workspace solution is complete and a compiler is available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions