[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1080515: marked as done (ddcutil: FTBFS on arm{el,hf}: passing argument 2 of 'str_to_long' from incompatible pointer type)



Your message dated Fri, 6 Sep 2024 16:13:26 +0300
with message-id <Ztr/9uGfFt0+fJEB@localhost>
and subject line Fixed in 2.1.4-3
has caused the Debian Bug report #1080515,
regarding ddcutil: FTBFS on arm{el,hf}: passing argument 2 of 'str_to_long' from incompatible pointer type
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.)


-- 
1080515: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1080515
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: ddcutil
Version: 1.4.1-1
Severity: serious
Tags: ftbfs

Your package failed to build on armel and armhf:

dsa2.c: In function 'dsa2_adjust_for_rcnt_successes':
dsa2.c:782:63: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=]
dsa2.c: In function 'dsa2_save_persistent_stats':
dsa2.c:1193:44: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=]
dsa2.c: In function 'cirb_parse_and_add':
dsa2.c:1271:51: error: passing argument 2 of 'str_to_long' from incompatible pointer type [-Wincompatible-pointer-types]
 1271 |             result &= str_to_long(comma_pos2 + 1, &si.epoch_seconds, 10);
      |                                                   ^~~~~~~~~~~~~~~~~
      |                                                   |
      |                                                   time_t * {aka long long int *}
In file included from ../../src/util/data_structures.h:22,
                 from dsa2.c:21:
../../src/util/string_util.h:96:46: note: expected 'long int *' but argument is of type 'time_t *' {aka 'long long int *'}
   96 | bool str_to_long( const char * sval, long *  p_ival, int base);
      |                                      ~~~~~~~~^~~~~~

This is related to the recent 64bit time_t transition on arm{el,hf}.

Full build log at https://buildd.debian.org/status/fetch.php?pkg=ddcutil&arch=armhf&ver=2.1.4-2&stamp=1725477887&raw=0

Cheers,
Emilio

--- End Message ---
--- Begin Message ---
Version: 2.1.4-3

ddcutil (2.1.4-3) unstable; urgency=medium
...
  * Update and rename debian/patches/fix-building-on-arm.patch to 
    fix-building-on-32bit.patch.

 -- Soren Stoutner <soren@debian.org>  Thu, 05 Sep 2024 16:49:36 -0700

--- End Message ---

Reply to: