nfstrace: FTBFS: header_window.cpp:77:82: error: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘time_t’ {aka ‘long int’} [-Werror=format=]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nfstrace (Debian) |
Fix Released
|
Unknown
|
|||
nfstrace (Ubuntu) |
Fix Released
|
Undecided
|
Nick Rosbrook |
Bug Description
Imported from Debian bug http://
Source: nfstrace
Version: 0.4.3.2+
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> cd /<<PKGBUILDDIR>
> /<<PKGBUILDDIR>
> /<<PKGBUILDDIR>
> 77 | mvwprintw(_window, HEADER:
> | ~^
> | |
> | int
> | %ld
> 78 | shift_time / SECINDAY, shift_time % SECINDAY / SECINHOUR, shift_time % SECINHOUR / SECINMIN, shift_time % SECINMIN);
> | ~~~~~~~
> | |
> | time_t {aka long int}
> /<<PKGBUILDDIR>
> 77 | mvwprintw(_window, HEADER:
> | ~^
> | |
> | int
> | %ld
> 78 | shift_time / SECINDAY, shift_time % SECINDAY / SECINHOUR, shift_time % SECINHOUR / SECINMIN, shift_time % SECINMIN);
> | ~~~~~~~
> | |
> | time_t {aka long int}
> /<<PKGBUILDDIR>
> 77 | mvwprintw(_window, HEADER:
> | ~^
> | |
> | int
> | %ld
> 78 | shift_time / SECINDAY, shift_time % SECINDAY / SECINHOUR, shift_time % SECINHOUR / SECINMIN, shift_time % SECINMIN);
> | ~~~~~~~
> | |
> | time_t {aka long int}
> /<<PKGBUILDDIR>
> 77 | mvwprintw(_window, HEADER:
> | ~^
> | |
> | int
> | %ld
> 78 | shift_time / SECINDAY, shift_time % SECINDAY / SECINHOUR, shift_time % SECINHOUR / SECINMIN, shift_time % SECINMIN);
> | ~~~~~~~
> | |
> | time_t {aka long int}
> cc1plus: all warnings being treated as errors
> make[3]: *** [analyzers/
The full build log is available from:
http://
A list of current common problems and possible solutions is available at
http://
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https:/
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
Changed in nfstrace (Ubuntu): | |
assignee: | nobody → Nick Rosbrook (enr0n) |
tags: | added: update-e |
tags: |
added: update-excuse removed: update-e |
Changed in nfstrace (Debian): | |
importance: | Undecided → Unknown |
Changed in nfstrace (Debian): | |
status: | New → Fix Released |
This patch addresses the follow-on issues seen on armhf and ppc64el. Build tested in my PPA [1].
[1] https:/ /launchpad. net/~enr0n/ +archive/ ubuntu/ nfstrace/ +packages