While building a rootfs for an IXP425 (armeb-softfloat-linux-uclibc), I attempted to add net-misc/bridge-utils-1.2. It failed horribly (emerge still thought it was okay and 'installed' nothing). The crux of the issue was: ### Begin Error Msg ### configure: creating ./config.status config.status: creating doc/Makefile config.status: WARNING: doc/Makefile.in seems to ignore the --datarootdir setting config.status: creating libbridge/Makefile config.status: creating brctl/Makefile config.status: WARNING: brctl/Makefile.in seems to ignore the --datarootdir setting config.status: creating Makefile config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting config.status: creating bridge-utils.spec config.status: creating libbridge/config.h for x in libbridge brctl doc; do make - --jobserver-fds=3,4 -j -C $x ; done make[1]: Entering directory `/var/tmp/portage/net-misc/bridge-utils-1.2/work/bridge-utils-1.2/libbridge' armeb-softfloat-linux-uclibc-gcc -Wall -g -I/usr/include -c libbridge_devif.c armeb-softfloat-linux-uclibc-gcc -Wall -g -I/usr/include -c libbridge_if.c ### End Error Msg ### Followed by several thousand lines of error messages. The attached patch fixes the issue, but I'm not sure if it is the proper solution... Reproducible: Always Steps to Reproduce: 1.xmerge --root $TGTROOT -av --nodeps bridge-utils 2.??? 3.Failure Portage 2.1.3.9 (uclibc/arm/armeb, gcc-3.4.6, unavailable, 2.6.22-gentoo-r5 x86_64) ================================================================= System uname: 2.6.22-gentoo-r5 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz Timestamp of tree: Wed, 03 Oct 2007 06:00:01 +0000 app-shells/bash: 3.2_p17 dev-lang/python: 2.4.4-r5, 2.5.1-r2 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3, 2.17-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="arm" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-Os -pipe" CHOST="armeb-softfloat-linux-uclibc" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-Os -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer nodoc noinfo noman parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="arm bitmap-fonts cli cracklib dri midi minimal mudflap ncurses nptlonly openmp pcre readline reflection session spl symlink truetype-fonts type1-fonts uclibc xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="uclibc" INPUT_DEVICES="keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 132497 [details, diff] patch to allow bridge-utils to cross-compile successfully
Created attachment 132498 [details, diff] patch to net-misc/bridge-utils-1.2.ebuild to use the datarootdir patch when building
I've done somewhat the same at bug#204744... robbat2: Why don't you close/comment these bugs? There is no reason keeping them open.
1.4 is in the tree now and should work on cross-compile setups.