FS#67628 - [distcc] unable to build 3.3.3-
Attached to Project:
Community Packages
Opened by John (graysky) - Tuesday, 18 August 2020, 13:18 GMT
Last edited by Alexander F. Rødseth (xyproto) - Monday, 07 September 2020, 19:21 GMT
Opened by John (graysky) - Tuesday, 18 August 2020, 13:18 GMT
Last edited by Alexander F. Rødseth (xyproto) - Monday, 07 September 2020, 19:21 GMT
|
Details
I am unable to build 3.3.3-5 in a clean chroot. The error is
highlighted below, complete build log attached.
Short error: /build/distcc/src/distcc/include_server/c_extensions/distcc_pump_c_extensions_module.c: In function ‘XArgv’: /build/distcc/src/distcc/include_server/c_extensions/distcc_pump_c_extensions_module.c:214:13: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 214 | argv[i] = PyUnicode_AsUTF8(string_object); /* does not increase | ^ |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Monday, 07 September 2020, 19:21 GMT
Reason for closing: Fixed
Monday, 07 September 2020, 19:21 GMT
Reason for closing: Fixed
build.log
/usr/bin/ld: src/serve.o:(.bss+0x0): multiple definition of `stats_text'; src/prefork.o:(.bss+0x0): first defined here
/usr/bin/ld: src/stats.o:(.data.rel.local+0x0): multiple definition of `stats_text'; src/prefork.o:(.bss+0x0): first defined here
So adding -fcommon to CFLAGS may be all that's needed.
CFLAGS+=" -fcommon"
@xyproto - Might want to just do that and call it good.