FTBFS on armfh - error: too few arguments to function ‘gettimeofday’
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
backuppc-rsync (Debian) |
Fix Released
|
Unknown
|
|||
backuppc-rsync (Ubuntu) |
Fix Released
|
Undecided
|
Miriam España Acebal |
Bug Description
lib/compat.
154 | return gettimeofday(tv);
| ^~~~~~~~~~~~
In file included from /usr/include/
/usr/include/
71 | extern int __REDIRECT_NTH (gettimeofday, (struct timeval *__restrict __tv,
| ^~~~~~~~~~~~~~
lib/compat.c:156:1: warning: control reaches end of non-void function [-Wreturn-type]
156 | }
| ^
from armhf buildlog [1]
Related branches
- git-ubuntu bot: Approve
- Bryce Harrington (community): Approve
- Canonical Server Reporter: Pending requested
-
Diff: 44 lines (+24/-0)3 files modifieddebian/changelog (+7/-0)
debian/patches/fix-gettimeofday-detection.patch (+16/-0)
debian/patches/series (+1/-0)
Changed in backuppc-rsync (Ubuntu): | |
status: | New → In Progress |
Changed in backuppc-rsync (Ubuntu): | |
status: | In Progress → New |
assignee: | Miriam España Acebal (mirespace) → nobody |
Changed in backuppc-rsync (Ubuntu): | |
assignee: | nobody → Miriam España Acebal (mirespace) |
status: | New → In Progress |
Changed in backuppc-rsync (Debian): | |
status: | Unknown → Confirmed |
tags: | added: update-excuse |
Changed in backuppc-rsync (Debian): | |
status: | Confirmed → Fix Released |
I found a promising fix upstream for "update autoconfig files":
https:/ /github. com/backuppc/ rsync-bpc/ commit/ ce3ce3061c2acc4 c78693953d6a1a2 cf50145fe2# diff-49473dca26 2eeab3b4a43002a db08b4db31020d1 90caaad1594b47f 1d5daa810L855
with a lot of changes of "main" by "int main(void)" as can be seen i.e. at:
https:/ /github. com/backuppc/ rsync-bpc/ commit/ ce3ce3061c2acc4 c78693953d6a1a2 cf50145fe2# diff-49473dca26 2eeab3b4a43002a db08b4db31020d1 90caaad1594b47f 1d5daa810L878
and with a later commit for one more missing:
https:/ /github. com/backuppc/ rsync-bpc/ pull/34/ files
The first commit is big: checking if all the changes are needed