Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass real fd when restore and dump ext file #2502

Closed

pass real fd when restore and dump ext file

23b64b9
Select commit
Loading
Failed to load commit list.
Closed

pass real fd when restore and dump ext file #2502

pass real fd when restore and dump ext file
23b64b9
Select commit
Loading
Failed to load commit list.
Cirrus CI / Vagrant Fedora Rawhide based test failed Oct 24, 2024 in 9m 13s

Task Summary

Instruction build failed in 08:46

Details

✅ 00:06 clone
✅ 00:18 setup
❌ 08:46 build

 CC        unbindable.o
 LINK      unbindable
 DEP       chroot.d
 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 '/criu/test/zdtm/static'
make: *** [Makefile:7: static] Error 2
make: Leaving directory '/criu/test/zdtm'
Error: building at STEP "RUN make -C test/zdtm -j $(nproc)": while running runtime: exit status 2
make[1]: *** [Makefile:24: fedora-rawhide] Error 2
make[1]: Leaving directory '/vagrant/criu/scripts/build'
make: *** [Makefile:50: fedora-rawhide] Error 2
make: Leaving directory '/vagrant/criu/scripts/ci'
make: *** [Makefile:73: vagrant-fedora-rawhide] Error 2
make: Leaving directory '/tmp/criu/scripts/ci'

Exit status: 2������������������������������������������