• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

postmarketOS / pmbootstrap / 4250
79%

Build:
DEFAULT BRANCH: master
Ran 01 Mar 2018 08:15PM UTC
Jobs 1
Files 81
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
4250

push

travis-ci

web-flow
Always prefer native/device arch when building (#1277)

In case the user does not specify for which arch packages should be
built with `pmbootstrap build`, we detect it automatically.

Previous logic was, that if the APKBUILD's arch is "all" or "noarch",
then prefer the native arch, and otherwise use the first one in the
list of available arches.

New behavior is, that we also check if the list of possible arches
contains the native arch (and if that fails, the device arch). If that
is the case, we return the native/device arch instead of the first one
in the list.

### Use case

The arch from `gcc-armhf` and similar packages (as generated by
`pmbootstrap aportgen`) used to be "all", but is nowadays a specific
list of arches. This means, that after updating the `gcc-armhf` and
`gcc-aarch64` packages, and calling `pmbootstrap build gcc-armhf`,
it will try to build `gcc-armhf` for `aarch64` instead of the native
architecture, because that is the first one listed.
And since compiling to `aarch64` requires `gcc-aarch64`, it will build
that for the native architecture first.

So you're asking for `gcc-armhf` and it compiles `gcc-aarch64`, which
is very confusing (see #1272).

2962 of 3892 relevant lines covered (76.1%)

0.76 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
6
100.0
pmb/build/autodetect.py
Jobs
ID Job ID Ran Files Coverage
1 4250.1 01 Mar 2018 08:15PM UTC 0
76.1
Travis Job 4250.1
Source Files on build 4250
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4250
  • 0f159510 on github
  • Prev Build on master (#4238)
  • Next Build on master (#4272)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc