Skip to content

Conversation

@aescolar
Copy link
Member

@aescolar aescolar commented May 28, 2024

Due to kconfig dependencies, these samples set EVENTFD (and some also POSIX_API, and other options) which
depends on !NATIVE_APPLICATION, which when building for native_posix results in kconfig warnings when they
are forced to n, and therefore a twister build failure.

As native_posix is a native_application, let's exclude it from the test to prevent this combination from happening in CI.

Fixes #73434

aescolar added 4 commits May 28, 2024 21:33
Due to kconfig dependencies, these samples set
EVENTFD which depends on !NATIVE_APPLICATION,
which results in a kconfig warning when it
is forced to n, and therefore a twister build
failure.
As native_posix is a native_application,
let's exclude it from the test to prevent
this combination.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Due to kconfig dependencies, these samples set
EVENTFD which depends on !NATIVE_APPLICATION,
which results in a kconfig warning when it
is forced to n, and therefore a twister build
failure.
As native_posix is a native_application,
let's exclude it from the test to prevent
this combination.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Due to kconfig dependencies, these samples set
EVENTFD which depends on !NATIVE_APPLICATION,
which results in a kconfig warning when it
is forced to n, and therefore a twister build
failure.
As native_posix is a native_application,
let's exclude it from the test to prevent
this combination.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Due to kconfig dependencies, these samples set
EVENTFD, POSIX_API, and others which
depends on !NATIVE_APPLICATION,
which results in kconfig warnings when they are
forced to n, and therefore a twister build
failure.
As native_posix is a native_application,
let's exclude it from the test to prevent
this combination.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
@aescolar aescolar marked this pull request as ready for review May 28, 2024 19:54
@aescolar aescolar requested review from jukkar, pdgendt and rlubos May 28, 2024 19:54
@aescolar aescolar added the Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. label May 28, 2024
@zephyrbot zephyrbot added area: Sockets Networking sockets area: Samples Samples area: Networking area: POSIX POSIX API Library labels May 28, 2024
Copy link
Member

@jukkar jukkar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As it seems that native_posix usability is going down slowly (at least for networking), is there a plan to deprecate it?

@aescolar
Copy link
Member Author

As it seems that native_posix usability is going down slowly (at least for networking), is there a plan to deprecate it?

Yes, in 4.0

@aescolar aescolar assigned jukkar and unassigned kartben May 29, 2024
@jukkar
Copy link
Member

jukkar commented May 29, 2024

This looks like a duplicate of #73256

@aescolar
Copy link
Member Author

Closing in favour of #73256

@aescolar aescolar closed this May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Networking area: POSIX POSIX API Library area: Samples Samples area: Sockets Networking sockets Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Several samples which need EVENTFD fail to build for native_posix[//64]

6 participants