Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374667 - net-dialup/rp-pppoe fail to cross compile
Summary: net-dialup/rp-pppoe 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
Assignee: Gentoo Dialup Developers
URL: http://lists.roaringpenguin.com/piper...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-10 09:52 UTC by Bertrand Jacquin
Modified: 2015-10-10 00:46 UTC (History)
1 user (show)

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


Attachments
files/rp-pppoe-3.10-BJA-configure-endianess.diff (rp-pppoe-3.10-BJA-configure-endianess.diff,1018 bytes, patch)
2011-07-10 09:53 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-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/config.site
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
2.
3.
Comment 1 Bertrand Jacquin 2011-07-10 09:53:04 UTC
Created attachment 279585 [details, diff]
files/rp-pppoe-3.10-BJA-configure-endianess.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