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

x11-terms/gnome-terminal: fix missing W_EXITCODE define in gnome-terminal when building on musl #25872

Closed
wants to merge 1 commit into from

Conversation

listout
Copy link
Contributor

@listout listout commented Jun 13, 2022

This should fix W_EXITCODE gnome-terminal failing to build on musl with error 'W_EXITCODE' was not declared in this scope

Idea taken from alpine linux patch found here

@listout listout changed the title fix missing W_EXITCODE define in gnome-terminal when building on musl x11-terms:gnome-terminal fix missing W_EXITCODE define in gnome-terminal when building on musl Jun 13, 2022
@gentoo-bot
Copy link

Pull Request assignment

Submitter: @listout
Areas affected: ebuilds
Packages affected: x11-terms/gnome-terminal

x11-terms/gnome-terminal: @gentoo/gnome

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

@listout
Copy link
Contributor Author

listout commented Jun 13, 2022

This is my first commit as a Google Summer of Code student this year.

@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 Jun 13, 2022
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2022-06-13 12:16 UTC
Newest commit scanned: 5a81f84
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/9ac3e902db/output.html

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2022-06-13 12:56 UTC
Newest commit scanned: e22ce44
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/a4ad1be38f/output.html

@listout listout force-pushed the wexitcode_missing_gterm branch 2 times, most recently from 7627a4e to af07264 Compare June 13, 2022 13:13
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2022-06-13 13:26 UTC
Newest commit scanned: af07264
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/cb563023d0/output.html

@listout listout changed the title x11-terms:gnome-terminal fix missing W_EXITCODE define in gnome-terminal when building on musl x11-terms/gnome-terminal: fix missing W_EXITCODE define in gnome-terminal when building on musl Jun 13, 2022
Copy link
Member

@thesamesam thesamesam left a comment

Choose a reason for hiding this comment

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

Please squash the commits. Adding a patch and then using it in the ebuild belong in the same one.

@@ -47,6 +47,9 @@ DOC_CONTENTS="To get previous working directory inherited in new opened tab, or
. /etc/profile.d/vte-2.91.sh"

src_prepare() {

Copy link
Member

Choose a reason for hiding this comment

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

No blank line.

@listout listout force-pushed the wexitcode_missing_gterm branch 2 times, most recently from 6768907 to c29f84c Compare June 24, 2022 13:46
@listout
Copy link
Contributor Author

listout commented Jun 24, 2022

@thesamesam Thanks for the feedback, made changes as asked.

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2022-06-24 13:54 UTC
Newest commit scanned: 6768907
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/65852fd1a4/output.html

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2022-06-24 14:05 UTC
Newest commit scanned: c29f84c
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/e5b851e387/output.html

@listout
Copy link
Contributor Author

listout commented Jun 26, 2022 via email

https://gitlab.gnome.org/GNOME/vte/-/issues/72
Someone already tried to upstream a similar patch to gnome vte that
would fix this but was rejected by maintainer. More info can be found
on the link above.

W_EXITCODE is missing in musl thus causing gnome-terminal build to fail.
This patch checks if W_EXITCODE is not defined and then defines it.

Signed-off-by: brahmajit das <brahmajit.xyz@gmail.com>
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2022-06-27 05:19 UTC
Newest commit scanned: 9d7814c
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/a50d2cd9b2/output.html

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
Development

Successfully merging this pull request may close these issues.

4 participants