Summary: | net-dialup/rp-pppoe fail to cross compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bertrand Jacquin <bertrand> |
Component: | Current packages | Assignee: | Gentoo Dialup Developers <net-dialup> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bertrand |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://lists.roaringpenguin.com/pipermail/rp-pppoe/2011q3/000271.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | files/rp-pppoe-3.10-BJA-configure-endianess.diff |
Created attachment 279585 [details, diff]
files/rp-pppoe-3.10-BJA-configure-endianess.diff
Any news on this bug team net-dialup ? All is fixed in current rp-pppoe-3.10-autotools.patch |
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.