pass real fd when restore and dump ext file #2502
Closed
Cirrus CI / Vagrant Fedora based test (non-root)
failed
Oct 24, 2024 in 6m 18s
Task Summary
Instruction build failed in 05:52
Details
✅ 00:06 clone
✅ 00:17 setup
❌ 05:52 build
CC chroot.o
LINK chroot
DEP chroot-file.d
CC chroot-file.o
LINK chroot-file
DEP binfmt_misc.d
CC binfmt_misc.o
LINK binfmt_misc
DEP env00.d
CC env00.o
LINK env00
DEP fifo-rowo-pair.d
CC fifo-rowo-pair.o
LINK fifo-rowo-pair
DEP umask00.d
CC umask00.o
LINK umask00
DEP cmdlinenv00.d
CC cmdlinenv00.o
LINK cmdlinenv00
DEP shm-unaligned.d
CC shm-unaligned.o
LINK shm-unaligned
DEP shm-hugetlb.d
CC shm-hugetlb.o
LINK shm-hugetlb
PBCC criu-rtc.pb-c.c
LD criu-rtc.so
criu-rtc.c:20:5: error: conflicting types for ‘cr_plugin_dump_file’; have ‘int(int, int)’
20 | int cr_plugin_dump_file(int fd, int id)
| ^~~~~~~~~~~~~~~~~~~
criu-rtc.c:17:30: note: previous declaration of ‘cr_plugin_dump_file’ with type ‘cr_plugin_dump_file_t’ {aka ‘int(int, int, int)’}
17 | extern cr_plugin_dump_file_t cr_plugin_dump_file;
| ^~~~~~~~~~~~~~~~~~~
criu-rtc.c:74:5: error: conflicting types for ‘cr_plugin_restore_file’; have ‘int(int)’
74 | int cr_plugin_restore_file(int id)
| ^~~~~~~~~~~~~~~~~~~~~~
criu-rtc.c:18:33: note: previous declaration of ‘cr_plugin_restore_file’ with type ‘cr_plugin_restore_file_t’ {aka ‘int(int, int)’}
18 | extern cr_plugin_restore_file_t cr_plugin_restore_file;
| ^~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:728: criu-rtc.so] Error 1
make[1]: Leaving directory '/vagrant/criu/test/zdtm/static'
make: *** [Makefile:7: static] Error 2
make: Leaving directory '/vagrant/criu/test/zdtm'
Traceback (most recent call last):
File "/vagrant/criu/./test/zdtm.py", line 2953, in <module>
tst.available()
File "/vagrant/criu/./test/zdtm.py", line 678, in available
subprocess.check_call(["make", "-C", "zdtm/"])
File "/usr/lib64/python3.12/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', '-C', 'zdtm/']' returned non-zero exit status 2.
make: *** [Makefile:76: vagrant-fedora-non-root] Error 1
make: Leaving directory '/tmp/criu/scripts/ci'
Exit status: 2����������������������������������������������������������������������������������
Loading