Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] recent gcc build failures

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: julian AT openit.de (Julian v. Bock)
  • To: Source Mage <sm-discuss AT lists.ibiblio.org>
  • Subject: [SM-Discuss] recent gcc build failures
  • Date: Fri, 25 Oct 2002 10:02:25 +0200

Hi

The recent gcc build failures are caused by two (separate?) problems
which have probably been introduced lately (after the glibc update and
the corresponding gcc-3.2 update).

1. several people report that their /usr/src/gcc-3.2 directory gets
removed during the BUILD. if this happens, do the following:

cd /usr/src
tar -xzvf /var/spool/sorcery/gcc-3.2.tar.gz
cd gcc-3.2.bld
make bootstrap
make install

I did not have this problem with the latest sorcery, so this has
probably been fixed.


2. the gcc installation aborts with an error like this:

tar: linux: Cannot lchown to uid 0 gid 0: No such file or directory
tar: X11: Cannot lchown to uid 0 gid 0: No such file or directory
tar: GL: Cannot lchown to uid 0 gid 0: No such file or directory
tar: Error exit delayed from previous errors
make[1]: *** [install-headers-tar] Error 2
make[1]: Leaving directory `/usr/src/gcc-3.2.bld/gcc'
make: *** [install-gcc] Error 2

after lots of casts I tracked down this problem to installwatch.
If you are hit by this, just do the following:

cd /usr/src/gcc-3.2.bld
make install

A temporary fix is to add the following line to the BUILD script
right before the 'make install' line:

unset LD_PRELOAD &&

You won't get complete install logs though.
I am going to add this fix to the grimoire for now.

Julian



  • [SM-Discuss] recent gcc build failures, Julian v. Bock, 10/25/2002

Archive powered by MHonArc 2.6.24.

Top of Page