Skip to content

Remove external Linaro download & add Automake/Autotools to Docker image#11

Merged
quic-mtharu merged 1 commit intomainfrom
bug-fix
Jan 29, 2026
Merged

Remove external Linaro download & add Automake/Autotools to Docker image#11
quic-mtharu merged 1 commit intomainfrom
bug-fix

Conversation

@quic-mtharu
Copy link
Contributor

Summary

This PR simplifies and hardens our CI Docker image by:

  1. Removing the Linaro GCC 7.5 download/extract step (was using latest-7 and i686 host path,
    which is unstable and not needed).
  2. Installing Automake/Autotools (autoconf, automake, libtool, autoconf-archive, pkg-config)
    so autoreconf -fi and aclocal work for projects that use Autotools.

Why this change?

  • The Linaro URL is brittle (redirects/404s) and targeted the wrong host (i686). We already install
    Ubuntu’s cross toolchain (gcc-aarch64-linux-gnu, g++-aarch64-linux-gnu, libc6-dev-arm64-cross)
    which is sufficient for our aarch64 builds and far more reproducible.
  • Autotools are currently missing in the container, causing fastrpc-image-run ./gitcompile /
    autoreconf to fail with aclocal: command not found and missing config.guess/config.sub.

Impact & Benefits

  • Reliability: Eliminates an external network dependency and the recurring exit code 4 failures
    during wget/tar of the Linaro tarball.
  • Reproducibility: Uses distro toolchain packages instead of a mutable latest-7 URL.
  • Developer productivity: Autotools‑based projects now bootstrap cleanly (autoreconf -fi),
    unblocking PR CI without manual intervention.

Validation

  • Built the image locally/CI without the Linaro step; cross‑compiler from Ubuntu works as expected.
  • Verified Autotools flow: autoreconf -fi && ./configure --host=aarch64-linux-gnu && make
    runs successfully in the container.

…for autoreconf

- Drop the external Linaro GCC 7.5 fetch (unstable URL and wrong i686 host tuple).
  We already install Ubuntu’s cross toolchain (gcc-aarch64-linux-gnu, etc.),
  which is sufficient and more reproducible for our builds.
- Add Autotools (autoconf, automake, libtool, autoconf-archive, pkg-config)
  so projects using autoreconf/aclocal/bootstrap can build inside CI.
- This reduces build flakiness, removes a network dependency, and aligns the
  toolchain across PR and nightly builds.

Signed-off-by: Tharun Kumar Merugu <mtharu@qti.qualcomm.com>
@quic-mtharu quic-mtharu merged commit 99ba78e into main Jan 29, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant