Hi, Alex

> I think the unconditional DEPENDS lines can be avoided if you use:
> PACKAGECONFIG[fips] = "--enable-fips140-mode
> --with-libdl-prefix=${STAGING_BASELIBDIR},--disable-fips140-mode,gnutls-nativ
> e"

But because gnutls-native also need to enable fips, circular dependency error 
will occur in this way.
---------------------------------------------
ERROR: 288 unbuildable tasks were found.################################        
                                                       | ETA:  0:00:00
These are usually caused by circular dependencies and any circular dependency 
chains found will be printed below. Increase the debug level to see a list of 
unbuildable tasks.

Identifying dependency loops (this may take a short while)...
......
---------------------------------------------

Best regards
Lei

> -----Original Message-----
> From: Alexander Kanavin <[email protected]>
> Sent: Friday, May 6, 2022 2:30 PM
> To: Lei, Maohui <[email protected]>
> Cc: OE-core <[email protected]>
> Subject: Re: [OE-core] [PATCH v2] gnutls: Added fips support option.
> 
> On Fri, 6 May 2022 at 05:38, leimaohui <[email protected]> wrote:
> > +DEPENDS:append:class-target = " gnutls-native"
> > +DEPENDS:append:class-nativesdk = " gnutls-native"
> > +PACKAGECONFIG[fips] = "--enable-fips140-mode
> --with-libdl-prefix=${STAGING_BASELIBDIR},--disable-fips140-mode"
> 
> I think the unconditional DEPENDS lines can be avoided if you use:
> PACKAGECONFIG[fips] = "--enable-fips140-mode
> --with-libdl-prefix=${STAGING_BASELIBDIR},--disable-fips140-mode,gnutls-nativ
> e"
> 
> Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#165350): 
https://lists.openembedded.org/g/openembedded-core/message/165350
Mute This Topic: https://lists.openembedded.org/mt/90926966/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to