[Reproducible-builds] Bug#831028: cfengine3: FTBFS: FAIL: rlist_test [..] Segmentation fault
Chris Lamb
lamby at debian.org
Wed Jul 13 19:06:36 UTC 2016
Source: cfengine3
Version: 3.6.2-4
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
cfengine3 fails to build from source in unstable/amd64:
[..]
CC vercmp_internal.o
CC retcode.o
CCLD package_versions_compare_test
CC files_lib_test.o
files_lib_test.c: In function 'tests_setup':
files_lib_test.c:19:5: warning: ignoring return value of 'mkdtemp', declared with attribute warn_unused_result [-Wunused-result]
mkdtemp(CFWORKDIR);
^
files_lib_test.c: In function 'tests_teardown':
files_lib_test.c:29:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
system(cmd);
^
CCLD files_lib_test
CC file_lib_test-file_lib_test.o
CC file_lib_test-file_lib.o
CC file_lib_test-logging.o
CC file_lib_test-misc_lib.o
CC file_lib_test-string_lib.o
CC file_lib_test-sequence.o
CC file_lib_test-unix_dir.o
CC file_lib_test-writer.o
CCLD file_lib_test
CC map_test.o
CCLD map_test
CC parsemode_test.o
CCLD parsemode_test
CC parser_test.o
CCLD parser_test
CC policy_test.o
policy_test.c: In function 'LoadAndCheckString':
policy_test.c:48:5: warning: ignoring return value of 'mkstemp', declared with attribute warn_unused_result [-Wunused-result]
mkstemp(tmp);
^
policy_test.c: In function 'test_failsafe':
policy_test.c:71:5: warning: ignoring return value of 'mkstemp', declared with attribute warn_unused_result [-Wunused-result]
mkstemp(tmp);
^
CCLD policy_test
CC sort_test.o
CCLD sort_test
CC file_name_test.o
CCLD file_name_test
CC logging_test.o
CC syslog_client.o
CCLD logging_test
CC logging_timestamp_test.o
CCLD logging_timestamp_test
CC granules_test.o
CCLD granules_test
CC scope_test.o
CCLD scope_test
CC conversion_test.o
CC conversion.o
CCLD conversion_test
CC files_interfaces_test.o
files_interfaces_test.c: In function 'tests_setup':
files_interfaces_test.c:20:5: warning: ignoring return value of 'mkdtemp', declared with attribute warn_unused_result [-Wunused-result]
mkdtemp(CFWORKDIR);
^
files_interfaces_test.c: In function 'tests_teardown':
files_interfaces_test.c:30:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
system(cmd);
^
CCLD files_interfaces_test
CC refcount_test.o
CC refcount.o
CCLD refcount_test
CC list_test.o
CCLD list_test
CC cf_key_functions_test.o
CC cf-key-functions.o
CCLD cf_key_functions_test
CC connection_management_test.o
CC server_common.o
CC server_tls.o
CCLD connection_management_test
CC expand_test.o
CCLD expand_test
CC string_expressions_test.o
CCLD string_expressions_test
CC var_expressions_test.o
CCLD var_expressions_test
CC process_terminate_unix_test.o
CC process_unix.o
CCLD process_terminate_unix_test
CC exec-config-test.o
CC exec-config.o
CC execd-config.o
CCLD exec-config-test
CC generic_agent_test.o
CCLD generic_agent_test
CC syntax_test.o
CCLD syntax_test
CC sysinfo_test.o
CCLD sysinfo_test
CC ipaddress_test.o
CCLD ipaddress_test
CC hashes_test.o
CCLD hashes_test
hashes_test.o: In function `MakeTempFileWithContent':
/home/lamby/temp/cdt.20160713210310.k3xUGSLR3B.cfengine3/cfengine3-3.6.2/tests/unit/hashes_test.c:9: warning: the use of `tempnam' is dangerous, better use `mkstemp'
CC rb-tree-test.o
CCLD rb-tree-test
CC variable_test.o
CCLD variable_test
CC protocol_test.o
CC server.o
CC cf-serverd-enterprise-stubs.o
CC server_transform.o
CC cf-serverd-functions.o
CC server_access.o
CC strlist.o
CCLD protocol_test
CC mon_load_test.o
CC mon_load.o
CCLD mon_load_test
CC mon_processes_test.o
mon_processes_test.c: In function 'tests_setup':
mon_processes_test.c:12:5: warning: ignoring return value of 'mkdtemp', declared with attribute warn_unused_result [-Wunused-result]
mkdtemp(CFWORKDIR);
^
mon_processes_test.c: In function 'tests_teardown':
mon_processes_test.c:23:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
system(cmd);
^
CC mon_processes.o
CCLD mon_processes_test
CC mustache_test.o
CCLD mustache_test
CC class_test.o
CCLD class_test
CC version_test.o
CCLD version_test
CC hash_test.o
CCLD hash_test
CC key_test.o
CCLD key_test
CC cf_upgrade_test-cf_upgrade_test.o
CC cf_upgrade_test-alloc-mini.o
CC cf_upgrade_test-command_line.o
CC cf_upgrade_test-configuration.o
CC cf_upgrade_test-log.o
CC cf_upgrade_test-process.o
CC cf_upgrade_test-update.o
CCLD cf_upgrade_test
CC queue_test.o
CCLD queue_test
CC matching_test.o
CCLD matching_test
CC ring_buffer_test.o
CCLD ring_buffer_test
CC strlist_test.o
CCLD strlist_test
CC addr_lib_test.o
CCLD addr_lib_test
CC libcompat_test-libcompat_test.o
CCLD libcompat_test
CC enterprise_extension_test.o
CCLD enterprise_extension_test
CC linux_process_test.o
CC process_linux.o
CC file_lib.o
CCLD linux_process_test
CC tls_generic_test.o
tls_generic_test.c: In function 'create_temps':
tls_generic_test.c:607:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
int ret;
^
CCLD tls_generic_test
PASS: arg_split_test
PASS: assoc_test
PASS: atexit_test
PASS: csv_writer_test
PASS: item_test
../../test-driver: line 107: 720 Segmentation fault (core dumped) "$@" > $log_file 2>&1
FAIL: rlist_test
PASS: domainname_test
PASS: set_test
PASS: set_domainname_test
PASS: str_test
PASS: json_test
PASS: csv_parser_test
PASS: evalfunction_test
PASS: eval_context_test
PASS: regex_test
PASS: alloc_test
PASS: string_writer_test
PASS: file_writer_test
PASS: xml_writer_test
PASS: sequence_test
PASS: lastseen_test
PASS: lastseen_migration_test
PASS: changes_migration_test
PASS: db_test
PASS: db_concurrent_test
PASS: dbm_migration_bundles_test
PASS: misc_lib_test
PASS: item_lib_test
PASS: crypto_symmetric_test
PASS: persistent_lock_test
PASS: thread_test
PASS: package_versions_compare_test
PASS: files_lib_test
PASS: file_lib_test
PASS: map_test
PASS: parsemode_test
PASS: parser_test
PASS: policy_test
PASS: sort_test
PASS: file_name_test
PASS: logging_test
PASS: logging_timestamp_test
PASS: granules_test
PASS: scope_test
PASS: conversion_test
PASS: files_interfaces_test
PASS: refcount_test
PASS: list_test
PASS: cf_key_functions_test
PASS: connection_management_test
PASS: expand_test
PASS: string_expressions_test
PASS: var_expressions_test
PASS: process_terminate_unix_test
PASS: exec-config-test
PASS: generic_agent_test
PASS: syntax_test
PASS: sysinfo_test
PASS: ipaddress_test
PASS: hashes_test
PASS: rb-tree-test
PASS: variable_test
PASS: protocol_test
PASS: mon_load_test
PASS: mon_processes_test
PASS: mustache_test
PASS: class_test
PASS: version_test
PASS: hash_test
PASS: key_test
PASS: cf_upgrade_test
PASS: queue_test
PASS: matching_test
PASS: ring_buffer_test
PASS: strlist_test
PASS: addr_lib_test
PASS: libcompat_test
PASS: enterprise_extension_test
PASS: linux_process_test
PASS: tls_generic_test
PASS: dynamic_dependency_test.sh
=================================
: tests/unit/test-suite.log
=================================
# TOTAL: 81
# PASS: 80
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: rlist_test
================
Segmentation fault
FAIL rlist_test (exit status: 139)
============================================================================
Testsuite summary for
============================================================================
# TOTAL: 81
# PASS: 80
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/unit/test-suite.log
============================================================================
Makefile:3010: recipe for target 'test-suite.log' failed
make[6]: *** [test-suite.log] Error 1
Makefile:3116: recipe for target 'check-TESTS' failed
make[5]: *** [check-TESTS] Error 2
Makefile:3777: recipe for target 'check-am' failed
make[4]: *** [check-am] Error 2
Makefile:447: recipe for target 'check-recursive' failed
make[3]: *** [check-recursive] Error 1
Makefile:598: recipe for target 'check-recursive' failed
make[2]: *** [check-recursive] Error 1
Makefile:887: recipe for target 'check' failed
make[1]: *** [check] Error 2
make[1]: Leaving directory '/home/lamby/temp/cdt.20160713210310.k3xUGSLR3B.cfengine3/cfengine3-3.6.2'
dh_auto_test: make -j1 check VERBOSE=1 returned exit code 2
debian/rules:5: recipe for target 'build' failed
make: *** [build] Error 2
[..]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cfengine3.3.6.2-4.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 14839 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160713/27016bea/attachment.obj>
More information about the Reproducible-builds
mailing list