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
signature.asc
Description: OpenPGP digital signature