Problems setting up distcc on Ubuntu 11.10 server x86 (VBox)

Talk about the project itself, the community, where we are and what we need. Great place to introduce yourself and make friends as well.

Problems setting up distcc on Ubuntu 11.10 server x86 (VBox)

Postby moonman » Tue Mar 20, 2012 6:11 am

It seems that whatever crosstool-ng downloads for distcc lacks some components in the tarball so it errors out. The official website doesn't yet have the ports nor the glibc 2.15 for download so here's the tarballs that I created from git:

glibc-ports-2.15.tar.bzR
glibc-2.15.tar.bzR

place them in ~/cross/src
Last edited by moonman on Tue Mar 20, 2012 8:38 pm, edited 2 times in total.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: glibc 2.15 src tarballs for distcc setup

Postby moonman » Tue Mar 20, 2012 6:39 am

NVM, Don't use those file. I thought I had it figured out because it extacter and patched all the files and didn't error out, but the compilation fails now. :(
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: glibc 2.15 src tarballs for distcc setup

Postby kmihelich » Tue Mar 20, 2012 12:29 pm

I added the glibc 2.15 tarball I use (which is just renamed/repackaged from upstream) to the ct-ng page on the main site. The ports tarball I use for both the released native toolchain and my ct-ng installs has been there as well.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: glibc 2.15 src tarballs for distcc setup

Postby moonman » Tue Mar 20, 2012 6:52 pm

Much appreciated kmihelich!
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: glibc 2.15 src tarballs for distcc setup

Postby moonman » Tue Mar 20, 2012 8:07 pm

Yet again it fails :( lib-names.h is missing. Same error as with the git version
$this->bbcode_second_pass_code('', '[ALL ] ./scripts/mkinstalldirs /home/oleg/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sysroot/usr/include/gnu
[ALL ] /home/oleg/cross/bin/.build/tools/bin/install -c -m 644 /home/oleg/cross/bin/.build/arm-unknown-linux-gnueabi/build/build-libc-startfiles/gnu/lib-names.h /home/oleg/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sysroot/usr/include/gnu/lib-names.h
[ALL ] /usr/bin/install: cannot stat `/home/oleg/cross/bin/.build/arm-unknown-linux-gnueabi/build/build-libc-startfiles/gnu/lib-names.h': No such file or directory
[ERROR] make[2]: *** [/home/oleg/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sysroot/usr/include/gnu/lib-names.h] Error 1
[ALL ] make[2]: Leaving directory `/home/oleg/cross/bin/.build/src/glibc-2.15'
[ERROR] make[1]: *** [install-headers] Error 2
[ALL ] make[1]: Leaving directory `/home/oleg/cross/bin/.build/arm-unknown-linux-gnueabi/build/build-libc-startfiles'
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Installing C library headers & start files'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@172]
[ERROR] >> called from: do_libc_backend_once[scripts/build/libc/glibc-eglibc.sh-common@381]
[ERROR] >> called from: do_libc_backend[scripts/build/libc/glibc-eglibc.sh-common@144]
[ERROR] >> called from: do_libc_start_files[scripts/build/libc/glibc-eglibc.sh-common@60]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@597]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> '/home/oleg/cross/share/doc/crosstool-ng/ct-ng.1.14.1/B - Known issues.txt'
[ERROR]
[ERROR] (elapsed: 48:14.48)

')

EDIT: Changed subject of the topic
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Problems setting up distcc on Ubuntu 11.10 server x86 (V

Postby kmihelich » Tue Mar 20, 2012 9:06 pm

Not sure what you're doing different, everything built fine for me. Since I'm running 11.10 myself, I blame your VirtualBox.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: Problems setting up distcc on Ubuntu 11.10 server x86 (V

Postby moonman » Tue Mar 20, 2012 9:49 pm

Are you using vmware or you just have ubuntu running on your PC? Are you running x64?

I will try it on my desktop with lubuntu 11.10 x64. Just didn't want to mess with a working OS.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Problems setting up distcc on Ubuntu 11.10 server x86 (V

Postby kmihelich » Tue Mar 20, 2012 9:55 pm

Specifically, it's Kubuntu x64, and it's on my desktop. The whole process won't mess with your running installation at all.. the way I wrote the guide, everything happens within ~/cross and ~/x-tools(7h). Distcc is just like any other package.. if you're tired of it completely.. apt-get purge. No harm done.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: Problems setting up distcc on Ubuntu 11.10 server x86 (V

Postby moonman » Tue Mar 20, 2012 10:17 pm

Thanks. Will try x64 in VBox first though :)
I hate Unity in ubuntu by the way :)
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Problems setting up distcc on Ubuntu 11.10 server x86 (V

Postby kmihelich » Tue Mar 20, 2012 10:23 pm

I wouldn't know, I've been a KDE person forever. You should try it ;)
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Next

Return to Community

Who is online

Users browsing this forum: No registered users and 9 guests