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

Odd Shell Error After Successful Installation #935

Open
ThisNekoGuy opened this issue May 8, 2024 · 9 comments
Open

Odd Shell Error After Successful Installation #935

ThisNekoGuy opened this issue May 8, 2024 · 9 comments

Comments

@ThisNekoGuy
Copy link

Describe the bug

  • Distro: Gentoo (LLVM17)
  • Description:

I noticed that, after (re-)installing my kernel (6.8.9, which is also running at the time) that despite succeeding all the way to the end I got an "error 1" indicator in my shell for some reason. Confused, I checked the logs folder and the only thing I can imagine might have been the issue is a linker check in system-info.txt that failed for some reason due to a "permission denied" error.

@AdelKS
Copy link
Collaborator

AdelKS commented May 12, 2024

Hello, please try again with latest linux-tkg commit to get the shell-output.log.txt file and attach it here.

@ThisNekoGuy
Copy link
Author

shell-output.log.txt

@AdelKS
Copy link
Collaborator

AdelKS commented May 12, 2024

It's failing at rebuilding the media-video/v4l2loopback module during emerge @module-rebuild, this is not a linux-tkg issue.

@ThisNekoGuy
Copy link
Author

Thanks for clarifying; I don't recall it failing on my end (there was some at the end that wasn't appended to the log, for some reason, and I saw the usual install message) but I haven't seen anything else I could imagine it being :/

I could try running that part by hand when I have a moment later today/tonight to double check if it really fails though.

@ThisNekoGuy
Copy link
Author

No, it does install; so that wouldn't make sense:

>>> Install media-video/v4l2loopback-0.13.1 into /var/tmp/portage/media-video/v4l2loopback-0.13.1/image
 * Stripping modules ...
 * Running /usr/lib/llvm/17/bin/x86_64-pc-linux-gnu-strip --strip-unneeded -- /var/tmp/portage/media-video/v4l2loopback-0.13.1/image/lib/modules/6.8.9-tkg-eevdf-gentoo-llvm-zen2/video/v4l2loopback.ko ...   [ ok ]
>>> Completed installing media-video/v4l2loopback-0.13.1 into /var/tmp/portage/media-video/v4l2loopback-0.13.1/image

 * Final size of build directory: 1328 KiB (1.2 MiB)
 * Final size of installed tree:   556 KiB


 * QA Notice: Package triggers severe warnings which indicate that it
 *            may exhibit random runtime failures.
 * v4l2loopback-ctl.c:773:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
 * v4l2loopback-ctl.c:1136:1: warning: non-void function does not return a value [-Wreturn-type]
 * /var/tmp/portage/media-video/v4l2loopback-0.13.1/work/v4l2loopback-0.13.1/v4l2loopback.c:1875:4: warning: variable 'index' is uninitialized when used here [-Wuninitialized]

 * Please do not file a Gentoo bug and instead report the above QA
 * issues directly to the upstream developers of this software.
 * Homepage: https://github.com/umlaeute/v4l2loopback

>>> Installing (2 of 2) media-video/v4l2loopback-0.13.1::gentoo
 * Updating module dependencies for kernel 6.8.9-tkg-eevdf-gentoo-llvm-zen2 ...
 * Running depmod -ae -F /lib/modules/6.8.9-tkg-eevdf-gentoo-llvm-zen2/build/System.map 6.8.9-tkg-eevdf-gentoo-llvm-zen2 ...                                                                                  [ ok ]

>>> Completed (2 of 2) media-video/v4l2loopback-0.13.1::gentoo

@AdelKS
Copy link
Collaborator

AdelKS commented May 13, 2024

The install.sh simply calls emerge @module-rebuild, no extra magic. maybe you have a different kernel selected in equery kernel list

@ThisNekoGuy
Copy link
Author

Just checked; no, I don't have a different one selected:

Available kernel symlink targets:
  [1]   linux-6.6.28-tkg-pds-gentoo-llvm-zen2
  [2]   linux-6.7.12-tkg-pds-gentoo-llvm-zen2
  [3]   linux-6.8.9-gentoo-dist
  [4]   linux-6.8.9-tkg-eevdf-gentoo-llvm-zen2 *

@AdelKS
Copy link
Collaborator

AdelKS commented May 13, 2024

No idea then, you probably won't be able to reproduce this error next time you compile a kernel.

@ThisNekoGuy
Copy link
Author

How is that the case when I reproduced it twice in a row so far? (Initially, then again to collect the log)

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