You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by David Summers <da...@summersoft.fay.ar.us> on 2004/04/03 18:09:32 UTC

RedHat 7.3 RPM build broken on trunk

I'm trying to build trunk rev 9281 on RedHat 7.3 and I'm getting a python
syntax error:

Creating build-outputs.mk...
Traceback (innermost last):
  File "./gen-make.py", line 167, in ?
    main(conf, gentype, skip_depends=skip, other_options=rest.list)
  File "./gen-make.py", line 38, in main
    gen_module = __import__(gen_modules[gentype][0])
  File "build/generator/gen_make.py", line 41
    sources += self.graph.get_sources(gen_base.DT_NONLIB, target_ob.name)
             ^
SyntaxError: invalid syntax
ERROR: gen-make.py failed
error: Bad exit status from /home/dsummers/rpms/tmp/rpm-tmp.14116 (%prep)
 
 
Any ideas?

    Thanks!

-- 
David Wayne Summers          "Linux: Because reboots are for hardware upgrades!"
david@summersoft.fay.ar.us   PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  C0 E0 4F 50 DD A9 B6 2B  60 A1 31 7E D2 28 6D A8 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: RedHat 7.3 RPM build broken on trunk

Posted by David Ripton <dr...@ripton.net>.
Justin Erenkrantz wrote:
> --On Saturday, April 3, 2004 12:09 PM -0600 David Summers 
> <da...@summersoft.fay.ar.us> wrote:
> 
>>   File "build/generator/gen_make.py", line 41
>>     sources += self.graph.get_sources(gen_base.DT_NONLIB, target_ob.name)
>>              ^
>> SyntaxError: invalid syntax
>> ERROR: gen-make.py failed
>> error: Bad exit status from /home/dsummers/rpms/tmp/rpm-tmp.14116 (%prep)
> 
> 
> Sounds like I might have introduced a python2-ism into gen_make.  So, 
> what would be the python1-idiom for appending a list - i.e. the output 
> from get_sources needs to be appended to sources?  -- justin

alist.extend(blist)

-- 
David Ripton    dripton@ripton.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

RE: RedHat 7.3 RPM build broken on trunk

Posted by Sander Striker <st...@apache.org>.

> -----Original Message-----
> From: Justin Erenkrantz [mailto:justin@erenkrantz.com]
> Sent: Saturday, April 03, 2004 8:40 PM
> To: David Summers; dev@subversion.tigris.org
> Subject: Re: RedHat 7.3 RPM build broken on trunk
> 
> 
> --On Saturday, April 3, 2004 12:09 PM -0600 David Summers 
> <da...@summersoft.fay.ar.us> wrote:
> 
> >   File "build/generator/gen_make.py", line 41
> >     sources += self.graph.get_sources(gen_base.DT_NONLIB, target_ob.name)
> >              ^
> > SyntaxError: invalid syntax
> > ERROR: gen-make.py failed
> > error: Bad exit status from /home/dsummers/rpms/tmp/rpm-tmp.14116 (%prep)
> 
> Sounds like I might have introduced a python2-ism into gen_make.  So, what 
> would be the python1-idiom for appending a list - i.e. the output from 
> get_sources needs to be appended to sources?  -- justin

sources.extend(self.graph....)

Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: RedHat 7.3 RPM build broken on trunk

Posted by Justin Erenkrantz <ju...@erenkrantz.com>.
--On Saturday, April 3, 2004 12:09 PM -0600 David Summers 
<da...@summersoft.fay.ar.us> wrote:

>   File "build/generator/gen_make.py", line 41
>     sources += self.graph.get_sources(gen_base.DT_NONLIB, target_ob.name)
>              ^
> SyntaxError: invalid syntax
> ERROR: gen-make.py failed
> error: Bad exit status from /home/dsummers/rpms/tmp/rpm-tmp.14116 (%prep)

Sounds like I might have introduced a python2-ism into gen_make.  So, what 
would be the python1-idiom for appending a list - i.e. the output from 
get_sources needs to be appended to sources?  -- justin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org