Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 793737 - ebuild files/startDM.sh calls /lib/rc/sh/functions.sh without regard to profile setting
Summary: ebuild files/startDM.sh calls /lib/rc/sh/functions.sh without regard to profi...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-01 17:22 UTC by Anthony Segredo
Modified: 2021-06-04 17:29 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Segredo 2021-06-01 17:22:49 UTC
/lib used to mean /lib64 on 64 bit profiles, now with profile 17.1 /lib point to the former /lib32 and the build fails.

There should be a test for system being 64-bit or 32-bit. If system is 64-bit then call should be to /lib64/rc/sh/functions which does exist.
Possibly check for ABI?

Reproducible: Always

Steps to Reproduce:
1.eselect profile 17.1
2.emerge xinit
3.
Actual Results:  
X11 won't start the display manager because the callee file does not exist

Expected Results:  
call should succeed and X display start
Comment 1 Mike Gilbert gentoo-dev 2021-06-01 20:26:49 UTC
OpenRC installs functions.sh in /lib/rc, regardless of your profile.

Perhaps you did not complete the 17.1 migration sucessfully?
Comment 2 Anthony Segredo 2021-06-04 17:29:57 UTC
unsymlinklib reported success but moved /lib/rc to /lib64/rc

I've fixed it by "ln -s /lib64/rc /lib/rc"
Probably should have used "mv" instead. I examined the files and you are correct.
They are all scripts so have no "bit-ness"