Fwd: [pkg-kolab] Bug#710568: libkolabxml: FTBFS on powerpc: corrupt php_kolabformat.h (race?)

Paul Klos <[email protected]>
Newsgroups gmane.comp.kde.devel.kolab
Message-ID <9143176.YUyqWXn3AI__35656.210294883$1370902718$gmane$org@apollo>
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 <[email protected]>
Aan: Debian Bug Tracking System <[email protected]>

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!

_______________________________________________
Kolab-devel mailing list
[email protected]
https://www.intevation.de/mailman/listinfo/kolab-devel
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iQIcBAABCAAGBQJRtlCIAAoJEHtCjbaP5uC9zZMP/0qTrGt5+Z7cLqU4Nq+e3sd+
gH8zS4gJ6jJqyQCXUlCdsZyOErj6eqH81G15ej8mfhpceibT/wOmwCgzgsooKEGP
KegciPE+iCobdtxD4By8J73fZRwPT4I5r7hhDrXHwuiUeQbKKCO6lqTBopy2EptK
mvY7uPL7MXkRtkaIkm4F05GJQKhFv1GuBCWG+tUj0Kc1EzkXq0LwR+y+ZMcG1hgY
y6oGQlFzqSX6qg73ZPAYGHXiQsEQrB6yRQ/QN72ilXCvf2wAdlMnoTeZcF1GoM3G
uQLm6Gys1Lcv1+9Qh783FRAHO/5nSr5OnCb8CTEcSxSGiBYbITyF/528ht4QfzNn
59yM9FTzMUZHcp1JhszVhemU3L+3GLA/uYTAmBFcCt7n2fKgJYsrB7JEuitBUj+n
svl6tNU8bcEm7rqobwzOtoePBgknloSH8dVs2+i9GAtw2ubGcrxt1TVgGDYNfxaR
lGzs4/yei5UchzETooJkLdyt58C92qoXoC11SaI6D7o+o2lLpqalOguI25NnImz2
sNhhFfjeBlSJho2MnV0Azzy65sxYRI+5P9pIEOVpUMioshXDarAQqavRqUyURWCF
zqwWYJaR79sDLvYWU3/sjYa1BYzZ6yGrKGSD/IOc7Te3itoMwisDbKCZGKsBO/cD
6WwFY8rS+v/CsDvLZ+1+
=lJ9d
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.