Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420173 - sys-auth/polkit-0.106 fails during configure due to a missing dep on dev-lang/spidermonkey
Summary: sys-auth/polkit-0.106 fails during configure due to a missing dep on dev-lang...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Nirbheek Chauhan (RETIRED)
URL:
Whiteboard:
Keywords:
: 420227 420325 420385 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-08 02:21 UTC by Manuel Rüger (RETIRED)
Modified: 2012-06-13 14:46 UTC (History)
19 users (show)

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


Attachments
build.log (build.log,9.06 KB, text/plain)
2012-06-08 02:21 UTC, Manuel Rüger (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Rüger (RETIRED) gentoo-dev 2012-06-08 02:21:53 UTC
Created attachment 314627 [details]
build.log

emerge -1 polkit

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ~] sys-auth/polkit-0.106 [0.105] USE="gtk introspection kde nls pam -debug -examples -systemd (-doc%)" 1,350 kB


error: 


checking for LIBJS... no
configure: error: Package requirements (mozjs185) were not met:

No package 'mozjs185' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBJS_CFLAGS
and LIBJS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


installing spidermonkey-1.8.5-r1 fixes the problem.
Comment 1 Patrick Lauer gentoo-dev 2012-06-08 03:43:38 UTC
   sys-auth/polkit/polkit-0.106.ebuild: ~hppa(default/linux/hppa/10.0) ['>=dev-lang/spidermonkey-1.8.5']
   sys-auth/polkit/polkit-0.106.ebuild: ~ia64(default/linux/ia64/10.0/server) ['>=dev-lang/spidermonkey-1.8.5']


in other words, this won't currently work in ia64 and hppa if you "just" add the dependency
Comment 2 Jory A. Pratt gentoo-dev 2012-06-08 13:44:24 UTC
*** Bug 420227 has been marked as a duplicate of this bug. ***
Comment 3 Jory A. Pratt gentoo-dev 2012-06-08 13:46:23 UTC
(In reply to comment #1)
>    sys-auth/polkit/polkit-0.106.ebuild: ~hppa(default/linux/hppa/10.0)
> ['>=dev-lang/spidermonkey-1.8.5']
>    sys-auth/polkit/polkit-0.106.ebuild:
> ~ia64(default/linux/ia64/10.0/server) ['>=dev-lang/spidermonkey-1.8.5']
> 
> 
> in other words, this won't currently work in ia64 and hppa if you "just" add
> the dependency

Both archs could keyword without a problem
Comment 4 walt 2012-06-08 20:01:32 UTC
I know my new problem is unrelated to this bug report, but since your attention is already on polkit.... ;)

My ~amd64 just updated to 0.106 and I notice that polkitd is not running after starting gnome -- causing some really weird side-effects.

Jun  8 07:23:55 a6 dbus[1542]: [system] Successfully activated service 'org.freedesktop.UDisks2'
Jun  8 07:23:55 a6 udisksd[2170]: Acquired the name org.freedesktop.UDisks2 on the system message bus
Jun  8 07:23:55 a6 dbus[1542]: [system] Activating service name='org.freedesktop.UDisks' (using servicehelper)
Jun  8 07:23:55 a6 dbus[1542]: [system] Successfully activated service 'org.freedesktop.UDisks'
Jun  8 07:23:55 a6 dbus[1542]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
Jun  8 07:23:55 a6 dbus[1542]: [system] Activated service 'org.freedesktop.PolicyKit1' failed: Launch helper exited with 
unknown return code 1
Jun  8 07:23:56 a6 dbus[1542]: [system] Activating service name='org.freedesktop.UPower' (using servicehelper)
Jun  8 07:23:56 a6 dbus[1542]: [system] Successfully activated service 'org.freedesktop.UPower'
Jun  8 07:23:56 a6 dbus[1542]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
Jun  8 07:23:56 a6 dbus[1542]: [system] Activated service 'org.freedesktop.PolicyKit1' failed: Launch helper exited with 
unknown return code 1
Jun  8 07:23:56 a6 dbus[1542]: [system] Activating service name='org.freedesktop.UPower' (using servicehelper)
Jun  8 07:23:56 a6 dbus[1542]: [system] Successfully activated service 'org.freedesktop.UPower'
Jun  8 07:23:56 a6 dbus[1542]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
Jun  8 07:23:56 a6 dbus[1542]: [system] Activated service 'org.freedesktop.PolicyKit1' failed: Launch helper exited with 
unknown return code 1

Downgrading to 0.105 fixes the problem.

If the cause is not obvious to you guys I'll file a new bugreport.

Thanks!
Comment 5 Jory A. Pratt gentoo-dev 2012-06-08 23:29:33 UTC
*** Bug 420325 has been marked as a duplicate of this bug. ***
Comment 6 Light 2012-06-09 01:39:24 UTC
(In reply to comment #4)
> I know my new problem is unrelated to this bug report, but since your
> attention is already on polkit.... ;)
> 
> My ~amd64 just updated to 0.106 and I notice that polkitd is not running
> after starting gnome -- causing some really weird side-effects.
> 
> Jun  8 07:23:55 a6 dbus[1542]: [system] Successfully activated service
> 'org.freedesktop.UDisks2'
> Jun  8 07:23:55 a6 udisksd[2170]: Acquired the name org.freedesktop.UDisks2
> on the system message bus
> Jun  8 07:23:55 a6 dbus[1542]: [system] Activating service
> name='org.freedesktop.UDisks' (using servicehelper)
> Jun  8 07:23:55 a6 dbus[1542]: [system] Successfully activated service
> 'org.freedesktop.UDisks'
> Jun  8 07:23:55 a6 dbus[1542]: [system] Activating service
> name='org.freedesktop.PolicyKit1' (using servicehelper)
> Jun  8 07:23:55 a6 dbus[1542]: [system] Activated service
> 'org.freedesktop.PolicyKit1' failed: Launch helper exited with 
> unknown return code 1
> Jun  8 07:23:56 a6 dbus[1542]: [system] Activating service
> name='org.freedesktop.UPower' (using servicehelper)
> Jun  8 07:23:56 a6 dbus[1542]: [system] Successfully activated service
> 'org.freedesktop.UPower'
> Jun  8 07:23:56 a6 dbus[1542]: [system] Activating service
> name='org.freedesktop.PolicyKit1' (using servicehelper)
> Jun  8 07:23:56 a6 dbus[1542]: [system] Activated service
> 'org.freedesktop.PolicyKit1' failed: Launch helper exited with 
> unknown return code 1
> Jun  8 07:23:56 a6 dbus[1542]: [system] Activating service
> name='org.freedesktop.UPower' (using servicehelper)
> Jun  8 07:23:56 a6 dbus[1542]: [system] Successfully activated service
> 'org.freedesktop.UPower'
> Jun  8 07:23:56 a6 dbus[1542]: [system] Activating service
> name='org.freedesktop.PolicyKit1' (using servicehelper)
> Jun  8 07:23:56 a6 dbus[1542]: [system] Activated service
> 'org.freedesktop.PolicyKit1' failed: Launch helper exited with 
> unknown return code 1
> 
> Downgrading to 0.105 fixes the problem.
> 
> If the cause is not obvious to you guys I'll file a new bugreport.
> 
> Thanks!

Yes I have the smae issue:
Jun 09 09:29:20 Light systemd[4665]: Failed at step EXEC spawning /usr/libexec/polkitd: No such file or directory
Jun 09 09:29:20 Light systemd[1]: policykit-daemon.service: main process exited, code=exited, status=203
Jun 09 09:29:20 Light systemd[1]: Unit policykit-daemon.service entered failed state.
So now polkit is unusable. I can't find polkitd.
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-06-09 10:49:50 UTC
*** Bug 420385 has been marked as a duplicate of this bug. ***
Comment 8 Andrey Grozin gentoo-dev 2012-06-10 07:32:36 UTC
(In reply to comment #6)
> (In reply to comment #4)
> > I know my new problem is unrelated to this bug report, but since your
> > attention is already on polkit.... ;)
> > 
> > My ~amd64 just updated to 0.106 and I notice that polkitd is not running
> > after starting gnome -- causing some really weird side-effects.
> > 
> > Jun  8 07:23:55 a6 dbus[1542]: [system] Successfully activated service
> > 'org.freedesktop.UDisks2'
> > Jun  8 07:23:55 a6 udisksd[2170]: Acquired the name org.freedesktop.UDisks2
> > on the system message bus
> > Jun  8 07:23:55 a6 dbus[1542]: [system] Activating service
> > name='org.freedesktop.UDisks' (using servicehelper)
> > Jun  8 07:23:55 a6 dbus[1542]: [system] Successfully activated service
> > 'org.freedesktop.UDisks'
> > Jun  8 07:23:55 a6 dbus[1542]: [system] Activating service
> > name='org.freedesktop.PolicyKit1' (using servicehelper)
> > Jun  8 07:23:55 a6 dbus[1542]: [system] Activated service
> > 'org.freedesktop.PolicyKit1' failed: Launch helper exited with 
> > unknown return code 1
> > Jun  8 07:23:56 a6 dbus[1542]: [system] Activating service
> > name='org.freedesktop.UPower' (using servicehelper)
> > Jun  8 07:23:56 a6 dbus[1542]: [system] Successfully activated service
> > 'org.freedesktop.UPower'
> > Jun  8 07:23:56 a6 dbus[1542]: [system] Activating service
> > name='org.freedesktop.PolicyKit1' (using servicehelper)
> > Jun  8 07:23:56 a6 dbus[1542]: [system] Activated service
> > 'org.freedesktop.PolicyKit1' failed: Launch helper exited with 
> > unknown return code 1
> > Jun  8 07:23:56 a6 dbus[1542]: [system] Activating service
> > name='org.freedesktop.UPower' (using servicehelper)
> > Jun  8 07:23:56 a6 dbus[1542]: [system] Successfully activated service
> > 'org.freedesktop.UPower'
> > Jun  8 07:23:56 a6 dbus[1542]: [system] Activating service
> > name='org.freedesktop.PolicyKit1' (using servicehelper)
> > Jun  8 07:23:56 a6 dbus[1542]: [system] Activated service
> > 'org.freedesktop.PolicyKit1' failed: Launch helper exited with 
> > unknown return code 1
> > 
> > Downgrading to 0.105 fixes the problem.
> > 
> > If the cause is not obvious to you guys I'll file a new bugreport.
> > 
> > Thanks!
> 
> Yes I have the smae issue:
> Jun 09 09:29:20 Light systemd[4665]: Failed at step EXEC spawning
> /usr/libexec/polkitd: No such file or directory
> Jun 09 09:29:20 Light systemd[1]: policykit-daemon.service: main process
> exited, code=exited, status=203
> Jun 09 09:29:20 Light systemd[1]: Unit policykit-daemon.service entered
> failed state.
> So now polkit is unusable. I can't find polkitd.

Same here, with kde. After upgrading to polkit-0.106, when I do startx (which starts kde on my netbook), I get a kde crash window; in /var/log/messages I see

Jun 10 14:26:56 eeepc dbus[1553]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
Jun 10 14:26:56 eeepc dbus[1553]: [system] Activated service 'org.freedesktop.PolicyKit1' failed: Launch helper exited with unknown return code 1
Jun 10 14:26:56 eeepc dbus[1553]: [system] Activating service name='org.freedesktop.UDisks' (using servicehelper)
Jun 10 14:26:56 eeepc dbus[1553]: [system] Successfully activated service 'org.freedesktop.UDisks'
Jun 10 14:26:56 eeepc dbus[1553]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
Jun 10 14:26:56 eeepc dbus[1553]: [system] Activated service 'org.freedesktop.PolicyKit1' failed: Launch helper exited with unknown return code 1

Time to downgrade.
Comment 9 Manuel Rüger (RETIRED) gentoo-dev 2012-06-10 21:45:48 UTC
Please keep the amount of talking about problems with polkit that are highly unrelated to this bug to a minimum. 
A quick search presents you enough other bugs to hijack.
https://bugs.gentoo.org/buglist.cgi?quicksearch=polkit

Thanks.
Comment 10 James 2012-06-11 18:43:14 UTC
I emerged dev-lang/spidermonkey and also did something I found on the forums and had no problems with 0.106.  
<code>
http://forums.gentoo.org/viewtopic-t-926142-start-0-postdays-0-postorder-asc-highlight-.html
</code>
There seems to be a polkit user privileges conflict going on, the polkit user doesn't have access to the /dev/null device, and so moving their home directory to /var/empty makes it work.
Comment 11 jannis 2012-06-12 05:57:39 UTC
(In reply to comment #10)
> I emerged dev-lang/spidermonkey and also did something I found on the forums
> and had no problems with 0.106.  
> <code>
> http://forums.gentoo.org/viewtopic-t-926142-start-0-postdays-0-postorder-asc-
> highlight-.html
> </code>
> There seems to be a polkit user privileges conflict going on, the polkit
> user doesn't have access to the /dev/null device, and so moving their home
> directory to /var/empty makes it work.

Please discuss that at https://bugs.gentoo.org/show_bug.cgi?id=420269
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2012-06-13 14:46:29 UTC
The ebuild has now the correct spidermonkey dependency in Portage, closing