[Scons-dev] Python 3 compatability... RFH (request for help)

Bill Deegan bill at baddogconsulting.com
Fri Apr 7 12:04:30 EDT 2017


Try: --debug=stacktrace

Let me know if that yields anything useful?

On Fri, Apr 7, 2017 at 11:59 AM, Russel Winder <russel at winder.org.uk> wrote:

> On Fri, 2017-04-07 at 14:58 +0100, Russel Winder wrote:
> >
> […]
> > I can spare a bit of time to make anything D related not fail. There
> > is
> > a feature of Dub builds that really could with being ported to SCons,
> > Meson, and CMake.
> >
> > I'll just give it a go, if there are any failures, I'll send in a
> > pull
> > request.
> >
> > I will be running on Python 3.6.1 though, but I can also test on
> > 3.5.3.
>
> All the D tests pass with Python 3.6.1 on Fedora Rawhide. Which is
> nice.
>
> I have a project (OK I'm doing Factorial in D, see https://github.com/r
> ussel/Factorial/tree/master/D) that builds and cleans fine with Python
> 2. It cleans fine with Python 3 (after a Python 2 build), but will not
> build with Python 3. I get:
>
> |> scons_py3 --tree=all
> scons: Reading SConscript files ...
> scons: done reading SConscript files.
> scons: Building targets ...
> scons: *** [factorial_test] TypeError : function takes exactly 5
> arguments (1 given)
> +-test
>   +-factorial_test
>     +-factorial.d
>     +-ut_main.d
>       +-factorial.d
>       +-/home/russel/.dub/packages/unit-threaded-0.7.11/unit-
> threaded/gen_ut_main
> scons: building terminated because of errors.
>
> If someone can give me direction how to find the problem, I'll try and
> make a failing test.
>
> --
> Russel.
> ============================================================
> =================
> Dr Russel Winder      t: +44 20 7585 2200   voip:
> sip:russel.winder at ekiga.net
> 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
> London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
>
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20170407/448e40af/attachment-0001.html>


More information about the Scons-dev mailing list