Bug 28319

Summary: bootstrap: configure fails with CC=colorgcc
Product: systemd Reporter: Christian Ruppert <idl0r>
Component: generalAssignee: Lennart Poettering <lennart>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: bootstrap.sh.patch

Description Christian Ruppert 2010-05-30 03:59:16 UTC
Created attachment 35949 [details]
bootstrap.sh.patch

+ '[' -f .git/hooks/pre-commit.sample -a '!' -f .git/hooks/pre-commit ']'
+ type -p colorgcc
+ export CC=colorgcc
+ CC=colorgcc
+ '[' x = xam ']'
+ rm -rf autom4te.cache
+ rm -f config.cache
+ run_versioned aclocal 1.11 -I m4
+ local P
+ local V
++ echo 1.11
++ sed -e 's,\.,,g'
+ V=111
++ which aclocal111
+ '[' -e '' ']'
++ which aclocal-1.11
+ '[' -e /usr/bin/aclocal-1.11 ']'
+ P=aclocal-1.11
+ shift 2
+ aclocal-1.11 -I m4
+ run_versioned autoconf 2.63 -Wall
+ local P
+ local V
++ echo 2.63
++ sed -e 's,\.,,g'
+ V=263
++ which autoconf263
+ '[' -e '' ']'
++ which autoconf-2.63
+ '[' -e '' ']'
+ P=autoconf
+ shift 2
+ autoconf -Wall
configure.ac:138: warning: cannot check for file existence when cross compiling
../../lib/autoconf/general.m4:2744: AC_CHECK_FILE is expanded from...
configure.ac:138: the top level
configure.ac:139: warning: cannot check for file existence when cross compiling
configure.ac:139: the top level
configure.ac:140: warning: cannot check for file existence when cross compiling
configure.ac:140: the top level
configure.ac:141: warning: cannot check for file existence when cross compiling
configure.ac:141: the top level
configure.ac:142: warning: cannot check for file existence when cross compiling
configure.ac:142: the top level
configure.ac:143: warning: cannot check for file existence when cross compiling
configure.ac:143: the top level
configure.ac:272: warning: AC_OUTPUT should be used without arguments.
configure.ac:272: You should run autoupdate.
+ run_versioned autoheader 2.63
+ local P
+ local V
++ echo 2.63
++ sed -e 's,\.,,g'
+ V=263
++ which autoheader263
+ '[' -e '' ']'
++ which autoheader-2.63
+ '[' -e '' ']'
+ P=autoheader
+ shift 2
+ autoheader
+ run_versioned automake 1.11 --copy --foreign --add-missing
+ local P
+ local V
++ echo 1.11
++ sed -e 's,\.,,g'
+ V=111
++ which automake111
+ '[' -e '' ']'
++ which automake-1.11
+ '[' -e /usr/bin/automake-1.11 ']'
+ P=automake-1.11
+ shift 2
+ automake-1.11 --copy --foreign --add-missing
+ '[' x '!=' xac ']'
+ CFLAGS=' -g -O0'
+ ./configure --sysconfdir=/etc --localstatedir=/var
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking build system type... Invalid configuration `x86_64-unknown-linux-': machine `x86_64-unknown-linux' not recognized
configure: error: /bin/sh ./config.sub x86_64-unknown-linux- failed


colorgcc-1.3.2 (http://schlueters.de/colorgcc.html)
I'm not sure what happened here but colorgcc should be avoided until it has been fixed.
Comment 1 Lennart Poettering 2010-06-02 09:59:22 UTC
I think this should be reported against colorgcc, not systemd. Closing.
Comment 2 Christian Ruppert 2010-06-02 10:16:41 UTC
(In reply to comment #1)
> I think this should be reported against colorgcc, not systemd. Closing.

Ok, nvm.. just noticed that its caused by a gentoo patch :(

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.