[Kolab-devel] Fwd: [pkg-kolab] Bug#710568: libkolabxml: FTBFS on powerpc: corrupt php_kolabformat.h (race?)
Jeroen van Meeuwen
vanmeeuwen at kolabsys.com
Tue Jun 11 16:54:36 CEST 2013
On Tuesday, June 11, 2013 12:17:44 AM Paul Klos wrote:
> After libkolabxml was uploaded to the Debian build server I got this error,
> a potential race condition when building for powerpc.
>
> Today I had a closer look at the cmake files for libkolabxml, and it seems
> possible that the building of the generated php bindings starts before the
> generation is complete, so this error may be plausible.
>
> The building does depend on the generated php_kolabformat_wrapper.cpp, but a
> header file php_kolabformat.h is also generated, and it is not listed as a
> dependency, only:
>
> add_custom_target(generate_php_bindings ALL DEPENDS
> ${KOLAB_SWIG_PHP_SOURCE_FILE})
>
> Is it possible that under circumstances this could indeed cause the building
> to go ahead before the header file is fully generated and cause the error
> below?
>
> If so, what would be a solution?
>
I reckon adding php_kolabformat.h as a dependency to the custom target of
"generate_php_bindings" would satisfy what is probably caused by a proverbial
"make -j$x", where $x > 1.
Kind regards,
Jeroen van Meeuwen
--
Systems Architect, Kolab Systems AG
e: vanmeeuwen at kolabsys.com
m: +44 74 2516 3817
w: http://www.kolabsys.com
pgp: 9342 BF08
More information about the devel
mailing list