Discussion:
Bug#1085145: libnet-kafka-perl FTBFS on 32-bit with gcc 14
Add Reply
Adrian Bunk
2024-10-15 12:20:01 UTC
Reply
Permalink
Source: libnet-kafka-perl
Version: 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.
gregor herrmann
2024-10-15 17:40:01 UTC
Reply
Permalink
Control: tag -1 pending

Hello,

Bug #1085145 in libnet-kafka-perl reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/perl-team/modules/packages/libnet-kafka-perl/-/commit/e5acc23eb360888dbe9b56aa7105852e4f88c6ff

------------------------------------------------------------------------
Fix FTBFS on 32-bit with gcc 14.

Closes: #1085145
------------------------------------------------------------------------

(this message was generated automatically)
--
Greetings

https://bugs.debian.org/1085145
Debian Bug Tracking System
2024-10-15 17:40:01 UTC
Reply
Permalink
Post by gregor herrmann
tag -1 pending
Bug #1085145 [src:libnet-kafka-perl] libnet-kafka-perl FTBFS on 32-bit with gcc 14
Added tag(s) pending.
--
1085145: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085145
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Debian Bug Tracking System
2024-10-15 18:00:01 UTC
Reply
Permalink
Your message dated Tue, 15 Oct 2024 17:49:34 +0000
with message-id <E1t0lfq-009etm-***@fasolo.debian.org>
and subject line Bug#1085145: fixed in libnet-kafka-perl 1.06-3
has caused the Debian Bug report #1085145,
regarding libnet-kafka-perl FTBFS on 32-bit with gcc 14
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 ***@bugs.debian.org
immediately.)
--
1085145: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085145
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Loading...