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

Request update for config.guess file #404

Closed
Avimitin opened this issue May 30, 2022 · 3 comments · Fixed by #407
Closed

Request update for config.guess file #404

Avimitin opened this issue May 30, 2022 · 3 comments · Fixed by #407
Assignees
Labels
bug Something isn't working priority-medium
Milestone

Comments

@Avimitin
Copy link

When I am trying to build this program on RISC-V machine, autoconf reports that checking build system type... ./config.guess: unable to guess system type. This is because the config.guess and config.sub file in source tree is too old. The current workaround is copying /usr/share/autoconf/build-aux/config.{guess,sub} to overwrite the current files. But I think this file should be updated in upstream.

Avimitin added a commit to Avimitin/archriscv-packages that referenced this issue May 30, 2022
The current config.guess file is outdated. This patch is a temporary
workaround. And it should be removed after the [upstream] update the guess
file.

ref:
[upstream]: OpenPrinting/cups#404

Signed-off-by: Avimitin <avimitin@gmail.com>
felixonmars pushed a commit to felixonmars/archriscv-packages that referenced this issue May 30, 2022
The current config.guess file is outdated. This patch is a temporary
workaround. And it should be removed after the [upstream] update the guess
file.

ref:
[upstream]: OpenPrinting/cups#404

Signed-off-by: Avimitin <avimitin@gmail.com>
@zdohnal
Copy link
Member

zdohnal commented May 30, 2022

Hi @Avimitin ,

thank you for reporting the issue!

I cannot reproduce it locally, but I've copied the config.sub and config.guess from my Fedora 36 (autoconf 2.71) into CUPS project and configure passed.

I will create a branch with new files, could you verify it works for you?

Here is the branch with updated files https://github.com/zdohnal/cups/tree/config_update .

@michaelrsweet can you try the updated files as well on MacOS?

@zdohnal zdohnal self-assigned this May 30, 2022
@zdohnal zdohnal added bug Something isn't working priority-medium waiting for reporter There are data requested from the reporter labels May 30, 2022
@zdohnal zdohnal added this to the v2.4.3 milestone May 30, 2022
@Avimitin
Copy link
Author

Yes it can now be built on riscv64 architecture now. Thanks for your fix, waiting for the new release.

@zdohnal zdohnal removed the waiting for reporter There are data requested from the reporter label May 31, 2022
@michaelrsweet
Copy link
Member

@zdohnal Works for me on macOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority-medium
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants