i.ml", line 116, characters 4-24: 116 | Tar_unix.write_block hdr ^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Tar_unix.write_block Deprecated in favor of Tar.HeaderWriter File "ocaml/xapi/stream_vdi.ml", line 125, characters 4-24: 125 | Tar_unix.write_block hdr' ^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Tar_unix.write_block Deprecated in favor of Tar.HeaderWriter File "ocaml/xapi/stream_vdi.ml", line 395, characters 4-25: 395 | Tar_unix.Archive.skip ifd (Tar_unix.Header.compute_zero_padding_length hdr) ; ^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Tar_unix.Archive.skip Deprecated: use your own helper function File "ocaml/xapi/stream_vdi.ml", line 504, characters 12-33: 504 | Tar_unix.Archive.skip ifd ^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Tar_unix.Archive.skip Deprecated: use your own helper function File "ocaml/xapi/stream_vdi.ml", line 573, characters 20-43: 573 | Tar_unix.Archive.copy_n ifd zcat_in length) ; ^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Tar_unix.Archive.copy_n Deprecated: use your own helper function File "ocaml/xapi/stream_vdi.ml", line 574, characters 16-37: 574 | Tar_unix.Archive.skip ifd ^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Tar_unix.Archive.skip Deprecated: use your own helper function File "ocaml/xapi/export_raw_vdi.ml", line 106, characters 16-34: 106 | Tar_unix.write_end s ^^^^^^^^^^^^^^^^^^ Alert deprecated: Tar_unix.write_end Deprecated in favor of Tar.HeaderWriter File "ocaml/xapi/export.ml", line 593, characters 2-22: 593 | Tar_unix.write_block hdr (fun s -> Unixext.really_write_string s ova_xml) s ; ^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Tar_unix.write_block Deprecated in favor of Tar.HeaderWriter File "ocaml/xapi/export.ml", line 594, characters 2-20: 594 | Tar_unix.write_end s ^^^^^^^^^^^^^^^^^^ Alert deprecated: Tar_unix.write_end Deprecated in favor of Tar.HeaderWriter File "ocaml/xapi/export.ml", line 609, characters 2-22: 609 | Tar_unix.write_block hdr (fun s -> Unixext.really_write_string s ova_xml) s ; ^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Tar_unix.write_block Deprecated in favor of Tar.HeaderWriter File "ocaml/xapi/export.ml", line 645, characters 2-20: 645 | Tar_unix.write_end s ; ^^^^^^^^^^^^^^^^^^ Alert deprecated: Tar_unix.write_end Deprecated in favor of Tar.HeaderWriter File "ocaml/xapi/import.ml", line 1863, characters 4-25: 1863 | Tar_unix.Archive.skip fd (Tar_unix.Header.compute_zero_padding_length hdr) ; ^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Tar_unix.Archive.skip Deprecated: use your own helper function File "ocaml/xapi/import.ml", line 1907, characters 10-31: 1907 | Tar_unix.Archive.skip pipe_out ^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Tar_unix.Archive.skip Deprecated: use your own helper function File "ocaml/xapi/import.ml", line 2049, characters 14-35: 2049 | Tar_unix.Archive.skip s (Tar_unix.Header.length * 2) ; ^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Tar_unix.Archive.skip Deprecated: use your own helper function make: *** [build] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.J5sHEm (%build) RPM build errors: bogus date in %changelog: Tue May 15 2020 Lin Liu - 1.244.0-2 Bad exit status from /var/tmp/rpm-tmp.J5sHEm (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/xapi.spec