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

Maya 2024 has file conflicts with tcl and gcc-toolset-9 #19

Open
glevner opened this issue Sep 16, 2024 · 7 comments
Open

Maya 2024 has file conflicts with tcl and gcc-toolset-9 #19

glevner opened this issue Sep 16, 2024 · 7 comments

Comments

@glevner
Copy link

glevner commented Sep 16, 2024

I am trying to use the maya:2024 Docker image to build a plugin for Maya. I also need gcc 9, which involves installing Rocky Linux's gcc-toolset-9 package. But when I try to install it in my container, I get the following conflict from dnf:

Error: Transaction test error:
  file /usr/lib/.build-id/cd/9687ac50cadf056217eb40880462e51975351b from install of tcl-1:8.6.8-2.el8.x86_64 conflicts with file from package Maya2024_64-2024.0-4640.x86_64

Attempting to install the tcl package results in the same error. And I cannot remove the existing tcl package, because dnf does not think it is installed...

@mottosso
Copy link
Owner

Hm, the Docker image in this repo uses CentOS 7 for Maya 2024, so I expect you'll have more luck trying to install a GCC that is compatible with it instead.

You could also try re-building this image, using the base image used here for Maya 2025, which is Rocky 8. I would expect Maya 2024 to work on Rocky 8 as well.

For example:

  1. Build the Rocky 8 image here: https://github.com/mottosso/docker-maya/blob/2024/Dockerfile
  2. Replace this with the name of your built image, e.g. "FROM mottosso/mayabase-rocky8"
  3. Build and use

@glevner
Copy link
Author

glevner commented Sep 16, 2024

The image is based on mottosso/mayabase-centos7, but if you look inside the image, /etc/centos-release says:

Rocky Linux release 8.7 (Green Obsidian)

@mottosso
Copy link
Owner

What on earth!? Haha, yes I see that. That's.. a bug? 🤔 The other Maya images, e.g. 2022, uses the same base image, and it says:

CentOS Linux release 7.8.2003 (Core)

Someone must have pulled a switcharoo on the base-base image by the time it was created and uploaded to Docker Hub.

In that case, do share any solution you find.

@glevner
Copy link
Author

glevner commented Sep 16, 2024

I've tried to build my own Maya 2024 image, starting with mottosso/mayabase-rocky8 instead of mottosso/mayabase-centos7, but I don't have access...

ERROR: failed to solve: mottosso/mayabase-rocky8: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

(mottosso/mayabase-centos7 doesn't work either, but I don't understand why.)

@glevner
Copy link
Author

glevner commented Sep 17, 2024

Could you possibly give me access to the mayabase-rocky8 repository, so that I can try building a Maya 2024 image myself?

@mottosso
Copy link
Owner

It's not on Docker Hub, it's right here: https://github.com/mottosso/docker-maya/blob/2025/Dockerfile.mayabase

@glevner
Copy link
Author

glevner commented Sep 18, 2024

I contacted Autodesk, and it turns out this is a known issue for Maya 2024. The workaround they suggest is to install gcc-toolset-9 before Maya, and to install Maya with the rpm options --nodeps and --force. I have tested, and that does work.

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

2 participants