Exclude i386 for Charm build recipes

Bug #2034473 reported by Haw Loeung
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

Hi,

Per build failure log[1], `charmcraft` doesn't support `i386`:

```
error: snap "charmcraft" is not available on stable for this architecture
       (i386) but exists on other architectures (amd64, arm64, armhf, ppc64el,
       s390x).
Install failed
```

Also, per build failure log[2], `charm-tools` doesn't support `s390x`:

```
Parts processing error: Error installing snap 'charm' from channel '2.x/stable'.
```

I think we should exclude these two architectures from charm builds.

[1]https://launchpadlibrarian.net/685614874/buildlog_charm_ubuntu_bionic_i386_content-cache_BUILDING.txt.gz
[2]https://launchpadlibrarian.net/685625973/buildlog_charm_ubuntu_focal_s390x_content-cache_BUILDING.txt.gz

Revision history for this message
Colin Watson (cjwatson) wrote :

i386 I can see (though IIRC it's kind of tricky to arrange neatly which is why we haven't), but I don't understand the logic that says we should drop s390x builds from all charm recipes just because the reactive machinery doesn't support it. If we were going to do that, wouldn't it be better to drop it only from reactive charms? (Though it may be kind of tricky to detect that reliably; I suppose we could check for layer.yaml or something.)

affects: lpci → launchpad
Revision history for this message
Haw Loeung (hloeung) wrote :

Oh yeah, totally forgot about `charm-tools` only being used to build reactive charms.

summary: - Exclude i386 and s390x for Charm build recipes
+ Exclude i386 for Charm build recipes
Changed in launchpad:
importance: Undecided → Low
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.