[Scons-dev] FORTRAN tests failing in SCons latest

William Blevins wblevins001 at gmail.com
Thu Oct 1 19:15:58 EDT 2015


I can look at trying to fix it tomorrow.  If you look at the test, I
imagine you will have the same question I do.  Why does SHFORTRANFLAGS =
'-x' get converted to "-Ix".

On Thu, Oct 1, 2015 at 10:56 PM, Bill Deegan <bill at baddogconsulting.com>
wrote:

> can you capture and pastebin f77 --help ?
>
> On Thu, Oct 1, 2015 at 5:45 PM, William Blevins <wblevins001 at gmail.com>
> wrote:
>
>> The stderr warning comes from the gfortran execution explicitly: (Warning:
>> Nonexistent include directory "x").
>>
>> We probably just need to update the tests to be correct if they are
>> passing in bad parameters.
>>
>> V/R,
>> William
>>
>> On Thu, Oct 1, 2015 at 9:13 PM, Bill Deegan <bill at baddogconsulting.com>
>> wrote:
>>
>>> William,
>>>
>>> Can you run just that one test as follows:
>>>
>>> PRESERVE=1 ./runtest.py test/Fortran/SHFORTRANFLAGS.py
>>>
>>> Then cd into the temp directory and run:
>>> f77 -o bar.os -c -fPIC -Ix bar.f
>>>
>>> And see if that error message is coming from f77 or from SCons?
>>>
>>> Thanks,
>>> Bill
>>>
>>> On Thu, Oct 1, 2015 at 9:18 AM, William Blevins <wblevins001 at gmail.com>
>>> wrote:
>>>
>>>> wblevins at debian:~/SCons/scons_20150323$ ./runtest.py
>>>> test/Fortran/SHFORTRANFLAGS.py
>>>> 1/1 (100.00%) /usr/bin/python -tt test/Fortran/SHFORTRANFLAGS.py
>>>> STDOUT
>>>> =========================================================================
>>>> scons: Reading SConscript files ...
>>>> scons: done reading SConscript files.
>>>> scons: Building targets ...
>>>> /usr/bin/python wrapper.py f77 -o bar.os -c -fPIC -Ix bar.f
>>>> gfortran -o bar/libbar.so -shared bar.os
>>>> scons: done building targets.
>>>>
>>>> STDERR
>>>> =========================================================================
>>>> 0a1
>>>> > Warning: Nonexistent include directory "x"
>>>> FAILED test of /home/wblevins/SCons/scons_20150323/src/script/scons.py
>>>>     at line 611 of
>>>> /home/wblevins/SCons/scons_20150323/QMTest/TestCommon.py (_complete)
>>>>     from line 701 of
>>>> /home/wblevins/SCons/scons_20150323/QMTest/TestCommon.py (run)
>>>>     from line 390 of
>>>> /home/wblevins/SCons/scons_20150323/QMTest/TestSCons.py (run)
>>>>     from line 133 of test/Fortran/SHFORTRANFLAGS.py
>>>>
>>>>
>>>> On Thu, Oct 1, 2015 at 2:15 PM, William Blevins <wblevins001 at gmail.com>
>>>> wrote:
>>>>
>>>>> It is with default latest.
>>>>>
>>>>> On Thu, Oct 1, 2015 at 2:08 PM, William Blevins <wblevins001 at gmail.com
>>>>> > wrote:
>>>>>
>>>>>> I think I only have gfortran installed.
>>>>>>
>>>>>> On Thu, Oct 1, 2015 at 1:46 PM, Bill Deegan <
>>>>>> bill at baddogconsulting.com> wrote:
>>>>>>
>>>>>>> William,
>>>>>>>
>>>>>>> This is with the default branch?
>>>>>>> Installing g77 should be sufficient right?
>>>>>>>
>>>>>>> -Bill
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Oct 1, 2015 at 7:39 AM, William Blevins <
>>>>>>> wblevins001 at gmail.com> wrote:
>>>>>>>
>>>>>>>> Just as a heads up, the FORTRAN tests are failing on my linux box
>>>>>>>> with the gfortran toolchain in case the CI servers don't have all the
>>>>>>>> toolchains.
>>>>>>>>
>>>>>>>> test/FORTRAN/F77FLAGS.py
>>>>>>>>
>>>>>>>> test/FORTRAN/FORTRANFLAGS.py
>>>>>>>>> test/FORTRAN/SHF77FLAGS.py
>>>>>>>>> test/FORTRAN/SHFORTRANFLAGS.py
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> V/R,
>>>>>>>> William
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Scons-dev mailing list
>>>>>>>> Scons-dev at scons.org
>>>>>>>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Scons-dev mailing list
>>>>>>> Scons-dev at scons.org
>>>>>>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Scons-dev mailing list
>>>> Scons-dev at scons.org
>>>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Scons-dev mailing list
>>> Scons-dev at scons.org
>>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>>
>>>
>>
>> _______________________________________________
>> Scons-dev mailing list
>> Scons-dev at scons.org
>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>
>>
>
> _______________________________________________
> 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/20151002/5d5607e5/attachment.html>


More information about the Scons-dev mailing list