[Kolab-devel] Fwd: [pkg-kolab] Bug#710568: libkolabxml: FTBFS on powerpc: corrupt php_kolabformat.h (race?)
Paul Klos
kolab at klos2day.nl
Tue Jun 11 00:17:44 CEST 2013
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?
Cheers,
Paul
---------- Doorgestuurd bericht ----------
Onderwerp: [pkg-kolab] Bug#710568: libkolabxml: FTBFS on powerpc: corrupt php_kolabformat.h (race?)
Datum: vrijdag 31 mei 2013, 18:42:37
Van: Aaron M. Ucko <ucko at debian.org>
Aan: Debian Bug Tracking System <submit at bugs.debian.org>
Source: libkolabxml
Version: 0.8.4-3
Severity: serious
Justification: fails to build from source
libkolabxml failed to build on powerpc with errors suggesting a race
between generating and using php_kolabformat.h:
/«PKGBUILDDIR»/obj-powerpc-linux-gnu/src/php/php_kolabformat.h:186:5: warning: null character(s) ignored [enabled by default]
[...]
/«PKGBUILDDIR»/obj-powerpc-linux-gnu/src/php/php_kolabformat.h:186:1: error: 'ZEND' does not name a type
I see you're using parallel make (-j6) here; turning it off might help.
Could you please take a look?
Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.kolab.org/pipermail/devel/attachments/20130611/d1b0202e/attachment.sig>
More information about the devel
mailing list