Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sys-libs/liburing: Add use flags for building examples and testing #29563

Closed
wants to merge 1 commit into from
Closed

sys-libs/liburing: Add use flags for building examples and testing #29563

wants to merge 1 commit into from

Conversation

imwints
Copy link
Contributor

@imwints imwints commented Feb 12, 2023

By default liburing will build tests and examples but these fail to build on musl systems so we sed them out if not needed.

@thesamesam

Closes: https://bugs.gentoo.org/888956

Signed-off-by: Steffen Winter steffen.winter@proton.me

@gentoo-bot
Copy link

Pull Request assignment

Submitter: @stwnt
Areas affected: ebuilds
Packages affected: sys-libs/liburing

sys-libs/liburing: @Flowdalic

Linked bugs

No bugs to link found. If your pull request references any of the Gentoo bug reports, please add appropriate GLEP 66 tags to the commit message and request reassignment.

If you do not receive any reply to this pull request, please open or link a bug to attract the attention of maintainers.


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added assigned PR successfully assigned to the package maintainer(s). no bug found No Bug/Closes found in the commits. labels Feb 12, 2023
sys-libs/liburing/liburing-2.3-r2.ebuild Outdated Show resolved Hide resolved
sys-libs/liburing/liburing-2.3-r2.ebuild Outdated Show resolved Hide resolved
sys-libs/liburing/liburing-2.3-r2.ebuild Outdated Show resolved Hide resolved
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2023-02-12 23:23 UTC
Newest commit scanned: 6d988a3
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/110390a32a/output.html

By default liburing will build tests and examples but these fail to
build on musl systems so we sed them out if not needed.

Closes: https://bugs.gentoo.org/888956

Signed-off-by: Steffen Winter <steffen.winter@proton.me>
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2023-02-12 23:53 UTC
Newest commit scanned: ff2db7a
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/f153b5c2fb/output.html

@@ -39,6 +39,13 @@ src_prepare() {
sed -i "/^Version:/s@[[:digit:]\.]\+@${PV}@" ${PN}.spec || die
fi

if ! use examples; then
Copy link
Contributor Author

@imwints imwints Feb 13, 2023

Choose a reason for hiding this comment

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

Should we force this by adding something like if use elibc_musl || ! use examples; then?

Copy link
Member

Choose a reason for hiding this comment

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

It's a good question, but it's something we should do in profiles/ instead (in profiles/features/musl/package.use.mask).

@imwints imwints deleted the liburing-fix-missing-error branch February 13, 2023 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). no bug found No Bug/Closes found in the commits.
Projects
None yet
4 participants