I didn't completely gave up on this bug, but I'm trying to upgrade the
upstream source to the current SVN state, which unfortunately, isn't
quite releasable right now.

My issue is that I'm a C-only guy, I dunno how to code in C++ :-/


Thanks for your patience,
Mt.

On Sat, Apr 28, 2007 at 10:47:10AM +0200, Martin Michlmayr wrote:
> The situation just got a bit worse.  We're now failing very early:
> 
> > Automatic build of widelands_build10-1 on em64t by sbuild/amd64 0.53
> ...
> > Checking for a working C++ compiler ... no
> > Can't even compile the simplest C++ program! Your setup is beyond broken. 
> > Repair it, then try again.
> > make: *** [build-stamp] Error 1
> 
> The reason is that in SVN the pedantic warning (i.e. needing
> -pedantic) about a missing newline got converted to an error (without
> any command line option, so the simple C++ program fails to compile.
> I hope this error will get reverted again in gcc, but nevertheless it
> makes sense to change your configure script:
> 
> --- build/scons-tools/scons_configure.py~     2007-04-28 08:36:35.000000000 
> +0000
> +++ build/scons-tools/scons_configure.py      2007-04-28 08:37:59.000000000 
> +0000
> @@ -208,7 +208,7 @@
>       print #prettyprinting
>  
>       print "Checking for a working C++ compiler ...",
> -     if not conf.TryLink("""class c{}; int main(){class c the_class;}""", 
> '.cc'):
> +     if not conf.TryLink("""class c{}; int main(){class c the_class;}\n""", 
> '.cc'):
>               print "no"
>               print "Can't even compile the simplest C++ program! Your setup 
> is beyond broken. Repair it, then try again."
>               env.Exit(1)
> 
> Log:
> 
> build/sconf_temp/conftest_0.cc <-
>   |class c{}; int main(){class c the_class;}
> g++ -DNDEBUG -c -o build/sconf_temp/conftest_0.o 
> build/sconf_temp/conftest_0.cc
> build/sconf_temp/conftest_0.cc:1:42: error: no newline at end of file
> 
> After fixing thix, we're failing in the following way and I've no idea
> what this means:
> 
> Trying to enable linker   flag -s ... yes
> 
> TypeError: Tried to lookup Dir '.' as a File.:
>   File "/home/tbm/src/c/widelands-build10/SConstruct", line 339:
>     install=env.Install('installtarget', '')
>   File "/usr/lib/scons/SCons/Environment.py", line 190:
>     return apply(self.builder, (self.env, target, source) + args, kw)
>   File "/usr/lib/scons/SCons/Builder.py", line 610:
>     return self._execute(env, target, source, OverrideWarner(kw), ekw)
>   File "/usr/lib/scons/SCons/Builder.py", line 557:
>     tlist, slist = self._create_nodes(env, target, source)
>   File "/usr/lib/scons/SCons/Builder.py", line 492:
>     slist = env.arg2nodes(source, source_factory)
>   File "/usr/lib/scons/SCons/Environment.py", line 362:
>     v = node_factory(self.subst(v, raw=1))
>   File "/usr/lib/scons/SCons/Node/FS.py", line 1213:
>     return self.Entry(name, directory, create, File)
>   File "/usr/lib/scons/SCons/Node/FS.py", line 1201:
>     return self._doLookup(klass, name, directory, create)
>   File "/usr/lib/scons/SCons/Node/FS.py", line 1132:
>     result = self.__checkClass(e, fsclass)
>   File "/usr/lib/scons/SCons/Node/FS.py", line 1015:
>     raise TypeError, "Tried to lookup %s '%s' as a %s." % \
> zsh: exit 2     scons
> 
> -- 
> Martin Michlmayr
> http://www.cyrius.com/
> 

-- 
Never ascribe to malice, that which can be explained by incompetence.
  -- Napoleon  

Attachment: signature.asc
Description: Digital signature

Reply via email to