Bug 14579 - create_source_date_epoch_stamp failed for mtools
Summary: create_source_date_epoch_stamp failed for mtools
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 3.4 M4
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2021-09-28 10:13 UTC by Oleksiy Obitotskyy
Modified: 2021-10-07 12:31 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleksiy Obitotskyy 2021-09-28 10:13:28 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/2619
oe-selftest-centos centos8-ty-2

ERROR: Logfile of failure stored in: /home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-4124127/tmp/work/core2-64-poky-linux/psplash/0.1+git999-r15/temp/log.do_deploy_source_date_epoch.437562
NOTE: recipe psplash-0.1+git999-r15: task do_deploy_source_date_epoch: Failed
ERROR: Task (/tmp/devtoolqapobbtfuq/core-copy/meta/recipes-core/psplash/psplash_git.bb:do_deploy_source_date_epoch) failed with exit code '1'
NOTE: recipe docbook-xsl-stylesheets-native-1.79.1-r0: task do_populate_sysroot_setscene: Succeeded
NOTE: recipe glib-2.0-native-1_2.68.4-r0: task do_populate_sysroot_setscene: Started
NOTE: recipe glib-2.0-native-1_2.68.4-r0: task do_populate_sysroot_setscene: Succeeded
NOTE: recipe cmake-native-3.21.1-r0: task do_populate_sysroot_setscene: Succeeded
NOTE: Tasks Summary: Attempted 710 tasks of which 706 didn't need to be rerun and 1 failed.
...
ERROR: mtools-native-4.0.35-r0 do_unpack: Error executing a python function in exec_func_python() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:create_source_date_epoch_stamp(d)
     0003:
File: '/tmp/devtoolqapobbtfuq/core-copy/meta/classes/reproducible_build.bbclass', lineno: 109, function: create_source_date_epoch_stamp
     0105:    bb.utils.mkdirhier(d.getVar('SDE_DIR'))
     0106:    with open(tmp_file, 'w') as f:
     0107:        f.write(str(source_date_epoch))
     0108:
 *** 0109:    os.rename(tmp_file, epochfile)
     0110:}
     0111:
     0112:EPOCHTASK = "do_deploy_source_date_epoch"
     0113:
Exception: FileNotFoundError: [Errno 2] No such file or directory: '/home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-4124127/tmp/work/x86_64-linux/mtools-native/4.0.35-r0/source-date-epoch/__source_date_epoch.txt.new' -> '/home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-4124127/tmp/work/x86_64-linux/mtools-native/4.0.35-r0/source-date-epoch/__source_date_epoch.txt'

NOTE: recipe mtools-native-4.0.35-r0: task do_deploy_source_date_epoch: Succeeded
NOTE: recipe mtools-native-4.0.35-r0: task do_prepare_recipe_sysroot: Succeeded
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-4124127/tmp/work/x86_64-linux/mtools-native/4.0.35-r0/temp/log.do_unpack.1633164
NOTE: recipe mtools-native-4.0.35-r0: task do_unpack: Failed
ERROR: Task (virtual:native:/tmp/devtoolqapobbtfuq/core-copy/meta/recipes-devtools/mtools/mtools_4.0.35.bb:do_unpack) failed with exit code '1'
NOTE: Tasks Summary: Attempted 76 tasks of which 72 didn't need to be rerun and 1 failed.
NOTE: The errors for this build are stored in /home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-4124127/tmp/log/error-report/error_report_20210928075334.txt
You can send the errors to a reports server by running:
  send-error-report /home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-4124127/tmp/log/error-report/error_report_20210928075334.txt [-s server]
NOTE: The contents of these logs will be posted in public if you use the above command with the default server. Please ensure you remove any identifying or proprietary information when prompted before sending.

Summary: 1 task failed:
  virtual:native:/tmp/devtoolqapobbtfuq/core-copy/meta/recipes-devtools/mtools/mtools_4.0.35.bb:do_unpack
Summary: There was 1 ERROR message shown, returning a non-zero exit code.