Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194647 - net-misc/bridge-utils-1.2 fails to honor --datarootdir when crosscompiling
Summary: net-misc/bridge-utils-1.2 fails to honor --datarootdir when crosscompiling
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: ARM Linux
: High normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-03 20:26 UTC by Jason Cooper
Modified: 2008-06-05 17:48 UTC (History)
0 users

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


Attachments
patch to allow bridge-utils to cross-compile successfully (bridge-utils-1.2-datarootdir.patch,1.45 KB, patch)
2007-10-03 20:27 UTC, Jason Cooper
Details | Diff
patch to net-misc/bridge-utils-1.2.ebuild to use the datarootdir patch when building (bridge-utils-1.2.ebuild.patch,543 bytes, patch)
2007-10-03 20:30 UTC, Jason Cooper
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Cooper 2007-10-03 20:26:40 UTC
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
Comment 1 Jason Cooper 2007-10-03 20:27:46 UTC
Created attachment 132497 [details, diff]
patch to allow bridge-utils to cross-compile successfully
Comment 2 Jason Cooper 2007-10-03 20:30:37 UTC
Created attachment 132498 [details, diff]
patch to net-misc/bridge-utils-1.2.ebuild to use the datarootdir patch when building
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2008-01-08 18:09:08 UTC
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.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-06-05 17:48:20 UTC
1.4 is in the tree now and should work on cross-compile setups.