View previous topic :: View next topic |
Author |
Message |
gyver n00b
Joined: 15 Dec 2004 Posts: 31 Location: France, Boulogne-Billancourt
|
Posted: Sun Jul 24, 2005 12:48 pm Post subject: PB with distcc install in a 32bit chroot |
|
|
Hi,
I've looked for similar attempts and couldn't find anything similar, so I'm stuck.
Here's what I'm trying to do:
I have 2 systems : one AthlonXP, one Athlon64. On the first I have a x86 install, on the second an amd64 install. Recently I decided to try a 32bit chroot on the Athlon64, so I followed the 32Bit Chroot Guide for Gentoo/AMD64 but with a twist: I tried to bootstrap using distcc with this guide using the already functionnal (and tested with another AthlonXP distcc client on the same subnet as the Athlon64) distccd on the AthlonXP.
Unfortunately it didn't work at all. As soon as distcc is used it seems circular header includes happen (?!?). I thought it was a problem during the bootstrapping, so I did the full chroot install (using stage1) without distcc. It's functionnal (mplayer working as expected for the binary only win32 codecs). I re-emerged distcc in the chroot but as soon as I add "distcc" to "FEATURES", here's the type of errors I get:
Code: |
power ~ # linux32 chroot /mnt/data/gentoo32 /bin/bash
power / # source /etc/profile
power / # emerge -av ccache
[... (lots of them, these are only the last error messages)]
/usr/include/_G_config.h:53: error: conflicting types for `_G_iconv_t'
/usr/include/_G_config.h:53: error: previous declaration of `_G_iconv_t'
In file included from /usr/include/stdio.h:72,
from ccache.h:5,
from ccache.c:24,
from /usr/include/endian.h:37,
from /usr/include/bits/waitstatus.h:65,
from /usr/include/stdlib.h:43,
from ccache.h:7,
from ccache.c:24,
from ccache.h:7,
from ccache.c:24,
from /usr/include/stdio.h:36,
from ccache.h:5,
from ccache.c:24,
from /usr/include/endian.h:37,
from /usr/include/bits/waitstatus.h:65,
from /usr/include/stdlib.h:43,
from ccache.h:7,
from ccache.c:24,
from ccache.h:6,
from ccache.c:24,
from ccache.h:5,
from ccache.c:24,
from ccache.h:5,
from ccache.c:24,
from ccache.h:5,
from ccache.c:24:
/usr/include/libio.h:182: error: redefinition of `struct _IO_marker'
/usr/include/libio.h:184: error: syntax error at end of input
distcc[2800] ERROR: compile ccache.c on 192.168.55.1 failed
make: *** [ccache.o] Error 1
[...]
|
I removed any "-jX" from MAKEOPTS [/url]and placed the remote distccd first in /etc/distcc/hosts to get consistent results.
I was going to open a bug but this is so weird that I believe I made a mistake somewhere.
emerge info output in the chroot:
Code: |
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python: 2.3.5
sys-apps/sandbox: 1.2.11
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: 1.5.18-r1
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -ffast-math -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -ffast-math -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirr ors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.roedu.net/pub/mirrors/gent oo.org/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://quiet/gentoo-portage"
USE="x86 3dnow 3dnowext aac alsa avi bindist bitmap-fonts cups curl dga divx4linux dvd dvdread encode ffmpeg ldap matroska minimal mmx mmxext mpeg nls nvidia ogg oggvorbis opengl pam quicktime real rtc sse sse2 theora truetype truetype-fonts type1-fonts vorbis win32codecs xanim xine xinerama xv xvid xvmc userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
|
Edit: more accurate subject, stage1 precision
Last edited by gyver on Sun Jul 24, 2005 9:27 pm; edited 1 time in total |
|
Back to top |
|
|
Deathwing00 Bodhisattva
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Sun Jul 24, 2005 5:53 pm Post subject: |
|
|
Moved from Installing Gentoo to Gentoo on AMD64. |
|
Back to top |
|
|
gyver n00b
Joined: 15 Dec 2004 Posts: 31 Location: France, Boulogne-Billancourt
|
Posted: Sun Jul 24, 2005 9:28 pm Post subject: |
|
|
Forgot to mention that it was a stage1 install. Done so in the first post. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|