[pkg-go] Bug#852959: Bug#852959: Bug#852959: prometheus FTBFS on armhf: github.com/prometheus/prometheus/storage/local fails

Jeffrey Walton noloader at gmail.com
Mon Jan 30 00:09:04 UTC 2017


> Sadly, it turns out armhf fails to build due to one test taking a bit
> too much memory[1], and there is an RC bug open for that: #852959[2].
>
> So now I don't know what to do, except asking for removal of prometheus
> from armhf.

As a stopgap, you might consider adding a small swapfile and setting
swapiness to a low value.

Nearly every ARM gadget I had was suffering OOM kills on two C++
libraries that made heavy use of templates. The swapfile and
swappiness avoided most of the build problems I was encountering.

The SD Cards are dirt cheap, so I don't care if they wear them out 15%
faster than normal. Its an easier problem to solve than daily broken
compiles.

Jeff



More information about the Pkg-go-maintainers mailing list