Skip to content

Error: Unable to find a built tarball for arm-linux-gnueabihf-glibc-headers #234

Open
@pfrenssen

Description

@pfrenssen

I'm getting an error when installing the arm-linux-gnueabihf-gcc package. The error indicates that the tarball cannot be found, but the tarball is in fact present in the build folder.

I can replicate this on a clean Arch install using vagrant, having only the base-devel, git and trizen packages installed:

$ gpg --keyserver pool.sks-keyservers.net --recv-keys 13975A70E63C361C73AE69EF6EEB81F8981C74C7 33C235A34C46AA3FFB293709A328C3A2C3C45C06 3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F 647F28654894E3BD457199BE38DBBDC86092693E 7273542B39962DF7B299931416792B4EA25340F8 86CFFCA918CF3AF47147588051E8B148A9999C34 ABAF11C65A2970B130ABE3C479BE3E4300411886 BC7C7372637EC10C57D7AA6579C43DFBF1CF2187 F3691687D867B81B51CE07D9BBE43771487328A9
$ trizen -S arm-linux-gnueabihf-gcc --noconfirm --clone-dir=/home/vagrant/trizen
...
:: Unable to find a built tarball for arm-linux-gnueabihf-glibc-headers
...
[vagrant@archlinux ~]$ ls -al /home/vagrant/trizen/arm-linux-gnueabihf-glibc-headers/arm-linux-gnueabihf-glibc-headers*
-rw-r--r-- 1 vagrant vagrant 491708 Nov 18 13:47 /home/vagrant/trizen/arm-linux-gnueabihf-glibc-headers/arm-linux-gnueabihf-glibc-headers-2.31-3.2-any.pkg.tar.zst

For some reason it seems that it cannot find the package in the build folder.

Here is the end of the output, there is also a warning Package contains reference to $srcdir but this doesn't seem to be relevant.

==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> WARNING: Package contains reference to $srcdir
usr/arm-linux-gnueabihf/lib/crt1.o
==> Creating package "arm-linux-gnueabihf-glibc-headers"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: arm-linux-gnueabihf-glibc-headers 2.31-3.2 (Wed 18 Nov 2020 01:47:46 PM UTC)
==> Cleaning up...
:: Unable to find a built tarball for arm-linux-gnueabihf-glibc-headers
:: Dependency not found: arm-linux-gnueabihf-glibc-headers
==> Making package: arm-linux-gnueabihf-gcc-stage2 10.1.0-1 (Wed 18 Nov 2020 01:47:48 PM UTC)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: arm-linux-gnueabihf-glibc-headers>=2.31-3
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> arm-linux-gnueabihf-glibc-headers>=2.31-3
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
:: Unable to build arm-linux-gnueabihf-gcc-stage2 - makepkg exited with code: 8
=>> Try again? [y/N]:  n
=>> Exit now? [Y/n]:  y

Note that replicating this takes a lot of time, GCC takes around 1 hour to compile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions