Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] can't mount devices, nor shut down after re-emer...
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Daemon14
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2005
Posts: 120
Location: Poland / Colombia

PostPosted: Fri Aug 20, 2021 6:35 pm    Post subject: [SOLVED] can't mount devices, nor shut down after re-emer... Reply with quote

Hi everyone!
I decided to get rid of Spidermoney since updating it on my grandpa laptop was really painful. equery d spidermonkey pointed only polkit to be using it so I looked for alternatives and I found musl overlay that offers polkit with duktape instead of spidermonkey. I gave it a try but after rebooting, I realized I can't mount any device, nor shutdown/reboot the PC. Plasma's "Disks&Devices" applet said I'm not allowed to do it, and Dolphin gives me:
Quote:
An error occurred while accessing '14.9 GiB Removable Media', the system responded: You are not authorized to perform this operation: Not authorized to perform operation (polkit authority not available and caller is not uid 0)

I discovered there is no /etc/init.d/polkitd and as far as I remember there should be, right?

Is it duktape-polkit's fault? or am I barking up the wrong tree?

Is it possible to use polkit with duktape and be able to mount devices and shutdown/reboot or I need to re-emerge spidermoney?

thanks in advance
_________________
Dell Optiplex 7010 / CPU Core i7-3770K / RAM 16GB Patriot Viper III / GTX 1050 2GB / SSD 500GB + 2x HDD 2TB
Dell Latitude E6440 / CPU Core i5-4300M / RAM 8GB / SSD 120GB + HDD 500GB


Last edited by Daemon14 on Fri Aug 20, 2021 11:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Fri Aug 20, 2021 7:38 pm    Post subject: Reply with quote

Yes
Plz use miramir overlay
sys-auth/polkit::miramir
You might need to allow ~arch for it.
Code:

layman -a miramir
layman -S
echo "sys-auth/polkit::gentoo" > /etc/portage/package.mask/polkit-gentoo
echo "sys-auth/polkit::miramir   duktape" > /etc/portage/package.use/polkit-miramir
emerge -1av polkit
emerge -a --depclean

If you prefer a more radical solution globaly use USE"-policykit" in make.conf and rebuild @world.
But you will lose polkit functionality.
Can you live without it?
_________________
:)


Last edited by alamahant on Fri Aug 20, 2021 10:14 pm; edited 2 times in total
Back to top
View user's profile Send private message
Daemon14
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2005
Posts: 120
Location: Poland / Colombia

PostPosted: Fri Aug 20, 2021 9:04 pm    Post subject: Reply with quote

I emerged polkit from miramar overlay but with no effect, I still can't mount, nor shutdown/reboot etc. Then I re-emerged all packages indicated by equery d polkit but still no progress. While emerging elogind, I got a warning that elogind is not added to any RC level and it's recommended to add it to boot and I got little progress, now SDDM is able to shutdown/reboot the machine, however plasma is still not.

polkit flag seems to not exist anymore.

I followed instructions on https://wiki.gentoo.org/wiki/Polkit, I created some rules for polkit but no effect. It looks like polkit is not even running. How can I make it run without /etc/init.d/polkitd?

pkaction gives me:
Quote:
Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Process org.freedesktop.PolicyKit1 received signal 6

_________________
Dell Optiplex 7010 / CPU Core i7-3770K / RAM 16GB Patriot Viper III / GTX 1050 2GB / SSD 500GB + 2x HDD 2TB
Dell Latitude E6440 / CPU Core i5-4300M / RAM 8GB / SSD 120GB + HDD 500GB
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Fri Aug 20, 2021 9:08 pm    Post subject: Reply with quote

Quote:

I found musl overlay that offers polkit with duktape instead of spidermonkey

musl is not compatible with glibc.
Quote:

polkit flag seems to not exist anymore

Plz run
Code:

eselect profile list
ls -l /etc/portage/make.profile

_________________
:)
Back to top
View user's profile Send private message
Daemon14
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2005
Posts: 120
Location: Poland / Colombia

PostPosted: Fri Aug 20, 2021 9:24 pm    Post subject: Reply with quote

Quote:
musl is not compatible with glibc.

I've already gotten rid of musl overlay

Quote:
eselect profile list

I use: default/linux/amd64/17.1/desktop/plasma (stable) profile
and I know that's why I can't disable policykit flag.
But the question is, is it a good idea to get rid of polkit?
Isn't there any way to use polkit with duktape and be able to mount devices and shutdown the machine?

I'm a little bit confused, I was always using polkit and never had problems, polkit ceased to work properly when I built it with duktape flag. Is duktape the culprit?
_________________
Dell Optiplex 7010 / CPU Core i7-3770K / RAM 16GB Patriot Viper III / GTX 1050 2GB / SSD 500GB + 2x HDD 2TB
Dell Latitude E6440 / CPU Core i5-4300M / RAM 8GB / SSD 120GB + HDD 500GB
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Fri Aug 20, 2021 9:30 pm    Post subject: Reply with quote

Quote:

Isn't there any way to use polkit with duktape and be able to mount devices and shutdown the machine?

I already told you.
polkit::miramir
This is what i am using in xfce.
Its very unlikely that it doesnt work in kde.
Quote:

I've already gotten rid of musl overlay

did you get rid also of musl polkit?
Code:

 eix -I polkit

_________________
:)
Back to top
View user's profile Send private message
Daemon14
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2005
Posts: 120
Location: Poland / Colombia

PostPosted: Fri Aug 20, 2021 9:48 pm    Post subject: Reply with quote

Quote:
I already told you.
polkit::miramir

I re-emerged polkit using ebuild from miramir but it doesn't seem to work for me.

Quote:
eix -I polkit

Code:

[I] sys-auth/polkit
     Available versions:  0.116-r3^t 0.116-r3^t[1] 0.117-r1^t[1] (~)0.117-r2^t (~)0.118-r1^t[1] 0.118-r2^t 0.119-r1^t[1] 0.119-r2^t 0.119-r2^t[1] {consolekit duktape elogind examples gtk +introspection jit kde nls pam selinux systemd test}
     Installed versions:  0.119-r2^t[1](03:05:23 PM 08/20/2021)(duktape elogind gtk introspection kde nls pam -examples -selinux -systemd -test)
.
.
.
[1] "miramir" /var/lib/layman/miramir


Quote:
This is what i am using in xfce.
Its very unlikely that it doesnt work in kde.

do you have /etc/init.d/polkitd?
_________________
Dell Optiplex 7010 / CPU Core i7-3770K / RAM 16GB Patriot Viper III / GTX 1050 2GB / SSD 500GB + 2x HDD 2TB
Dell Latitude E6440 / CPU Core i5-4300M / RAM 8GB / SSD 120GB + HDD 500GB
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Fri Aug 20, 2021 9:53 pm    Post subject: Reply with quote

No
no polkitd in /etc/init.d
By default there is no polkitd daemon in /etc/init.d.
However there is a polkitd process
Code:

ps -ef | grep polkit
polkitd   3655     1  0 Aug20 ?        00:00:00 /usr/lib/polkit-1/polkitd --no-debug
user    3730  3608  0 Aug20 ?        00:00:00 /usr/libexec/polkit-gnome-authentication-agent-1
root      5504 28967  0 01:00 pts/1    00:00:00 grep --colour=auto polkit


By the way the name of use flag is "policykit"

duktape-polkit might not be the reason that kde polkit doesn't work.
It often doesnt work on its own accord.
Very glitchy DE.
:)
_________________
:)


Last edited by alamahant on Fri Aug 20, 2021 10:13 pm; edited 1 time in total
Back to top
View user's profile Send private message
Daemon14
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2005
Posts: 120
Location: Poland / Colombia

PostPosted: Fri Aug 20, 2021 10:12 pm    Post subject: Reply with quote

Quote:
no polkitd in /etc/init.d

ok, so that's not the culprit here.

Quote:
By the way the name of use flag is "policykit"

yeah I've noticed. Anyway due to the profile I use, I can't disable it.

I just took a closer look to Spidermonkey, the compilation time is not a big deal, it was ~20mins, the problem was that I only have 8GB RAM, I use tmpfs and spidermonkey takes up to 6.5GB + it needs ~3GB to build. But I've reminded that now I'm using zram, compressed /var/tmp and compressed swap. I emerged spidermonkey and it went smoothly and compilation time dropped to 13mins. So spidermonkey seems not to be a big deal anymore. But it still hurts that I need to build a 325MB monster in order to biuld 1MB polkit :D

Talking about polkit with duktape
I've just noticed:
Code:
>>> Unpacking source...
>>> Unpacking polkit-0.119.tar.gz to /var/tmp/portage/sys-auth/polkit-0.119-r2/work
>>> Unpacking polkit-0.118-duktape.patch to /var/tmp/portage/sys-auth/polkit-0.119-r2/work
unpack polkit-0.118-duktape.patch: file format not recognized. Ignoring.


is has some problem with unpacking a patch. May it cause the problem?
_________________
Dell Optiplex 7010 / CPU Core i7-3770K / RAM 16GB Patriot Viper III / GTX 1050 2GB / SSD 500GB + 2x HDD 2TB
Dell Latitude E6440 / CPU Core i5-4300M / RAM 8GB / SSD 120GB + HDD 500GB
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Fri Aug 20, 2021 10:17 pm    Post subject: Reply with quote

Quote:

unpack polkit-0.118-duktape.patch: file format not recognized. Ignoring.


is has some problem with unpacking a patch. May it cause the problem?

Absolutely.
This is the very patch that enables replacement of spidermonkey with duktape.
_________________
:)
Back to top
View user's profile Send private message
Daemon14
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2005
Posts: 120
Location: Poland / Colombia

PostPosted: Fri Aug 20, 2021 10:18 pm    Post subject: Reply with quote

Quote:
However there is a polkitd process


When built with spidermonkey, there is a polkit process. When build with duktape there is not :(
_________________
Dell Optiplex 7010 / CPU Core i7-3770K / RAM 16GB Patriot Viper III / GTX 1050 2GB / SSD 500GB + 2x HDD 2TB
Dell Latitude E6440 / CPU Core i5-4300M / RAM 8GB / SSD 120GB + HDD 500GB
Back to top
View user's profile Send private message
Daemon14
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2005
Posts: 120
Location: Poland / Colombia

PostPosted: Fri Aug 20, 2021 10:20 pm    Post subject: Reply with quote

Quote:
Absolutely.
This is the very patch that enables replacement of spidermonkey with duktape.


any idea why it wouldn't work?
_________________
Dell Optiplex 7010 / CPU Core i7-3770K / RAM 16GB Patriot Viper III / GTX 1050 2GB / SSD 500GB + 2x HDD 2TB
Dell Latitude E6440 / CPU Core i5-4300M / RAM 8GB / SSD 120GB + HDD 500GB
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Fri Aug 20, 2021 10:36 pm    Post subject: Reply with quote

Ok as you saw I get the polkitd process if I run "ps -ef"
Also i can reboot/shutdown just fine from the DE and mount volumes in Thunar.
But I also checked by
emerge -1av polkit
and i get the same error about the patch.

I am not sure what is going on here.......
Polkit seems to be working fine without having to emerge spidermonkey.
My system has no problems.
For me this is enough.
_________________
:)


Last edited by alamahant on Fri Aug 20, 2021 10:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1439
Location: Earth

PostPosted: Fri Aug 20, 2021 10:37 pm    Post subject: Reply with quote

Daemon14 wrote:
Quote:
Absolutely.
This is the very patch that enables replacement of spidermonkey with duktape.


any idea why it wouldn't work?


i use 'polkit' with 'duktape' patch form 'pg_overlay'.

but using a complete overlay often jumbles gentoo system, therefore, i always get a copy e.g. from git - just use the url what 'eselect repository list' shows you,

instead of adding or activating to portage :!:

and use a local overlay and add a symlink to the ebuild folder.

while syncing portage, i also sync all the git overlays i need via little script, too.

to do so, if an ebuild is updated from git overlays, my local overlays ebuilds get also updated.

greetings
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "


Last edited by CooSee on Sat Aug 21, 2021 10:41 am; edited 2 times in total
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Fri Aug 20, 2021 10:49 pm    Post subject: Reply with quote

Thanks CooSee
I replaced polkit::miramir with polkit::pg_overlay
The duktape is on by definition.
Not needing a USE flag
And
Code:

var/tmp/portage/portage/sys-auth/polkit-0.119-r2/work/polkit-0.119 ...
 * Applying polkit-0.115-elogind.patch ...                                                                     [ ok ]
 * Applying polkit-0.119-duktape.patch ...                                                                     [ ok ]

:)
From its ebuild
Code:

DEPEND="
   dev-lang/duktape
   dev-libs/glib:2
   dev-libs/expat
   elogind? ( sys-auth/elogind )

Thanks again.

Daemon14 plz follow CooSee's proposal with polkit::pg_overlay
_________________
:)


Last edited by alamahant on Fri Aug 20, 2021 10:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
Daemon14
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2005
Posts: 120
Location: Poland / Colombia

PostPosted: Fri Aug 20, 2021 10:51 pm    Post subject: Reply with quote

emerge -pv polkit::pg_overlay
Code:
[ebuild   R    ] sys-auth/polkit-0.119-r2::pg_overlay  USE="elogind gtk introspection kde nls pam -examples -jit (-selinux) -systemd -test" 0 KiB

no duktape flag? does it use duktape by default?

I noticed it used the duktape patch with no error which is good but polkit still seems not to work. No polkit process and pkaction is giving an error.
_________________
Dell Optiplex 7010 / CPU Core i7-3770K / RAM 16GB Patriot Viper III / GTX 1050 2GB / SSD 500GB + 2x HDD 2TB
Dell Latitude E6440 / CPU Core i5-4300M / RAM 8GB / SSD 120GB + HDD 500GB
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Fri Aug 20, 2021 10:51 pm    Post subject: Reply with quote

Yes
Code:

DEPEND="
   dev-lang/duktape
   dev-libs/glib:2
   dev-libs/expat
   elogind? ( sys-auth/elogind )


_________________
:)
Back to top
View user's profile Send private message
Daemon14
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2005
Posts: 120
Location: Poland / Colombia

PostPosted: Fri Aug 20, 2021 11:01 pm    Post subject: Reply with quote

now I see... I ask the question before reading your post.

Now I discovered something that might cause my problems.... It might not be the duktape polkit problem, it might be duktape itself. I have built my system with LTO, so duktape was built with LTO, it didn't cause any compilation error but apparently it didn't work properly. I re-emerged duktape with default CFLAGS and now it seems to work like a charm.
_________________
Dell Optiplex 7010 / CPU Core i7-3770K / RAM 16GB Patriot Viper III / GTX 1050 2GB / SSD 500GB + 2x HDD 2TB
Dell Latitude E6440 / CPU Core i5-4300M / RAM 8GB / SSD 120GB + HDD 500GB
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Fri Aug 20, 2021 11:12 pm    Post subject: Reply with quote

WARNING
pg_overlay will cause a chaos in your system by pulling in and rebuilding many many packages with different USE flags.

Plz use
Code:

echo "*/*::pg_overlay" > /etc/portage/package.mask/PG
echo "sys-auth/polkit::pg_overlay" > /etc/portage/package.unmask/PG

WARNING
_________________
:)
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1439
Location: Earth

PostPosted: Fri Aug 20, 2021 11:25 pm    Post subject: Reply with quote

alamahant wrote:
WARNING
pg_overlay will cause a chaos in your system by pulling in and rebuilding many many packages with different USE flags.

Plz use
Code:

echo "*/*::pg_overlay" > /etc/portage/package.mask/PG
echo "sys-auth/polkit::pg_overlay" > /etc/portage/package.unmask/PG

WARNING


yes - be aware 8O

just create your own 'local overlay', how i described here before and copy or symlink the ebuilds you need :!:

and nothing will get in gentoo portages way :)

Quote:
eselect repository create localrepo

_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
Daemon14
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2005
Posts: 120
Location: Poland / Colombia

PostPosted: Fri Aug 20, 2021 11:25 pm    Post subject: Reply with quote

alamahant that's exactly what I was about to ask.

emerge -uvD world spat out a lot of updates including plenty of -9999 versions which I'm not a big fan of.
I've already masked everything but polkit, thanks for the hint.

Anyway my polkit problem seems to be solved. Thanks a lot for all your help!
_________________
Dell Optiplex 7010 / CPU Core i7-3770K / RAM 16GB Patriot Viper III / GTX 1050 2GB / SSD 500GB + 2x HDD 2TB
Dell Latitude E6440 / CPU Core i5-4300M / RAM 8GB / SSD 120GB + HDD 500GB
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1439
Location: Earth

PostPosted: Fri Aug 20, 2021 11:57 pm    Post subject: Reply with quote

Daemon14 wrote:
alamahant that's exactly what I was about to ask.

emerge -uvD world spat out a lot of updates including plenty of -9999 versions which I'm not a big fan of.
I've already masked everything but polkit, thanks for the hint.

Anyway my polkit problem seems to be solved. Thanks a lot for all your help!


you're welcome :)

just make a copy of 'pg_overlay' folder to a folder on your (separate) disk and deactivate 'pg_overlay' from the repo list afterwards,

then create a 'local-overlay' with 'eselect repository create localrepo' and copy just 'sys-auth/polkit' folder to your 'local-overlay' or make a symlink.

here's my local overlay for comparison:

Quote:
tree -L 10 /var/db/repos/genlayees/
/var/db/repos/genlayees/
├── app-misc
│   └── gtkhash -> /AllToolS/OverLaySs/linxon/app-misc/gtkhash
├── media-fonts
│   └── noto-emoji -> /AllToolS/OverLaySs/calculate/media-fonts/noto-emoji
├── metadata
│   └── layout.conf
├── profiles
│   └── repo_name
├── sys-auth
│   └── polkit -> /AllToolS/OverLaySs/pg_overlay/sys-auth/polkit
├── www-client
│   ├── firefox
│   │   ├── files -> /AllToolS/OverLaySs/pg_overlay/www-client/firefox/files
│   │   ├── firefox-90.0.2.ebuild
│   │   ├── firefox-91.0.ebuild
│   │   ├── Manifest
│   │   └── metadata.xml
│   └── ungoogled-chromium -> /AllToolS/OverLaySs/pf4public/www-client/ungoogled-chromium
└── x11-misc
└── lightdm-gtk-greeter -> /AllToolS/OverLaySs/geki/x11-misc/lightdm-gtk-greeter

14 directories, 6 files


Code:
->
these are symlinks.

good luck
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2963
Location: Edge of marsh USA

PostPosted: Sat Aug 21, 2021 4:28 am    Post subject: Reply with quote

If using duktape was stable, it would be in the tree. I have a simmering resentment of spidermonkey, it takes almost an hour to build on my reasonably fast i7-2600 with 16GB RAM, but I've learned to accept the dependency in order to have the functionality of polkit.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
Daemon14
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2005
Posts: 120
Location: Poland / Colombia

PostPosted: Sat Aug 21, 2021 5:43 pm    Post subject: Reply with quote

figueroa if I notice any inconvenience, I'll switch back to spidermonkey. As I said before, the compilation time is not a problem, it takes 13-20min. My problem was RAM, I onlyhave 8GB and I use tmpfs for /var/tmp. Spidermonkey takes up to 6.5GB and it needs 2-3GB to compile, thats why I was struggling with spidermonkey but now I use zram and now it builds like a charm, and it takes just 13min.
Btw. I also have i7-2600 in my desktop one, it's indeed a decent CPU, I think it's way more powerful than my laptop's i5-4300M so how is it possible it takes 1h to build if my laptop does it in 13mins? and I build with LTO which supposedly doubles the time.
_________________
Dell Optiplex 7010 / CPU Core i7-3770K / RAM 16GB Patriot Viper III / GTX 1050 2GB / SSD 500GB + 2x HDD 2TB
Dell Latitude E6440 / CPU Core i5-4300M / RAM 8GB / SSD 120GB + HDD 500GB
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2963
Location: Edge of marsh USA

PostPosted: Sat Aug 21, 2021 6:05 pm    Post subject: Reply with quote

Daemon14 wrote:
...
Btw. I also have i7-2600 in my desktop one, it's indeed a decent CPU, I think it's way more powerful than my laptop's i5-4300M so how is it possible it takes 1h to build if my laptop does it in 13mins? and I build with LTO which supposedly doubles the time.

That's a good question. What am I doing wrong?
Code:
$ emerge -pv spidermonkey
Calculating dependencies... done!
[ebuild   R    ] dev-lang/spidermonkey-78.12.0:78::gentoo  USE="clang jit -debug -lto -test"

Code:
$ emerge --info dev-lang/spidermonkey
Portage 3.0.20 (python 3.9.6-final-0, default/linux/amd64/17.1/desktop, gcc-10.3.0, glibc-2.33-r1, 5.4.134-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.134-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-glibc2.33
KiB Mem:    16380148 total,  13157180 free
KiB Swap:    8919764 total,   8919240 free
Timestamp of repository gentoo: Sat, 21 Aug 2021 08:15:01 +0000
Head commit of repository gentoo: 75ad8799e41af849bbcbf7da0d7280bfb5ecd0c4
sh bash 5.1_p8
ld GNU ld (Gentoo 2.36.1 p5) 2.36.1
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.34.0::gentoo
dev-lang/python:          3.9.6_p1::gentoo
dev-lang/rust-bin:        1.53.0::gentoo
dev-util/cmake:           3.20.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.43.5::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.3-r1::gentoo
sys-devel/binutils:       2.36.1-r2::gentoo
sys-devel/gcc:            10.3.0-r2::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r1::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://192.168.0.105/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

bethel
    location: /var/db/repos/localrepo
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS=" --autounmask=n"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirrors.rit.edu/gentoo/ https://gentoo.osuosl.org/ https://mirrors.rit.edu/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en"
MAKEOPTS="-j9"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 branding bzip2 cairo cdda cdr cli crypt cups dbus dri dts dv dvd dvdr elogind emboss encode exif flac fortran gdbm gif gimp gpm gtk gui iconv icu ipv6 jpeg lcms libglvnd libnotify libtirpc linguas_en linguas_en_US live mad mng mp3 mp4 mpeg multilib nas ncurses nls nptl ogg opengl openmp oss pam pango pcre pdf png policykit postscript ppds qt5 readline scanner sdl seccomp spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb v4l vorbis wxwidgets x264 xattr xcb xml xscreensaver xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias slotmem_shm authn_core authz_core unixd socache_shmcb lbmethod_byrequests lbmethod_bytraffic lbmethod_bybusyness lbmethod_heartbeat" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev libinput" KERNEL="linux" L10N="en_US en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS

=================================================================
                        Package Settings
=================================================================

dev-lang/spidermonkey-78.12.0::gentoo was built with the following:
USE="clang jit -debug -lto -test" ABI_X86="(64)"
FEATURES="pid-sandbox strict usersync binpkg-docompress sandbox multilib-strict xattr userfetch distlocks merge-sync userpriv ebuild-locks binpkg-logs unmerge-logs unmerge-orphans config-protect-if-modified sfperms binpkg-dostrip assume-digests preserve-libs unknown-features-warn news parallel-fetch ipc-sandbox qa-unresolved-soname-deps fixlafiles usersandbox protect-owned network-sandbox"


ADDED: Fixed. That was easy. I ditched the USE=clang and added USE=-jit (+jit is default for the package) and spidermonkey compiled and installed in seven minutes. I'm very glad I joined this thread.

ADDED Act 2: The problem wasn't jit. The problem was clang. Removing dev-lang/spidermonkey from package.use (giving default +jit) and the package still compiled in seven minutes. Whoever suggested that, burned me.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum