Package: bind-dyndb-ldap Version: 8.0-4 Severity: normal User: [email protected] Usertags: ftbfs-gcc-6 gcc-6-nonnull
This package fails to build with GCC 6. GCC 6 has not been released yet, but will probably come out this week. You can find GCC 6 in unstable (gcc-6). To build with GCC 6, you can set CC=gcc-6 CXX=g++-6 explicitly. You may be able to find out more about this issue at https://gcc.gnu.org/gcc-6/changes.html > sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux ... > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -Wdate-time > -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -Wno-error=date-time -std=gnu99 -O2 > -I/usr/include -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -D_GNU_SOURCE -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -fvisibility=hidden -c ../../src/zone_register.c > -fPIC -DPIC -o .libs/ldap_la-zone_register.o > ../../src/krb5_helper.c: In function 'get_krb5_tgt': > ../../src/krb5_helper.c:103:5: error: nonnull argument 'keyfile' compared to > NULL [-Werror=nonnull-compare] > if (keyfile == NULL || keyfile[0] == '\0') { > ^ > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -Wdate-time > -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -Wno-error=date-time -std=gnu99 -O2 > -I/usr/include -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -D_GNU_SOURCE -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -fvisibility=hidden -c ../../src/acl.c -fPIC -DPIC > -o .libs/ldap_la-acl.o > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -Wdate-time > -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -Wno-error=date-time -std=gnu99 -O2 > -I/usr/include -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -D_GNU_SOURCE -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -fvisibility=hidden -c ../../src/metadb.c -fPIC > -DPIC -o .libs/ldap_la-metadb.o > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -Wdate-time > -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -Wno-error=date-time -std=gnu99 -O2 > -I/usr/include -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -D_GNU_SOURCE -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -fvisibility=hidden -c ../../src/ldap_entry.c -fPIC > -DPIC -o .libs/ldap_la-ldap_entry.o > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -Wdate-time > -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -Wno-error=date-time -std=gnu99 -O2 > -I/usr/include -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -D_GNU_SOURCE -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -fvisibility=hidden -c ../../src/settings.c -fPIC > -DPIC -o .libs/ldap_la-settings.o > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -Wdate-time > -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -Wno-error=date-time -std=gnu99 -O2 > -I/usr/include -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -D_GNU_SOURCE -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -fvisibility=hidden -c ../../src/zone.c -fPIC -DPIC > -o .libs/ldap_la-zone.o > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -Wdate-time > -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -Wno-error=date-time -std=gnu99 -O2 > -I/usr/include -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -D_GNU_SOURCE -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -fvisibility=hidden -c ../../src/str.c -fPIC -DPIC > -o .libs/ldap_la-str.o > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -Wdate-time > -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -Wno-error=date-time -std=gnu99 -O2 > -I/usr/include -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -D_GNU_SOURCE -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -fvisibility=hidden -c ../../src/mldap.c -fPIC -DPIC > -o .libs/ldap_la-mldap.o > ../../src/fwd_register.c: In function 'fwdr_destroy': > ../../src/fwd_register.c:57:5: error: nonnull argument 'fwdrp' compared to > NULL [-Werror=nonnull-compare] > if (fwdrp == NULL || *fwdrp == NULL) > ^ > ../../src/zone_manager.c: In function 'initialize_manager': > ../../src/zone_manager.c:52:29: warning: macro "__TIME__" might prevent > reproducible builds [-Wdate-time] > ", compiler " __VERSION__); > ^ > ../../src/zone_manager.c:52:29: warning: macro "__DATE__" might prevent > reproducible builds [-Wdate-time] > cc1: all warnings being treated as errors > Makefile:534: recipe for target 'ldap_la-krb5_helper.lo' failed > make[3]: *** [ldap_la-krb5_helper.lo] Error 1 > make[3]: *** Waiting for unfinished jobs.... > ../../src/acl.c: In function 'acl_configure_zone_ssutable': > ../../src/acl.c:405:5: error: nonnull argument 'policy_str' compared to NULL > [-Werror=nonnull-compare] > if (policy_str == NULL) > ^ > ../../src/semaphore.c: In function 'semaphore_destroy': > ../../src/semaphore.c:62:5: error: nonnull argument 'sem' compared to NULL > [-Werror=nonnull-compare] > if (sem == NULL) > ^ > ../../src/ldap_entry.c: In function 'ldap_entry_parseclass': > ../../src/ldap_entry.c:454:5: error: nonnull argument 'class' compared to > NULL [-Werror=nonnull-compare] > if (class == LDAP_ENTRYCLASS_NONE) { > ^ > ../../src/zone_register.c: In function 'zr_destroy': > ../../src/zone_register.c:151:5: error: nonnull argument 'zrp' compared to > NULL [-Werror=nonnull-compare] > if (zrp == NULL || *zrp == NULL) > ^ > ../../src/zone_register.c: In function 'zr_get_zone_ptr': > ../../src/zone_register.c:528:6: error: nonnull argument 'rawp' compared to > NULL [-Werror=nonnull-compare] > if (rawp != NULL) > ^ > In file included from /usr/include/isc/list.h:23:0, > from /usr/include/isc/types.h:41, > from /usr/include/isc/result.h:26, > from /usr/include/isc/mutex.h:29, > from /usr/include/isc/mem.h:27, > from ../../src/zone_register.c:5: > ../../src/zone_register.c:520:15: error: nonnull argument 'rawp' compared to > NULL [-Werror=nonnull-compare] > REQUIRE(rawp != NULL || securep != NULL); > ^ > ../../src/settings.c: In function 'settings_set_free': > ../../src/settings.c:528:5: error: nonnull argument 'set' compared to NULL > [-Werror=nonnull-compare] > if (set == NULL || *set == NULL) > ^ > cc1: all warnings being treated as errors > Makefile:520: recipe for target 'ldap_la-fwd_register.lo' failed > make[3]: *** [ldap_la-fwd_register.lo] Error 1 > ../../src/str.c: In function 'str__destroy': > ../../src/str.c:156:5: error: nonnull argument 'str' compared to NULL > [-Werror=nonnull-compare] > if (str == NULL || *str == NULL) > ^ > ../../src/str.c: In function 'str_init_char': > ../../src/str.c:219:5: error: nonnull argument 'src' compared to NULL > [-Werror=nonnull-compare] > if (src == NULL) > ^ > ../../src/str.c: In function 'str_cat_char': > ../../src/str.c:247:5: error: nonnull argument 'src' compared to NULL > [-Werror=nonnull-compare] > if (src == NULL) > ^ ... -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

