Mailinglist Archive: opensuse-buildservice (327 mails)

< Previous Next >
Re: [opensuse-buildservice] Re: [opensuse-buildservice] obs violates the debian policy §4.9.1
On 03/31/2011 08:48 PM, Stephan Kleine wrote:

@Peer: did you file a bug about that at cdbs upstream?


Yes I did file a bugreport, this is the reply:



When building cdbs on the opensuse buildservice (obs), cdbs fails. Obs uses parallel building by default.

I believe this can only happen if obs plays tricks to enforce parallel building - e.g. directly sets make option -j - which is unsupported.

Obs should follow Debian Policy §4.9.1 and only _request_ the use of parallel building with DEB_BUILD_OPTIONS=parallel=n.

I am therefore closing this as a non-bug. You are quite welcome to continue posting to this bugreport (closed does not mean closed for debate), to try convince us that this is in fact a bug in this package, not in your build environment.


A small verification with osc build -j 1 shows that once more, debian stuff just does not work properly in parallel builds...

...or it simply shows that obs is failing in its attempts to outsmart explicitly documented behaviour of Debian.


And what would the packager do to enable parallel builds ?
He would do some bash scripting in the rules file to get the # of parallel builds to from the DEB_BUILD_OPTIONS env variable and then calls make with the parsed argument which is butt ugly to say it politely.

This is butt ugly?:

DEB_BUILD_PARALLEL=yes

Please note that above deliberately was _not_ added to the CDBS packaging, because we - the package maintainers of CDBS - did not feel that "the package build times are long enough and the package build system is robust enough to make supporting parallel builds worthwhile" as it is phrased in Debian Policy §4.9.1.
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups