Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 373369 - net-dialup/freeradius-client fail to cross-compile
Summary: net-dialup/freeradius-client fail to cross-compile
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Dialup Developers
Depends on:
Reported: 2011-06-28 16:08 UTC by Bertrand Jacquin
Modified: 2015-10-12 13:05 UTC (History)
1 user (show)

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

files/freeradius-client-1.1.6-BJA-cross.diff (freeradius-client-1.1.6-BJA-cross.diff,1.68 KB, patch)
2011-06-28 16:08 UTC, Bertrand Jacquin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Jacquin 2011-06-28 16:08:19 UTC
freeradius-client configure failed when cross compiling as no fallback
method to handling this :

checking for stricmp... no
checking for random... yes
checking for rand... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for field domainname in struct utsname... configure: error: in
configure: error: cannot run test program while cross compiling
See `config.log' for more details

Here is a patch to let user define utsname status by defining

There is another fix for /dev/urandom that is tested on build host. But
this file can don't exist on target host. So let user define

Reproducible: Always

Steps to Reproduce:
1. i586-geode-linux-gnu-emerge -vat net-dialup/freeradius-client
Comment 1 Bertrand Jacquin 2011-06-28 16:08:40 UTC
Created attachment 278511 [details, diff]
Comment 2 Bertrand Jacquin 2013-06-11 20:56:16 UTC
Any news on this bug team net-dialup ?
Comment 3 Sergey Popov gentoo-dev 2015-10-12 13:05:05 UTC
Upstream has added check for crosscompilation in new version. I just bumped it with some ebuild modifications

commit 873787870462155a244542b3f69f0d25d7ef9ff6
Author: Sergey Popov <>
Date:   Mon Oct 12 16:00:46 2015 +0300

    net-dialup/freeradius-client: version bump

    Bump EAPI to 5, port to autotools-utils eclass

    Gentoo-Bug: 373369
    Reported-by: Bertrand Jacquin <>
    Signed-off-by: Sergey Popov <>