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

checkImageVersionFrom (Replacement/generated/64/vm/src/gcc3x-cointerp.c:62402):Invalid image format: detected version 6521, expected version 68021 #563

Open
vonbecmann opened this issue Aug 15, 2022 · 12 comments
Labels

Comments

@vonbecmann
Copy link
Author

im trying to test the project in this Pharo32-9.0 environment, but it doesn't open the image with that vm.

@fniephaus
Copy link
Member

It looks like you're trying to open a 32-bit image on a VM for 64-bit images. Does that even work?

@vonbecmann
Copy link
Author

does this framework choose the image and vm? im just adding Pharo32-9.0 to the config file.

@fniephaus
Copy link
Member

Yes, it does. Maybe the Pharo zeroconf configuration is broken. @estebanlm?

@vonbecmann
Copy link
Author

that vm is not the adequate for that image. i'll ask the pharo development team for a suitable vm.

@fniephaus
Copy link
Member

Ok, good. If you found out what's wrong, please feel free to update the VM map:

smalltalkCI/pharo/run.sh

Lines 137 to 208 in b35b5c5

pharo::get_vm_url() {
local smalltalk_name=$1
case "${smalltalk_name}" in
# NOTE: vmLatestXX should be updated every time new Pharo is released
"Pharo64-alpha")
echo "get.pharo.org/64/vmLatest110"
;;
"Pharo64-stable")
echo "get.pharo.org/64/vm100"
;;
"Pharo64-11")
echo "get.pharo.org/64/vm110"
;;
"Pharo64-10"|"Moose64-10"|"Moose64-trunk")
echo "get.pharo.org/64/vm100"
;;
"Pharo64-9.0"|"Moose64-9.0")
echo "get.pharo.org/vm90"
;;
"Pharo64-8.0"|"Moose64-8.0")
echo "get.pharo.org/64/vm80"
;;
"Pharo64-7.0"|"Moose64-7.0")
echo "get.pharo.org/64/vm70"
;;
"Pharo64-6.1")
echo "get.pharo.org/64/vm61"
;;
"Pharo64-6.0")
echo "get.pharo.org/64/vm60"
;;
"Pharo32-alpha"|"Pharo-alpha")
echo "get.pharo.org/vmLatest110"
;;
"Pharo-stable"|"Pharo32-stable")
echo "get.pharo.org/vm100"
;;
"Pharo32-11")
echo "get.pharo.org/vm110"
;;
"Pharo32-10")
echo "get.pharo.org/vm100"
;;
"Pharo32-9.0")
echo "get.pharo.org/vm90"
;;
"Pharo32-8.0"|"Moose32-8.0"|"Moose32-trunk")
echo "get.pharo.org/vm80"
;;
"Pharo32-7.0"|"Pharo-7.0"|"Moose32-7.0"|"Moose-7.0")
echo "get.pharo.org/vm70"
;;
"Pharo32-6.1"|"Moose32-6.1"|"Pharo-6.1"|"Moose-6.1")
echo "get.pharo.org/vm61"
;;
"Pharo32-6.0"|"Pharo-6.0")
echo "get.pharo.org/vm60"
;;
"Pharo32-5.0"|"Moose32-6.0"|"Pharo-5.0"|"Moose-6.0")
echo "get.pharo.org/vm50"
;;
"Pharo32-4.0"|"Pharo-4.0")
echo "get.pharo.org/vm40"
;;
"Pharo32-3.0"|"Pharo-3.0")
echo "get.pharo.org/vm30"
;;
*)
print_error_and_exit "Unsupported Pharo version '${smalltalk_name}'."
;;
esac

@estebanlm
Copy link
Collaborator

no, that's not an error.
You are downloading a 32bit image but the infrastructure where you run the test is 64bit, hence, zeroconf downloads the appropriate VM for that architecture automatically... and your 32bit image wont work.

@fniephaus
Copy link
Member

Mh, so how do we force download a 32-bit VM on a 64-bit GitHub action runner? We do install 32-bit dependencies on those machines.

@estebanlm
Copy link
Collaborator

estebanlm commented Aug 16, 2022 via email

@fniephaus
Copy link
Member

Ok, well that means that you cannot test Pharo32 anymore on any popular CI provider (I'm not aware of any provider supporting 32-bit machines) unless you provide your own 32-bit machine.

@estebanlm
Copy link
Collaborator

estebanlm commented Aug 16, 2022 via email

@vonbecmann
Copy link
Author

in my opinion, just remove that environment as an option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants