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

Bug 374667

Summary: net-dialup/rp-pppoe fail to cross compile
Product: Gentoo Linux Reporter: Bertrand Jacquin <bertrand>
Component: Current packagesAssignee: Gentoo Dialup Developers <net-dialup>
Severity: normal CC: bertrand
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: files/rp-pppoe-3.10-BJA-configure-endianess.diff

Description Bertrand Jacquin 2011-07-10 09:52:40 UTC
configure try to detect endianess at build time but explicitaly failed when cross compiling :

>>> Source unpacked in /usr/i586-alix-linux-gnu/tmp/portage/net-dialup/rp-pppoe-3.10-r1/work
>>> Compiling source in /usr/i586-alix-linux-gnu/tmp/portage/net-dialup/rp-pppoe-3.10-r1/work/rp-pppoe-3.10 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=i586-alix-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share 
--sysconfdir=/etc --localstatedir=/var/lib --enable-plugin=../../ppp-2.4.4
configure: loading site script /usr/share/
configure: loading site script /usr/share/crossdev/include/site/linux
checking for i586-alix-linux-gnu-gcc... i586-alix-linux-gnu-gcc
checking for setsid... /usr/bin/setsid
checking for id... /usr/bin/id
checking for Linux 2.4.X kernel-mode PPPoE support... (cached) yes
checking packing order of bit fields... no defaults for cross-compiling
make -j1 
make: *** No targets specified and no makefile found.  Stop.
emake failed
 * ERROR: net-dialup/rp-pppoe-3.10-r1 failed (compile phase):
 *   emake failed

So here is a fix to use standard AC_C_BIGENDIAN

Reproducible: Always

Steps to Reproduce:
1. i586-alix-linux-gnu-emerge -vat net-dialup/rp-pppoe
Comment 1 Bertrand Jacquin 2011-07-10 09:53:04 UTC
Created attachment 279585 [details, diff]
Comment 2 Bertrand Jacquin 2013-06-11 20:56:39 UTC
Any news on this bug team net-dialup ?
Comment 3 Bertrand Jacquin 2015-10-10 00:46:06 UTC
All is fixed in current rp-pppoe-3.10-autotools.patch