mozjs, gpm and libatasmart failing on SECURITY_CFLAGS

Description

More than 2 boards fail over these packages.
For now I added these to the poky-agl.conf distro-wide.

SECURITY_CFLAGS_pn-mozjs = ""
SECURITY_LDFLAGS_pn-mozjs = ""
SECURITY_CFLAGS_pn-gpm = ""
SECURITY_LDFLAGS_pn-gpm = ""
SECURITY_CFLAGS_pn-libatasmart = ""
SECURITY_LDFLAGS_pn-libatasmart = ""

Todo: investigate reason or upstream fix and enable SECURITY_*FLAGS again.

Fixes:

: added you for now - feel free to reassign.

Environment

Boards: rpi3, vayu, beagle master as of 2017-05-12

Activity

Matt Ranostay 
May 14, 2017 at 9:18 PM

can confirm udisks refuses to build without polkit

Jan-Simon Moeller 
May 14, 2017 at 11:34 AM

Ok, let's find out if we need these at runtime or not. If not, it makes sense IMHO to disable the feature and the dependency in a bbappend. Less footprint, less packages to care about.

I'll take a look at how to fix the gpm case meantime.

Matt Ranostay 
May 14, 2017 at 5:06 AM

Quick look and it seems that polkit uses javascript for writing policy files.  Not sure polkit is needed for udisks if we don't use the mount and unmount in unprivileged mode.

Jan-Simon Moeller 
May 13, 2017 at 9:11 AM

I can understand gpm and libatasmart (mediascanner stuff). mozjs is pulled-in by polkit which is pulled by udisks. I wonder if we really need mozjs here. : any idea why the udisks needs mozjs as dependency ? Is it needed at runtime ?

Fixed

Details

Assignee

Reporter

Labels

Affects versions

Priority

Created May 13, 2017 at 8:57 AM
Updated June 10, 2019 at 2:54 PM
Resolved June 10, 2019 at 2:54 PM