Adrian Bunk
2024-10-15 12:20:01 UTC
Reply
PermalinkVersion: 1.06-2
Severity: serious
Tags: ftbfs patch
https://buildd.debian.org/status/logs.php?pkg=libnet-kafka-perl&ver=1.06-2%2Bb1
...
Kafka.xs: In function âXS_Net__Kafka_query_watermark_offsetsâ:
Kafka.xs:423:75: error: passing argument 4 of ârd_kafka_query_watermark_offsetsâ from incompatible pointer type [-Wincompatible-pointer-types]
423 | err = rd_kafka_query_watermark_offsets(rdk->rk, topic, partition, &low, &high, timeout_ms);
| ^~~~
| |
| long int *
/usr/include/librdkafka/rdkafka.h:3316:43: note: expected âint64_t *â {aka âlong long int *â} but argument is of type âlong int *â
3316 | int64_t *low,
| ~~~~~~~~~^~~
Kafka.xs:423:81: error: passing argument 5 of ârd_kafka_query_watermark_offsetsâ from incompatible pointer type [-Wincompatible-pointer-types]
423 | err = rd_kafka_query_watermark_offsets(rdk->rk, topic, partition, &low, &high, timeout_ms);
| ^~~~~
| |
| long int *
/usr/include/librdkafka/rdkafka.h:3317:43: note: expected âint64_t *â {aka âlong long int *â} but argument is of type âlong int *â
3317 | int64_t *high,
| ~~~~~~~~~^~~~
...
A fix is attached.