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

=www-client/seamonkey-2.53.17: missing dependencies fix. #32210

Closed
wants to merge 3 commits into from

Conversation

BioMike
Copy link
Contributor

@BioMike BioMike commented Aug 7, 2023

Adds dependencies for clang and llvm.

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

Adds dependencies for clang and llvm.

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

Signed-off-by: Myckel Habets <gentoo-bugs@habets-dobben.nl>
@gentoo-bot
Copy link

Pull Request assignment

Submitter: @BioMike
Areas affected: ebuilds
Packages affected: www-client/seamonkey

www-client/seamonkey: @BioMike, @gentoo/mozilla

Linked bugs

Bugs linked: 911830


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 self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else) assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. labels Aug 7, 2023
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2023-08-07 12:05 UTC
Newest commit scanned: c23f580
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/1ed8ce78ac/output.html

Copy link
Member

@juippis juippis left a comment

Choose a reason for hiding this comment

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

I don't have time to properly review this right now (hopefully tomorrow), but I don't believe this is the right fix. You may be better usign llvm.eclass here, since it looks to be using llvm's toolchain. Are you sure it doesn't work with llvm:16?

Please see https://devmanual.gentoo.org/eclass-reference/llvm.eclass/index.html and e.g. how firefox handles llvm. Simply I think, specify LLVM_MAX_SLOTS, add the deps

|| (
	(
		clang:16
		llvm:16
	)
	(
		clang:15
		llvm:15
	)
)

and do the pkg_setup step necessary.

@BioMike
Copy link
Contributor Author

BioMike commented Aug 7, 2023

Ok, I thought that the BDEPEND was just enough. I'll have a look at the link and the firefox ebuild and push my changes to a new commit.

Improved llvm/clang dependency handling, using the llvm.eclass.

Signed-off-by: Myckel Habets <gentoo-bugs@habets-dobben.nl>
@BioMike
Copy link
Contributor Author

BioMike commented Aug 8, 2023

Tested with setting LLVM_MAX_SLOTS to both 15 and 16 (to enforce use of a specific version), both seemed to compile and run without issues.

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2023-08-08 11:41 UTC
Newest commit scanned: 19d4a77
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/fdc787e726/output.html

Copy link
Member

@juippis juippis left a comment

Choose a reason for hiding this comment

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

Sigh, sorry to bother you again but:

 4:53.35 In file included from Unified_cpp_url-classifier0.cpp:74:
 4:53.35 /var/tmp/portage/www-client/seamonkey-2.53.17/work/seamonkey-2.53.17/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp: In member function 'nsresult nsUrlClassifierDBServiceWorker::NotifyUpdateObserver(nsresult)':
 4:53.35 /var/tmp/portage/www-client/seamonkey-2.53.17/work/seamonkey-2.53.17/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp:654:12: warning: variable 'updateStatus' set but not used [-Wunused-but-set-variable]
 4:53.35   654 |   nsresult updateStatus = mUpdateStatus;
 4:53.35       |            ^~~~~~~~~~~~
 4:53.36 /var/tmp/portage/www-client/seamonkey-2.53.17/work/seamonkey-2.53.17/media/ffvpx/libavcodec/x86/mathops.h: Assembler messages:
 4:53.36 /var/tmp/portage/www-client/seamonkey-2.53.17/work/seamonkey-2.53.17/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 4:53.36 /var/tmp/portage/www-client/seamonkey-2.53.17/work/seamonkey-2.53.17/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 4:53.36 /var/tmp/portage/www-client/seamonkey-2.53.17/work/seamonkey-2.53.17/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 4:53.36 /var/tmp/portage/www-client/seamonkey-2.53.17/work/seamonkey-2.53.17/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 4:53.37 /var/tmp/portage/www-client/seamonkey-2.53.17/work/seamonkey-2.53.17/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 4:53.37 /var/tmp/portage/www-client/seamonkey-2.53.17/work/seamonkey-2.53.17/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 4:53.37 /var/tmp/portage/www-client/seamonkey-2.53.17/work/seamonkey-2.53.17/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 4:53.37 /var/tmp/portage/www-client/seamonkey-2.53.17/work/seamonkey-2.53.17/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 4:53.37 /var/tmp/portage/www-client/seamonkey-2.53.17/work/seamonkey-2.53.17/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 4:53.37 /var/tmp/portage/www-client/seamonkey-2.53.17/work/seamonkey-2.53.17/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 4:53.37 /var/tmp/portage/www-client/seamonkey-2.53.17/work/seamonkey-2.53.17/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 4:53.37 /var/tmp/portage/www-client/seamonkey-2.53.17/work/seamonkey-2.53.17/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 4:53.37 /var/tmp/portage/www-client/seamonkey-2.53.17/work/seamonkey-2.53.17/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 4:53.37 /var/tmp/portage/www-client/seamonkey-2.53.17/work/seamonkey-2.53.17/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 4:53.37 /var/tmp/portage/www-client/seamonkey-2.53.17/work/seamonkey-2.53.17/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 4:53.37 /var/tmp/portage/www-client/seamonkey-2.53.17/work/seamonkey-2.53.17/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 4:53.37 /var/tmp/portage/www-client/seamonkey-2.53.17/work/seamonkey-2.53.17/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 4:53.37 /var/tmp/portage/www-client/seamonkey-2.53.17/work/seamonkey-2.53.17/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 4:53.37 /var/tmp/portage/www-client/seamonkey-2.53.17/work/seamonkey-2.53.17/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 4:53.37 /var/tmp/portage/www-client/seamonkey-2.53.17/work/seamonkey-2.53.17/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
 4:53.37 gmake[4]: *** [/var/tmp/portage/www-client/seamonkey-2.53.17/work/seamonkey-2.53.17/config/rules.mk:708: flac.o] Error 1
 4:53.37 gmake[4]: Leaving directory '/var/tmp/portage/www-client/seamonkey-2.53.17/work/seamonkey-2.53.17/seamonk/media/ffvpx/libavcodec'
 4:53.37 gmake[3]: *** [/var/tmp/portage/www-client/seamonkey-2.53.17/work/seamonkey-2.53.17/config/recurse.mk:74: media/ffvpx/libavcodec/target] Error 2
 4:53.37 gmake[3]: *** Waiting for unfinished jobs....

This is bug https://bugs.gentoo.org/911679 - you can find the patch there, but you most likely have to edit the paths.

@BioMike
Copy link
Contributor Author

BioMike commented Aug 11, 2023

Not a problem regarding bothering me, what counts is that it works for everyone. Seems like this issue is unrelated to the llvm/clang issue, but I'll have a look at it later this day.

I'll also have a look at some of the CI/QA issues reported by the automated tests.

@juippis
Copy link
Member

juippis commented Aug 11, 2023

Not a problem regarding bothering me, what counts is that it works for everyone. Seems like this issue is unrelated to the llvm/clang issue, but I'll have a look at it later this day.

Indeed, but if I push this now onto ~arch, people running ~arch are going to hit it :)
Thanks! It shouldn't be a hard thing to fix, but as said, patching it needs manual path mangling.

Fix for ffmpeg build failure on ~ARCH.
Bug: https://bugs.gentoo.org/911679
Bug: https://bugs.gentoo.org/911582

Various CI/QA fixes.

Signed-off-by: Myckel Habets <gentoo-bugs@habets-dobben.nl>
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2023-08-11 15:41 UTC
Newest commit scanned: d74b3e4
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/de287ea204/output.html

Copy link
Member

@juippis juippis left a comment

Choose a reason for hiding this comment

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

Thanks!

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). bug linked Bug/Closes found in footer, and cross-linked with the PR. self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else)
Projects
None yet
4 participants