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

build: ensure autogen.sh updates package version #191

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

garlick
Copy link
Member

@garlick garlick commented Nov 4, 2024

Problem: PACKAGE_VERSION is not updated to match "git describe" in a development tree when autogen.sh is run.

The previous value is retained in the autom4te.cache directory, even when configure is regenerated, which seems counterintuitive.

Add the -force option to autoreconf (as called from autogen.sh) to ensure that nothing is cached from previous builds.

Note: this was done in flux-core back in 2022. While testing various development branches here, I managed to confuse myself by running make deb and using a distribution tarball that did not correspond to the checked out branch (doh!)

Problem: PACKAGE_VERSION is not updated to match "git describe"
in a development tree when autogen.sh is run.

The previous value is retained in the autom4te.cache directory,
even when configure is regenerated, which seems counterintuitive.

Add the --force option to autoreconf (as called from autogen.sh)
to ensure that nothing is cached from previous builds.
Copy link
Contributor

@grondo grondo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, I was wondering about this but didn't investigate. Thanks!

@mergify mergify bot merged commit f0232e7 into flux-framework:master Nov 4, 2024
17 checks passed
@garlick garlick deleted the autoreconf_force branch November 4, 2024 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants