Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 766959 - net-misc/frr cross-compilation support
Summary: net-misc/frr cross-compilation support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergey Popov
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-01-24 22:04 UTC by Jakov Smolić
Modified: 2021-03-30 09:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jakov Smolić archtester gentoo-dev 2021-01-24 22:04:05 UTC
Hi, I'm looking into frr cross-compilation. It would be nice to support it (at least to some extent) in the ::gentoo ebuild.

AFAIK there are 2 ways to do it: 
1) build the clippy tool on the host and point the build system via `--with-clippt=${PATH}` to it when cross-compiling
2) cross-compile frr out of source

I tried to do 2) via out-of-source.eclass but didn't manage to get the build working
1) seems to be the most sensible way to do it right now

Could we install the clippy tool for starters, unconditionally or put it behind a USE flag?
Thanks!
Comment 1 Larry the Git Cow gentoo-dev 2021-03-30 09:31:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b506d4977bcc8c283a885910a9cb1774abe9fe6

commit 2b506d4977bcc8c283a885910a9cb1774abe9fe6
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-03-30 09:29:02 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-03-30 09:29:02 +0000

    net-misc/frr: Support cross-compilation
    
    Closes: https://bugs.gentoo.org/766959
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 net-misc/frr/{frr-7.5.1-r1.ebuild => frr-7.5.1-r2.ebuild} | 2 ++
 1 file changed, 2 insertions(+)