Skip to content

Comments

Use $config{build_file} instead of $target{build_file} [1.1.1]#20174

Closed
levitte wants to merge 1 commit intoopenssl:OpenSSL_1_1_1-stablefrom
levitte:fix-buildfile-settings-111
Closed

Use $config{build_file} instead of $target{build_file} [1.1.1]#20174
levitte wants to merge 1 commit intoopenssl:OpenSSL_1_1_1-stablefrom
levitte:fix-buildfile-settings-111

Conversation

@levitte
Copy link
Member

@levitte levitte commented Jan 30, 2023

If the user specifies an alternative build file than the default, this alternative is recorded in $config{build_file}, not $target{build_file}. Therefore, the former should be used, leaving the latter as a mere default.

This is a bug.


This is #20173 backported to 1.1.1

@levitte levitte added approval: review pending This pull request needs review by a committer branch: 1.1.1 Applies to OpenSSL_1_1_1-stable branch (EOL) approval: otc review pending labels Jan 30, 2023
@levitte levitte requested review from a team January 30, 2023 14:27
@levitte levitte self-assigned this Jan 30, 2023
@levitte levitte changed the title Use $config{build_file} instead of $target{build_file} Use $config{build_file} instead of $target{build_file} [1.1.1] Jan 30, 2023
@t8m t8m added triaged: bug The issue/pr is/fixes a bug tests: exempted The PR is exempt from requirements for testing labels Jan 30, 2023
@t8m
Copy link
Member

t8m commented Jan 30, 2023

I wouldn' t bother fixing this on 1.1.1. On the other hand the PR is here already.

@mspncp mspncp added approval: done This pull request has the required number of approvals and removed approval: review pending This pull request needs review by a committer labels Feb 2, 2023
If the user specifies an alternative build file than the default, this
alternative is recorded in $config{build_file}, not $target{build_file}.
Therefore, the former should be used, leaving the latter as a mere default.

This is a bug.
@levitte levitte force-pushed the fix-buildfile-settings-111 branch from 4b6556a to 6f4a03e Compare February 3, 2023 10:13
@levitte
Copy link
Member Author

levitte commented Feb 3, 2023

Merged

1dc2ae4 Use $config{build_file} instead of $target{build_file}

@levitte levitte closed this Feb 3, 2023
@levitte levitte deleted the fix-buildfile-settings-111 branch February 3, 2023 10:19
openssl-machine pushed a commit that referenced this pull request Feb 3, 2023
If the user specifies an alternative build file than the default, this
alternative is recorded in $config{build_file}, not $target{build_file}.
Therefore, the former should be used, leaving the latter as a mere default.

This is a bug.

Reviewed-by: Hugo Landau <[email protected]>
Reviewed-by: Matthias St. Pierre <[email protected]>
(Merged from #20174)
a-kromm-rogii pushed a commit to a-kromm-rogii/openssl that referenced this pull request Mar 14, 2025
If the user specifies an alternative build file than the default, this
alternative is recorded in $config{build_file}, not $target{build_file}.
Therefore, the former should be used, leaving the latter as a mere default.

This is a bug.

Reviewed-by: Hugo Landau <[email protected]>
Reviewed-by: Matthias St. Pierre <[email protected]>
(Merged from openssl#20174)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approval: done This pull request has the required number of approvals branch: 1.1.1 Applies to OpenSSL_1_1_1-stable branch (EOL) tests: exempted The PR is exempt from requirements for testing triaged: bug The issue/pr is/fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants