View previous topic :: View next topic |
Author |
Message |
jetsaredim n00b
Joined: 28 Sep 2003 Posts: 40 Location: North East US
|
Posted: Sat Jul 30, 2005 3:47 am Post subject: need help with build server |
|
|
I'm trying to setup a centralized build server on my network...
The theory is that you can have a directory on your machine that will act as the root of a pseudo machine that will be used to build the packages for the other architecture via a chroot environment.
I seem to be running into problems with building the mini-systems with the texinfo package. I've actually tried both with stage1 and stage3 starts with the same results. It actually fails in the same place each time...
Can anyone help? Am I missing some concept or something? I'll provide whatever information is necessary to solve the problem.
-Jared |
|
Back to top |
|
|
BradN Advocate
Joined: 19 Apr 2002 Posts: 2391 Location: Wisconsin (USA)
|
Posted: Sat Jul 30, 2005 7:07 am Post subject: |
|
|
Well, for starters, have you checked to see if anyone else is getting a similar error message from it? (be sure to find the first error, not the portage generated one at the end). Otherwise post the last of the output here and maybe someone else can say what's wrong.
I know I had tons of problems building stuff over NFS, but if it's on a local filesystem it should work fine. |
|
Back to top |
|
|
jetsaredim n00b
Joined: 28 Sep 2003 Posts: 40 Location: North East US
|
Posted: Sat Jul 30, 2005 4:22 pm Post subject: |
|
|
Here's what I am doing:
- create directory
Code: | # mkdir /share/builds/pentium4 |
unpack a stage1 onto that dir
Code: | # tar -xjvpf stage1-x86-2005.0.tar.bz2 -C /share/builds/pentium4 |
unpack portage archive
Code: | # tar -xjvf portage-latest.tar.gz -C /share/builds/pentium4/usr |
setup make.conf - since this is a build for an already existing machine (in good running order) - I'm going to copy the make.conf from that machine. In case it matters the machine is a Dell GX260 with a Pentium4 2.6 and 1G DDR.
Code: | # scp root@machine2:/etc/make.conf /share/builds/pentium4/etc/make.conf
# cat /share/builds/pentium4/etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-march=pentium4 -mcpu=pentium4 -O2 -fomit-frame-pointer -fforce-addr -maccumulate-outgoing-args -falign-functions=4 -falign-jumps=4 -falign-loops=4 -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
CLEAN_DELAY="1"
USE="alsa bzip2 dvd dvdread font-server gimpprint gtk2 kde ldap logitech-mouse mmx mozilla moznoxft nptl nptlonly ppds real samba smooth sse sse2 symlink visualization win32codecs xinerama -gnome"
ALSA_CARDS="intel-8xx seq-dummy dummy virmidi serial-u16550 mpu401" |
make sure I can resolve names
Code: | # cp -L /etc/resolv.conf /share/builds/pentium4/etc/resolv.conf |
mount proc for the chroot
Code: | # mount -t proc none /share/builds/pentium4/proc/ |
mount the host's distfiles so we don't have to re-download everything (distfiles dir doesn't exist until the first download so we need to make it)
Code: | # mkdir /share/builds/pentium4/usr/portage/distfiles
# mount --bind /usr/portage/distfiles /share/builds/pentium4/usr/portage/distfiles |
chroot
Code: | # chroot /share/builds/pentium4 /bin/bash
# env-update
>>> Regenerating /etc/ld.so.cache...
# source /etc/profile |
do the userlocales update (including the update the /etc/locales.build)
Code: | # echo "sys-libs/glibc userlocales" >> /etc/portage/package.use |
bootstrap
Code: | # cd /usr/portage
# scripts/bootstrap.sh |
This is the point at which I encounter the fatal error. As far as I can tell this is the topmost error:
Code: | if ..//makeinfo/makeinfo -I . \
-o info.info `test -f 'info.texi' || echo './'`info.texi; \
then \
rc=0; \
else \
rc=$?; \
$restore $backupdir/* `echo "./info.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
make[2]: *** [texinfo.info] Error 132
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/texinfo-4.8/work/texinfo-4.8/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/texinfo-4.8/work/texinfo-4.8'
make: *** [all] Error 2
!!! ERROR: sys-apps/texinfo-4.8 failed.
!!! Function src_compile, Line 47, Exitcode 2
!!! emake
!!! If you need support, post the topmost build error, NOT this status message. |
I'm pretty much at a loss as this is reproducable with the pentium4 as well as the athlon-xp build areas I'm trying to setup - leading me to suspect that its some configuration problem that I don't understand.
Any help would be much appreciated.
|
|
Back to top |
|
|
BradN Advocate
Joined: 19 Apr 2002 Posts: 2391 Location: Wisconsin (USA)
|
Posted: Sat Jul 30, 2005 4:39 pm Post subject: |
|
|
I would try disabling your use flags during bootstrapping (except maybe nptl and nptlonly, as those affect glibc), and see if that helps. Otherwise scale back the cflags a little bit, but you're not otherwise doing anything wrong that I can tell. I don't know if the userlocales use flag for glibc could affect it either, but it wouldn't hurt to shut all of this stuff off and see if it works, then re-do it with a couple of them until you narrow down the problem. |
|
Back to top |
|
|
|