[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#910560: [choose-mirror] fails to build when parallel build is activated



On 2018-10-08 12:42, John Paul Adrian Glaubitz wrote:
On 10/8/18 12:38 PM, Holger Wansing wrote:
Ok, so we have no package problem at all?

Well, it builds fine on the buildds and it also does not show build issues
on reproducible-builds.org:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/choose-mirror.html

Should that bug be reassigned to jenkins.debian.org then, to make jenkins
happy on that topic, too?
jenkins seems to not having parallel builds activated?
Should probably use similar settings as the buildds, to give comparable
results?

Controversial opinion: It should use sbuild instead of pbuilder. sbuild
is more actively maintained and more reliable in my experience. sbuild
is also what the buildds are using.

sbuild doesn't solve this particular problem either. You need to pass in DEB_BUILD_OPTIONS=parallel=n rather than setting --jobs. The latter is mapped to -j, which breaks (because it's put into MAKEFLAGS) and the former maps to -J.

Julien is right in that there is a bug here that's worth fixing but the default build environment which is incredibly hard to discover does not expose them.

Kind regards
Philipp Kern


Reply to: