Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 735008 - ERROR: x11-drivers/nvidia-drivers-340.108 - pkg_preinst(): sed: can't read /var/tmp/portage/x11-drivers/nvidia-drivers-340.108/image/etc/modprobe.d/nvidia.conf: No such file or directory
Summary: ERROR: x11-drivers/nvidia-drivers-340.108 - pkg_preinst(): sed: can't read /v...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-01 06:07 UTC by fkhp
Modified: 2020-08-01 06:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,328.22 KB, text/plain)
2020-08-01 06:12 UTC, fkhp
Details
emerge --info (emerge--info.txt,7.43 KB, text/plain)
2020-08-01 06:13 UTC, fkhp
Details
emerge -pqv (emerge-pqv.txt,123 bytes, text/plain)
2020-08-01 06:13 UTC, fkhp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fkhp 2020-08-01 06:07:03 UTC
>>> Installing (1 of 1) x11-drivers/nvidia-drivers-340.108::gentoo
 * checking 184 files for package collisions
>>> Merging x11-drivers/nvidia-drivers-340.108 to /
sed: can't read /var/tmp/portage/x11-drivers/nvidia-drivers-340.108/image/etc/modprobe.d/nvidia.conf: No such file or directory
 * ERROR: x11-drivers/nvidia-drivers-340.108::gentoo failed (preinst phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 125:  Called pkg_preinst
 *   environment, line 3704:  Called die
 * The specific snippet of code:
 *               sed -i -e "s:PACKAGE:${PF}:g" -e "s:VIDEOGID:${videogroup}:" "${D}"/etc/modprobe.d/nvidia.conf || die;


Reproducible: Always

Steps to Reproduce:
1.emerge -v1 nvidia-drivers
2.
3.
Actual Results:  
failed

Expected Results:  
installed

it seems the package should have create folder /var/tmp/portage/x11-drivers/nvidia-drivers-340.108/image/etc/modprobe.d
and put a file named nvidia.conf in the folder.
Comment 1 fkhp 2020-08-01 06:12:31 UTC
Created attachment 651926 [details]
build.log
Comment 2 fkhp 2020-08-01 06:13:10 UTC
Created attachment 651928 [details]
emerge --info
Comment 3 fkhp 2020-08-01 06:13:49 UTC
Created attachment 651930 [details]
emerge -pqv
Comment 4 Larry the Git Cow gentoo-dev 2020-08-01 06:41:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59c6e60de0ac0651768cf6893f3b56d0a681402e

commit 59c6e60de0ac0651768cf6893f3b56d0a681402e
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-08-01 06:41:22 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-08-01 06:41:37 +0000

    x11-drivers/nvidia-drivers: Guard modprobe.d mangling with USE=driver
    
    Closes: https://bugs.gentoo.org/735008
    Package-Manager: Portage-3.0.1, Repoman-2.3.23
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 x11-drivers/nvidia-drivers/nvidia-drivers-340.108.ebuild | 3 ---
 1 file changed, 3 deletions(-)