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

Timestamp problems for automake-based builds #1023

Open
jrray opened this issue May 13, 2024 · 0 comments
Open

Timestamp problems for automake-based builds #1023

jrray opened this issue May 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jrray
Copy link
Collaborator

jrray commented May 13, 2024

As mentioned in the weekly meeting a few weeks ago, there is an issue when building packages that use automake and when using a tar source type (at least). When the build environment is rendered, the various files can have arbitrarily ordered timestamps which leads to make thinking some of the build files are out of date and need to be remade. This does not happen if the files retain their timestamps as found in the tarball.

It is also possible to avoid the problem by touching all the files with the same fixed timestamp, so a suggested fix is when rendering files to give them all the same timestamp of some fixed time (maybe the process start time of spfs-render). Actually saving timestamp info in the spfs object metadata is another possible route to take.

@jrray jrray added the bug Something isn't working label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant