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

conf.py error too after make menuconfig i happen error one and two by the line of command make #156

Open
Azaretdodo opened this issue Dec 19, 2023 · 26 comments

Comments

@Azaretdodo
Copy link

Azaretdodo commented Dec 19, 2023

Hello there,

I copy paste from my phone because the system is an Ubuntu server so for conf.py and i don't use ssh:

conf.py line 32 in module major, minor, patch = sphinx.version_info[:3] AttributeError module sphinx has no attribute version_info

Thus if i remove version_info i happen error following :

conf.py line 32 in module major, minor, patch = sphinx TypeError cannot unpack non-iterable module objet

In addition if i remove the line 32 then i define major (this is asked)finally for the errors python :

load_config.py line 6 in module from sphinx.util.osutil import fs_encoding ModuleNotFoundError no module named sphinx.util

For go more far i remove the line six in load_config fortunately i really go more far for happen error following :

conf.py line 60 in module if major >= 3 TypeError >= not supportés between instances of fonction and int

Therefore for the errors make :

make 1 *** scripts/Makefile.host:110: scripts/sign-file error 1 make *** Makefile:1270 scripts error 2

For finish my explaining thanks you in advance to bring a program who works fully,

Regards.

Azaretdodo.

@Azaretdodo
Copy link
Author

Hello it's again myself with great news,

Now conf.py answer these :

Using alabaster theme

If this is what you want thanks you in advance to help myself push this file in your fork however make reach the same error,

Regards.

Azaretdodo.

@ppanchad-amd
Copy link

@Azaretdodo Apologies for the lack of response. Can you please check if your issue still exist with the latest ROCm 6.2? If not, please close the ticket. Thanks!

@Azaretdodo
Copy link
Author

Azaretdodo commented Aug 21, 2024 via email

@Azaretdodo
Copy link
Author

Azaretdodo commented Aug 21, 2024 via email

@ppanchad-amd
Copy link

@Azaretdodo Internal ticket has been created to investigate your issue. Thanks!

@schung-amd
Copy link

Hi @Azaretdodo, I'll need some more information:

  • Operating system
  • CPU
  • GPU
  • ROCm version
  • Output of /opt/rocm/bin/rocminfo --support

What exactly is the issue and when/how does it occur? You mention conf.py, but as far as I understand this is just for building documentation. If you're trying to build the documentation, then your initial sphinx-related error indicates that you need to update sphinx.

You also mention installing ROCm from a tarball; I recommend installing using the installer according to https://rocm.docs.amd.com/projects/install-on-linux/en/latest/install/detailed-install.html. If you want to install a specific version, you can modify these instructions to pull in that version from repo.radeon.com; for example, if you want 6.0.0 on Ubuntu 22.04, you can replace

wget https://repo.radeon.com/amdgpu-install/6.2/ubuntu/jammy/amdgpu-install_6.2.60200-1_all.deb
sudo apt install ./amdgpu-install_6.2.60200-1_all.deb

with

wget https://repo.radeon.com/amdgpu-install/6.0/ubuntu/jammy/amdgpu-install_6.0.60000-1_all.deb
sudo apt install ./amdgpu-install_6.0.60000-1_all.deb

For older versions you may have to look up the version-specific installation guide.

@Azaretdodo
Copy link
Author

Azaretdodo commented Aug 23, 2024 via email

@schung-amd
Copy link

Hi, some points for clarification.

  • What exactly is the issue and when/how does it occur? You mention conf.py, but as far as I understand this is just for building documentation. If you're trying to build the documentation, then your initial sphinx-related error indicates that you need to update sphinx.
  • You say you're on an APU with no GPU but not sure if it's Intel or AMD; can you verify? Does your system have an accelerator card like the MI series?
  • rocminfo should be present in your ROCm install directory, so look in there if you have installed ROCm somewhere other than the default install directory. If this isn't present anywhere on your system, then ROCm did not install correctly.

@Azaretdodo
Copy link
Author

Azaretdodo commented Aug 23, 2024 via email

@Azaretdodo
Copy link
Author

Azaretdodo commented Aug 23, 2024 via email

@schung-amd
Copy link

Is there an error other than the sphinx error in your original post? This can be addressed by updating sphinx on your system. If there are other errors, please provide full details of the output you're seeing as well as the steps to reproduce these errors. Additionally, motherboard support for crossfire does not indicate that you have AMD hardware. If you are using an Intel processor with no discrete GPU or accelerator, then you are using Intel integrated graphics alone, in which case this kernel driver is not appropriate.

@Azaretdodo
Copy link
Author

Azaretdodo commented Aug 25, 2024 via email

@Azaretdodo
Copy link
Author

Azaretdodo commented Aug 26, 2024 via email

@schung-amd
Copy link

Hi, the sphinx module update suggestion is to address the error seen in your initial post (i.e. conf.py line 32 in module major, minor, patch = sphinx.version_info[:3] AttributeError module sphinx has no attribute version_info) if you are still experiencing it.

I don't see an attached image, please resend it. Where does the missing certificate error show up?

@Azaretdodo
Copy link
Author

Azaretdodo commented Aug 27, 2024 via email

@Azaretdodo
Copy link
Author

Azaretdodo commented Aug 28, 2024 via email

@schung-amd
Copy link

I can't find any references to a file named vmlinux.py in our repo. Do you mean vmlinux-gdb.py? I also cannot see any images you have attached, you may have to comment directly on GitHub instead of emailing in order for them to show up. It's difficult to investigate this without knowing the exact error you're running into here.

@Azaretdodo
Copy link
Author

Azaretdodo commented Aug 28, 2024

Hello,

I pass the certificate error by installing two dependancies so python3-sphinx for compile the kernel and gdb who is missing for the file python called vmlinux.py however without switch on Ubuntu server because the system always power on is kubuntu also the file name can be vmlinux-gdb.py seen than gdb is one of the variable module used unfortunately vmlinux-gdb.py doesn't find any gdb module neither python 2 and python 3 gdb and the aptitude packager doesn't find any dependancies other than gdb so i attach in attachement three picture taken with my phone thus the make error and the error happen with vmlinux-gdb.py and how is type this python file therefore i have edited this file it happen strange error about gdb
IMG_20240828_130449
IMG_20240828_130247
IMG_20240828_125505
,

Thanks you in advance to help myself fully use rock kernel driver,

Regards.

Azaretdodo.

@schung-amd
Copy link

It looks like make is not completing, which may be related to the error you're seeing mentioning gdb. You can try to bypass this by telling cmake not to treat warnings as errors, or by silencing this particular warning.

@Azaretdodo
Copy link
Author

Azaretdodo commented Sep 4, 2024 via email

@schung-amd
Copy link

The process you've tried before should be correct, but you'll need to pass additional options in the makefile or when you invoke make; for example, the advice in https://stackoverflow.com/questions/8132594/disable-werror-in-configure-file and https://stackoverflow.com/questions/11750988/quick-way-to-override-werror-flag might work. You may want to selectively disable the specific warning which is erroring out here with something like CFLAGS=-Wno-error=frame-larger-than.

@Azaretdodo
Copy link
Author

Azaretdodo commented Sep 5, 2024 via email

@schung-amd
Copy link

Could you attach an image of any error you see? I can't tell what's going on without the error output.

@Azaretdodo
Copy link
Author

Azaretdodo commented Sep 5, 2024 via email

@schung-amd
Copy link

Sorry for the delay. I'll need the actual error message to help you here.

@Azaretdodo
Copy link
Author

Hello,

I went to down my gamer screen for power on my Ubuntu server where it is installed rock kernel driver so i log in github for attach the printscreen taken with my phone where i show the error already explained

IMG_20240921_104659

Thus now your help will be welcome and if you haven't the time take a good weekend,

Thanks you in advance,

Regards.

Azaretdodo.

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

No branches or pull requests

3 participants