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

James Paige Bob at hamsterrepublic.com
Sat Jun 3 17:22:58 PDT 2017


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20170603/4f24dfcb/attachment.htm>


More information about the Ohrrpgce mailing list