FS#34668 - [packagekit] needs to use --disable-strict or fix alpm.patch
Attached to Project:
Community Packages
Opened by Kevin Mihelich (kmihelich) - Monday, 08 April 2013, 01:52 GMT
Last edited by Jonathan Conder (PirateJonno) - Tuesday, 09 April 2013, 09:54 GMT
Opened by Kevin Mihelich (kmihelich) - Monday, 08 April 2013, 01:52 GMT
Last edited by Jonathan Conder (PirateJonno) - Tuesday, 09 April 2013, 09:54 GMT
|
Details
Description: The build's configure needs to use
--disable-strict instead of --enable-strict, which enables
-Werror, or the alpm.patch file needs to be fixed.
The use of a return value in a void function is not allowed with -Werror, which turns warnings into errors, killing the build. Additional info: * package version: 0.7.6-6 * log files: CC libpk_backend_alpm_la-pk-backend-config.lo pk-backend-config.c: In function 'pk_backend_config_add_siglevel': pk-backend-config.c:491:2: error: 'return' with a value, in function returning void [-Werror] pk-backend-config.c:492:2: error: 'return' with a value, in function returning void [-Werror] pk-backend-config.c:493:2: error: 'return' with a value, in function returning void [-Werror] cc1: all warnings being treated as errors make[3]: *** [libpk_backend_alpm_la-pk-backend-config.lo] Error 1 Steps to reproduce: Build from a clean chroot. |
This task depends upon
g_return_val_if_fail (..., FALSE)
with
g_return_if_fail (...)
on lines 491-3 of pk-backend-config.c