Skip to content

Arch Linux fails to build. Error: failed to get axum as a dependency of package goldboot v0.0.2 #243

@CaseyLabs

Description

@CaseyLabs

Also there is a typo in the Arch install instructions in the repo's README.

Terminal output:

❯  curl https://aur.archlinux.org/cgit/aur.git/snapshot/goldboot.tar.gz | tar xf -
tar: Archive is compressed. Use -z option
tar: Error is not recoverable: exiting now

❯  curl https://aur.archlinux.org/cgit/aur.git/snapshot/goldboot.tar.gz | tar zxf -
❯ cd goldboot 
❯ makepkg -si

==> Making package: goldboot 0.0.2-1 (Mon 21 Oct 2024 02:07:42 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...

resolving dependencies...
looking for conflicting packages...

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 rust-1:1.82.0-1.1-x86_64_v4                              66.3 MiB  26.2 MiB/s 00:03 [------------------------------------------------] 100%
(1/1) checking keys in keyring                                                       [------------------------------------------------] 100%
(1/1) checking package integrity                                                     [------------------------------------------------] 100%
(1/1) loading package files                                                          [------------------------------------------------] 100%
(1/1) checking for file conflicts                                                    [------------------------------------------------] 100%
:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots for the following configurations...
==> root: 364
:: Processing package changes...
(1/1) installing rust                                                                [------------------------------------------------] 100%
Optional dependencies for rust
    gdb: rust-gdb script
    lldb: rust-lldb script
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Performing snapper post snapshots for the following configurations...
==> root: 365
==> Retrieving sources...
  -> Downloading goldboot-0.0.2.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 4195k  100 4195k    0     0  6672k      0 --:--:-- --:--:-- --:--:-- 6681k
==> Validating source files with sha512sums...
    goldboot-0.0.2.tar.gz ... Skipped
==> Extracting sources...
  -> Extracting goldboot-0.0.2.tar.gz with bsdtar
==> Starting build()...
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2024-10-17, rust version 1.82.0 (f6e511eec 2024-10-15)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
info: installing component 'rust-std'
info: installing component 'rustc'
info: installing component 'rustfmt'
    Updating crates.io index

error: failed to get `axum` as a dependency of package `goldboot v0.0.2 (/home/user/tmp/goldboot/src/goldboot-0.0.2)`

Caused by:
  attempting to make an HTTP request, but --frozen was specified
==> ERROR: A failure occurred in build().
    Aborting...

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