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

Cross-compiling fixes for freedesktop packages #18814

Closed
wants to merge 6 commits into from
Closed

Cross-compiling fixes for freedesktop packages #18814

wants to merge 6 commits into from

Conversation

dm0-
Copy link
Contributor

@dm0- dm0- commented Dec 26, 2020

@floppym This is part of #18813.

The strpool directory must be compiled natively.  The build system
makes an attempt to handle this by setting CC, AM_CFLAGS, etc., but
configure substitutes CFLAGS directly, so it winds up with CBUILD
CC and CHOST CFLAGS which breaks everything.  This just runs emake
in that directory while overriding flags with command arguments.

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: David Michael <fedora.dm0@gmail.com>
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: David Michael <fedora.dm0@gmail.com>
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: David Michael <fedora.dm0@gmail.com>
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: David Michael <fedora.dm0@gmail.com>
The build system prevented the CHOST pkg-config from being found,
so this specifies it as the cache variable to work around it.

It also wants to know the path of a runtime dependency, so that is
specified with EPREFIX so it isn't required at build time.

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: David Michael <fedora.dm0@gmail.com>
@gentoo-bot
Copy link

Pull Request assignment

Submitter: @dm0-
Areas affected: ebuilds
Packages affected: dev-libs/libatasmart, sys-power/upower, x11-libs/libxklavier, x11-libs/startup-notification, x11-misc/xdg-user-dirs-gtk

dev-libs/libatasmart: @gentoo/freedesktop
sys-power/upower: @gentoo/freedesktop
x11-libs/libxklavier: @gentoo/freedesktop
x11-libs/startup-notification: @gentoo/freedesktop
x11-misc/xdg-user-dirs-gtk: @gentoo/freedesktop

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 Dec 26, 2020
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2020-12-26 04:19 UTC
Newest commit scanned: f3583e1
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/427fa0c4be/output.html

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: David Michael <fedora.dm0@gmail.com>
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2020-12-28 17:31 UTC
Newest commit scanned: 546185b
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/446ac69d76/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
3 participants