Skip to content

Fix config path bug#147

Merged
bucanero merged 2 commits into
masterfrom
146-path-error
Jun 25, 2026
Merged

Fix config path bug#147
bucanero merged 2 commits into
masterfrom
146-path-error

Conversation

@bucanero

Copy link
Copy Markdown
Contributor

No description provided.

bucanero added 2 commits June 24, 2026 20:57
Updated paths for config.guess and config.sub files.
Updated the paths for config.guess and config.sub files.
@bucanero bucanero linked an issue Jun 24, 2026 that may be closed by this pull request
@bucanero bucanero merged commit bf8b4c5 into master Jun 25, 2026
6 checks passed
@bucanero bucanero deleted the 146-path-error branch June 25, 2026 00:11

## Replace config.guess and config.sub
cp ../archives/config.guess ../archives/config.sub ${BINUTILS}
cp ../config/config.guess ../config/config.sub ${BINUTILS}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is not correct. The get-config-scripts.sh script tries to fetch config.guess and config.sub from Savannah and place them in the current working directory. Only if it fails will it copy the files from config to the current working directory. Your change makes this script use the version from config even if a newer version was successfully downloaded from Savannah.

One could argue that the download from Savannah should be removed completely, but performing the download and then not using the result just seems wrong...

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think the disconnect comes from where this was carried over from ps3libraries. In ps3libraries, get-config-scripts.sh downloads (or copies) config.guess and config.sub into archives, where the script can then find them. Here, get-config-scripts.sh instead downloads (or copies) them to the current directory.

@bucanero bucanero Jun 25, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

oh, I see. Sorry for my mistake. I'm going to open a new PR with a proper fix based on your feedback. 👍

bucanero added a commit that referenced this pull request Jun 25, 2026
@bucanero bucanero mentioned this pull request Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Path error?

2 participants