Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 373365 - net-dialup/radiusclient-ng fail to cross-compile
Summary: net-dialup/radiusclient-ng fail to cross-compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Dialup Developers
URL: https://developer.berlios.de/bugs/?fu...
Whiteboard:
Keywords: PATCH, UPSTREAM
Depends on:
Blocks:
 
Reported: 2011-06-28 15:58 UTC by Bertrand Jacquin
Modified: 2013-11-11 14:14 UTC (History)
1 user (show)

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


Attachments
files/radiusclient-ng-0.5.6-BJA-cross.diff (radiusclient-ng-0.5.6-BJA-cross.diff,1.68 KB, patch)
2011-06-28 15:58 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 15:58:04 UTC
radiusclient-ng 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
`/usr/i586-geode-linux-gnu/tmp/portage/net-dialup/radiusclient-ng-0.5.6/work/radiusclient-ng-0.5.6': 
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
ac_cv_struct_utsname

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 ac_cv_file__dev_urandom

Reproducible: Always

Steps to Reproduce:
1. i586-geode-linux-gnu-emerge -vat radiusclient-ng
2.
3.
Comment 1 Bertrand Jacquin 2011-06-28 15:58:37 UTC
Created attachment 278509 [details, diff]
files/radiusclient-ng-0.5.6-BJA-cross.diff
Comment 2 Bertrand Jacquin 2013-06-11 20:56:03 UTC
Any news on this bug team net-dialup ?
Comment 3 Sergey Popov gentoo-dev 2013-11-11 13:36:40 UTC
Confirming this issue
Comment 4 Sergey Popov gentoo-dev 2013-11-11 14:14:27 UTC
+*radiusclient-ng-0.5.6-r1 (11 Nov 2013)
+
+  11 Nov 2013; Sergey Popov <pinkbyte@gentoo.org>
+  +radiusclient-ng-0.5.6-r1.ebuild,
+  +files/radiusclient-ng-0.5.6-cross-compile.patch:
+  Revision bump: EAPI 5, autotools-utils eclass, add fix for cross compilation
+  wrt bug #373365, thanks to Bertrand Jacquin <beber AT meleeweb.net>