Your message dated Tue, 25 Mar 2025 04:04:56 +0000
with message-id <e1twvx6-0014se...@fasolo.debian.org>
and subject line Bug#1099267: fixed in psensor 1.2.1-3
has caused the Debian Bug report #1099267,
regarding psensor: FTBFS: error: If memory allocation fail: pointer addition 
with NULL pointer.
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 ow...@bugs.debian.org
immediately.)


-- 
1099267: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1099267
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:psensor
Version: 1.2.1-2
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with=autoreconf
   dh_clean
 debian/rules binary
dh binary --with=autoreconf
   dh_update_autotools_config
   dh_autoreconf
Copying file m4/codeset.m4
Copying file m4/glibc2.m4
Copying file m4/glibc21.m4
Copying file m4/intdiv0.m4
Copying file m4/intl.m4
Copying file m4/intldir.m4
Copying file m4/intmax.m4

[... snipped ...]

 psensor->alarm_low_threshold = 0;
 ^
../src/lib/psensor.c:40:36: note: Assuming allocation function fails
 psensor = (struct psensor *)malloc(sizeof(struct psensor));
                                   ^
../src/lib/psensor.c:40:12: note: Assignment 'psensor=(struct 
psensor*)malloc(sizeof(struct psensor))', assigned value is 0
 psensor = (struct psensor *)malloc(sizeof(struct psensor));
           ^
../src/lib/psensor.c:62:2: note: Null pointer dereference
 psensor->alarm_low_threshold = 0;
 ^
../src/lib/psensor.c:64:2: warning: If memory allocation fails, then there is a 
possible null pointer dereference: psensor [nullPointerOutOfMemory]
 psensor->cb_alarm_raised = NULL;
 ^
../src/lib/psensor.c:40:36: note: Assuming allocation function fails
 psensor = (struct psensor *)malloc(sizeof(struct psensor));
                                   ^
../src/lib/psensor.c:40:12: note: Assignment 'psensor=(struct 
psensor*)malloc(sizeof(struct psensor))', assigned value is 0
 psensor = (struct psensor *)malloc(sizeof(struct psensor));
           ^
../src/lib/psensor.c:64:2: note: Null pointer dereference
 psensor->cb_alarm_raised = NULL;
 ^
../src/lib/psensor.c:65:2: warning: If memory allocation fails, then there is a 
possible null pointer dereference: psensor [nullPointerOutOfMemory]
 psensor->cb_alarm_raised_data = NULL;
 ^
../src/lib/psensor.c:40:36: note: Assuming allocation function fails
 psensor = (struct psensor *)malloc(sizeof(struct psensor));
                                   ^
../src/lib/psensor.c:40:12: note: Assignment 'psensor=(struct 
psensor*)malloc(sizeof(struct psensor))', assigned value is 0
 psensor = (struct psensor *)malloc(sizeof(struct psensor));
           ^
../src/lib/psensor.c:65:2: note: Null pointer dereference
 psensor->cb_alarm_raised_data = NULL;
 ^
../src/lib/psensor.c:66:2: warning: If memory allocation fails, then there is a 
possible null pointer dereference: psensor [nullPointerOutOfMemory]
 psensor->alarm_raised = 0;
 ^
../src/lib/psensor.c:40:36: note: Assuming allocation function fails
 psensor = (struct psensor *)malloc(sizeof(struct psensor));
                                   ^
../src/lib/psensor.c:40:12: note: Assignment 'psensor=(struct 
psensor*)malloc(sizeof(struct psensor))', assigned value is 0
 psensor = (struct psensor *)malloc(sizeof(struct psensor));
           ^
../src/lib/psensor.c:66:2: note: Null pointer dereference
 psensor->alarm_raised = 0;
 ^
../src/lib/psensor.c:68:2: warning: If memory allocation fails, then there is a 
possible null pointer dereference: psensor [nullPointerOutOfMemory]
 psensor->provider_data = NULL;
 ^
../src/lib/psensor.c:40:36: note: Assuming allocation function fails
 psensor = (struct psensor *)malloc(sizeof(struct psensor));
                                   ^
../src/lib/psensor.c:40:12: note: Assignment 'psensor=(struct 
psensor*)malloc(sizeof(struct psensor))', assigned value is 0
 psensor = (struct psensor *)malloc(sizeof(struct psensor));
           ^
../src/lib/psensor.c:68:2: note: Null pointer dereference
 psensor->provider_data = NULL;
 ^
../src/lib/psensor.c:69:2: warning: If memory allocation fails, then there is a 
possible null pointer dereference: psensor [nullPointerOutOfMemory]
 psensor->provider_data_free_fct = &free;
 ^
../src/lib/psensor.c:40:36: note: Assuming allocation function fails
 psensor = (struct psensor *)malloc(sizeof(struct psensor));
                                   ^
../src/lib/psensor.c:40:12: note: Assignment 'psensor=(struct 
psensor*)malloc(sizeof(struct psensor))', assigned value is 0
 psensor = (struct psensor *)malloc(sizeof(struct psensor));
           ^
../src/lib/psensor.c:69:2: note: Null pointer dereference
 psensor->provider_data_free_fct = &free;
 ^
../src/lib/psensor.c:168:2: warning: If memory allocation fails, then there is 
a possible null pointer dereference: result [nullPointerOutOfMemory]
 result[size] = sensor;
 ^
../src/lib/psensor.c:163:17: note: Assuming allocation function fails
 result = malloc((size + 1 + 1) * sizeof(struct psensor *));
                ^
../src/lib/psensor.c:163:17: note: Assignment 
'result=malloc((size+1+1)*sizeof(struct psensor*))', assigned value is 0
 result = malloc((size + 1 + 1) * sizeof(struct psensor *));
                ^
../src/lib/psensor.c:168:2: note: Null pointer dereference
 result[size] = sensor;
 ^
../src/lib/psensor.c:169:2: warning: If memory allocation fails, then there is 
a possible null pointer dereference: result [nullPointerOutOfMemory]
 result[size + 1] = NULL;
 ^
../src/lib/psensor.c:163:17: note: Assuming allocation function fails
 result = malloc((size + 1 + 1) * sizeof(struct psensor *));
                ^
../src/lib/psensor.c:163:17: note: Assignment 
'result=malloc((size+1+1)*sizeof(struct psensor*))', assigned value is 0
 result = malloc((size + 1 + 1) * sizeof(struct psensor *));
                ^
../src/lib/psensor.c:169:2: note: Null pointer dereference
 result[size + 1] = NULL;
 ^
../src/lib/psensor.c:457:3: warning: If memory allocation fails, then there is 
a possible null pointer dereference: result [nullPointerOutOfMemory]
  result[i] = sensors[i];
  ^
../src/lib/psensor.c:455:17: note: Assuming allocation function fails
 result = malloc((n+1) * sizeof(struct psensor *));
                ^
../src/lib/psensor.c:455:17: note: Assignment 
'result=malloc((n+1)*sizeof(struct psensor*))', assigned value is 0
 result = malloc((n+1) * sizeof(struct psensor *));
                ^
../src/lib/psensor.c:457:3: note: Null pointer dereference
  result[i] = sensors[i];
  ^
../src/lib/psensor.c:458:2: warning: If memory allocation fails, then there is 
a possible null pointer dereference: result [nullPointerOutOfMemory]
 result[n] = NULL;
 ^
../src/lib/psensor.c:455:17: note: Assuming allocation function fails
 result = malloc((n+1) * sizeof(struct psensor *));
                ^
../src/lib/psensor.c:455:17: note: Assignment 
'result=malloc((n+1)*sizeof(struct psensor*))', assigned value is 0
 result = malloc((n+1) * sizeof(struct psensor *));
                ^
../src/lib/psensor.c:458:2: note: Null pointer dereference
 result[n] = NULL;
 ^
../src/lib/ptime.c:57:15: warning: If memory allocation fails, then there is a 
possible null pointer dereference: str [nullPointerOutOfMemory]
 if (strftime(str, ISO8601_DATE_LENGTH + 1, "%F", tm))
              ^
../src/lib/ptime.c:55:14: note: Assuming allocation function fails
 str = malloc(ISO8601_DATE_LENGTH + 1);
             ^
../src/lib/ptime.c:55:14: note: Assignment 'str=malloc(ISO8601_DATE_LENGTH+1)', 
assigned value is 0
 str = malloc(ISO8601_DATE_LENGTH + 1);
             ^
../src/lib/ptime.c:57:15: note: Null pointer dereference
 if (strftime(str, ISO8601_DATE_LENGTH + 1, "%F", tm))
              ^
../src/lib/ptime.c:70:15: warning: If memory allocation fails, then there is a 
possible null pointer dereference: str [nullPointerOutOfMemory]
 if (strftime(str, ISO8601_TIME_LENGTH + 1, "%FT%T", tm))
              ^
../src/lib/ptime.c:68:14: note: Assuming allocation function fails
 str = malloc(ISO8601_TIME_LENGTH + 1);
             ^
../src/lib/ptime.c:68:14: note: Assignment 'str=malloc(ISO8601_TIME_LENGTH+1)', 
assigned value is 0
 str = malloc(ISO8601_TIME_LENGTH + 1);
             ^
../src/lib/ptime.c:70:15: note: Null pointer dereference
 if (strftime(str, ISO8601_TIME_LENGTH + 1, "%FT%T", tm))
              ^
../src/lib/pudisks2.c:202:3: warning: If memory allocation fails, then there is 
a possible null pointer dereference: data [nullPointerOutOfMemory]
  data->path = strdup(path);
  ^
../src/lib/pudisks2.c:201:16: note: Assuming allocation function fails
  data = malloc(sizeof(struct udisks_data));
               ^
../src/lib/pudisks2.c:201:16: note: Assignment 'data=malloc(sizeof(struct 
udisks_data))', assigned value is 0
  data = malloc(sizeof(struct udisks_data));
               ^
../src/lib/pudisks2.c:202:3: note: Null pointer dereference
  data->path = strdup(path);
  ^
../src/lib/slog.c:61:15: warning: If memory allocation fails, then there is a 
possible null pointer dereference: str [nullPointerOutOfMemory]
 if (strftime(str, 64, "%s", &lt))
              ^
../src/lib/slog.c:59:14: note: Assuming allocation function fails
 str = malloc(64);
             ^
../src/lib/slog.c:59:14: note: Assignment 'str=malloc(64)', assigned value is 0
 str = malloc(64);
             ^
../src/lib/slog.c:61:15: note: Null pointer dereference
 if (strftime(str, 64, "%s", &lt))
              ^
../src/main.c:406:4: warning: If memory allocation fails, then there is a 
possible null pointer dereference: sensors [nullPointerOutOfMemory]
  *sensors = NULL;
   ^
../src/main.c:405:19: note: Assuming allocation function fails
  sensors = malloc(sizeof(struct psensor *));
                  ^
../src/main.c:405:19: note: Assignment 'sensors=malloc(sizeof(struct 
psensor*))', assigned value is 0
  sensors = malloc(sizeof(struct psensor *));
                  ^
../src/main.c:406:4: note: Null pointer dereference
  *sensors = NULL;
   ^
../src/rsensor.c:74:9: warning: If memory allocation fails, then there is a 
possible null pointer dereference: ret [nullPointerOutOfMemory]
 strcpy(ret, nurl);
        ^
../src/rsensor.c:72:14: note: Assuming allocation function fails
 ret = malloc(n);
             ^
../src/rsensor.c:72:14: note: Assignment 'ret=malloc(n)', assigned value is 0
 ret = malloc(n);
             ^
../src/rsensor.c:74:9: note: Null pointer dereference
 strcpy(ret, nurl);
        ^
../src/rsensor.c:75:9: warning: If memory allocation fails, then there is a 
possible null pointer dereference: ret [nullPointerOutOfMemory]
 strcat(ret, URL_BASE_API_1_1_SENSORS);
        ^
../src/rsensor.c:72:14: note: Assuming allocation function fails
 ret = malloc(n);
             ^
../src/rsensor.c:72:14: note: Assignment 'ret=malloc(n)', assigned value is 0
 ret = malloc(n);
             ^
../src/rsensor.c:75:9: note: Null pointer dereference
 strcat(ret, URL_BASE_API_1_1_SENSORS);
        ^
../src/rsensor.c:145:4: warning: If memory allocation fails, then there is a 
possible null pointer dereference: sensors [nullPointerOutOfMemory]
   sensors[i] = s;
   ^
../src/rsensor.c:138:19: note: Assuming allocation function fails
  sensors = malloc((n + 1) * sizeof(struct psensor *));
                  ^
../src/rsensor.c:138:19: note: Assignment 'sensors=malloc((n+1)*sizeof(struct 
psensor*))', assigned value is 0
  sensors = malloc((n + 1) * sizeof(struct psensor *));
                  ^
../src/rsensor.c:145:4: note: Null pointer dereference
   sensors[i] = s;
   ^
../src/rsensor.c:148:3: warning: If memory allocation fails, then there is a 
possible null pointer dereference: sensors [nullPointerOutOfMemory]
  sensors[n] = NULL;
  ^
../src/rsensor.c:138:19: note: Assuming allocation function fails
  sensors = malloc((n + 1) * sizeof(struct psensor *));
                  ^
../src/rsensor.c:138:19: note: Assignment 'sensors=malloc((n+1)*sizeof(struct 
psensor*))', assigned value is 0
  sensors = malloc((n + 1) * sizeof(struct psensor *));
                  ^
../src/rsensor.c:148:3: note: Null pointer dereference
  sensors[n] = NULL;
  ^
../src/rsensor.c:159:4: warning: If memory allocation fails, then there is a 
possible null pointer dereference: sensors [nullPointerOutOfMemory]
  *sensors = NULL;
   ^
../src/rsensor.c:158:19: note: Assuming allocation function fails
  sensors = malloc(sizeof(struct psensor *));
                  ^
../src/rsensor.c:158:19: note: Assignment 'sensors=malloc(sizeof(struct 
psensor*))', assigned value is 0
  sensors = malloc(sizeof(struct psensor *));
                  ^
../src/rsensor.c:159:4: note: Null pointer dereference
  *sensors = NULL;
   ^
../src/server/server.c:142:9: warning: If memory allocation fails, then there 
is a possible null pointer dereference: res [nullPointerOutOfMemory]
 strcpy(res, www_dir);
        ^
../src/server/server.c:140:14: note: Assuming allocation function fails
 res = malloc(strlen(www_dir)+strlen(p)+1);
             ^
../src/server/server.c:140:14: note: Assignment 
'res=malloc(strlen(www_dir)+strlen(p)+1)', assigned value is 0
 res = malloc(strlen(www_dir)+strlen(p)+1);
             ^
../src/server/server.c:142:9: note: Null pointer dereference
 strcpy(res, www_dir);
        ^
../src/server/server.c:143:9: warning: If memory allocation fails, then there 
is a possible null pointer dereference: res [nullPointerOutOfMemory]
 strcat(res, p);
        ^
../src/server/server.c:140:14: note: Assuming allocation function fails
 res = malloc(strlen(www_dir)+strlen(p)+1);
             ^
../src/server/server.c:140:14: note: Assignment 
'res=malloc(strlen(www_dir)+strlen(p)+1)', assigned value is 0
 res = malloc(strlen(www_dir)+strlen(p)+1);
             ^
../src/server/server.c:143:9: note: Null pointer dereference
 strcat(res, p);
        ^
../src/server/server.c:304:48: warning: If memory allocation fails, then there 
is a possible null pointer dereference: page [nullPointerOutOfMemory]
 return MHD_create_response_from_buffer(strlen(page),
                                               ^
../src/server/server.c:301:15: note: Assuming allocation function fails
 page = strdup(PAGE_NOT_FOUND);
              ^
../src/server/server.c:301:15: note: Assignment 
'page=strdup(gettext("<html><body><p>Page not found - Go to <a href='/'>Main 
page</a></p></body>"))', assigned value is 0
 page = strdup(PAGE_NOT_FOUND);
              ^
../src/server/server.c:304:48: note: Null pointer dereference
 return MHD_create_response_from_buffer(strlen(page),
                                               ^
../src/ui_appindicator.c:127:2: warning: If memory allocation fails, then there 
is a possible null pointer dereference: sensors [nullPointerOutOfMemory]
 sensors[j] = NULL;
 ^
../src/ui_appindicator.c:108:18: note: Assuming allocation function fails
 sensors = malloc((n + 1) * sizeof(struct psensor *));
                 ^
../src/ui_appindicator.c:108:18: note: Assignment 
'sensors=malloc((n+1)*sizeof(struct psensor*))', assigned value is 0
 sensors = malloc((n + 1) * sizeof(struct psensor *));
                 ^
../src/ui_appindicator.c:109:23: note: Assuming condition is false
 for (i = 0, j = 0; i < n; i++) {
                      ^
../src/ui_appindicator.c:127:2: note: Null pointer dereference
 sensors[j] = NULL;
 ^
../src/ui_appindicator.c:128:2: warning: If memory allocation fails, then there 
is a possible null pointer dereference: menu_items [nullPointerOutOfMemory]
 menu_items[j] = NULL;
 ^
../src/ui_appindicator.c:106:21: note: Assuming allocation function fails
 menu_items = malloc((n + 1) * sizeof(GtkWidget *));
                    ^
../src/ui_appindicator.c:106:21: note: Assignment 
'menu_items=malloc((n+1)*sizeof(GtkWidget*))', assigned value is 0
 menu_items = malloc((n + 1) * sizeof(GtkWidget *));
                    ^
../src/ui_appindicator.c:109:23: note: Assuming condition is false
 for (i = 0, j = 0; i < n; i++) {
                      ^
../src/ui_appindicator.c:128:2: note: Null pointer dereference
 menu_items[j] = NULL;
 ^
../src/ui_sensorlist.c:265:2: warning: If memory allocation fails, then there 
is a possible null pointer dereference: data [nullPointerOutOfMemory]
 data->ui = ui;
 ^
../src/ui_sensorlist.c:264:15: note: Assuming allocation function fails
 data = malloc(sizeof(struct cb_data));
              ^
../src/ui_sensorlist.c:264:15: note: Assignment 'data=malloc(sizeof(struct 
cb_data))', assigned value is 0
 data = malloc(sizeof(struct cb_data));
              ^
../src/ui_sensorlist.c:265:2: note: Null pointer dereference
 data->ui = ui;
 ^
../src/ui_sensorlist.c:266:2: warning: If memory allocation fails, then there 
is a possible null pointer dereference: data [nullPointerOutOfMemory]
 data->sensor = sensor;
 ^
../src/ui_sensorlist.c:264:15: note: Assuming allocation function fails
 data = malloc(sizeof(struct cb_data));
              ^
../src/ui_sensorlist.c:264:15: note: Assignment 'data=malloc(sizeof(struct 
cb_data))', assigned value is 0
 data = malloc(sizeof(struct cb_data));
              ^
../src/ui_sensorlist.c:266:2: note: Null pointer dereference
 data->sensor = sensor;
 ^
../src/ui_sensorlist.c:275:2: warning: If memory allocation fails, then there 
is a possible null pointer dereference: data [nullPointerOutOfMemory]
 data->ui = ui;
 ^
../src/ui_sensorlist.c:274:15: note: Assuming allocation function fails
 data = malloc(sizeof(struct cb_data));
              ^
../src/ui_sensorlist.c:274:15: note: Assignment 'data=malloc(sizeof(struct 
cb_data))', assigned value is 0
 data = malloc(sizeof(struct cb_data));
              ^
../src/ui_sensorlist.c:275:2: note: Null pointer dereference
 data->ui = ui;
 ^
../src/ui_sensorlist.c:276:2: warning: If memory allocation fails, then there 
is a possible null pointer dereference: data [nullPointerOutOfMemory]
 data->sensor = sensor;
 ^
../src/ui_sensorlist.c:274:15: note: Assuming allocation function fails
 data = malloc(sizeof(struct cb_data));
              ^
../src/ui_sensorlist.c:274:15: note: Assignment 'data=malloc(sizeof(struct 
cb_data))', assigned value is 0
 data = malloc(sizeof(struct cb_data));
              ^
../src/ui_sensorlist.c:276:2: note: Null pointer dereference
 data->sensor = sensor;
 ^
FAIL test-cppcheck.sh (exit status: 1)

============================================================================
Testsuite summary for psensor 1.2.1
============================================================================
# TOTAL: 6
# PASS:  5
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log for debugging.
Some test(s) failed.  Please report this to jea...@gmail.com,
together with the test-suite.log file (gzipped) and your system
information.  Thanks.
============================================================================
make[4]: *** [Makefile:775: test-suite.log] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/tests'
make[3]: *** [Makefile:910: check-TESTS] Error 2
make[3]: *** Waiting for unfinished jobs....
../src/lib/slog.c:155: WARNING:UNNECESSARY_INT: Prefer 'long' over 'long int' 
as the int is unnecessary
#155: FILE: ../src/lib/slog.c:155:
+       fprintf(file, "%ld", (long int)(tv.tv_sec - st));

total: 0 errors, 1 warnings, 219 lines checked
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
../src/lib/pgtop2.c:72: WARNING:UNNECESSARY_INT: Prefer 'unsigned long' over 
'unsigned long int' as the int is unnecessary
#72: FILE: ../src/lib/pgtop2.c:72:
+       unsigned long int used, dt;

total: 0 errors, 1 warnings, 146 lines checked
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
../src/server/sysinfo.c:40: WARNING:UNNECESSARY_INT: Prefer 'unsigned long' 
over 'unsigned long int' as the int is unnecessary
#40: FILE: ../src/server/sysinfo.c:40:
+       unsigned long int used = 0;

../src/server/sysinfo.c:41: WARNING:UNNECESSARY_INT: Prefer 'unsigned long' 
over 'unsigned long int' as the int is unnecessary
#41: FILE: ../src/server/sysinfo.c:41:
+       unsigned long int dt;

total: 0 errors, 2 warnings, 184 lines checked
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
../src/ui_unity.c:34: WARNING:LONG_LINE_COMMENT: line over 80 characters
#34: FILE: ../src/ui_unity.c:34:
+               /* if the count is not set to non-0 value, it will not be 
visible */

../src/ui_unity.c:89: WARNING:LONG_LINE_COMMENT: line over 80 characters
#89: FILE: ../src/ui_unity.c:89:
+               /* if the count is not set to non-0 value, it will not be 
visible */

total: 0 errors, 2 warnings, 100 lines checked
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
find ../src -name \*.h -exec ./checkpatch.pl --ignore 
SPLIT_STRING,CONST_STRUCT,FUNCTION_ARGUMENTS,SPDX_LICENSE_TAG,EMBEDDED_FUNCTION_NAME
 --show-types -q --no-tree  -emacs -f {} \;
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
No structs that should be const will be found - file 
'/<<PKGBUILDDIR>>/tests/const_structs.checkpatch': No such file or directory
make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests'
make[2]: *** [Makefile:1017: check-am] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/tests'
make[1]: *** [Makefile:531: check-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j2 check "TESTSUITEFLAGS=-j2 --verbose" VERBOSE=1 
returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202503/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:psensor, so that this is still
visible in the BTS web page for this package.

Thanks.

--- End Message ---
--- Begin Message ---
Source: psensor
Source-Version: 1.2.1-3
Done: xiao sheng wen <atzli...@sina.com>

We believe that the bug you reported is fixed in the latest version of
psensor, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1099...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
xiao sheng wen <atzli...@sina.com> (supplier of updated psensor package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 25 Mar 2025 11:29:31 +0800
Source: psensor
Architecture: source
Version: 1.2.1-3
Distribution: unstable
Urgency: medium
Maintainer: xiao sheng wen <atzli...@sina.com>
Changed-By: xiao sheng wen <atzli...@sina.com>
Closes: 1099267
Changes:
 psensor (1.2.1-3) unstable; urgency=medium
 .
   * Bump Standards-Version: 4.7.2
   * d/copyright:
       - update upstream year info
       - upstream Source URL use https
       - update debian directory year info to 2025
   * d/rules: add override_dh_auto_test, Closes: #1099267
Checksums-Sha1:
 e2dcb96a706242c8931edaba36af5ff69badc942 2349 psensor_1.2.1-3.dsc
 a73a0f936af3c3f76fa3a9f9f959deed64923d94 11316 psensor_1.2.1-3.debian.tar.xz
 617491ea4986e1b3dfd8306ea08fccf1a6c530b6 17273 psensor_1.2.1-3_source.buildinfo
Checksums-Sha256:
 2aca5263c85762e953bdbb26a7a650fa2d4a8774b76ae0939d0350566d405cca 2349 
psensor_1.2.1-3.dsc
 9488dc9cdaf2bbb8bb0c5ac2cbf98e8176dc1733cd2368d3155496396e642261 11316 
psensor_1.2.1-3.debian.tar.xz
 a19b9557156a452d1f29c5fea385ee0b9ea9c1c373a720ac73c243c3c14e2b6e 17273 
psensor_1.2.1-3_source.buildinfo
Files:
 411b964da7b3272385daee90373cbe35 2349 utils optional psensor_1.2.1-3.dsc
 52faa70264c2974684c6dabe6ec6d0ee 11316 utils optional 
psensor_1.2.1-3.debian.tar.xz
 1cc3291c62df52cbc595a0bef231e840 17273 utils optional 
psensor_1.2.1-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEvGv7H5NUQYeSuhtTJ2Egg8PSprAFAmfiJboACgkQJ2Egg8PS
prA6Tw//V5r0ZnGjm581KsXDTzgWWjZwy4AREy8lq+yBjrXJMqvsHRhcdVvpJvg+
6cv78lWt9HDjy3DOIKaN27sd6Okc38/HnP123MniU75ehXJK1vnA4apkRxKm7pnU
8J8PlfgnPM/PZpzOhjWxx+BayDlslEMIaX35zM3d5THcA5IPqnipIMnw0HDOx+cw
OkTlqtmD3HJeXDmPCaAizCw2t1oZmJOj4LwyrANlA2YW6nGbF+WqcPGBc0dzNuls
hqnzQq6oOrUy3N4as0uAj/RcV9Qmx1MotqveLChoNN/f3KsHddptsC98oBML3ZVD
P72lODxvdIfBBtUvN2KMlxcgOqIwVcfx3PJ3CtZYEVrRdmwrlP4sATLCqpYrWfrW
4B03brsWP9TCNn1qJ1LtYnGVkUHrm9lLRMrinI6i7GARMVEo1G579tmAHjNROKJT
Q4zbuIeDaKvG0WzvIcDADabtjCRO5lMOkkkaLCcXKlR+UmxAgn93F4KYCP0hIUTS
avqrTpfG5RILUDUTxUYqym4id2Uu2wdGoqhO5HdIxINodFNx4AqCpsr856ElcPNC
d5RKF18MxZ6Uireu/vnX+WB90Vy/7ap8UmhmaYka80Na3WnxgVpNAVBv3yP1MjRz
+TwK9nCiPJpWOGll0I9phTx01eBbHplJd5KvxlUisYeJO0pSrEc=
=hqaf
-----END PGP SIGNATURE-----

Attachment: pgp0gfxuvrJzV.pgp
Description: PGP signature


--- End Message ---

Reply via email to