Summary: | sys-kernel/gentoo-sources(?) should depend on virtual/libelf - ./tools/objtool/objtool: error while loading shared libraries: libelf.so.1: cannot open shared object file: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christian Widmer <cwidmer> |
Component: | Current packages | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arthur, cwidmer, email200202, tsmksubc |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info |
Created attachment 488782 [details]
emerge --info
Reassigning to nvidia maintainer Jer, I just saw you assigned it to us after I assigned it to you. This is an out of kernel driver. Can you tell me why you think it should be supported in the kernel ebuild? Building virtualbox-guest-additions-5.2.6 failed because of missing libelf.so.0 which is provided by dev-libs/libelf. There two problems: (1) virtualbox-guest-additions should depend on dev-libs/libelf. (2) dev-libs/libelf blocks dev-libs/elfutils and virtual/libelf. (In reply to Mike Pagano from comment #3) > I just saw you assigned it to us after I assigned it to you. This is an out > of kernel driver. Can you tell me why you think it should be supported in > the kernel ebuild? $ scanelf -n /usr/src/linux/tools/objtool/objtool TYPE NEEDED FILE ET_DYN libelf.so.1,libc.so.6 /usr/src/linux/tools/objtool/objtool /usr/src/linux/tools/objtool/Makefile:35:LDFLAGS += -lelf $(LIBSUBCMD) is now depending on virtual/libelf |
Created attachment 488780 [details] build.log Building the newest version of the nvidia binary drivers fails due to a missing libelf.so.1 when elfutils is not installed. Manually installing elfutils allows the package to build without errors.