Re: Helmut Grohne 2018-10-03 <20181003191607.ga11...@alf.mars> > > make[2]: Leaving directory '/<<PKGBUILDDIR>>/examples' > > LD_LIBRARY_PATH=src examples/DealerPar > > Memory::GetPtr: 0 vs. 0 > > I got exactly this with sbuild in unstable/amd64 with a stretch kernel > on a haswell cpu. On another system (with less cores), I could not > reproduce it at all. Still I think that two independent submitters are > enough to call this a real ftbfs.
It is parsing the `free` output to probe available memory. The code is utterly wrong since free had been changed to output only two lines instead of three, so it looks at the amount of swap available. I haven't checked, but my guess is that on systems without swap, you'll get the above error. I tried using a more sensible mechanism via sysconf(), but I'm not sure yet which number is the correct one to use. (Probably _SC_PHYS_PAGES rather than _SC_AVPHYS_PAGES.) Christoph