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

qmail.eclass: Patch make-makelib.sh only if it is present #30456

Closed
wants to merge 1 commit into from

Conversation

arkamar
Copy link
Member

@arkamar arkamar commented Apr 3, 2023

Some packages use qmail_set_cc function but they don't contain make-makelib.sh script. However, recent addition of || die to the sed patching this file is newly triggering build failure. This commit addresses the problem by checking if the script is available.

Closes: https://bugs.gentoo.org/902009
Closes: https://bugs.gentoo.org/902019
Fixes: fd4e88c ("qmail.eclass: remove EAPI 6")

See also this PR #30205

Some packages use qmail_set_cc function but they don't contain
make-makelib.sh script. However, recent addition of || die to the sed
patching this file is newly triggering build failure. This commit
addresses the problem by checking if the script is available.

Closes: https://bugs.gentoo.org/902009
Closes: https://bugs.gentoo.org/902019
Fixes: fd4e88c ("qmail.eclass: remove EAPI 6")
Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
@gentoo-bot
Copy link

Pull Request assignment

Submitter: @arkamar
Areas affected: eclasses
Packages affected: (none)

@gentoo/github

Linked bugs

Bugs linked: 902009, 902019

New packages

This Pull Request appears to be introducing new packages only. Due to limited manpower, adding new packages is considered low priority. This does not mean that your Pull Request will not receive any attention, however, it might take quite some time for it to be reviewed. In the meantime, your new ebuild might find a home in the GURU project repository: the ebuild repository maintained collaboratively by Gentoo users. GURU offers your ebuild a place to be reviewed and improved by other Gentoo users, while making it easy for Gentoo users to install it and enjoy the software it adds.


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 need assignment It was impossible to assign the PR correctly. Please assign it manually. bug linked Bug/Closes found in footer, and cross-linked with the PR. labels Apr 3, 2023
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2023-04-03 11:38 UTC
Newest commit scanned: 634208b
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/afb467ec44/output.html

@Flowdalic
Copy link
Member

Flowdalic commented Apr 4, 2023

Wouldn't this also close https://bugs.gentoo.org/902013 (that is, the bug that #30205 tries to fix by removing the call to qmail_set_cc)?

@arkamar
Copy link
Member Author

arkamar commented Apr 4, 2023

Yes, this would also close https://bugs.gentoo.org/902013 but it is already resolved as a duplicate of https://bugs.gentoo.org/902009, hence I thought it is not necessary to add it to the list.

#30205 is not currently correct solution of the issue, because qmail_set_cc does more things than editing make-makelib.sh, it sets user's specified CC, LD and *FLAGS and this functionality is not restored anyhow.

Anyway, this issue affects two packages currently, also stable versions, it was triggered by a change in qmail.eclass and the best would be to mitigate it there in my opinion.

@gentoo-bot gentoo-bot closed this in 6aff853 Apr 4, 2023
@arkamar
Copy link
Member Author

arkamar commented Apr 4, 2023

Thanks!

@arkamar arkamar deleted the qmail branch April 4, 2023 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug linked Bug/Closes found in footer, and cross-linked with the PR. need assignment It was impossible to assign the PR correctly. Please assign it manually.
Projects
None yet
4 participants