Summary: | sys-devel/distcc fails at i686 cross compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ville Syrjala <syrjala> |
Component: | Current packages | Assignee: | Gentoo Cluster Team <cluster> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cross, jstein, mgorny, sam |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
See Also: |
https://github.com/distcc/distcc/issues/377 https://github.com/distcc/distcc/issues/440 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | [PATCH] distcc: fix i686 cross compile |
Description
Ville Syrjala
2021-03-01 22:13:28 UTC
I agree with you and left an angry comment there. Yes, distcc is a really bad project. It's the kind of upstream that fixes only bugs that affect their corporate sponsors/employers, and don't care that things are broken for a lot of people (see distcc-pump). Could you make a patch for me to apply? Did you try setting that DISTCC_NO_CROSS_REWRITE thingy from https://github.com/distcc/distcc/commit/2b160f3d20bc235c02c3b3da89d02a52509768e8 ? (In reply to Maciej Mrozowski from comment #2) > Did you try setting that DISTCC_NO_CROSS_REWRITE thingy from > https://github.com/distcc/distcc/commit/ > 2b160f3d20bc235c02c3b3da89d02a52509768e8 ? We want it to rewrite, not prevent it from rewriting. Created attachment 689082 [details, diff]
[PATCH] distcc: fix i686 cross compile
This is the patch I threw into /etc/portage/patches on my i686 machines.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76151f32fbd41247e5d01f88207db2a084f6e661 commit 76151f32fbd41247e5d01f88207db2a084f6e661 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2021-03-02 17:23:51 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2021-03-02 18:16:45 +0000 sys-devel/distcc: Disable CHOST rewrites that break i686 cross Closes: https://bugs.gentoo.org/773652 Signed-off-by: Michał Górny <mgorny@gentoo.org> ...stcc-3.3.3-r2.ebuild => distcc-3.3.3-r3.ebuild} | 2 ++ .../files/distcc-3.3.3-no-rewrite-chost.patch | 28 ++++++++++++++++++++++ 2 files changed, 30 insertions(+) This broke again because the patch was not included in the distcc-3.4 ebuild for whatever reason. Apparently upstream has finally come up with a fix for this: https://github.com/distcc/distcc/commit/850db9eec0d5dd7f47ade8ffca91b679081f6d85 Tested that one here and it works too. So please either pick that up, or reinstate the original hack patch. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a43ee9d85165ae7913807d321bf3e73c32fd3247 commit a43ee9d85165ae7913807d321bf3e73c32fd3247 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-09-27 04:26:27 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-09-27 04:26:27 +0000 sys-devel/distcc: backport CHOST rewriting fix (deux) Closes: https://bugs.gentoo.org/773652 Signed-off-by: Sam James <sam@gentoo.org> sys-devel/distcc/distcc-3.4-r3.ebuild | 186 +++++++++++++++++++++ .../distcc/files/distcc-3.4-rewrite-chost.patch | 79 +++++++++ 2 files changed, 265 insertions(+) Thank you! |