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

Error: cputype does not match previous archive members cputype #6041

Closed
paulocoutinhox opened this issue Aug 12, 2022 · 5 comments
Closed

Error: cputype does not match previous archive members cputype #6041

paulocoutinhox opened this issue Aug 12, 2022 · 5 comments

Comments

@paulocoutinhox
Copy link

Hi,

Im getting this error:

cputype does not match previous archive members cputype

Anyone knows what can be wrong?

Full Log:
https://c3i.jfrog.io/c3i/misc/logs/pr/12186/3-configs/macos-m1-clang/sdl/2.0.22//1a51b3c2bef48f2ff0b3b07f7f42471608784267-build.txt

It is attached too:

1a51b3c2bef48f2ff0b3b07f7f42471608784267-build.txt

@slouken
Copy link
Collaborator

slouken commented Aug 12, 2022

It sounds like you had a previous build for x86 architecture and are now building for arm64. I'm guessing you need to do a clean build?

@madebr
Copy link
Contributor

madebr commented Aug 12, 2022

With a bit of googling, I found out cputype 16777223 means “x86 64” and cputype 16777228 means "arm64".
So it looks like a lot of files are compiled as arm64 where they should have been compiled as x86_64.
I compared the failed logs with the logs of building 2.0.20 at conan-io/conan-center-index#12018 and could not find a significant difference.

https://c3i.jfrog.io/c3i/misc/logs/pr/12018/1-configs/macos-m1-clang/sdl/2.0.20//fe30d62a63b5cde6e530feb6fb1b3dc2de680103-build.txt
fe30d62a63b5cde6e530feb6fb1b3dc2de680103-build.txt

Can you check whether the previous sdl version(s) still build fine with the current build configuration?
If those still build fine, can you enable verbose building so we can see what compile flags are being used?

@paulocoutinhox
Copy link
Author

Hi @madebr,

In my local machine it compile without problems.

Log is attached:
sdl.txt

@paulocoutinhox
Copy link
Author

Hi @madebr,

How can i enable verbose in conan CI?

Thanks.

@slouken slouken closed this as completed Nov 7, 2023
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

No branches or pull requests

3 participants