Bug#848063: +patch: ri-li FTBFS on single-CPU buildds

Markus Koschany apo at debian.org
Sun Feb 19 18:00:41 UTC 2017


Control: tags -1 pending

On 19.02.2017 18:18, Steve Cotton wrote:
> package ri-li
> tags 848063 +patch
> thanks
> 
[...]
> Hi,
> 
> The attached patch solves this with taskset, although I haven't tried with a
> real single-CPU'd buildd.
> 
> It's a one-liner at the start of a resource-generator tool that's only run
> during the build, and isn't included in the actual packages.  There are no
> calls to SDL_AddTimer, so I think there's no need for SDL_INIT_TIMER, and
> removing it avoids some interaction between SDL, xvfb and only having one CPU.
> 
> -  if( SDL_Init(SDL_INIT_VIDEO|SDL_INIT_TIMER|SDL_INIT_AUDIO|SDL_INIT_NOPARACHUTE) < 0 ) {
> +  if( SDL_Init(SDL_INIT_VIDEO|SDL_INIT_AUDIO|SDL_INIT_NOPARACHUTE) < 0 ) {
>      cerr <<"Impossible d'initialiser SDL:"<<SDL_GetError()<<endl;
>      exit(-1);
> 

Thank you for the patch. I will apply this one today. Please note that
this is simply a workaround for a limitation of Santiago's build
environment. This kind of error won't occur for the vast majority of the
package's target audience.

The claim that the build fails 99% all the time is wrong. If you try to
argue with mathematics you must take _all possible outcomes_ into
account not only the outcomes for your sample set. Then it becomes
obvious that this issue is negligible and definitely not release critical.

Markus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20170219/42baf21e/attachment.sig>


More information about the Pkg-games-devel mailing list