Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 766959

Summary: net-misc/frr cross-compilation support
Product: Gentoo Linux Reporter: Jakov Smolić <jsmolic>
Component: Current packagesAssignee: Sergey Popov <pinkbyte>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/19201
Whiteboard:
Package list:
Runtime testing required: ---

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(+)