Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928337 - sys-apps/gawk-5.3.0-r1: fails when trying to install files to /usr/lib/modules even with no files for that path
Summary: sys-apps/gawk-5.3.0-r1: fails when trying to install files to /usr/lib/module...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-31 23:39 UTC by Aisha Tammy
Modified: 2024-04-01 00:53 UTC (History)
1 user (show)

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


Attachments
gawk-5.3.0-r1-file-list.txt (gawk-5.3.0-r1-file-list.txt,8.21 KB, text/plain)
2024-03-31 23:41 UTC, Aisha Tammy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aisha Tammy 2024-03-31 23:39:09 UTC
I have a gentoo guest container which shares the /usr/src and /usr/lib/modules directories with the gentoo host. These paths are mounted as read-only on the host. When I try to emerge sys-apps/gawk-5.3.0-r1 on the guest it fails with a read-only filesystem error, even though none of the files from gawk are getting installed in that folder.

All other ebuilds have merged perfectly fine on the guest.

Reproducible: Always

Steps to Reproduce:
1. Create a gentoo incus container on a gentoo host with shared host folders /usr/src and /usr/lib/modules mounted as read-only on guest
2. Try merging sys-apps/gawk-5.3.0-r1 on guest
3. See that merge fails with read-only filesystem error
Actual Results:  
When I try to install sys-apps/gawk-5.3.0-r1 on the guest, it fails with a read-only filesystem error.


Expected Results:  
sys-apps/gawk-5.3.0-r1 gets merged fine.

Last few lines of portage emerge:

>>> Done.
 * checking 104 files for package collisions
 * One or more files installed to this package are set to be installed to
 * read-only filesystems. Please mount the following filesystems as read-
 * write and retry.
 *
 *      /usr/lib/modules
 *
 * Package 'sys-apps/gawk-5.3.0-r1' NOT merged due to read-only file
 * systems. If necessary, refer to your elog messages for the whole
 * content of the above message.
Comment 1 Aisha Tammy 2024-03-31 23:41:39 UTC
Created attachment 889166 [details]
gawk-5.3.0-r1-file-list.txt

I've attached the list of files I see in the image folder for gawk in /var/tmp/portage. None of the files are in /usr/lib/modules and there is no post-install step which is moving things there in the ebuild either.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-04-01 00:53:53 UTC
Can you include emerge --info and build.log from the failure?