Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 771312 - chmod: cannot access '/build/lakitusbin/unix_chkpwd': No such file or directory
Summary: chmod: cannot access '/build/lakitusbin/unix_chkpwd': No such file or directory
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mikle Kolyada (RETIRED)
URL: https://cloud.google.com/container-op...
Whiteboard:
Keywords:
: 771132 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-02-18 17:41 UTC by aaltinay101
Modified: 2021-02-18 21:42 UTC (History)
2 users (show)

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


Attachments
emerge--info (emerge-info,6.00 KB, text/plain)
2021-02-18 17:41 UTC, aaltinay101
Details
emerge-lakitu--info (emerge-lakitu-info,6.76 KB, text/plain)
2021-02-18 17:42 UTC, aaltinay101
Details
logs (sys-libs_pam-1.5.1_20210218-171015.log,562.29 KB, application/octet-stream)
2021-02-18 17:42 UTC, aaltinay101
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aaltinay101 2021-02-18 17:41:35 UTC
Reopening this bug because updated ebuild file that doesn't use PREFIX hasn't fix the problem in my environment. Adding "/" to the beginning of sbin/unix_chkpwd in ebuild file fixed the error.

Reproducible: Always

Steps to Reproduce:
1.emerge-lakitu pam
2.
3.
Comment 1 aaltinay101 2021-02-18 17:41:59 UTC
Created attachment 687474 [details]
emerge--info
Comment 2 aaltinay101 2021-02-18 17:42:21 UTC
Created attachment 687477 [details]
emerge-lakitu--info
Comment 3 aaltinay101 2021-02-18 17:42:46 UTC
Created attachment 687480 [details]
logs
Comment 4 aaltinay101 2021-02-18 17:44:08 UTC
Please let me know if there is any other data I can provide on my side.
Comment 5 Emily Rowlands 2021-02-18 18:04:33 UTC
Looks like a duplicate of bug 771132
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-18 19:28:54 UTC
The confusion comes from how this only matters in two cases:
1) Gentoo Prefix (where PAM doesn't make sense)
2) --root and so on

Using "${ROOT}"/sbin/unix_chkpwd should work fine instead. Can you confirm?
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-18 19:29:08 UTC
*** Bug 771132 has been marked as a duplicate of this bug. ***
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-18 19:46:35 UTC
Hm. The eclass is supposed to prefix it with ${ROOT} for us.

"If the file is a relative path (e.g. bin/foo rather than /bin/foo), then the appropriate path var ($D/$ROOT/etc...) will be prefixed based on the current ebuild phase."

(https://devmanual.gentoo.org/eclass-reference/fcaps.eclass/index.html)

Why isn't it?
Comment 9 Mike Gilbert gentoo-dev 2021-02-18 20:08:18 UTC
Based on emerge --info and the build log, this appears to be a bug report for ChromiumOS, not Gentoo.

Does the ChromiumOS repository include this eclass change?

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06ac51cf5bdb3220d427819cdfafdab231e4a4f8
Comment 10 aaltinay101 2021-02-18 21:42:48 UTC
Looks like eclass change doesn't exist. I just verified that it fixes the error. Thank you for your time Mike and Sam!