• Bug#1065758: ldns: FTBFS on arm{el,hf}: ldns_wrapper.c:10137:16: error:

    From Sebastian Ramacher@21:1/5 to All on Sat Mar 9 21:20:01 2024
    Source: ldns
    Version: 1.8.3-1.1
    Severity: serious
    Tags: ftbfs
    Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: sramacher@debian.org

    https://buildd.debian.org/status/fetch.php?pkg=ldns&arch=armel&ver=1.8.3-1.1&stamp=1709861911&raw=0

    Deprecated command line option: -py3. Ignored, this option is no longer supported.
    ./libtool --tag=CC --quiet --mode=compile gcc -I. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/usr/share/dns/root.key\"" -DOPENSSL_API_COMPAT=10100 -fno-
    strict-aliasing -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I./
    include/ldns -I/usr/include/python3.11 -Wno-unused-variable -Wno-unused-parameter -Wno-missing-field-initializers -fno-strict-aliasing -c ../../contrib/python/ldns_wrapper.c -o ldns_wrapper.lo
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf_type2str’: ../../contrib/python/ldns_wrapper.c:10137:16: error: implicit declaration of function ‘SWIG_Python_str_AsChar’; did you mean ‘SWIG_Python_str_FromChar’? [-Werror=implicit-function-declaration]
    10137 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]);
    | ^~~~~~~~~~~~~~~~~~~~~~
    | SWIG_Python_str_FromChar ../../contrib/python/ldns_wrapper.c:10137:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    10137 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]);
    | ^
    ../../contrib/python/ldns_wrapper.c:10157:5: error: implicit declaration of function ‘SWIG_Python_str_DelForPy3’; did you mean ‘SWIG_Python_str_FromFormat’? [-Werror=implicit-function-declaration]
    10157 | SWIG_Python_str_DelForPy3(arg1_str); /* Is a empty macro for Python < 3. */
    | ^~~~~~~~~~~~~~~~~~~~~~~~~
    | SWIG_Python_str_FromFormat
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf_data_as_bytearray’:
    ../../contrib/python/ldns_wrapper.c:10183:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    10183 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_buffer_skip’: ../../contrib/python/ldns_wrapper.c:11857:43: warning: passing argument 2 of ‘SWIG_AsVal_long’ from incompatible pointer type [-Wincompatible-pointer-types]
    11857 | arg2_res = SWIG_AsVal_long(swig_obj[1], &arg2);
    | ^~~~~
    | |
    | ssize_t * {aka int *} ../../contrib/python/ldns_wrapper.c:3551:39: note: expected ‘long int *’ but argument is of type ‘ssize_t *’ {aka ‘int *’}
    3551 | SWIG_AsVal_long (PyObject *obj, long* val)
    | ~~~~~~^~~ ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_dnssec_get_rrsig_for_name_and_type’:
    ../../contrib/python/ldns_wrapper.c:13109:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    13109 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_dnssec_nsec3_closest_encloser’:
    ../../contrib/python/ldns_wrapper.c:13225:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    13225 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_dnssec_pkt_get_rrsigs_for_name_and_type’:
    ../../contrib/python/ldns_wrapper.c:13315:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    13315 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_dnssec_create_nsec3’:
    ../../contrib/python/ldns_wrapper.c:13622:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    13622 | arg3_str = SWIG_Python_str_AsChar(swig_obj[2]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_nsec3_hash_name’:
    ../../contrib/python/ldns_wrapper.c:13743:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    13743 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_create_nsec3’: ../../contrib/python/ldns_wrapper.c:13896:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    13896 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]);
    | ^
    ../../contrib/python/ldns_wrapper.c:13913:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    13913 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_nsec3_hash_name_frm_nsec3’:
    ../../contrib/python/ldns_wrapper.c:14225:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    14225 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_nsec_bitmap_covers_type’:
    ../../contrib/python/ldns_wrapper.c:14273:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    14273 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_nsec_covers_name’:
    ../../contrib/python/ldns_wrapper.c:14393:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    14393 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_fetch_valid_domain_keys’:
    ../../contrib/python/ldns_wrapper.c:16506:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    16506 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_fetch_valid_domain_keys_time’:
    ../../contrib/python/ldns_wrapper.c:16578:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    16578 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_validate_domain_dnskey’:
    ../../contrib/python/ldns_wrapper.c:16655:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    16655 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_validate_domain_dnskey_time’:
    ../../contrib/python/ldns_wrapper.c:16719:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    16719 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_validate_domain_ds’:
    ../../contrib/python/ldns_wrapper.c:16791:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    16791 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_validate_domain_ds_time’:
    ../../contrib/python/ldns_wrapper.c:16855:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    16855 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_get_rr_list_addr_by_name’:
    ../../contrib/python/ldns_wrapper.c:18940:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    18940 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_get_rr_list_name_by_addr’:
    ../../contrib/python/ldns_wrapper.c:19009:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    19009 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_getaddrinfo’: ../../contrib/python/ldns_wrapper.c:19179:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    19179 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_a’:
    ../../contrib/python/ldns_wrapper.c:20162:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    20162 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_aaaa’:
    ../../contrib/python/ldns_wrapper.c:20215:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    20215 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_str’:
    ../../contrib/python/ldns_wrapper.c:20268:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    20268 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_b64’:
    ../../contrib/python/ldns_wrapper.c:20321:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    20321 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_b32_ext’:
    ../../contrib/python/ldns_wrapper.c:20374:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    20374 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_hex’:
    ../../contrib/python/ldns_wrapper.c:20427:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    20427 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_type’:
    ../../contrib/python/ldns_wrapper.c:20480:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    20480 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_class’:
    ../../contrib/python/ldns_wrapper.c:20533:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    20533 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_alg’:
    ../../contrib/python/ldns_wrapper.c:20586:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    20586 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_cert_alg’:
    ../../contrib/python/ldns_wrapper.c:20751:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    20751 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_loc’:
    ../../contrib/python/ldns_wrapper.c:20804:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    20804 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_unknown’:
    ../../contrib/python/ldns_wrapper.c:20857:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    20857 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_nsap’:
    ../../contrib/python/ldns_wrapper.c:20910:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    20910 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_atma’:
    ../../contrib/python/ldns_wrapper.c:20963:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    20963 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_wks’:
    ../../contrib/python/ldns_wrapper.c:21016:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    21016 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_nsec’:
    ../../contrib/python/ldns_wrapper.c:21069:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    21069 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_period’:
    ../../contrib/python/ldns_wrapper.c:21122:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    21122 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_tsigtime’:
    ../../contrib/python/ldns_wrapper.c:21175:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    21175 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_apl’:
    ../../contrib/python/ldns_wrapper.c:21228:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    21228 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_int16_data’:
    ../../contrib/python/ldns_wrapper.c:21281:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    21281 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_ipseckey’:
    ../../contrib/python/ldns_wrapper.c:21334:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    21334 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str’:
    ../../contrib/python/ldns_wrapper.c:21387:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    21387 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_nsec3_salt’:
    ../../contrib/python/ldns_wrapper.c:21611:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    21611 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_int8’:
    ../../contrib/python/ldns_wrapper.c:21695:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    21695 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_int16’:
    ../../contrib/python/ldns_wrapper.c:21748:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    21748 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_int32’:
    ../../contrib/python/ldns_wrapper.c:21801:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    21801 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_time’:
    ../../contrib/python/ldns_wrapper.c:21854:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    21854 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_ilnp64’:
    ../../contrib/python/ldns_wrapper.c:21907:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    21907 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_eui48’:
    ../../contrib/python/ldns_wrapper.c:21960:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    21960 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_eui64’:
    ../../contrib/python/ldns_wrapper.c:22013:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    22013 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_tag’:
    ../../contrib/python/ldns_wrapper.c:22066:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    22066 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_long_str’:
    ../../contrib/python/ldns_wrapper.c:22119:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    22119 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_hip’:
    ../../contrib/python/ldns_wrapper.c:22172:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    22172 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_amtrelay’:
    ../../contrib/python/ldns_wrapper.c:22225:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    22225 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_svcparams’:
    ../../contrib/python/ldns_wrapper.c:22278:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    22278 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2str’: ../../contrib/python/ldns_wrapper.c:22324:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    22324 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf_print’: ../../contrib/python/ldns_wrapper.c:22612:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    22612 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_str_dname’:
    ../../contrib/python/ldns_wrapper.c:23199:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    23199 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_dname2buffer_wire’:
    ../../contrib/python/ldns_wrapper.c:23252:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    23252 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_dname2buffer_wire_compress’:
    ../../contrib/python/ldns_wrapper.c:23308:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    23308 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_wire’:
    ../../contrib/python/ldns_wrapper.c:23366:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    23366 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_wire_compress’:
    ../../contrib/python/ldns_wrapper.c:23422:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    23422 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2buffer_wire_canonical’:
    ../../contrib/python/ldns_wrapper.c:23480:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    23480 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2wire’: ../../contrib/python/ldns_wrapper.c:23824:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    23824 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2native_sockaddr_storage’:
    ../../contrib/python/ldns_wrapper.c:24839:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    24839 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_axfr_start’: ../../contrib/python/ldns_wrapper.c:24936:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    24936 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_pkt_rr_list_by_name’:
    ../../contrib/python/ldns_wrapper.c:27394:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    27394 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_pkt_rr_list_by_name_and_type’:
    ../../contrib/python/ldns_wrapper.c:27498:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    27498 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf_size’: ../../contrib/python/ldns_wrapper.c:29564:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    29564 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf_get_type’: ../../contrib/python/ldns_wrapper.c:29610:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    29610 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf_data’: ../../contrib/python/ldns_wrapper.c:29656:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    29656 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf_address_reverse’:
    ../../contrib/python/ldns_wrapper.c:30080:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    30080 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2native_int8’:
    ../../contrib/python/ldns_wrapper.c:30126:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    30126 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2native_int16’:
    ../../contrib/python/ldns_wrapper.c:30172:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    30172 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2native_int32’:
    ../../contrib/python/ldns_wrapper.c:30218:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    30218 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf2native_time_t’:
    ../../contrib/python/ldns_wrapper.c:30264:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    30264 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf_clone’: ../../contrib/python/ldns_wrapper.c:30378:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    30378 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_rdf_compare’: ../../contrib/python/ldns_wrapper.c:30428:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    30428 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]);
    | ^
    ../../contrib/python/ldns_wrapper.c:30445:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    30445 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_resolver_push_nameserver’:
    ../../contrib/python/ldns_wrapper.c:33981:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    33981 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_resolver_search’:
    ../../contrib/python/ldns_wrapper.c:34105:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    34105 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_resolver_search_status’:
    ../../contrib/python/ldns_wrapper.c:34185:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    34185 | arg3_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_resolver_prepare_query_pkt’:
    ../../contrib/python/ldns_wrapper.c:34268:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    34268 | arg3_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_resolver_send’:
    ../../contrib/python/ldns_wrapper.c:34351:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    34351 | arg3_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_resolver_query_status’:
    ../../contrib/python/ldns_wrapper.c:34471:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    34471 | arg3_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_resolver_query’:
    ../../contrib/python/ldns_wrapper.c:34551:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    34551 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_pkt_tsig_verify’:
    ../../contrib/python/ldns_wrapper.c:36528:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    36528 | arg6_str = SWIG_Python_str_AsChar(swig_obj[5]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_pkt_tsig_verify_next’:
    ../../contrib/python/ldns_wrapper.c:36622:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    36622 | arg6_str = SWIG_Python_str_AsChar(swig_obj[5]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_pkt_tsig_sign’:
    ../../contrib/python/ldns_wrapper.c:36719:14: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    36719 | arg6_str = SWIG_Python_str_AsChar(swig_obj[5]);
    | ^
    ../../contrib/python/ldns_wrapper.c: In function ‘_wrap_ldns_pkt_tsig_sign_next’:

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Sat Mar 16 16:50:02 2024
    This is a multi-part message in MIME format...

    Your message dated Sat, 16 Mar 2024 15:42:29 +0000
    with message-id <E1rlWB3-005VD6-3Y@fasolo.debian.org>
    and subject line Bug#1066217: fixed in ldns 1.8.3-2
    has caused the Debian Bug report #1066217,
    regarding ldns: FTBFS on arm{el,hf}: ldns_wrapper.c:10137:16: error: implicit declaration of function ‘SWIG_Python_str_AsChar’; did you mean ‘SWIG_Python_str_FromChar’? [-Werror=implicit-function-declaration]
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1066217: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066217
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 9 Mar 2024 20:11:19 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-105.8 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
    SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,
    USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST autolearn=ham
    autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 82; hammy, 150; neutral, 179; spammy,
    0. spammytokens:
    hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
    0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
    0.000-+--H*RT:108, 0.000-+--H*RT:311
    Return-path: <sramacher@debian.org>
    Received: from stravinsky.debian.org ([2001:41b