[Ohrrpgce] SVN: teeemcee/8809 Cleanup ohrbuild.py

Ralph Versteegen teeemcee at gmail.com
Sat Jun 3 17:56:34 PDT 2017


Oops, fixed.

On 4 June 2017 at 12:22, James Paige <Bob at hamsterrepublic.com> wrote:

> This revision breaks the build for me:
>
> james at breq:~/src/ohr/wip$ scons
> scons: Reading SConscript files ...
> Using target: linux  arch: x86_64  gcc: gcc  cc: gcc  gcctarget:
> x86_64-linux-gnu  fbcversion: 1050
> scons: done reading SConscript files.
> scons: Building targets ...
> Generating ver.txt
> scons: *** [ver.txt] TypeError : %d format: a number is required, not str
> Traceback (most recent call last):
>   File "/usr/lib/scons/SCons/Action.py", line 1063, in execute
>     result = self.execfunction(target=target, source=rsources, env=env)
>   File "/home/james/src/ohr/wip/SConscript", line 834, in version_info
>     ohrbuild.verprint (gfx, music, fbc, archinfo, asan, portable,
> builddir, rootdir, DATAFILES)
>   File "/home/james/src/ohr/wip/ohrbuild.py", line 235, in verprint
>     'CONST version_revision as integer = %(rev)d' % data,
> TypeError: %d format: a number is required, not str
> scons: building terminated because of errors.
>
> I checked and data["rev"] is "" for me.
>
> ---
> James
>
>
> On Sat, Jun 3, 2017 at 7:41 AM, <subversion at hamsterrepublic.com> wrote:
>
>> teeemcee
>> 2017-06-03 07:41:14 -0700 (Sat, 03 Jun 2017)
>> 149
>> Cleanup ohrbuild.py
>>
>> In particular, moved sub-functions out of verprint(), folded functionality
>> of query_fbc into get_fb_info, and cleaned up imports
>> ---
>> U   wip/SConscript
>> U   wip/ohrbuild.py
>> _______________________________________________
>> Ohrrpgce mailing list
>> ohrrpgce at lists.motherhamster.org
>> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>>
>
>
> _______________________________________________
> Ohrrpgce mailing list
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20170604/67595eb6/attachment.htm>


More information about the Ohrrpgce mailing list