Skip to content

opam > 2.1 changes the timestamp on source files #6693

@mtelvers

Description

@mtelvers

With reference to ocaml/opam-repository#28495. The package fails to build on opam > 2.1 as automake is not installed. This appears as a straightforward dependency problem, but automake is only required as the timestamp on the build files is not maintained.

As mentioned in the PR discussion, the extraction/copy behaviour changed in opam 2.2. Previously, the source tarball was extracted in place, whereas in opam >= 2.2 it is extracted into the source directory, then copied to the build directory. The copy does not retain the original time stamps, which results in make deciding that it needs to regenerate the configure script.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions