gcc installaton broken on some intrepid buildds

Matthias Klose doko at ubuntu.com
Sun Sep 7 15:02:10 BST 2008


I managed to break the default gcc on some intrepid buildds on some
architectures. Please don't re-upload packages, but request rebuilds (on
#ubuntu-devel) when the problem is fixed. symptom is:

checking for C compiler default output file name... configure: error: in
`/build/buildd/gcc-snapshot-20080906/build':
configure: error: C compiler cannot create executables
See `config.log' for more details.

or

/usr/bin/gcj-4.3 -c -fsource-filename=/tmp/filepkCCkd -g -O2 -fPIC
-findirect-dispatch -fjni ant-launcher.jar.1.jar -o ant-launcher.jar.1.o
/usr/bin/gcj-dbtool-4.3 -n ant-launcher.jar.db 64
gcj-4.3: libgcj.spec: No such file or directory

the cause seems to be the missing symlinks

  /usr/lib/gcc/<deb-host-gnu-type>/4.3.x -> 4.3

these were moved from cpp-4.3 to gcc-4.3-base in the 4.3.2-1ubuntu1 upload.
gcc-4.3-base 4.3.1-1ubuntu1 had a "Replaces: cpp-4.3 (<< 4.3.2)", which was
wrong, and which was changed in 4.3.2-1ubuntu4 to "Replaces: cpp-4.3 (<<
4.3.2-1)" (there are plenty of gcc's in main to bootstrap with ;)).

Even with this change, I do still see build failures on i386, lpia, amd64 and
ia64 (architectures where 4.3.2-1ubuntu1 did reach the archive) on the buildds.
I did setup new chroots locally for i386 and lpia, but cannot reproduce these
broken installations. Not all buildds seem to be affected as an upload of
fastjar to the ubuntu-toolchain PPA shows.

I tried updates of cpp-4.3 and gcc-4.3-base in different order (from
4.3.2-0ubuntu3 to 4.3.2-1ubuntu1), but I didn't manage to loose the symlinks yet.

  Matthias



More information about the ubuntu-devel mailing list